a968313ff51b90a3596dd3c38882a7e3311de960
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR corefiles/11511
4 * gdb.arch/system-gcore.exp: New.
5 * gdb.arch/gcore.c: Likewise.
6
7 2010-04-15 Doug Evans <dje@google.com>
8
9 * gdb.python/py-progspace.c: New file.
10 * gdb.python/py-progspace.exp: New file.
11
12 * gdb.base/source-test.gdb: New file.
13 * gdb.base/source.exp: Add tests for "source -s".
14
15 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
16
17 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
18 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
19 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
20 * gdb.python/py-mi.exp: New test for to_string returning None.
21
22 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
23
24 * gdb.python/py-breakpoint.c: Make result global.
25
26 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 Fix non-GNU make compatibility.
29 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
30
31 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
32
33 * gdb.python/py-breakpoint.exp: New File.
34 * gdb.python/py-breakpoint.C: Ditto.
35
36 2010-04-08 Stan Shebs <stan@codesourcery.com>
37
38 * gdb.trace/actions.exp: Clear default-collect.
39 * gdb.trace/save-trace.exp: Clear default-collect.
40
41 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
42
43 * gdb.python/py-value: Add null string variable.
44 (test_lazy_string): Test zero length, NULL address lazy
45 strings.
46
47 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
48
49 * gdb.arch/i386-avx.c: New.
50 * gdb.arch/i386-avx.exp: Likewise.
51
52 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
53
54 2010-04-06 Doug Evans <dje@google.com>
55
56 * gdb.base/source-test.gdb: New file.
57 * gdb.base/source.exp: Test source -v.
58
59 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60
61 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
62
63 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
64
65 * gdb.stabs/aout.sed: Convert all backslash to double backslash
66 within one line, unless it is followed by a double quote.
67 * gdb.stabs/hppa.sed: Idem.
68 * gdb.stabs/weird.def: Add char and String constants
69 * gdb.stabs/weird.exp: Check for correct parsing of
70 chhar and string constants.
71 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
72 in .stabs to .stabx substitution.
73
74 2010-04-05 Stan Shebs <stan@codesourcery.com>
75
76 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
77 constant global.
78 * gdb.trace/tfile.exp: Try to print them.
79
80 2010-04-04 Stan Shebs <stan@codesourcery.com>
81
82 * gdb.base/completion.exp: Update for new "info watchpoints".
83 * gdb.base/default.exp: Ditto.
84 * gdb.base/help.exp: Ditto.
85 * gdb.base/watchpoint.exp: Ditto.
86 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
87
88 2010-04-04 Stan Shebs <stan@codesourcery.com>
89
90 * gdb.trace/tfile.exp: Sharpen tfind test.
91
92 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
93
94 * gdb.base/break-entry.exp: New.
95
96 2010-04-02 Hui Zhu <teawater@gmail.com>
97 Michael Snyder <msnyder@vmware.com>
98
99 * gdb.reverse/i386-sse-reverse.exp: New file.
100 * gdb.reverse/i386-sse-reverse.c: New file.
101
102 2010-04-02 Pedro Alves <pedro@codesourcery.com>
103
104 * gdb.trace/tfind.exp: Adjust expected disassembly output.
105
106 2010-04-01 Stan Shebs <stan@codesourcery.com>
107
108 * gdb.trace/actions.exp: Tweak expected output.
109 * gdb.trace/while-stepping.exp: Tweak expected output.
110
111 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
112
113 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
114
115 2010-04-01 Pedro Alves <pedro@codesourcery.com>
116
117 * gdb.base/commands.exp: Adjust.
118 * gdb.cp/extern-c.exp: Adjust.
119
120 2010-04-01 Pedro Alves <pedro@codesourcery.com>
121
122 * gdb.trace/collection.c (local_test_func): Define a local struct,
123 and instanciate it.
124
125 2010-04-01 Pedro Alves <pedro@codesourcery.com>
126
127 * gdb.trace/collection.exp (gdb_collect_args_test)
128 (gdb_collect_argarray_test): XFAIL the tests that assume the
129 argarray argument's elements are collected.
130
131 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * gdb.dwarf2/dw2-bad-parameter-type.exp,
134 gdb.dwarf2/dw2-bad-parameter-type.S: New.
135
136 2010-03-31 Stan Shebs <stan@codesourcery.com>
137
138 * gdb.trace/save-trace.exp: Test save/restore of default-collect
139 and tracepoint conditionals.
140 (gdb_verify_tracepoints): Delete unused return.
141
142 2010-03-26 Keith Seitz <keiths@redhat.com>
143
144 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
145 appear in the output before main.
146 Remove KFAIL for gdb/2215 aka bz 9320.
147
148 2010-03-30 Doug Evans <dje@google.com>
149
150 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
151 by dejagnu.
152 * gdb.arch/amd64-dword.exp: Ditto.
153
154 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
155 match.
156 (break printf): Ditto.
157
158 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
159
160 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
161 gcc < 4.4.
162 * gdb.cp/shadow.exp: Ditto.
163
164 2010-03-29 Pedro Alves <pedro@codesourcery.com>
165
166 * gdb.trace/collection.exp (run_trace_experiment): Make sure
167 "tstart" is silent.
168
169 2010-03-29 Pedro Alves <pedro@codesourcery.com>
170
171 * gdb.trace/collection.exp (executable): New.
172 (binfile): Use it.
173 (fpreg, spreg, pcreg): New.
174 (test_register): Use gdb_test_multiple. Pass /x to print.
175 (prepare_for_trace_test): New.
176 (run_trace_experiment): Use "continue", not gdb_run_cmd.
177 (gdb_collect_args_test, gdb_collect_argstruct_test)
178 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
179 prepare_for_trace_test.
180 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
181 fpreg, spreg and pcreg.
182 (gdb_collect_expression_test, gdb_collect_globals_test): Use
183 prepare_for_trace_test.
184 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
185 try to detect tracing support here. Don't set breakpoints at
186 `begin' or `end' here.
187 <global scope>: Use clean_restart. Run to main before checking
188 for tracing support. Check for for tracing support here.
189
190 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
191
192 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
193 " as $displacement" to "seen displacement message".
194
195 2010-03-28 Pedro Alves <pedro@codesourcery.com>
196
197 * gdb.trace/while-dyn.exp (executable): New variable.
198 (binfile): Use it.
199 (test_while_stepping): New function. Move most tests here. Call
200 it once for each of the while-stepping, stepping and ws aliases.
201
202 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
203
204 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
205 that do not provide the tagless_struct type name at all.
206 (test_print_anon_union): Do not check value of uninitialized
207 union member. Do not use cp_test_ptype_class, so we can accept
208 "long" as well as "long int".
209
210 2010-03-26 Pedro Alves <pedro@codesourcery.com>
211
212 * gdb.trace/tfile.c (tohex, bin2hex): New.
213 (write_error_trace_file): Hexify error description.
214
215 2010-03-25 Stan Shebs <stan@codesourcery.com>
216
217 * gdb.trace/tfile.c: Generate an additional trace file, improve
218 portability.
219 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
220 files in a better way.
221
222 2010-03-25 Keith Seitz <keiths@redhat.com>
223
224 * gdb.java/jprint.exp: XFAIL printing of static class members
225 because of GCC debuginfo problem.
226
227 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
228
229 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
230
231 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
232
233 * gdb.base/completion.exp: Allow long instead of long int.
234 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
235 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
236 variable p.
237 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
238 * gdb.base/pointers.exp: Allow long instead of long int.
239 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
240 * gdb.base/step-line.exp: Allow a directory before the source file name.
241
242 2010-03-24 Tom Tromey <tromey@redhat.com>
243
244 PR breakpoints/9352:
245 * gdb.base/default.exp: Update.
246 * gdb.base/commands.exp: Update.
247 * gdb.cp/extern-c.exp: Test setting commands on multiple
248 breakpoints at once.
249
250 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
251
252 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
253 if gdb,nosignals.
254 * gdb.base/watchpoints.c: Do not include unnecessary headers.
255 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
256 exited".
257
258 2010-03-24 Stan Shebs <stan@codesourcery.com>
259
260 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
261
262 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
263
264 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
265 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
266 argument. Handle "short" and "long".
267 (Top level): Pass overprototyped output for old_fptr and xptr.
268
269 2010-03-23 Pedro Alves <pedro@codesourcery.com>
270
271 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
272 format strings and add casts to avoid compiler warnings.
273
274 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
275
276 * lib/trace-support.exp (gdb_trace_setactions):
277 Don't expect whitespace after ">" prompt.
278 * gdb.trace/actions.exp: Adjust for output changes.
279 * gdb.trace/while-stepping.exp: Likewise.
280
281 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
282
283 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
284 and r157645).
285
286 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
289 New.
290
291 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
292
293 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
294 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
295
296 2010-03-19 Stan Shebs <stan@codesourcery.com>
297
298 * gdb.trace/ax.exp: New file.
299
300 2010-03-19 Doug Evans <dje@google.com>
301
302 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
303 output from gcc.
304
305 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
306 named /usr/sbin/prelink<foo>.
307
308 2010-03-18 Stan Shebs <stan@codesourcery.com>
309
310 * gdb.trace/circ.exp: Test circular-trace-buffer.
311 * gdb.trace/tfile.exp: Update tstatus test.
312
313 2010-03-18 Joel Brobecker <brobecker@adacore.com>
314
315 * gdb.dwarf2/dw2-anonymous-func.S: New file.
316 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
317
318 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
319
320 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
321
322 2010-03-18 Pedro Alves <pedro@codesourcery.com>
323
324 * gdb.base/default.exp: Adjust the expected output of the finish
325 and until commands when the inferior is not being run.
326
327 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
328
329 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
330 * gdb.cp/nsusing.exp: Ditto.
331
332 2010-03-15 Tom Tromey <tromey@redhat.com>
333
334 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
335 * gdb.cp/userdef.cc (operator==): New function.
336 (main): New locals mem1, mem2.
337
338 2010-03-15 Jie Zhang <jie@codesourcery.com>
339
340 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
341 Declare and use new loadtimeout variable.
342
343 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
344
345 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
346 Use gdb_load later.
347
348 2010-03-14 Pedro Alves <pedro@codesourcery.com>
349
350 * gdb.base/solib-disc.c (main): Make format of fprintf a string
351 literal. Add missing endlines to prints to stderr.
352
353 2010-03-12 Tom Tromey <tromey@redhat.com>
354
355 PR c++/9708:
356 * gdb.cp/m-static.exp: Add regression test.
357 * gdb.cp/m-static.cc (method): New method.
358 (main): Call it.
359
360 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
361
362 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
363 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
364
365 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
366
367 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
368
369 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
370
371 * lib/gdb.exp (skip_stl_tests): New.
372 (gdb_compile): Symbian needs -ldl.
373 (shlib_target_file): New.
374 (shlib_symbol_file): New.
375 (gdb_load_shlibs): Use shlib_target_file.
376 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
377 * gdb.cp/exception.exp: Use skip_stl_tests.
378 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
379 * gdb.cp/try_catch.exp: Use skip_stl_tests.
380 * gdb.cp/mb-templates.exp: Ditto.
381 * gdb.base/commands.exp: Relax regexes.
382 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
383 shlib_target_file and shlib_symbol_file.
384 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
385 sections.
386 * gdb.base/ending-run.exp: Accept E32Main for symbian.
387 * gdb.base/solib-disc.exp: Use
388 shlib_target_file and shlib_symbol_file.
389 * gdb.base/unload.exp: Don't skip on symbian. Use
390 shlib_target_file and shlib_symbol_file.
391 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
392
393 2010-03-12 Pedro Alves <pedro@codesourcery.com>
394
395 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
396 * gdb.trace/report.exp: Adjust for x86 and x86_64.
397 Issue a tfind end before looking for a tracepoint frame.
398 * gdb.trace/tfind.exp: Adjust tstatus output.
399 Adjust disassembly output.
400 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
401
402 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
403
404 * gdb.base/break-interp.exp: Create new displacement parameter value
405 for the test_ld calls.
406 (reach): New parameter displacement, verify its content. New push of
407 pf_prefix "reach-$func:". Import global expect_out.
408 (test_core): New parameter displacement, verify its content. New push
409 of pf_prefix "core:". New command "set verbose on". Import global
410 expect_out.
411 (test_attach): New parameter displacement, verify its content. New
412 push of pf_prefix "attach:". New command "set verbose on". Import
413 global expect_out.
414 (test_ld): New parameter displacement, pass it to the reach, test_core
415 and test_attach calls and verify its content in the "ld.so exit" test.
416 * gdb.base/prelink.exp: Remove gdb_exit and final return.
417 (prelink): Update expected text, use gdb_test.
418
419 2010-03-10 Doug Evans <dje@google.com>
420
421 * gdb.base/checkpoint.exp: Fix comment.
422 Lengthen timeout while doing >600 checkpoints test.
423 Rename duplicate "kill all one" test to keep test names unique.
424
425 2010-03-10 Pedro Alves <pedro@codesourcery.com>
426
427 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
428
429 2010-03-08 Keith Seitz <keiths@redhat.com>
430
431 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
432 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
433 (dm_type_long): New function.
434 (dm_type_unsigned_short): New function.
435 (dm_type_unsigned_long): New function.
436 (myint): New typedef.
437 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
438 long, unsigned shor and long, operator char*, and typedef.
439 (test_lookup_operator_functions): Add operator char* test.
440 (test_paddr_operator_functions): Likewise.
441 (test_paddr_overloaded_functions): Use probe values for
442 short, long, and unsigned short and long.
443 (test_paddr_hairy_functions): If the demangler probe detected
444 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
445 demangler.
446 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
447 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
448 and "print null_pmf".
449 Add test "ptype a.*pmf".
450 * gdb.cp/overload.exp: Allow optional "int" to appear with
451 "short" and "long".
452 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
453 long expect value for men_overload1arg.
454 Allow "int" to appear with "short" and "long".
455 When testing "info break", add argument for main (void).
456 Also allow "int" to appear with "short" and "long".
457 Ditto with "unsigned" and "long long".
458 * gdb.java/jmain.exp: Do not enclose methods names in single
459 quotes.
460 * gdb.java/jmisc.exp: Likewise.
461 * gdb.java/jprint.exp: Likewise.
462 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
463
464 From Jan Kratochvil <jan.kratochvil@redhat.com>:
465 * gdb.cp/exception.exp (backtrace after first throw)
466 (backtrace after second throw): Allow a namespace before __cxa_throw.
467 (backtrace after first catch, backtrace after second catch): Allow
468 a namespace before __cxa_begin_catch.
469
470 * gdb.cp/cpexprs.exp: New file.
471 * gdb.cp/cpexprs.cc: New file.
472
473 From Daniel Jacobowitz <dan@codesourcery.com>
474 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
475 to use string_to_regexp.
476 (ctor, dtor): New functions. Use them to match constructor
477 and destructor function types.
478 (Top level): Use runto_main.
479
480 2010-03-05 Tom Tromey <tromey@redhat.com>
481
482 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
483 gdb.target_charset.
484 (pp_ns.to_string): Likewise.
485
486 2010-03-04 Keith Seitz <keiths@redhat.com>
487
488 * gdb.cp/overload.exp: Test that the filename portion of a linespec
489 can be quoted. Test that both the filename and function/line
490 portions can be quoted at the same time.
491
492 2010-03-04 Pedro Alves <pedro@codesourcery.com>
493
494 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
495
496 2010-03-03 Doug Evans <dje@google.com>
497
498 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
499 libc contains libpthread.
500
501 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
502 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
503 of gdb_compile. Add another pattern to match android backtrace.
504
505 2010-03-03 Tom Tromey <tromey@redhat.com>
506
507 PR gdb/11345:
508 * gdb.base/printcmds.exp (test_printf): Add test.
509
510 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
511
512 * gdb.arch/amd64-byte.exp: New.
513 * gdb.arch/amd64-dword.exp: Likewise.
514 * gdb.arch/amd64-pseudo.c: Likewise.
515 * gdb.arch/amd64-word.exp: Likewise.
516 * gdb.arch/i386-byte.exp: Likewise.
517 * gdb.arch/i386-pseudo.c: Likewise.
518 * gdb.arch/i386-word.exp: Likewise.
519
520 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
521
522 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
523 types. Add structreg, bitfields, and flags registers.
524 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
525 registers.
526
527 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
528
529 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
530 (load_description): Set architecture if defined.
531
532 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
533
534 * gdb.python/py-frame.exp: Add read_var block tests.
535 * gdb.python/py-frame.c (block): New function.
536
537 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
538 Daniel Jacobowitz <dan@codesourcery.com>
539
540 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
541
542 2010-02-25 David S. Miller <davem@davemloft.net>
543
544 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
545 fix logic for setting all_syscalls_numbers.
546
547 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
548
549 * Makefile.in: Add py-block and py-symbol.
550 * gdb.python/py-symbol.exp: New File.
551 * gdb.python/py-symtab.exp: New File.
552 * gdb.python/py-block.exp: New File.
553 * gdb.python/py-symbol.c: New File.
554 * gdb.python/py-block.c: New File.
555
556 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
557
558 PR python/11314
559 * lib/gdb.exp (skip_python_tests): New function.
560 * gdb.python/py-cmd.exp: Use skip_python_tests.
561 * gdb.python/py-frame.exp: Likewise.
562 * gdb.python/py-function.exp: Likewise.
563 * gdb.python/py-prettyprint.exp: Likewise.
564 * gdb.python/py-template.exp: Likewise.
565 * gdb.python/py-type.exp: Likewise.
566 * gdb.python/py-value.exp: Likewise.
567
568 2010-02-22 Pedro Alves <pedro@codesourcery.com>
569
570 PR9605
571
572 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
573
574 2010-02-19 Tom Tromey <tromey@redhat.com>
575
576 PR c++/8693, PR c++/9496:
577 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
578 regression tests.
579
580 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 Fix compatibility with m68k as.
583 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
584 Use only /* comments */.
585
586 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
587
588 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
589 * configure: Regenerate.
590
591 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
592
593 * gdb.python/py-type.exp: Check for Python support.
594
595 2010-02-17 Pedro Alves <pedro@codesourcery.com>
596
597 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
598 `regsub' syntax available.
599
600 2010-02-17 Pedro Alves <pedro@codesourcery.com>
601
602 * gdb.base/shmain.c (main): Remove printf call.
603 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
604 * gdb.base/unload.c (main): Make format of fprintf a string
605 literal. Add missing endlines to prints to stderr.
606 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
607
608 2010-02-17 Tom Tromey <tromey@redhat.com>
609
610 * gdb.java/jprint.java (jprint.props): New field.
611 * gdb.java/jprint.exp (set_lang_java): Add regression test.
612
613 2010-02-17 Pedro Alves <pedro@codesourcery.com>
614
615 * gdb.base/charset.exp: Don't assume new `regsub' syntax
616 available.
617
618 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
619
620 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
621 creation to support remote host testing.
622
623 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
624
625 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
626 Recognize "command not found".
627
628 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
629
630 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
631 single-stepping.
632
633 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
634
635 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
636 if arguments are not supported.
637
638 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
639
640 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
641 be const or non-const.
642
643 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
644
645 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
646 mi_send_resuming_command to send -exec-continue.
647
648 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
649
650 * gdb.base/list.exp (test_list_filename_and_function): Add test
651 with single quotes.
652 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
653 matching.
654 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
655 Add KFAIL'd tests for PR gdb/11289.
656
657 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
658
659 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
660
661 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
662
663 * gdb.base/comp-dir/subdir/dummy.txt: New file.
664 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
665 a temporary directory.
666
667 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
668
669 * gdb.base/charset.exp: Use a single regular expression to match
670 show host-charset and show target-charset output.
671
672 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
673
674 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
675 "Illegal process-id" expect string more exact.
676 (attach to digits-starting nonsense is prohibited): New.
677
678 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
679
680 * gdb.base/prelink.exp (set verbose on): New.
681
682 2010-02-12 Tomas Holmberg <th@virtutech.com>
683
684 * mi-reverse.exp: New file. Test for reverse option to the
685 following MI commands: exec-continue, exec-finish, exec-next,
686 exec-step, exec-next-instruction, exec-step-instruction.
687
688 2010-02-09 Joel Brobecker <brobecker@adacore.com>
689
690 * gdb.ada/ptype_tagged_param: New testcase.
691
692 2010-02-08 Tom Tromey <tromey@redhat.com>
693
694 PR c++/8017:
695 * gdb.cp/overload.exp: Add tests.
696 * gdb.cp/overload.cc (struct K): New.
697 (namespace N): New.
698 (main): Call new functions.
699 (K::staticoverload): Define.
700
701 Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
702
703 PR gdb/10728
704 * gdb.cp/pr10728-x.h: New file.
705 * gdb.cp/pr10728-x.cc: New file.
706 * gdb.cp/pr10728-y.cc: New file.
707 * gdb.cp/pr10728.exp: New file.
708 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
709
710 Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
711
712 PR gdb/9067
713 * gdb.cp/pr9067.exp: New
714 * gdb.cp/pr9067.cc: New
715 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
716
717 2010-02-08 Joel Brobecker <brobecker@adacore.com>
718
719 * lib/gdb.exp (gdb_test_timeout): New global variable.
720 Set it to timeout if not already set.
721 (gdb_init): Reset the value of timeout to gdb_test_timeout.
722
723 2010-02-05 Doug Evans <dje@google.com>
724
725 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
726 user.
727
728 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
729
730 PR c++/7935:
731 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
732
733 2010-02-04 Tom Tromey <tromey@redhat.com>
734
735 * gdb.cp/virtbase.exp: Make test case names unique.
736
737 2010-02-02 Tom Tromey <tromey@redhat.com>
738
739 * gdb.cp/virtbase.exp: Add regression tests.
740 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
741 (main): Instantiate RHC.
742
743 2010-02-02 Tom Tromey <tromey@redhat.com>
744
745 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
746 type-printing change.
747
748 2010-02-02 Tom Tromey <tromey@redhat.com>
749
750 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
751 * gdb.cp/virtbase.cc: New file.
752 * gdb.cp/virtbase.exp: New file.
753 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
754
755 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 PR libc/11214:
758 * gdb.threads/current-lwp-dead.c: Include features.h.
759 (HAS_NOMMU): New.
760 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
761
762 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
763
764 * gdb.base/symbol-without-target_section.exp,
765 gdb.base/symbol-without-target_section.c: New.
766
767 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
768
769 * gdb.base/bigcore.exp: Reset increased timeout.
770 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
771
772 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
773
774 * gdb.base/gcore.exp (capture_command_output): Use
775 gdb_test_multiple.
776
777 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
778
779 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
780 * gdb.arch/thumb2-it.exp (test_it_break): New function.
781 (Top level): Call it.
782
783 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
784
785 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
786
787 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
788
789 * gdb.base/call-strs.exp, gdb.base/default.exp,
790 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
791 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
792 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
793 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
794 gdb.base/watchpoint-solib.exp: Save and restore timeout.
795 * gdb.base/ending-run.exp: Correct restore of timeout.
796 * gdb.base/page.exp: Remove unnecessary timeout setting.
797
798 2010-01-29 Joel Brobecker <brobecker@adacore.com>
799
800 * gdb.ada/rec_return: New testcase.
801
802 2010-01-29 Joel Brobecker <brobecker@adacore.com>
803
804 * gdb.ada/call_pn: New testcase.
805
806 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
807
808 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
809 (Top level): Use it to resume.
810 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
811 the Thumb mode displaced stepping error as unsupported.
812
813 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
814
815 * gdb.cp/nsusing.exp: Added more tests.
816 * gdb.cp/nsrecurs.exp: Ditto.
817 * gdb.cp/nsusing.cc: Added test functions.
818 * gdb.cp/nsrecurs.cc: Ditto.
819
820 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
823 absolute directory pathnames in gdb.sum file.
824
825 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
826
827 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
828 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
829
830 2010-01-26 Tom Tromey <tromey@redhat.com>
831
832 PR exp/7643:
833 * gdb.base/printcmds.exp (test_print_string_constants): Remove
834 setup_kfail.
835
836 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
837
838 * gdb.cp/nsrecurs.exp: New test.
839 * gdb.cp/nsrecurs.cc: New test program.
840 * gdb.cp/nsstress.exp: New test.
841 * gdb.cp/nsstress.cc: New test program.
842 * gdb.cp/nsdecl.exp: New test.
843 * gdb.cp/nsdecl.cc: New test program.
844
845 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
846
847 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
848 imported into file scope.
849 Marked test as xfail.
850 * gdb.cp/namespace-using.cc (marker5): New function.
851 * gdb.cp/shadow.exp: New test.
852 * gdb.cp/shadow.cc: New test program.
853 * gdb.cp/nsimport.exp: New test.
854 * gdb.cp/nsimport.cc: New test program.
855
856 2010-01-25 Tom Tromey <tromey@redhat.com>
857
858 PR gdb/11049:
859 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
860 with "set print null-stop on".
861
862 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
865 Adjust it for DISASSEMBLY_OMIT_FNAME.
866
867 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 PR symtab/11199:
870 * gdb.dwarf2/member-ptr-forwardref.exp,
871 gdb.dwarf2/member-ptr-forwardref.S: New.
872
873 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
874
875 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
876 (thread1_func): Protect thread1_tid with thread1_tid_cond by
877 thread1_tid_mutex. Remove gdbstop_mutex handling.
878 (thread2_func): Protect thread2_tid with thread2_tid_cond by
879 thread2_tid_mutex. Remove gdbstop_mutex handling.
880 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
881 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
882 pthread_cond_wait conditionalizations by while loops.
883
884 2010-01-20 Tom Tromey <tromey@redhat.com>
885
886 PR backtrace/10770:
887 * gdb.dwarf2/pr10770.exp: New file.
888 * gdb.dwarf2/pr10770.c: New file.
889 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
890
891 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
892
893 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
894 that target was removed, and the test always runs native anyway.
895
896 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
897
898 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
899 gdb.base/watchpoint-cond-gone-stripped.c: New.
900
901 2010-01-19 Tom Tromey <tromey@redhat.com>
902
903 PR c++/8000:
904 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
905 existing tests.
906 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
907 (main): Use AAA::SomeEnum.
908
909 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
910
911 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
912 (test_ignore_count): Declare line_callme_body global.
913 (run to breakpoint with ignore count): Use line_callme_body.
914 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
915 (set line_main_hello, set line_main_return): Reindent.
916 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
917 New.
918 (continue to callee4): Use line_callee4_body.
919 (check *stopped from CLI command): Use line_callee4_next.
920 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
921 (set line_main_hello, set line_main_return): Reindent.
922 (set line_callee4_head, set line_callee4_body): New.
923 (continue to callee4): Use line_callee4_body.
924
925 2010-01-18 Tom Tromey <tromey@redhat.com>
926
927 PR c++/9680:
928 * gdb.cp/casts.cc: Add new classes and variables.
929 * gdb.cp/casts.exp: Test new operators.
930
931 2010-01-18 Tom Tromey <tromey@redhat.com>
932 Thiago Jung Bauermann <bauerman@br.ibm.com>
933
934 * gdb.python/source2.py: New file.
935 * gdb.python/source1: New file.
936 * gdb.python/python.exp: Test "source" command.
937
938 2010-01-15 Stan Shebs <stan@codesourcery.com>
939
940 * gdb.trace/tfile.c: New file.
941 * gdb.trace/tfile.exp: New file.
942
943 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
944
945 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
946
947 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
948
949 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
950
951 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
952
953 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
954 (libfunc): New parameter action. Implement also selectable "sleep".
955 * gdb.base/break-interp-main.c: Include assert.h.
956 (libfunc): New parameter action.
957 (main): New parameters argc and argv. Assert argc. Pass argv.
958 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
959 (test_attach): New proc.
960 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
961 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
962
963 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
964
965 * gdb.base/break-interp.exp (test_core): New proc.
966 (test_ld): Call it.
967
968 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
971 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
972 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
973 and gdb_compile_shlib. Use new -Wl compiler options.
974 (dl bt, main bt): New tests.
975
976 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
977
978 Support PIEs with no symfile_objfile.
979 * gdb.base/break-interp.exp: New argument at the test_ld calls.
980 (test_ld): New parameter trynosym.
981 (test_ld <$trynosym>): New block.
982
983 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
984
985 * gdb.base/break-interp.exp: New file.
986
987 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
988
989 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
990 * gdb.python/py-prettyprint.py (pp_ls): New printer.
991 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
992 test.
993 * gdb.python/py-prettyprint.c: Define lazystring test structure.
994 * gdb.python/py-mi.exp: Add lazy string test.
995
996 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
997
998 * lib/mi-support.exp (mi_check_thread_states): Handle
999 core number in thread listing.
1000
1001 2010-01-12 Joel Brobecker <brobecker@adacore.com>
1002
1003 * gdb.base/maint.exp: Adjust the expected output for the
1004 "maint print type" test. Use gdb_test_multiple instead of
1005 gdb_sent/gdb_expect.
1006
1007 2010-01-11 Doug Evans <dje@google.com>
1008
1009 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
1010 from gdbserver_download. All callers updated.
1011
1012 * gdb.server/ext-run.exp: "info os processes" requires xml support.
1013
1014 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1015
1016 Implement binary numbers parsing.
1017 * gdb.base/printcmds.exp (test_integer_literals_accepted)
1018 (test_integer_literals_rejected): New binary tests.
1019
1020 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1021
1022 * gdb.cell/configure: Regenerate.
1023
1024 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1025
1026 * gdb.base/corefile.exp: Move the core finding block out and call it as
1027 core_find, new variable $corefile, replace corefile by $corefile and
1028 [file tail $corefile] for usage vs. test names resp.
1029 * lib/gdb.exp (core_find): Move it as a new function here. New
1030 parameter binfile and deletefiles. New variable $destcore. Pre-delete
1031 $destcore. Return "" on error.
1032
1033 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 Workaround PR binutils/10802.
1036 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
1037 (twice).
1038
1039 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1040
1041 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
1042
1043 2010-01-08 Joel Brobecker <brobecker@adacore.com>
1044
1045 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
1046 call, to avoid interruption.
1047
1048 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1049
1050 * gdb.stabs/weird.def (args93): New.
1051
1052 2010-01-07 Doug Evans <dje@google.com>
1053
1054 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
1055
1056 2010-01-07 Tom Tromey <tromey@redhat.com>
1057
1058 * gdb.base/source.exp: Use correct line number.
1059
1060 2010-01-05 Stan Shebs <stan@codesourcery.com>
1061
1062 * gdb.trace/tracecmd.exp: Test ftrace.
1063
1064 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1065
1066 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
1067
1068 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1069
1070 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
1071 "uint_for_mi_testing".
1072
1073 2010-01-01 Joel Brobecker <brobecker@adacore.com>
1074
1075 Test indented comment in file being sourced.
1076 * gdb.base/commands.exp: Test indented comment in file being sourced.
1077
1078 2010-01-01 Joel Brobecker <brobecker@adacore.com>
1079
1080 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
1081 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
1082 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
1083 notice.
1084
1085 2010-01-01 Joel Brobecker <brobecker@adacore.com>
1086
1087 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
1088 notice.
1089
1090 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1091
1092 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
1093 missing $after_stopped and comma (,) expectation.
1094
1095 2009-12-31 Stan Shebs <stan@codesourcery.com>
1096
1097 * gdb.trace/actions.exp: Test teval action.
1098
1099 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
1100
1101 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
1102 (top level): Call test_watchpoint_in_big_blob.
1103 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
1104 watchpoints.
1105 (func3): Write to buf.
1106
1107 2009-12-29 Stan Shebs <stan@codesourcery.com>
1108
1109 * gdb.trace/actions.exp: Test default-collect.
1110
1111 2009-12-28 Stan Shebs <stan@codesourcery.com>
1112
1113 * gdb.trace/tsv.exp: New file.
1114 * gdb.base/completion.exp: Update ambiguous info output.
1115
1116 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
1117
1118 * gdb.base/find.c (main): Reference search buffers.
1119 * gdb.base/included.c (main): Reference integer.
1120 * gdb.base/ptype.c (charfoo): Declare.
1121 (intfoo): Call charfoo.
1122 * gdb.base/scope0.c (useitp): New function.
1123 (usestatics): Use useitp.
1124 (useit): Add a type for val.
1125 * gdb.base/scope1.c (useit1): Take a pointer argument.
1126 (usestatics1): Update calls to useit1.
1127 * gdb.cp/call-c.cc: Declare foo.
1128 (main): Call foo.
1129 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
1130 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
1131 (main): Call C::ensureRefs and ensureOtherRefs.
1132 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
1133 variables.
1134 (ensureOtherRefs): New function.
1135 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
1136 * gdb.cp/templates.cc (main): Call t5i.value.
1137
1138 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 Fix compatibility with G++-4.5.
1141 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
1142 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
1143 (uncaught return): Remove.
1144
1145 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1146 Phil Muldoon <pmuldoon@redhat.com>
1147
1148 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
1149 (bp_location13, bp_location14, bp_location17, bp_location18)
1150 (marker3_proto, marker4_proto): New variables.
1151 (breakpoint info): Update output.
1152 (run until breakpoint at marker3, run until breakpoint at marker4): New
1153 tests.
1154
1155 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1156
1157 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
1158 Replace the printf call of Y by provided "y-set-1" label. New block
1159 for the second shared library.
1160 * gdb.base/unload.exp: Compile also the second library, call
1161 gdb_load_shlibs also for it. Use now gdb_breakpoint.
1162 (single pending breakpoint info): Rename to ...
1163 (pending breakpoint info before run): ... this extended test.
1164 (libfile2, libname2, libsrcfile2, libsrc2)
1165 (lib_sl2): New variables.
1166 (exec_opts): Set also SHLIB_NAME2.
1167 (pending breakpoint info on first run at shrfunc1)
1168 (pending breakpoint info on second run at shrfunc1)
1169 (pending breakpoint info on second run at shrfunc2)
1170 (print y from libfile, print y from libfile2): New tests.
1171 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
1172 * gdb.base/unloadshr2.c: New.
1173
1174 2009-12-22 Hui Zhu <teawater@gmail.com>
1175
1176 * gdb.reverse/sigall-reverse.exp: Adjust.
1177
1178 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
1179
1180 PR gdb/10884
1181
1182 * gdb.mi/var-cmd.c (do_bitfield_tests): New
1183 (main): Call do_bitfield_tests.
1184 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
1185
1186 2009-12-20 Joel Brobecker <brobecker@adacore.com>
1187
1188 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
1189 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
1190 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
1191 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
1192 gdb.modula2/unbounded1.c: Update copyright header.
1193
1194 2009-12-10 Chris Moller <moller@mollerware.com>
1195
1196 PR gdb/9399
1197 * gdb.cp/virtfunc2.exp: New tests
1198 * gdb.cp/virtfunc2.cc: New tests
1199 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
1200
1201 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
1202
1203 * gdb.reverse/i387-env-reverse.c: New file.
1204 * gdb.reverse/i387-env-reverse.exp: New file.
1205 * gdb.reverse/i387-stack-reverse.c: New file.
1206 * gdb.reverse/i387-stack-reverse.exp: New file.
1207
1208 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
1209
1210 * gdb.python/py-type.exp (test_range): New test.
1211
1212 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
1213
1214 PR python/10805
1215
1216 * gdb.python/py-type.exp: New file.
1217 * gdb.python/py-type.c: New file.
1218 * Makefile.in: Add py-type.
1219
1220 2009-12-03 Tom Tromey <tromey@redhat.com>
1221
1222 * gdb.python/py-value.exp (test_parse_and_eval): New
1223 function.
1224
1225 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1226
1227 PR gdb/11022
1228
1229 * gdb.base/pr11022.exp: New test.
1230 * gdb.base/pr11022.c: New test.
1231
1232 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1233
1234 Fix spurious false FAILs.
1235 * gdb.base/structs.c (chartest): New.
1236 (main): Fill-in chartest.
1237 * gdb.base/structs.exp (anychar_re, first): New.
1238 (start_structs_test): Import global anychar_re and first.
1239 New gdb_test call "set print elements 300; ${testfile}"
1240 (start_structs_test <$first>): New block.
1241 (any): Import global anychar_re. New variable ac. Use ${ac}.
1242
1243 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1244
1245 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
1246
1247 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1248
1249 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
1250 Force $srcfile file.
1251 * gdb.base/foll-fork.c (callee): Comment out the printf call.
1252
1253 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1254
1255 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
1256 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1257 * gdb.threads/watchthreads-reorder.exp: Likewise.
1258
1259 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
1260
1261 PR gdb/8704
1262
1263 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
1264 "if", and "thread". Correct matching in the previous test.
1265
1266 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
1267
1268 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
1269
1270 2009-11-23 Michael Snyder <msnyder@vmware.com>
1271
1272 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
1273 * gdb.reverse-watch-precsave.exp: Ditto.
1274
1275 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1276
1277 * gdb.asm/asm-source.exp: Adjust.
1278 * gdb.base/help.exp: Adjust.
1279
1280 2009-11-22 Pedro Alves <pedro@codesourcery.com>
1281
1282 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
1283 (do_syscall_tests_without_xml): Set data-directory to
1284 /the/path/to/nowhere.
1285
1286 2009-11-21 Pedro Alves <pedro@codesourcery.com>
1287
1288 * gdb.threads/local-watch-wrong-thread.c,
1289 gdb.threads/local-watch-wrong-thread.exp: New files.
1290
1291 2009-11-21 Pedro Alves <pedro@codesourcery.com>
1292
1293 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
1294 assume new `regsub' syntax available.
1295
1296 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1297
1298 * gdb.base/watchpoint-hw-hit-once.exp,
1299 gdb.base/watchpoint-hw-hit-once.c: New.
1300
1301 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 * gdb.threads/watchthreads-reorder.exp,
1304 gdb.threads/watchthreads-reorder.c: New.
1305
1306 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
1307
1308 * gdb.xml/tdesc-regs.exp: Use for m68k.
1309
1310 2009-11-15 Pedro Alves <pedro@codesourcery.com>
1311
1312 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
1313
1314 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1315
1316 * lib/gdb.exp (current_target_name): New procedure.
1317 (gdb_wrapper_target): New variable.
1318 (gdb_wrapper_init): Set gdb_wrapper_target.
1319 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
1320 wrapper.
1321
1322 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1323
1324 * gdb.base/remote.exp: Delete the slowest load test.
1325 Do not load with fixed packet sizes.
1326
1327 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1328
1329 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
1330
1331 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1332
1333 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
1334 srcfile when setting a breakpoint.
1335
1336 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
1337
1338 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
1339 macros.
1340
1341 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1342
1343 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
1344 to be in memory.
1345 * gdb.base/display.c (force_mem): New.
1346 (do_loops): Use it. Add breakpoint comments.
1347 (do_vars): Add a breakpoint comment.
1348 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
1349 line numbers.
1350
1351 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
1352
1353 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
1354 instead of a bare "run".
1355
1356 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1357
1358 * gdb.python/py-prettyprint.exp: Adjust.
1359
1360 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1361
1362 * lib/cell.exp (skip_cell_tests): Clean up test files before
1363 returning.
1364
1365 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1366
1367 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
1368 and the breakpoint menu. Do not call perror if a prompt is seen.
1369 Consume the following GDB prompt.
1370 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
1371 * gdb.cp/namespace.exp: Use gdb_test.
1372 * gdb.cp/templates.exp: Use gdb_test.
1373 (test_template_breakpoints): Use gdb_test_multiple.
1374
1375 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1376
1377 * gdb.base/break1.c (struct some_struct, values): Move earlier.
1378 (marker4): Reference values.
1379
1380 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1381
1382 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
1383 is missing.
1384
1385 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1386
1387 * gdb.base/break.c (need_malloc): New.
1388 * gdb.base/constvars.c (main): Reference crass and crisp.
1389 * gdb.base/gdb1821.c (main): Reference bar.
1390 * gdb.cp/gdb1355.cc (main): Reference s1.
1391 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
1392 (main): Call them.
1393 * gdb.cp/hang2.cc (dummy2): Define.
1394 * gdb.cp/hang3.cc (dummy3): Define.
1395 * gdb.cp/m-data.cc (main): Reference shadow.
1396
1397 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1398 Nathan Froyd <froydnj@codesourcery.com>
1399
1400 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
1401 remote host.
1402
1403 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
1404
1405 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
1406 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
1407 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1408 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1409 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1410 * gdb.dwarf2/dw2-producer.exp: Likewise.
1411 * gdb.dwarf2/mac-fileno.exp: Likewise.
1412 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
1413 py-prettyprint.py to the remote host.
1414 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
1415
1416 2009-11-11 Keith Seitz <keiths@redhat.com>
1417
1418 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
1419 use it instead of "Foo".
1420 * gdb.cp/classes.exp (do_tests): Add a test to access
1421 a method through a typedef'd class name.
1422
1423 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
1424
1425 * gdb.base/long_long.exp: Permit leading zeros on floating-point
1426 exponents.
1427 * gdb.base/pointers.exp: Likewise.
1428 * gdb.cp/ref-types.exp: Likewise.
1429
1430 2009-11-11 Keith Seitz <keiths@redhat.com>
1431
1432 * gdb.cp/cplusfuncs.cc (class foo): Add operators
1433 new[] and delete[].
1434 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
1435 "void".
1436 (probe_demangler): Remove all single-quoting of
1437 method and variable names.
1438 (info_func_regexp): Remove the word "void" from any
1439 occurrence of "(void)".
1440 (print_addr_2): Remove all single-quoting of
1441 method names.
1442 (print_addr_2_kfail): Likewise.
1443 (print_addr): Single-quote C function names before
1444 passing to print_addr_2.
1445 (test_paddr_operator_functions): Remove single-quoting
1446 for method names.
1447 Add tests for operator new[] and operator delete[].
1448
1449 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1450
1451 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
1452
1453 2009-11-09 Keith Seitz <keiths@redhat.com>
1454
1455 * gdb.cp/overload.exp: Add tests for resolving overloaded
1456 methods in expression parsing/evaluation.
1457
1458 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
1459
1460 * lib/gdb.exp (default_gdb_version): Use --version instead of
1461 --command.
1462
1463 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
1464
1465 * lib/gdb.exp (gdb_compile_test): New.
1466 (skip_ada_tests, skip_java_tests): New.
1467 (gdb_compile): Use gdb_compile_test for f77.
1468 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
1469 * lib/java.exp (compile_java_from_source): Remove runtests check,
1470 use gdb_compile_test to record result.
1471 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
1472 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
1473 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
1474 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
1475 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
1476 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
1477 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
1478 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
1479 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
1480 adjust gdb_compile invocations.
1481
1482 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 * Makefile.in (abs_builddir): New.
1485 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
1486 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
1487 `$(abs_builddir)/site.exp'.
1488
1489 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
1490
1491 * config/m68k-emc.exp, lib/emc-support.exp,
1492 gdb.trace/gdb_c_test.c: Delete.
1493 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
1494 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
1495 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1496 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
1497 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1498 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
1499 casing for m68k-*-elf.
1500
1501 2009-11-03 Pedro Alves <pedro@codesourcery.com>
1502
1503 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
1504 * gdb.arch/i386-prologue.exp: Likewise.
1505 * gdb.arch/i386-unwind.exp: Likewise.
1506
1507 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1508
1509 * lib/gdb.exp (gdb_expect): Fix timeout typo.
1510
1511 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1512
1513 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
1514
1515 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1516
1517 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
1518
1519 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
1522
1523 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1524
1525 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
1526 * gdb.base/sepdebug2.c: New file.
1527
1528 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1529
1530 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
1531 the modified warnings for catch syscall. Verify if GDB was compiled
1532 with support for lib expat, and choose which tests to run depending
1533 on this.
1534
1535 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
1536
1537 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
1538 that composite commands are parsed OK. And also test
1539 that breakpoint commands do work.
1540
1541 2009-10-23 Michael Snyder <msnyder@vmware.com>
1542
1543 gdb.reverse/consecutive-precsave.exp: Change expect pattern
1544 to allow for new disassembly style.
1545
1546 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1547
1548 * gdb.asm/asm-source.exp: Adjust.
1549
1550 2009-10-22 Michael Snyder <msnyder@vmware.com>
1551
1552 * gdb.reverse/break-precsave.exp: New test.
1553 * gdb.reverse/consecutive-precsave.exp: Ditto.
1554 * gdb.reverse/finish-precsave.exp: Ditto.
1555 * gdb.reverse/i386-precsave.exp: Ditto.
1556 * gdb.reverse/machinestate-precsave.exp: Ditto.
1557 * gdb.reverse/sigall-precsave.exp: Ditto.
1558 * gdb.reverse/solilb-precsave.exp: Ditto.
1559 * gdb.reverse/step-precsave.exp: Ditto.
1560 * gdb.reverse/until-precsave.exp: Ditto.
1561 * gdb.reverse/watch-precsave.exp: Ditto.
1562
1563 2009-10-22 Michael Snyder <msnyder@vmware.com>
1564
1565 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
1566 for gdb_expect. Adjust one test's expect strings for the new
1567 format of disassemble.
1568 * gdb.reverse/finish-reverse.exp: Delete 'return'.
1569 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
1570 gdb_test_multiple.
1571 * gdb.reverse/step-reverse.exp: Delete 'return'.
1572 * gdb.reverse/until-reverse.exp: Delete blank lines.
1573 * gdb.reverse/watch-reverse.exp: Delete blank lines.
1574
1575 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
1576
1577 * gdb.base/consecutive.exp: Adjust.
1578 * gdb.base/display.exp: Likewise.
1579 * gdb.base/pc-fp.exp: Likewise.
1580 * gdb.base/sigbpt.exp: Likewise.
1581
1582 2009-10-19 Michael Snyder <msnyder@vmware.com>
1583
1584 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
1585 * gdb.reverse/finish-reverse.c: Ditto.
1586 * gdb.reverse/sigall-reverse.c: Ditto.
1587 * gdb.reverse/solib-reverse.c: Ditto.
1588 * gdb.reverse/step-reverse.c: Ditto.
1589 * gdb.reverse/watch-reverse.c: Ditto.
1590
1591 2009-10-19 Pedro Alves <pedro@codesourcery.com>
1592 Stan Shebs <stan@codesourcery.com>
1593
1594 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
1595 * gdb.base/foll-exec.exp: Adjust to expect a process id before
1596 "Executing new program".
1597 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
1598 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
1599 left listed after having been killed.
1600 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
1601 * gdb.base/maint.exp: Adjust test.
1602
1603 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
1604 * gdb.multi/Makefile.in: New.
1605 * gdb.multi/base.exp: New.
1606 * gdb.multi/goodbye.c: New.
1607 * gdb.multi/hangout.c: New.
1608 * gdb.multi/hello.c: New.
1609 * gdb.multi/bkpt-multi-exec.c: New.
1610 * gdb.multi/bkpt-multi-exec.exp: New.
1611 * gdb.multi/crashme.c: New.
1612
1613 2009-10-13 Tristan Gingold <gingold@adacore.com>
1614
1615 * gdb.base/sepdebug.exp: Check debug info are found.
1616
1617 2009-10-08 Pedro Alves <pedro@codesourcery.com>
1618
1619 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
1620 bits.
1621
1622 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1623
1624 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
1625
1626 2009-10-07 Joel Brobecker <brobecker@adacore.com>
1627
1628 * gdb.base/watchpoints.c: Add copyright header. Reformat one
1629 of the comments.
1630
1631 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
1632
1633 * gdb.base/annota1.exp: Remove obsolete match_max increase.
1634 * gdb.base/annota3.exp: Idem.
1635 * gdb.base/maint.exp: Idem.
1636
1637 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1638
1639 * lib/gdb.exp (default_gdb_init): Set current value of match_max
1640 to default.
1641
1642 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
1643
1644 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
1645 mingw and cygwin targets.
1646
1647 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
1648 Pedro Alves <pedro@codesourcery.com>
1649
1650 * lib/gdb.exp (gdb_compile): Avoid adding
1651 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
1652
1653 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
1654
1655 * gdb.base/shr1.c: Use %p in format string.
1656 * gdb.base/unload.c: Avoid warning in fprintf.
1657 * gdb.base/watchpoint-solib.c: Idem.
1658
1659 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
1660
1661 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
1662 long type.
1663 (test_unlink): Correct printf string.
1664 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
1665 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
1666
1667 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1668
1669 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
1670 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
1671 * gdb.arch/ia64-breakpoint-shadow.S: New file.
1672
1673 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1674
1675 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
1676 * gdb.objc/nondebug.exp: Likewise.
1677
1678 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1679
1680 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
1681 target_info setting.
1682
1683 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
1684 that detect new threads during "info threads".
1685
1686 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1687
1688 * gdb.threads/manythreads.c (main): Increase thread stack size
1689 to 2*PTHREAD_STACK_MIN.
1690 * gdb.threads/multi-create.c (main): Likewise.
1691 (create_function): Likewise.
1692
1693 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1694
1695 * gdb.base/dump.exp: Pass difference of pointer types instead
1696 of integer types as offset to restore in intarr3.srec case.
1697
1698 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1699
1700 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
1701
1702 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1703
1704 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
1705
1706 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
1707
1708 New test for two watchpoints, with disabling of
1709 the first inserted.
1710 * testsuite/gdb.base/watchpoints.c: New file.
1711 * testsuite/gdb.base/watchpoints.exp: New file.
1712
1713 2009-09-25 Tom Tromey <tromey@redhat.com>
1714
1715 * gdb.base/charset.exp: Test utf-16 strings with Python.
1716
1717 2009-09-25 Tom Tromey <tromey@redhat.com>
1718
1719 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
1720 UCS-4.
1721 * gdb.base/charset.c (utf_32_string): Rename.
1722 (init_utf32): Rename.
1723 (main): Update.
1724
1725 2009-09-22 Tom Tromey <tromey@redhat.com>
1726
1727 * gdb.python/py-function.exp: Add regression tests.
1728
1729 2009-09-21 Keith Seitz <keiths@redhat.com>
1730
1731 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
1732 with invalid operator.
1733
1734 2009-09-21 Keith Seitz <keiths@redhat.com>
1735
1736 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
1737 and destructor using typedef name of class.
1738 * gdb.cp/classes.cc (class Base1): Add a destructor.
1739 (base1): New typedef.
1740 (use_methods): Instanitate an object of type base1.
1741 * gdb.cp/templates.exp (test_template_typedef): New procedure.
1742 (do_tests): Call test_template_typedef.
1743 * gdb.cp/templates.cc (Baz::~Baz): New method.
1744 (intBazOne): New typedef.
1745 (main): Instantiate intBazOne.
1746
1747 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
1748
1749 PR python/10633
1750
1751 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
1752 Function.
1753 (run_lang_tests): Add print elements test.
1754
1755 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
1756
1757 * gdb.python/py-value.exp (test_subscript_regression): New
1758 function. Test for invalid subscripts.
1759 * gdb.python/py-value.c (main): Add test array, and pointer to it.
1760 (ptr_ref): New function.
1761
1762 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1763
1764 * gdb.base/default.exp: Fix "show convenience".
1765
1766 2009-09-15 Tom Tromey <tromey@redhat.com>
1767
1768 * lib/mi-support.exp (mi_create_varobj): Update.
1769 (mi_create_floating_varobj): Likewise.
1770 (mi_create_dynamic_varobj): New proc.
1771 (mi_varobj_update): Update.
1772 (mi_varobj_update_with_type_change): Likewise.
1773 (mi_varobj_update_kv_helper): New proc.
1774 (mi_varobj_update_dynamic_helper): Rewrite.
1775 (mi_varobj_update_dynamic): New proc.
1776 (mi_list_varobj_children): Update.
1777 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
1778 * gdb.python/python-prettyprint.py (pp_outer): New class.
1779 (pp_nullstr): Likewise.
1780 (lookup_function): Register new printers.
1781 * gdb.python/python-prettyprint.c (struct substruct): New type.
1782 (struct outerstruct): Likewise.
1783 (substruct_test): New function.
1784 (struct nullstr): New type.
1785 (string_1, string_2): New globals.
1786 (main): Add new tests.
1787 * gdb.python/python-mi.exp: Added regression tests.
1788 * gdb.mi/mi2-var-display.exp: Update.
1789 * gdb.mi/mi2-var-cmd.exp: Update.
1790 * gdb.mi/mi2-var-child.exp: Update.
1791 * gdb.mi/mi2-var-block.exp: Update.
1792 * gdb.mi/mi-var-invalidate.exp: Update.
1793 * gdb.mi/mi-var-display.exp: Update.
1794 * gdb.mi/mi-var-cmd.exp: Update.
1795 * gdb.mi/mi-var-child.exp: Update.
1796 * gdb.mi/mi-var-block.exp: Update.
1797 * gdb.mi/mi-break.exp: Update.
1798 * gdb.mi/gdb701.exp: Update.
1799
1800 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1801
1802 * Makefile.in: Inclusion of catch-syscall object.
1803 * gdb.base/catch-syscall.c: New file.
1804 * gdb.base/catch-syscall.exp: New file.
1805
1806 2009-09-12 Michael Snyder <msnyder@vmware.com>
1807
1808 * gdb.reverse/step-reverse.exp: Explicitly check for targets
1809 that can support reverse debuggnig.
1810
1811 2009-09-11 Tom Tromey <tromey@redhat.com>
1812
1813 * gdb.dwarf2/valop.S: New file.
1814 * gdb.dwarf2/valop.exp: New file.
1815
1816 2009-09-11 Mark Kettenis <kettenis@gnu.org>
1817
1818 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
1819
1820 2009-09-10 Doug Evans <dje@google.com>
1821
1822 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
1823 Add $gdb_prompt to second breakpoint regexp.
1824
1825 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
1826
1827 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
1828 names, add missing ones.
1829 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
1830 * gdb.python/py-frame.c: Rename from python-frame.c.
1831 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
1832 testfile name.
1833 * gdb.python/py-function.exp: Rename from python-function.exp.
1834 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
1835 testfile name.
1836 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
1837 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
1838 Adjust testfile name.
1839 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
1840 * gdb.python/py-template.cc: Rename from python-template.cc.
1841 * gdb.python/py-template.exp: Rename from python-template.exp.
1842 Adjust testfile name.
1843 * gdb.python/py-value.c: Rename from python-value.c.
1844 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
1845 testfile name.
1846
1847 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1848
1849 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
1850 $bpt2address.
1851 (Second breakpoint address is valid on ia64)
1852 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
1853
1854 2009-09-03 Joseph Myers <joseph@codesourcery.com>
1855
1856 * gdb.base/ending-run.exp: Restrict regular expression matching
1857 line number to require closing brace following.
1858
1859 2009-09-03 Doug Evans <dje@google.com>
1860
1861 * gdb.base/store.exp (check_set): Fix typo in expected value message.
1862
1863 2009-09-02 Tom Tromey <tromey@redhat.com>
1864
1865 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
1866
1867 2009-09-02 Tom Tromey <tromey@redhat.com>
1868
1869 * gdb.dwarf2/callframecfa.exp: New file.
1870 * gdb.dwarf2/callframecfa.S: New file.
1871
1872 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
1875 gdb.base/solib-overlap-main.c: New.
1876
1877 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1878
1879 PR gdb/10565
1880
1881 * gdb.base/bitfields.c (struct container, container): New.
1882 (main): Initialize it and call break5.
1883 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
1884
1885 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 Support constant DW_AT_data_member_location by GCC PR debug/40659.
1888 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
1889
1890 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
1893
1894 2009-08-26 Michael Snyder <msnyder@vmware.com>
1895
1896 * gdb.base/i386-reverse.c: New file.
1897 * gdb.base/i386-reverse.exp: New file.
1898 * gdb.base/Makefile.in: Add new files to be removed.
1899
1900 2009-08-26 Joseph Myers <joseph@codesourcery.com>
1901
1902 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
1903 environment-pwd for remote host.
1904 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
1905
1906 2009-08-24 Keith Seitz <keiths@redhat.com>
1907
1908 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
1909 Add two new C++ completer tests which limit the output to a
1910 given class.
1911
1912 2009-08-24 Michael Snyder <msnyder@vmware.com>
1913
1914 * gdb.base/del.exp: Fix typo in comment.
1915 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
1916
1917 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1918
1919 * configure: Regenerate.
1920 * gdb.hp/configure: Likewise.
1921 * gdb.hp/gdb.aCC/configure: Likewise.
1922 * gdb.hp/gdb.base-hp/configure: Likewise.
1923 * gdb.hp/gdb.compat/configure: Likewise.
1924 * gdb.hp/gdb.defects/configure: Likewise.
1925 * gdb.hp/gdb.objdbg/configure: Likewise.
1926 * gdb.stabs/configure: Likewise.
1927
1928 2009-08-19 Doug Evans <dje@google.com>
1929
1930 * gdb.base/gdbvars.c: New file.
1931 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
1932
1933 2009-08-14 Pedro Alves <pedro@codesourcery.com>
1934
1935 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
1936 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
1937
1938 2009-08-13 Pedro Alves <pedro@codesourcery.com>
1939
1940 * gdb.base/default.exp: Adjust "set language test": it's now an
1941 enum command. Larger help string moved to "help set language".
1942 * gdb.base/help.exp: Adjust "help set language" expected output,
1943 now lists all known languages.
1944
1945 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
1946
1947 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
1948 all frame arguments.
1949 * gdb.arch/altivec-regs.exp: Likewise.
1950
1951 2009-08-07 Tom Tromey <tromey@redhat.com>
1952
1953 * gdb.base/setshow.exp: Add tests for changes to set language, set
1954 check range, and set check type.
1955
1956 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
1957
1958 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
1959 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
1960 Call it.
1961
1962 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1963
1964 * configure.ac: Run gdb.cell tests when appropriate.
1965 * configure: Regenerate.
1966 * lib/cell.exp: New file.
1967 * gdb.cell: New directory.
1968 * gdb.cell/configure.ac: New file.
1969 * gdb.cell/configure: New file.
1970 * gdb.cell/Makefile.in: New file.
1971 * gdb.cell/arch.exp: New file.
1972 * gdb.cell/break.c: New file.
1973 * gdb.cell/break.exp: New file.
1974 * gdb.cell/break-spu.c: New file.
1975 * gdb.cell/bt.c: New file.
1976 * gdb.cell/bt2-spu.c: New file.
1977 * gdb.cell/bt-spu.c: New file.
1978 * gdb.cell/bt.exp: New file.
1979 * gdb.cell/coremaker.c: New file.
1980 * gdb.cell/coremaker-spu.c: New file.
1981 * gdb.cell/core.exp: New file.
1982 * gdb.cell/gcore.exp: New file.
1983 * gdb.cell/data.c: New file.
1984 * gdb.cell/data.exp: New file.
1985 * gdb.cell/data-spu.c: New file.
1986 * gdb.cell/ea-cache.exp: New file.
1987 * gdb.cell/ea-cache.c: New file.
1988 * gdb.cell/ea-cache-spu.c: New file.
1989 * gdb.cell/ea-standalone.c: New file.
1990 * gdb.cell/ea-standalone.exp: New file.
1991 * gdb.cell/ea-test.c: New file.
1992 * gdb.cell/ea-test.exp: New file.
1993 * gdb.cell/f-regs.exp: New file.
1994 * gdb.cell/mem-access.c: New file.
1995 * gdb.cell/mem-access.exp: New file.
1996 * gdb.cell/mem-access-spu.c: New file.
1997 * gdb.cell/ptype.exp: New file.
1998 * gdb.cell/registers.exp: New file.
1999 * gdb.cell/size.c: New file.
2000 * gdb.cell/sizeof.exp: New file.
2001 * gdb.cell/size-spu.c: New file.
2002 * gdb.cell/solib.exp: New file.
2003 * gdb.cell/solib-symbol.exp: New file.
2004
2005 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2006
2007 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
2008
2009 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2010
2011 * gdb.base/float.exp: Handle VFP registers.
2012
2013 2009-07-14 Michael Snyder <msnyder@vmware.com>
2014
2015 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
2016 to bring gdb to the beginning of the calling line.
2017
2018 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
2019 confusing the i386 epilogue unwinder.
2020
2021 2009-07-14 Stan Shebs <stan@codesourcery.com>
2022
2023 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
2024
2025 2009-07-14 Michael Snyder <msnyder@vmware.com>
2026
2027 * gdb.reverse/step-reverse.exp (stepi into function call):
2028 Call instruction may not be first instruction in the line.
2029 (reverse stepi from a function call): Used wrong line number.
2030
2031 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
2034
2035 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2036
2037 Fix gdb.base/macscp.exp when using custom inputrc.
2038 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
2039 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
2040 env(TERM) set.
2041 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
2042 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
2043
2044 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
2047 * gdb.base/annota1.exp (thread_test): Import global $testfile.
2048 Change the compilation target to match the testcase name.
2049 * gdb.base/sect-cmd.exp: Change the compilation target to match the
2050 testcase name.
2051 * a2-run.exp: Use for setup prepare_for_testing. Change the
2052 compilation target to match the testcase name.
2053 * gdb.base/commands.exp: Likewise.
2054 * gdb.base/finish.exp: Likewise.
2055 * gdb.base/float.exp: Likewise.
2056 * gdb.base/info-target.exp: Likewise.
2057 * gdb.base/relational.exp: Likewise.
2058 * gdb.base/term.exp: Likewise.
2059 * gdb.base/until.exp: Likewise.
2060 * gdb.base/volatile.exp: Likewise.
2061 * gdb.base/whatis-exp.exp: Likewise.
2062
2063 2009-07-11 Hui Zhu <teawater@gmail.com>
2064
2065 * gdb.base/help.exp (disassemble): Update expected help text.
2066
2067 2009-07-09 Tom Tromey <tromey@redhat.com>
2068
2069 * lib/gdb.exp: Handle TRANSCRIPT.
2070 (remote_spawn, remote_close, send_gdb): New procs.
2071
2072 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
2073
2074 * gdb.python/python-prettyprint.c: Add counted null string
2075 structure.
2076 * gdb.python/python-prettyprint.exp: Print null string. Test for
2077 embedded nulls.
2078 * gdb.python/python-prettyprint.py (pp_ns): New Function.
2079 * gdb.python/python-value.exp (test_value_in_inferior): Add
2080 variable length string fetch tests.
2081 * gdb.python/python-value.c (main): Add strings for string fetch tests.
2082
2083 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2084
2085 * gdb.base/dump.exp (inaccessible memory is reported): New test.
2086
2087 2009-07-07 Tom Tromey <tromey@redhat.com>
2088
2089 * gdb.base/call-rt-st.exp: Update for change to escape output.
2090 * gdb.base/callfuncs.exp: Likewise.
2091 * gdb.base/charset.exp: Likewise.
2092 * gdb.base/constvars.exp: Likewise.
2093 * gdb.base/long_long.exp: Likewise.
2094 * gdb.base/pointers.exp: Likewise.
2095 * gdb.base/printcmds.exp: Likewise.
2096 * gdb.base/setvar.exp: Likewise.
2097 * gdb.base/store.exp: Likewise.
2098 * gdb.cp/ref-types.exp: Likewise.
2099 * gdb.mi/mi-var-child.exp: Likewise.
2100 * gdb.mi/mi-var-display.exp: Likewise.
2101 * gdb.mi/mi2-var-display.exp: Likewise.
2102 * gdb.base/charset.exp: Test octal escape sequence length.
2103 Update for change to escape output.
2104
2105 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2106
2107 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
2108
2109 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
2110
2111 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
2112
2113 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2114
2115 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
2116 gdbserver increasing $portnum if "Can't bind address" has been seen.
2117
2118 2009-07-05 Pedro Alves <pedro@codesourcery.com>
2119
2120 * gdb.base/ending-run.exp: Add "step out of main" pattern for
2121 mingw32ce.
2122
2123 2009-07-05 Pedro Alves <pedro@codesourcery.com>
2124
2125 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
2126 VFP format.
2127
2128 2009-07-02 Pedro Alves <pedro@codesourcery.com>
2129
2130 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
2131 linux. Adjust to use "inferior", "info inferiors", "detach
2132 inferior" and "kill inferior" instead of "restart", "info fork",
2133 "detach fork" and "delete fork".
2134 * gdb.base/ending-run.exp: Spell out "info".
2135 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
2136 the "kill" command.
2137
2138 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2139
2140 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
2141 change to prefix TLS offset in hex with 0x.
2142
2143 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2144
2145 * gdb.base/default.exp: Update test case for "x" changes.
2146
2147 2009-07-01 Tristan Gingold <gingold@adacore.com>
2148
2149 * gdb.base/bigcore.exp: Make darwin untested.
2150
2151 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 * gdb.base/completion.exp (directory completion): Create the directory.
2154 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
2155 escapeuniquesub.
2156 (directory completion 2): Expect now ${escapeuniquesub}.
2157 (Glob remaining of directory test): Remove one excessive newline.
2158 Expect the real output.
2159
2160 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2161
2162 Fix `make check//%' target after `make check' has been ran.
2163 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
2164 a mkdir call.
2165 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
2166 (%/.dir): Remove.
2167
2168 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
2171 the expected result record.
2172
2173 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 Remove racy FAILs relying just on the timeouts.
2176 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
2177 (annotation_level 2): Remove racy FAILs.
2178
2179 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
2180
2181 gdb/10275
2182 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
2183
2184 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
2185
2186 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
2187
2188 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
2189
2190 * gdb.mi/mi-stack.exp: Testing symbolic options
2191 to -stack-list-locals and -stack-list-arguments.
2192
2193 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2194
2195 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
2196
2197 2009-06-29 Tom Tromey <tromey@redhat.com>
2198
2199 * dg-extract-results.sh: New file.
2200 * Makefile.in (FORCE_PARALLEL): New variable.
2201 (CHECK_TARGET): New conditional variable.
2202 (check): Use CHECK_TARGET.
2203 (DO_RUNTEST): New variable.
2204 (check-single): New target.
2205 (TEST_DIRS): New variable.
2206 (TEST_TARGETS): Likewise.
2207 (check-parallel): New target.
2208 (check-gdb.%): New pattern.
2209 (BASE1_FILES): New variable.
2210 (BASE2_FILES): Likewise.
2211 (check-gdb.base%): New pattern.
2212 (%/.dir): New pattern.
2213 * configure: Rebuild.
2214 * aclocal.m4 (AM_CONDITIONAL): New defun.
2215 * configure.ac: Check whether user is using GNU make.
2216 (GMAKE): New conditional.
2217
2218 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
2219
2220 * gdb.cp/namespace-nested-import.cc: New test.
2221 * gdb.cp/namespace-nested-import.exp: New test.
2222
2223 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
2224
2225 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
2226 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
2227 * gdb.opt/Makefile.in (EXECUTABLES): Update.
2228 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
2229 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
2230 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
2231 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
2232 gdb.opt/inline-markers.c: New files.
2233 * lib/gdb.exp (skip_inline_frame_tests): New function.
2234 (skip_inline_var_tests): New function.
2235
2236 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
2237
2238 * gdb.cp/exception.exp: Don't require $hex before inner frame in
2239 backtrace.
2240
2241 2009-06-27 Michael Snyder <msnyder@vmware.com>
2242
2243 * gdb.reverse: New directory.
2244 * gdb.reverse/break-reverse.c: New test.
2245 * gdb.reverse/break-reverse.exp: New test.
2246 * gdb.reverse/consecutive-reverse.c: New test.
2247 * gdb.reverse/consecutive-reverse.exp: New test.
2248 * gdb.reverse/finish-reverse.c: New test.
2249 * gdb.reverse/finish-reverse.exp: New test.
2250 * gdb.reverse/machinestate.c: New test.
2251 * gdb.reverse/ms1.c: New test.
2252 * gdb.reverse/machinestate.exp: New test.
2253 * gdb.reverse/Makefile.in: New file.
2254 * gdb.reverse/shr2.c: New test.
2255 * gdb.reverse/solib-reverse.c: New test.
2256 * gdb.reverse/solib-reverse.exp: New test.
2257 * gdb.reverse/step-reverse.c: New test.
2258 * gdb.reverse/step-reverse.exp: New test.
2259 * gdb.reverse/until-reverse.c: New test.
2260 * gdb.reverse/ur1.c: New test.
2261 * gdb.reverse/until-reverse.exp: New test.
2262 * gdb.reverse/watch-reverse.c: New test.
2263 * gdb.reverse/watch-reverse.exp: New test.
2264 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
2265 * configure: Regenerate.
2266
2267 2009-06-26 Doug Evans <dje@google.com>
2268
2269 * gdb.base/psymtab.exp: Turn off pending breakpoints.
2270
2271 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
2272
2273 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
2274 windows problem for 'file delete $binfile'.
2275
2276 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
2277
2278 * gdb.cp/namespace-using.exp: New test.
2279 * gdb.cp/namespace-using.cc: New test.
2280
2281 2009-05-20 Joel Brobecker <brobecker@adacore.com>
2282
2283 * gdb.ada/variant_record_packed_array: New testcase.
2284
2285 2009-06-23 Tom Tromey <tromey@redhat.com>
2286
2287 * gdb.base/charset.exp (test_combination): Regression test.
2288 * gdb.base/charset.c (my_wchar_t): New typedef.
2289 (myvar): New global.
2290 (main): Set myvar.
2291
2292 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
2293
2294 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
2295 target.
2296
2297 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2298
2299 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
2300
2301 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2302
2303 * gdb.mi/gdb680.exp: Update test for error message.
2304
2305 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2306
2307 * gdb.base/annota1.exp: Allow multiple occurrences of the
2308 frames-invalid annotation.
2309 * gdb.cp/annota2.exp: Likewise.
2310
2311 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
2312
2313 * gdb.cp/gdb2495.cc: New file.
2314 * gdb.cp/gdb2495.exp: New file.
2315
2316 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 Report error on GDB crash during runto.
2319 * lib/gdb.exp (runto <eof>): New.
2320
2321 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
2322
2323 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
2324 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
2325 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
2326 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
2327 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
2328 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
2329 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
2330 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
2331 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
2332 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
2333 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
2334 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
2335 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2336 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
2337 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
2338 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
2339 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
2340 gdb.server/server-mon.exp, gdb.server/server-run.exp,
2341 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2342 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2343 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
2344 gdb.trace/passcount.exp, gdb.trace/report.exp,
2345 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
2346 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
2347 gdb.trace/while-stepping.exp: Use a unique name for the compiled
2348 executable.
2349
2350 2009-06-07 Pedro Alves <pedro@codesourcery.com>
2351
2352 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
2353 defined before referencing it.
2354
2355 2009-06-03 Doug Evans <dje@google.com>
2356
2357 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
2358 * gdb.arch/i386-see.c: Ditto.
2359
2360 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
2361
2362 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
2363 (check_macro): Return 1 if undefined.
2364 If first test fails, check if macro debug information is available,
2365 and report unsupported test if no macro information is found.
2366
2367 2009-05-29 Doug Evans <dje@google.com>
2368
2369 * gdb.threads/hand-call-in-threads.exp: New.
2370 * gdb.threads/hand-call-in-threads.c: New.
2371
2372 2009-05-29 Michael Snyder <msnyder@vmware.com>
2373
2374 * gdb.base/break-always.exp: Change "1" to "on".
2375 Add confirmation check.
2376
2377 2009-05-28 Pedro Alves <pedro@codesourcery.com>
2378
2379 * gdb.threads/threxit-hop-specific.c: New.
2380 * gdb.threads/threxit-hop-specific.exp: New.
2381 * gdb.threads/thread-execl.c: New.
2382 * gdb.threads/thread-execl.exp: New.
2383
2384 2009-05-27 Tom Tromey <tromey@redhat.com>
2385 Thiago Jung Bauermann <bauerman@br.ibm.com>
2386
2387 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
2388 (mi_child_regexp): Likewise.
2389 (mi_list_varobj_children_range): Likewise.
2390 (mi_get_features): Likewise.
2391 (mi_list_varobj_children): Rewrite.
2392 * gdb.python/python-mi.exp: New file.
2393
2394 2009-05-27 Tom Tromey <tromey@redhat.com>
2395 Thiago Jung Bauermann <bauerman@br.ibm.com>
2396 Phil Muldoon <pmuldoon@redhat.com>
2397 Paul Pluzhnikov <ppluzhnikov@google.com>
2398
2399 * gdb.python/python-prettyprint.exp: New file.
2400 * gdb.python/python-prettyprint.c: New file.
2401 * gdb.python/python-prettyprint.py: New file.
2402 * gdb.base/display.exp: print/r is now valid.
2403
2404 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
2405 Tom Tromey <tromey@redhat.com>
2406 Pedro Alves <pedro@codesourcery.com>
2407 Paul Pluzhnikov <ppluzhnikov@google.com>
2408
2409 * gdb.python/python-template.exp: New file.
2410 * gdb.python/python-template.cc: New file.
2411 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
2412 tests.
2413 * gdb.python/python-value.exp (py_objfile_tests): New proc.
2414 Call it.
2415 (test_value_after_death): New proc.
2416 * gdb.python/python-value.c (PTR): New typedef.
2417 (main): New variable 'x'.
2418
2419 2009-05-27 Tom Tromey <tromey@redhat.com>
2420
2421 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
2422 tests.
2423 * gdb.python/python-value.exp (py_objfile_tests): New proc.
2424 Call it.
2425
2426 2009-05-27 Pedro Alves <pedro@codesourcery.com>
2427
2428 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
2429
2430 2009-05-24 Pedro Alves <pedro@codesourcery.com>
2431
2432 * gdb.threads/fork-thread-pending.c: New.
2433 * gdb.threads/fork-thread-pending.exp: New.
2434
2435 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
2438 * gdb.dwarf2/dw2-strp.S (a_string2): New.
2439
2440 2009-05-18 Jon Beniston <jon@beniston.com>
2441
2442 * gdb.asm/asm-source.exp: Add lm32 target.
2443
2444 2009-05-17 Pedro Alves <pedro@codesourcery.com>
2445
2446 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
2447 `gdb_get_line_number'. Call `callee' in both parent and child.
2448 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
2449 `gdb_get_line_number' instead of hardcoding line numbers.
2450 (catch_fork_unpatch_child): New procedure to test detaching
2451 breakpoints from child fork.
2452 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
2453 hardcoding line numbers.
2454 (do_fork_tests): Run `catch_fork_unpatch_child'.
2455
2456 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
2457
2458 * gdb.mi/mi-cmd-var.exp: Check that when varobj
2459 of structure type enters or leaves the scope, it
2460 is reported by -var-update.
2461
2462 2009-05-11 Doug Evans <dje@sebabeach.org>
2463
2464 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
2465 * gdb.threads/pending-step.c (main): Fix off-by-one error.
2466 * gdb.threads/schedlock.c (main): Fix off-by-one error.
2467
2468 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2469
2470 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
2471
2472 2009-04-30 Doug Evans <dje@google.com>
2473
2474 * gdb.threads/watchthreads2.exp: New testcase.
2475 * gdb.threads/watchthreads2.c: New testcase.
2476
2477 2009-04-29 Doug Evans <dje@google.com>
2478
2479 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
2480 * gdb.cp/mb-ctor.cc: Ditto.
2481 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
2482 * gdb.cp/mb-inline.h (multi_line_foo): New function.
2483 * gdb.cp/mb-inline1.cc: Call it.
2484 * gdb.cp/mb-inline2.cc: Ditto.
2485 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
2486 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
2487
2488 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2489
2490 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
2491 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
2492 Replace all uses of `decimal' by `nonzero'.
2493 (info macro FROM_COMMANDLINE): New test.
2494
2495 2009-04-27 Tom Tromey <tromey@redhat.com>
2496
2497 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2498
2499 2009-04-27 Doug Evans <dje@google.com>
2500
2501 * gdb.threads/watchthreads.c (main): Initialize args before starting
2502 the threads. Plus formatting cleanup.
2503 * gdb.threads/watchthreads.exp: Avoid errant failures due to
2504 biased scheduling of one thread.
2505
2506 2009-04-27 Jerome Guitton <guitton@adacore.com>
2507
2508 * gdb.cp/templates.cc (GetMax): New template.
2509 (main): Declare two instances of GetMax.
2510 * gdb.cp/templates.exp: Add new test.
2511
2512 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2513
2514 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2515
2516 2009-04-22 Joseph Myers <joseph@codesourcery.com>
2517
2518 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2519
2520 2009-04-15 Tom Tromey <tromey@redhat.com>
2521
2522 * gdb.base/charset.exp: Add regression test.
2523
2524 2009-04-14 Joel Brobecker <brobecker@adacore.com>
2525
2526 * gdb.base/exe-lock.exp: New testcase.
2527
2528 2009-04-13 Tom Tromey <tromey@redhat.com>
2529
2530 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
2531 operator on Frame.
2532
2533 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2534
2535 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
2536 * gdb.server/ext-attach.exp: Likewise.
2537
2538 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
2539
2540 Eliminate some sleep usage.
2541
2542 * gdb.mi/basics.c (do_nothing): New.
2543 (main): Use do_nothing instead of printf, so that
2544 not to introduce race condition between output of
2545 inferiour and output of gdb. Do not use sleep as it
2546 is not generally available on embedded targets.
2547
2548 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2549
2550 * gdb.server/ext-attach.exp: Expect an optional process id after
2551 "Detached from remote process".
2552
2553 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2554
2555 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
2556 gdb.dwarf2/dw2-unresolved.exp: New.
2557
2558 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2559
2560 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
2561 mi_run_to_main.
2562
2563 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2564
2565 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
2566 mi_run_to_main. Skip thread exit test on remote targets.
2567 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
2568 mi_run_to_main.
2569 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
2570 mi_run_to_main.
2571 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
2572 when expecting ^connected. Detect when the target doesn't support
2573 non-stop mode.
2574 (mi_run_cmd): Detect if non-stop mode was requested by isn't
2575 supported. Return -1 on error, 0 on success.
2576 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
2577 (mi_runto): Return mi_runto_helper's result explicitly.
2578
2579 2009-04-01 Pedro Alves <pedro@codesourcery.com>
2580
2581 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
2582
2583 2009-04-01 Tom Tromey <tromey@redhat.com>
2584
2585 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
2586 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
2587 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
2588 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
2589
2590 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
2591 Jan Kratochvil <jan.kratochvil@redhat.com>
2592
2593 PR gdb/931
2594 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
2595 output.
2596 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
2597 for gdb/931.
2598 * dw2-strp.S (DW_AT_language): Change to C++.
2599 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
2600
2601 2009-03-31 Joel Brobecker <brobecker@adacore.com>
2602
2603 * gdb.ada/tasks: New testcase.
2604
2605 2009-03-30 Stan Shebs <stan@codesourcery.com>
2606
2607 * gdb.trace/actions.exp: Update to match new info trace format.
2608 * gdb.trace/deltrace.exp: Ditto.
2609 * gdb.trace/infotrace.exp: Ditto.
2610 * gdb.trace/passcount.exp: Ditto.
2611 * gdb.trace/save-trace.exp: Ditto.
2612 * gdb.trace/while-stepping.exp: Ditto.
2613 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
2614
2615 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2616
2617 * gdb.python/python-frame.c: New file.
2618 * gdb.python/python-frame.exp: New file.
2619
2620 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
2621
2622 * gdb.python/python-value.exp: Add tests for the address
2623 attribute.
2624
2625 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
2626
2627 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
2628
2629 2009-03-26 Doug Evans <dje@google.com>
2630
2631 * gdb.mi/mi-nonstop-exit.exp: New file.
2632 * gdb.mi/non-stop-exit.c: New file.
2633
2634 2009-03-26 Tom Tromey <tromey@redhat.com>
2635
2636 Update for change to prologue skipping:
2637 * gdb.mi/mi2-simplerun.exp: Update.
2638 * gdb.mi/mi2-break.exp: Update.
2639 * gdb.mi/mi-simplerun.exp: Update.
2640 * gdb.mi/mi-break.exp: Update.
2641 * gdb.base/ending-run.exp: Update.
2642
2643 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
2644
2645 * gdb.python/python-value.exp (test_value_in_inferior): Test
2646 gdb.Value.is_optimized_out attribute.
2647
2648 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2649
2650 * gdb.dwarf2/dw2-noloc-main.c: New file.
2651 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
2652 (.text): Remove.
2653 (.data): New.
2654 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
2655 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
2656 (DW_TAG_subprogram func_cu1, noloc): Remove.
2657 (main): New.
2658 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
2659 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
2660 (file_symbols): New procedure.
2661
2662 2009-03-25 Tom Tromey <tromey@redhat.com>
2663
2664 * gdb.base/charset.exp (valid_target_charset): New proc.
2665 Use it to skip tests on invalid charsets.
2666
2667 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
2668
2669 * gdb.base/completion.exp: Add a test for directory completion.
2670
2671 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 Fix a racy FAIL.
2674 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
2675 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
2676
2677 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
2678
2679 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
2680 * gdb.python/python-function.exp: Add test for function returning
2681 a GDB value.
2682
2683 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
2684
2685 * gdb.python/python-function.exp: New file.
2686
2687 2009-03-20 Tom Tromey <tromey@redhat.com>
2688
2689 * gdb.base/store.exp: Update for change to escape output.
2690 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
2691 to escape output.
2692 * gdb.base/pointers.exp: Update for change to escape output.
2693 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
2694 to escape output.
2695 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
2696 escape output.
2697 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
2698 to escape output.
2699 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
2700 escape output.
2701 * gdb.base/setvar.exp: Update for change to escape output.
2702 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
2703 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
2704 to escape output.
2705 (test_print_string_constants): Likewise.
2706 * gdb.base/charset.exp (valid_host_charset): Check size of
2707 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
2708 cases. Handle "auto"-related output.
2709 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
2710 (uvar, Uvar): New globals.
2711
2712 2009-03-19 Jerome Guitton <guitton@adacore.com>
2713
2714 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
2715 deltas.
2716 * gdb.ada/fixed_points.exp: Ditto.
2717
2718 2009-03-18 Pedro Alves <pedro@codesourcery.com>
2719
2720 * return-nodebug.c: Don't include stdio.h.
2721 (init): Delete.
2722 (func): Delete definition and provide extern declaration.
2723 (t): New.
2724 (main): Don't call printf. Call func and store its result in t.
2725 * return-nodebug1.c: New.
2726 * return-nodebug.exp: Don't expect stdio output. Instead, print
2727 the global variable t. Drop printf formatters and cast types from
2728 foreach loop. Don't use prepare_for_testing. Compile
2729 return-nodebug.c and return-nodebug1.c in separate steps. Don't
2730 define FORMAT or CAST.
2731
2732 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2733
2734 * gdb.base/solib-display.exp: Disable test for remote targers.
2735
2736 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2739
2740 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2741
2742 Fix a racy FAIL.
2743 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
2744 code from `follow parent, print pids'.
2745 (`follow child, print pids', `follow parent, print pids'): Call it.
2746 Replace `gdb_test "break..."' by gdb_breakpoint.
2747
2748 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
2749
2750 * gdb.mi/mi-cli.exp: Adjust for output difference in
2751 sync and async modes.
2752
2753 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2754
2755 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
2756 that was checked in by mistake. Remove loading of ada.exp, since
2757 this is not necessary in this case.
2758
2759 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2760
2761 * gdb.ada/ptype_arith_binop.exp: New testcase.
2762
2763 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2764
2765 * gdb.ada/mod_from_name: New testcase.
2766
2767 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2768
2769 * gdb.ada/tick_last_segv: New testcase.
2770
2771 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
2772
2773 * gdb.mi/mi-cli.exp: Remove debug print.
2774
2775 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
2776
2777 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
2778 include the token in ^running and frame info in *stopped.
2779
2780 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2781
2782 * solib-display.exp: New file.
2783 * solib-display-main.c: New file.
2784 * solib-display-lib.c: New file.
2785
2786 2009-03-05 Pedro Alves <pedro@codesourcery.com>
2787
2788 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2789
2790 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2791
2792 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
2793 (list_and_check_macro): Use more specific test name.
2794 (next to definition): Make the test names unique.
2795
2796 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2797
2798 * gdb.pascal/floats.exp: Accept approximate results everywhere.
2799
2800 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
2801
2802 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
2803 notifications.
2804 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
2805 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
2806 * lib/mi-support.exp (library_loaded_re): New.
2807 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
2808
2809 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
2810
2811 * gdb.gdb/observer.exp: Use test_notification observer, not
2812 normal_stop, everywhere.
2813 (test_normal_stop_notifications): Rename to...
2814 (test_notifications): ...this.
2815 (test_observer_normal_stop): Rename to...
2816 (test_observer): ...this.
2817
2818 2009-02-16 Doug Evans <dje@google.com>
2819
2820 * gdb.arch/amd64-disp-step.S (test_int3): New test.
2821 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
2822 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
2823 (test_prefixed_syscall,test_int3): New tests.
2824 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
2825 (test_prefixed_syscall,test_int3): New tests.
2826
2827 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
2828
2829 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
2830 (mi_expect_interrupt): Likewise.
2831 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
2832 response.
2833
2834 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2835
2836 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
2837 * gdb.base/pc-fp.exp (get_valueofx): Remove.
2838 Replace calls to get_valueofx by get_hexadecimal_valueof.
2839
2840 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2841
2842 * lib/gdb.exp (get_valueof): Accept anything as a return value.
2843 (get_integer_valueof): New procedure.
2844 (get_sizeof): Use new get_integer_value_of.
2845 * gdb.base/sizeof.exp: Replace all uses of get_valueof
2846 by get_integer_valueof.
2847
2848 2009-02-13 Tom Tromey <tromey@redhat.com>
2849
2850 * gdb.base/remote.exp (get_sizeof): Remove.
2851 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
2852 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
2853 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
2854 * lib/gdb.exp (get_valueof): Move from long_long.exp.
2855 (get_sizeof): Likewise.
2856
2857 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 PR fortran/9806
2860 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
2861
2862 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2863
2864 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
2865
2866 2009-02-06 Pedro Alves <pedro@codesourcery.com>
2867
2868 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
2869
2870 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
2871
2872 * gdb.python/python-cmd.exp: New file.
2873
2874 2009-02-06 Tristan Gingold <gingold@adacore.com>
2875
2876 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
2877
2878 2009-02-05 Tristan Gingold <gingold@adacore.com>
2879
2880 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
2881 pointer is dereferenced and use this signal name in regexp.
2882 * gdb.base/signull.exp: Ditto.
2883 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
2884 * gdb.base/signull.c (main): Ditto.
2885
2886 2009-02-04 Tom Tromey <tromey@redhat.com>
2887 Thiago Jung Bauermann <bauerman@br.ibm.com>
2888
2889 * gdb.python/python-value.exp: Use `gdb.history' instead of
2890 `gdb.value_from_history'.
2891 (test_value_numeric_ops): Add test for conversion of enum constant.
2892 * gdb.python/python-value.c (enum e): New type.
2893 (evalue): New global.
2894 (main): Use argv.
2895
2896 2009-02-04 Jerome Guitton <guitton@adacore.com>
2897
2898 * gdb.ada/uninitialized_vars: New test program.
2899 * gdb.ada/uninitialized_vars.exp: New testcase.
2900
2901 2009-02-02 Tom Tromey <tromey@redhat.com>
2902
2903 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
2904 * gdb.cp/pr2489.cc: Rename...
2905 * gdb.cp/pr9594.cc: ... to this.
2906
2907 2009-02-02 Tom Tromey <tromey@redhat.com>
2908
2909 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
2910 * gdb.cp/pr2489.cc: New file.
2911 * gdb.cp/cpcompletion.exp: New file.
2912
2913 2009-02-02 Tom Tromey <tromey@redhat.com>
2914
2915 PR exp/9059:
2916 * gdb.cp/call-c.exp: Add regression test.
2917 * gdb.cp/call-c.cc (FooHandle): New typedef.
2918 (main): New variable 'handle'.
2919
2920 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2921
2922 * lib/mi-support.exp (et_mi_thread_list)
2923 (check_mi_and_console_threads): Adjust for current thread in
2924 -thread-list-ids output.
2925
2926 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2927
2928 * gdb.mi/mi-break.exp (test_disabled_creation): New.
2929 Call it.
2930
2931 2009-01-28 Doug Evans <dje@google.com>
2932
2933 * gdb.arch/amd64-disp-step.S: New file.
2934 * gdb.arch/amd64-disp-step.exp: New file.
2935 * gdb.arch/i386-disp-step.S: New file.
2936 * gdb.arch/i386-disp-step.exp: New file.
2937
2938 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
2939
2940 * gdb.base/find.exp: Set newline variable
2941 using quotes instead of braces to fix cygwin failures.
2942
2943 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2944
2945 * gdb.base/radix.exp: Add tests to ensure that that set
2946 input-radix 0 and set output-radix 0 are really rejected.
2947
2948 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2949
2950 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
2951 copyright years.
2952
2953 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2954
2955 PR gdb/9664:
2956 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2957
2958 2009-01-22 Pedro Alves <pedro@codesourcery.com>
2959
2960 PR c++/9631:
2961 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2962
2963 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
2964
2965 * gdb.server/file-transfer.exp: Use EXEEXT variable for
2966 binfile definition to fix Windows OS failure.
2967
2968 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2969
2970 PR gdb/9346
2971 * gdb.base/interrupt.c (sigint_handler): New.
2972 (main): Install a SIGINT handler if SIGNALS is defined. Exit
2973 on error.
2974 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
2975 Test "signal SIGINT".
2976
2977 2009-01-19 Doug Evans <dje@google.com>
2978
2979 * gdb.base/break.exp: Update expected gdb output.
2980 * gdb.base/sepdebug.exp: Ditto.
2981 * gdb.mi/mi-syn-frame.exp: Ditto.
2982 * gdb.mi/mi2-syn-frame.exp: Ditto.
2983 * gdb.base/call-signal-resume.exp: New file.
2984 * gdb.base/call-signals.c: New file.
2985 * gdb.base/unwindonsignal.exp: New file.
2986 * gdb.base/unwindonsignal.c: New file.
2987 * gdb.threads/interrupted-hand-call.exp: New file.
2988 * gdb.threads/interrupted-hand-call.c: New file.
2989 * gdb.threads/thread-unwindonsignal.exp: New file.
2990
2991 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
2992
2993 * gdb.base/define.exp: Test defining and hooking prefix commands.
2994 * gdb.python/python.exp: Update test for "show user" output.
2995
2996 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2997
2998 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
2999 now the output exactly, using less wildcards. Expect also the output
3000 of gfortran-4.3. Update for the f-valprint.c modification from
3001 2008-04-22.
3002 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
3003 Remove gdb_test test names where matching the command.
3004
3005 2009-01-01 Pedro Alves <pedro@codesourcery.com>
3006
3007 PR breakpoints/9681:
3008 * gdb.base/watchpoint.exp: Add regression test.
3009
3010 2008-12-31 Pedro Alves <pedro@codesourcery.com>
3011
3012 * gdb.threads/attach-into-signal.exp: Don't use
3013 gdb_suppress_entire_file.
3014 * gdb.threads/attach-stopped.exp: Ditto.
3015 * gdb.threads/attachstop-mt.exp: Ditto.
3016
3017 2008-12-31 Pedro Alves <pedro@codesourcery.com>
3018
3019 PR gdb/8812:
3020 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
3021
3022 2008-12-29 Pedro Alves <pedro@codesourcery.com>
3023
3024 PR gdb/7536:
3025 * gdb.base/radix.exp: Add tests to ensure invalid input radices
3026 and unsupported output radices are really rejected.
3027
3028 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3029
3030 * gdb.cp/punctuator.exp: Backslash the '$' signs.
3031
3032 2008-12-22 Tom Tromey <tromey@redhat.com>
3033
3034 * gdb.cp/punctuator.exp: New file.
3035
3036 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3037
3038 * gdb.base/completion.exp (Completing non-existing component): New test.
3039
3040 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 Fix for PR gdb/8648.
3043 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
3044 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
3045 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
3046 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
3047
3048 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3049
3050 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
3051
3052 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
3053
3054 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
3055 compiler actually generate code at the expected line number.
3056
3057 2008-12-15 Jie Zhang <jie.zhang@analog.com>
3058
3059 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
3060
3061 2008-12-12 Tom Tromey <tromey@redhat.com>
3062
3063 * gdb.base/commands.exp (redefine_hook_test): New proc.
3064 Call it.
3065
3066 2008-12-11 Tom Tromey <tromey@redhat.com>
3067
3068 * gdb.base/macscp.exp: New regression test.
3069
3070 2008-12-11 Tom Tromey <tromey@redhat.com>
3071
3072 * gdb.base/macscp.exp: Print "address.addr".
3073 * gdb.base/macscp1.c (struct outer): New struct.
3074 (address): New global.
3075
3076 2008-12-09 Tom Tromey <tromey@redhat.com>
3077
3078 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
3079 Call it.
3080
3081 2008-12-04 Doug Evans <dje@google.com>
3082
3083 * gdb.server/ext-run.exp: Relax regexp for init program.
3084
3085 2008-12-03 Tristan Gingold <gingold@adacore.com>
3086
3087 * gdb.base/macscp.exp: Generate an object file during compilation
3088 to work around Darwin dsymutil limitations.
3089
3090 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3091
3092 Test resolving external references to TLS variables.
3093 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
3094 FILE2_THREAD_LOCAL.
3095 (testfile2, srcfile2): New variables.
3096 * gdb.threads/tls.c (file2_thread_local)
3097 (function_referencing_file2_thread_local): New.
3098 * gdb.threads/tls2.c: New file.
3099
3100 2008-11-28 Joel Brobecker <brobecker@adacore.com>
3101
3102 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
3103 rather than integer, as integer might not be big enough when
3104 on 64bit targets.
3105
3106 2008-11-27 Jerome Guitton <guitton@adacore.com>
3107
3108 * gdb.cp/formatted-ref.exp: Add equality test.
3109 * gdb.ada/formatted_ref.exp: Ditto.
3110
3111 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3112
3113 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
3114 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
3115
3116 2008-11-20 Andreas Schwab <schwab@suse.de>
3117
3118 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
3119 matching syscall entry point.
3120 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
3121 (tcatch_vfork_then_child_follow): Likewise. Finish through
3122 vfork even if we stopped at the syscall trampoline.
3123
3124 2008-11-20 Doug Evans <dje@google.com>
3125
3126 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
3127
3128 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
3129
3130 * gdb.arch/ppc-dfp.exp: New file.
3131 * gdb.arch/ppc-dfp.c: New file.
3132
3133 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3134
3135 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
3136
3137 2008-11-17 Doug Evans <dje@google.com>
3138
3139 * gdb.mi/mi-syn-frame.exp: Update expected output.
3140 * gdb.mi/mi2-syn-frame.exp: Update expected output.
3141
3142 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
3143
3144 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
3145 "thread N" results in =thread-selected.
3146 * lib/mi-support (mi_run_cmd, mi_expect_stop)
3147 (mi_send_resuming_command_raw): Be prepared for
3148 =thread-selected.
3149
3150 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
3151
3152 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
3153 * lib/mi-support.exp: Likewise.
3154
3155 2008-11-16 Joel Brobecker <brobecker@adacore.com>
3156
3157 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
3158 commands from the expected output for "help catch".
3159
3160 2008-11-15 Joel Brobecker <brobecker@adacore.com>
3161
3162 * gdb.ada/int_deref.exp: New testcase.
3163
3164 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
3165
3166 * gdb.mi/gdb2549.exp: New file.
3167
3168 2008-11-11 Doug Evans <dje@google.com>
3169
3170 * gdb.base/callexit.exp: New file.
3171 * gdb.base/callexit.c: New file.
3172
3173 2008-11-10 Doug Evans <dje@google.com>
3174
3175 * lib/gdb.exp (GDBFLAGS): Move -nx ...
3176 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
3177 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
3178 (default_gdb_start,default_gdb_exit): Ditto.
3179 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
3180 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
3181 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
3182 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
3183 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
3184 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
3185
3186 2008-11-03 Andreas Schwab <schwab@suse.de>
3187
3188 * gdb.base/hashline2.exp: Fix typo.
3189 * gdb.base/hashline3.exp: Likewise.
3190
3191 2008-10-30 Tom Tromey <tromey@redhat.com>
3192
3193 * gdb.base/pointers.exp: Add test.
3194 * gdb.base/pointers.c (k, S): New typedefs.
3195 (instance): New global.
3196
3197 2008-10-30 Andreas Schwab <schwab@suse.de>
3198
3199 * gdb.base/args.exp: Add tests for newlines.
3200
3201 2008-10-30 Joel Brobecker <brobecker@adacore.com>
3202
3203 gdb.base/foll-exec.exp: Update the expected output of a couple
3204 of "info breakpoints" tests.
3205
3206 2008-10-28 Tom Tromey <tromey@redhat.com>
3207
3208 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
3209
3210 2008-10-24 Pedro Alves <pedro@codesourcery.com>
3211
3212 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
3213 gdb_start_cmd.
3214 Use runto_main before any test that requires execution.
3215
3216 2008-10-23 Pedro Alves <pedro@codesourcery.com>
3217
3218 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
3219 instead of SIGINT.
3220
3221 2008-10-22 Joel Brobecker <brobecker@adacore.com>
3222
3223 * gdb.base/completion.exp: Update expected output following
3224 the addition of the "info tasks" command.
3225
3226 2008-10-22 Tom Tromey <tromey@redhat.com>
3227
3228 * gdb.base/exprs.exp (test_expr): Add test for string
3229 concatenation.
3230
3231 2008-10-19 Pedro Alves <pedro@codesourcery.com>
3232
3233 * configure.ac: Output gdb.python/Makefile.
3234 * configure: Regenerate.
3235 * gdb.python/Makefile.in: New.
3236
3237 2008-10-16 Joel Brobecker <brobecker@adacore.com>
3238
3239 * gdb.base/foll-fork.exp: Adjust the expected output to match
3240 the new description for fork/vfork catchpoints in the "info
3241 breakpoints" output.
3242
3243 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3244
3245 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
3246
3247 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
3248
3249 * gdb.python/python-value.c: New file.
3250 * gdb.python/python-value.exp: New file.
3251
3252 2008-10-15 Pedro Alves <pedro@codesourcery.com>
3253
3254 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
3255
3256 2008-10-15 Denis Pilat <denis.pilat@st.com>
3257
3258 * gdb.cp/mb-ctor.exp: Fix a typo.
3259
3260 2008-10-09 Tom Tromey <tromey@redhat.com>
3261
3262 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
3263 'fprintf' and 'stderr'.
3264
3265 2008-10-07 Joel Brobecker <brobecker@adacore.com>
3266
3267 * gdb.ada/ref_tick_size.exp: New testcase.
3268
3269 2008-10-06 Doug Evans <dje@google.com>
3270
3271 * gdb.dwarf2/dw2-cu-size.exp: New file.
3272 * gdb.dwarf2/dw2-cu-size.S: New file.
3273
3274 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
3275 .Ltype_int for clarity.
3276
3277 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3278
3279 PR gdb/2384:
3280 * gdb.cp/gdb2384.exp: Extended to test more cases.
3281 * gdb.cp/gdb2384.cc: Likewise.
3282 * gdb.cp/gdb2384-base.h: Likewise.
3283 * gdb.cp/gdb2384-base.cc: Likewise.
3284
3285 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3286
3287 * gdb.base/maint.exp (maint print type): Remove printing
3288 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
3289
3290 2008-09-30 Tom Tromey <tromey@redhat.com>
3291
3292 * gdb.base/macscp.exp: Add completion tests.
3293 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
3294 (TWENTY_THREE): Likewise.
3295 (FORTY_EIGHT): Likewise.
3296
3297 2008-09-30 Tom Tromey <tromey@redhat.com>
3298
3299 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
3300 everywhere.
3301 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
3302
3303 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3304
3305 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
3306 testcase is derived from. Fix racy dependency on an expected PID
3307 number. No longer support the testcase on Linux kernel 2.4.x.
3308
3309 2008-09-27 Tom Tromey <tromey@redhat.com>
3310
3311 * gdb.base/macscp.exp: Add tests for stringification, splicing,
3312 and varargs.
3313
3314 2008-09-22 Pedro Alves <pedro@codesourcery.com>
3315
3316 * lib/mi-support.exp (mi_expect_interrupt): New.
3317 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
3318 from gdb.mi/mi-nonstop.exp.
3319 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
3320 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
3321 lib/mi-support.exp.
3322 Use mi_check_thread_states throughout. Avoid ".*" and do not
3323 require an anchor after -exec-run.
3324
3325 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
3326
3327 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
3328 stop is pending. Avoid ".*" when two stops are pending.
3329 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
3330 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
3331 newlines in fullnames.
3332 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
3333 (mi_expect_stop): Update comments. Only anchor in sync mode.
3334 Do not match newlines.
3335 (mi_send_resuming_command_raw): Always return status.
3336 (mi_get_stop_line): Do not match more than one line by accident.
3337 Only anchor in sync mode.
3338 (mi_run_inline_test): If -exec-next fails, give up.
3339
3340 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3341
3342 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
3343 on SPU.
3344
3345 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3346
3347 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
3348
3349 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3350
3351 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
3352 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3353 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
3354 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3355 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
3356 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
3357 gdb.ada/interface.exp, gdb.ada/null_array.exp,
3358 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3359 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3360 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3361 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
3362 Include the "= " sequence in the expected output of print tests.
3363
3364 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3365
3366 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
3367 description for boolean types.
3368
3369 2008-09-09 Pedro Alves <pedro@codesourcery.com>
3370
3371 * gdb.base/hook-stop-continue.c: New.
3372 * gdb.base/hook-stop-continue.exp: New.
3373
3374 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3375
3376 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
3377
3378 2008-09-08 Jerome Guitton <guitton@adacore.com>
3379
3380 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
3381 (stack_check_probe_2, stack_check_probe_loop_1)
3382 (stack_check_probe_loop_2): New functions.
3383 (main): Add call to these new functions.
3384 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
3385 functions, check that the breakpoint is inserted at the appropriate
3386 location.
3387 (insert_breakpoint): Slightly refine this procedure so that it can
3388 be called several times in the test.
3389
3390 2008-09-08 Jerome Guitton <guitton@adacore.com>
3391
3392 * gdb.base/stack-checking.c: New file.
3393 * gdb.base/stack-checking.exp: New file.
3394
3395 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
3396
3397 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
3398 * gdb.arch/altivec-regs.exp: Likewise.
3399 * gdb.arch/vsx-regs.exp: Likewise.
3400
3401 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
3402
3403 * gdb.arch/ppc-fp.exp: New file.
3404 * gdb.arch/ppc-fp.c: New file.
3405
3406 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3407
3408 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
3409 lest gcc-4.3.1 optimizes the whole thing away.
3410
3411 2008-09-04 Michael Snyder <msnyder@vmware.com>
3412
3413 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
3414 as "at" (for non-debug functions such as _start).
3415
3416 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3417
3418 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
3419 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
3420 software watchpoints.
3421 * gdb.base/watch_thread_num.exp: Likewise.
3422
3423 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
3424
3425 * gdb.arch/i386-bp_permanent.exp: New test.
3426
3427 2008-08-24 Tom Tromey <tromey@redhat.com>
3428
3429 * gdb.base/maint.exp: Update "maint print type".
3430
3431 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
3432
3433 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
3434 support. Adjust the order of "*running" notifications.
3435 * gdb.mi/non-stop.c: Don't cast from int to void* and
3436 back.
3437
3438 2008-08-20 Mark Kettenis <kettenis@gnu.org>
3439
3440 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
3441 expect to find it in the "info frame" output.
3442
3443 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
3444
3445 * gdb.base/interp.exp: Always consume both prompts.
3446
3447 2008-08-20 Pedro Alves <pedro@codesourcery.com>
3448
3449 * gdb.base/pending.exp: Test pending breakpoints without symbols
3450 loaded.
3451
3452 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
3453
3454 * lib/mi-support.exp (mi_expect_stop): Produce
3455 more details on failures.
3456 * gdb.mi/mi-nonstop.exp: New.
3457 * gdb.mi/non-stop.c: New.
3458
3459 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
3460
3461 * gdb.mi/mi-async.exp: Use 'set target-async'.
3462 * lib/mi-support.exp: Use 'set/show target-async'.
3463
3464 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
3465
3466 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
3467
3468 2008-08-17 Tom Tromey <tromey@redhat.com>
3469
3470 * gdb.base/help.exp (help catch): Rewrite.
3471
3472 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
3473
3474 * gdb.base/define.exp: Test indented command documentation.
3475 * gdb.python/python.exp: Test indented multi-line command.
3476
3477 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
3478
3479 * testsuite/gdb.arch/vsx-regs.c: New source file.
3480 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
3481 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
3482
3483 2008-08-14 Tom Tromey <tromey@redhat.com>
3484
3485 * gdb.base/macscp.exp: Add regression test for "macro define" or
3486 "macro undef" with no arguments.
3487
3488 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3489
3490 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
3491
3492 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3493
3494 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
3495
3496 2008-08-06 Tom Tromey <tromey@redhat.com>
3497
3498 * gdb.python/python.exp: New file.
3499
3500 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3501
3502 Fix for PR gdb/1543.
3503 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
3504 $LOCATION.
3505 (location): New variable.
3506 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
3507 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
3508 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
3509 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
3510 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
3511 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
3512 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
3513 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
3514 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
3515 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
3516 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
3517 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
3518 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
3519 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
3520 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3521 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
3522 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
3523 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
3524 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
3525 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3526 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
3527 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
3528 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
3529 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
3530 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
3531 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
3532 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
3533 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
3534 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
3535 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
3536 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
3537 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
3538 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
3539 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
3540 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
3541 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
3542 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
3543 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3544 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
3545 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
3546 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
3547 gdb.base/type-opaque.exp, gdb.base/until.exp,
3548 gdb.base/value-double-free.c, gdb.base/varargs.exp,
3549 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
3550 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
3551 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3552 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
3553 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
3554 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3555 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3556 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3557 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
3558 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
3559 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
3560 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
3561 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
3562 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
3563 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
3564 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3565 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
3566 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
3567 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
3568 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
3569 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
3570 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
3571 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
3572 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
3573 gdb.pascal/types.exp, gdb.stabs/weird.exp,
3574 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
3575 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
3576 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
3577 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
3578 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
3579 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
3580 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3581 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
3582 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3583 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
3584 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3585 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3586 lib/mi-support.exp, lib/trace-support.exp: Remove reference
3587 to bug-gdb@prep.ai.mit.edu .
3588
3589 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
3590
3591 * lib/mi-support.exp (mi_load_shlibs): New.
3592 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
3593
3594 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
3595
3596 * lib/mi-support.exp (get_mi_thread_list)
3597 (check_mi_and_console_threads): New, moved from ...
3598 * gdb.mi/mi-pthread.exp: ...here.
3599 * gdb.mi/gdb669.exp (get_mi_thread_list)
3600 (check_mi_and_console_threads): Delete.
3601 * gdb.mi/mi2-pthread.exp: Likewise.
3602
3603 2008-07-28 Tom Tromey <tromey@redhat.com>
3604
3605 * Makefile.in (just-check): Remove. Move body to...
3606 (check): ... here.
3607
3608 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3609
3610 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
3611 Add a test for duplicated SIGINTs.
3612
3613 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3614
3615 * gdb.threads/schedlock.exp (get_args): Update to work for any
3616 value of NUM.
3617 (Top level): Report the number of threads that did not resume.
3618
3619 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3620
3621 * gdb.dwarf2/dw2-compressed.S: Also define __start.
3622
3623 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3624
3625 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
3626 non-MI prompt.
3627
3628 2008-07-26 Tom Tromey <tromey@redhat.com>
3629
3630 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
3631 (function_struct, function_struct_ptr): New globals.
3632 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
3633 function pointer in a struct.
3634
3635 2008-07-26 Tom Tromey <tromey@redhat.com>
3636
3637 * gdb.base/macscp.exp: Add test for macro lexing bug.
3638
3639 2008-07-18 Tom Tromey <tromey@redhat.com>
3640
3641 * gdb.base/macscp.exp: Add macro tests.
3642
3643 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3644
3645 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
3646
3647 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3648
3649 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
3650
3651 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3652
3653 * gdb.cp/class2.exp: fix for failure on spu-elf
3654
3655 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3656
3657 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
3658
3659 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3660
3661 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
3662
3663 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
3664
3665 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
3666
3667 2008-07-11 Kevin Buettner <kevinb@redhat.com>
3668
3669 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
3670 of regexp to account for changes made to GDB in the printing of
3671 byte vectors.
3672
3673 2008-07-11 Tom Tromey <tromey@redhat.com>
3674
3675 * gdb.base/completion.exp: Add 'help' completion test.
3676
3677 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3678
3679 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
3680
3681 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3682
3683 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
3684
3685 2008-07-09 Pedro Alves <pedro@codesourcery.com>
3686
3687 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
3688
3689 2008-07-09 Pedro Alves <pedro@codesourcery.com>
3690
3691 * gdb.base/fullname.exp: Restore pwd if compiling failed.
3692
3693 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3694
3695 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
3696
3697 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
3698
3699 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
3700 previous commit. Add a comment.
3701
3702 2008-06-28 Pedro Alves <pedro@codesourcery.com>
3703
3704 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
3705
3706 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
3707
3708 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
3709
3710 2008-06-27 Pedro Alves <pedro@codesourcery.com>
3711
3712 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
3713 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
3714 compiling an executable, link in an object that forces unbuffered
3715 output.
3716 * lib/set_unbuffered_mode.c: New file.
3717
3718 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
3721
3722 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
3723
3724 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
3725 mi_expect_stop.
3726 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
3727 Demand that *running is output.
3728 (detect_async): Perform checking every time.
3729 (mi_send_resuming_command): Extract everything into...
3730 (mi_send_resuming_command_raw): ...this.
3731 (mi_expect_stop): Don't accept any output before *stopped.
3732
3733 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
3734
3735 Robustify mi-simplerun.
3736 * gdb.mi/basics.c (main): Add a call to sleep.
3737 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
3738 * gdb.mi/mi2-cli.exp: Likewise.
3739 * gdb.mi/mi-break.exp: Likewise.
3740
3741 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
3742
3743 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
3744
3745 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
3746
3747 * gdb.mi/mi-console.exp: Adjust.
3748 * gdb.mi/mi-syn-frame.exp: Adjust.
3749 * gdb.mi/mi2-console.exp: Adjust.
3750 * gdb.mi/mi2-syn-frame.exp: Adjust.
3751 * lib/mi-support.exp (mi_run_cmd): Adjust.
3752 (mi_send_resuming_command): Adjust.
3753
3754 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
3755
3756 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
3757 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
3758 testing of stopped.
3759 * gdb.mi/mi2-syn-frame.exp: Likewise.
3760 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
3761 (async, detect_async): New.
3762 (mi_expect_stop, mi_continue_to_line): Adjust expectation
3763 depending on if we're running in sync or async mode.
3764
3765 2008-06-09 Tom Tromey <tromey@redhat.com>
3766
3767 * gdb.base/completion.exp: New tests for field name completion
3768 with spaces, and field name completion with '->'.
3769
3770 2008-06-06 Tom Tromey <tromey@redhat.com>
3771
3772 * gdb.base/break1.c (struct some_struct): New struct.
3773 (values): New global.
3774 * gdb.base/completion.exp: Add field name completion test.
3775
3776 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3777
3778 * gdb.cp/call-c.exp: Test for incorrect handling of reference
3779 to pointer.
3780 * gdb.cp/call-c.cc: Likewise.
3781
3782 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
3783
3784 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
3785 annotation.
3786
3787 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3788 Pedro Alves <pedro@codesourcery.com>
3789
3790 * gdb.threads/execl.c, gdb.threads/execl1.c,
3791 gdb.threads/execl.exp: New tests.
3792
3793 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
3794 Daniel Jacobowitz <dan@codesourcery.com>
3795
3796 * gdb.cp/exception.exp: Activate test, make it work with pending
3797 catchpoints.
3798
3799 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
3802
3803 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
3804
3805 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
3806 now printed.
3807 * gdb.mi/mi2-var-cmd.exp: Likewise.
3808
3809 2008-05-27 Andreas Schwab <schwab@suse.de>
3810
3811 * gdb.base/frame-args.exp: Handle arguments that are optimized
3812 out.
3813
3814 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
3815
3816 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
3817 quiet for ppc32 and group options into a single variable.
3818
3819 2008-05-23 Joel Brobecker <brobecker@adacore.com>
3820
3821 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
3822 of zero-size elements.
3823 * gdb.ada/null_array.exp: Test printing this new array.
3824
3825 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
3828
3829 2008-05-21 Joel Brobecker <brobecker@adacore.com>
3830
3831 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
3832 of the "finish" command.
3833
3834 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
3835
3836 * gdb.base/annota1.exp: Test for new annotation.
3837
3838 2008-05-16 Pedro Alves <pedro@codesourcery.com>
3839
3840 * gdb.base/fixsection.exp: New file.
3841 * gdb.base/fixsection0.c: New file.
3842 * gdb.base/fixsection1.c: New file.
3843
3844 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3845
3846 * gdb.base/annota1.exp: Accept printf@... in place of printf.
3847 * gdb.base/annota3.exp: Likewise.
3848
3849 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
3850
3851 * gdb.base/watch_thread_num.exp: Don't run tests that require
3852 watchpoints if the target doesn't support them.
3853
3854 2008-05-12 Doug Evans <dje@google.com>
3855
3856 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
3857
3858 2008-05-09 Joel Brobecker <brobecker@adacore.com>
3859
3860 * gdb.ada/assign_1.exp: New testcase.
3861
3862 2008-05-09 Doug Evans <dje@google.com>
3863
3864 * gdb.base/find.exp: New file.
3865 * gdb.base/find.c: New file.
3866
3867 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
3868
3869 * gdb.base/commands.exp (watchpoint_command_test): Handle
3870 gdb,no_hardware_watchpoints.
3871 * gdb.base/float.exp: Allow ARM targets without floating point.
3872 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
3873
3874 2008-05-06 Jerome Guitton <guitton@adacore.com>
3875 Joel Brobecker <brobecker@adacore.com>
3876
3877 * gdb.ada/lang_switch: New test program.
3878 * gdb.ada/lang_switch.exp: New testcase.
3879
3880 2008-05-05 Doug Evans <dje@google.com>
3881
3882 * gdb.base/help.exp (disassemble): Update expected help text.
3883
3884 2008-05-04 Pedro Alves <pedro@codesourcery.com>
3885
3886 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
3887
3888 2008-05-04 Pedro Alves <pedro@codesourcery.com>
3889
3890 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
3891 different times.
3892
3893 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
3896 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
3897 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
3898 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
3899
3900 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
3901
3902 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
3903 notification to appear.
3904
3905 2008-05-04 Daniel Jacobowitz <dan@debian.org>
3906
3907 * gdb.base/fullname.c: New file.
3908 * gdb.base/fullname.exp: New file.
3909 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
3910
3911 2008-05-03 Pedro Alves <pedro@codesourcery.com>
3912
3913 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
3914 expressions with macros.
3915
3916 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3917
3918 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
3919
3920 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
3921
3922 * gdb.base/completion.exp: Handle lack of other symbols beginning
3923 with "a".
3924
3925 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
3926
3927 2008-05-02 Jim Blandy <jimb@codesourcery.com>
3928
3929 * gdb.asm/asmsrc1.s: Add scratch space.
3930
3931 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3932 Daniel Jacobowitz <dan@codesourcery.com>
3933
3934 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
3935 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
3936 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
3937
3938 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
3939
3940 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
3941
3942 2008-05-01 Joel Brobecker <brobecker@adacore.com>
3943
3944 * gdb.base/info-target.exp: New testcase.
3945
3946 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3947
3948 * gdb.cp/hang.exp: Use .cc instead of .C.
3949 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
3950 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
3951
3952 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3953
3954 * gdb.base/gdb1250.exp: Remove perror.
3955 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
3956
3957 2008-04-30 Pedro Alves <pedro@codesourcery.com>
3958
3959 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
3960 .2byte.
3961
3962 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
3963
3964 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
3965 (maybe_kfail): New.
3966
3967 2008-04-25 Pedro Alves <pedro@codesourcery.com>
3968
3969 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
3970
3971 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3972
3973 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
3974 * gdb.mi/mi2-syn-frame.exp: Likewise.
3975 * lib/mi-support.exp: Likewise.
3976
3977 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3978
3979 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
3980 to specify regexp for the location to stop at.
3981 * gdb.base/break-always.c: New.
3982 * gdb.base/break-always.exp: New.
3983
3984 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3985
3986 * lib/mi-support.exp (mi_runto_helper): Adjust
3987 for the original-location field.
3988 (mi_create_breakpoint, mi_list_breakpoints): New.
3989 * gdb.mi/mi-break.exp: Adjust.
3990 * gdb.mi/mi2-break.exp: Adjust.
3991 * gdb.mi/mi-pending.exp: Adjust.
3992 * gdb.mi/mi-simplerun.exp: Adjust.
3993 * gdb.mi/mi2-simplerun.exp: Adjust.
3994 * gdb.mi/mi-syn-frame.exp: Adjust.
3995 * gdb.mi/mi2-syn-frame.exp: Adjust.
3996 * gdb.mi/mi-until.exp: Adjust.
3997 * gdb.mi/mi2-until.exp: Adjust.
3998 * gdb.mi/mi-var-display.exp: Adjust.
3999 * gdb.mi/mi2-var-display.exp: Adjust.
4000 * gdb.mi/mi-watch.exp: Adjust.
4001 * gdb.mi/mi2-watch.exp: Adjust.
4002
4003 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
4004
4005 * aclocal.m4: Add override.m4.
4006 * configure: Regenerate.
4007
4008 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
4009
4010 * gdb.mi/var-cmd.c (do_at_tests): Verify that
4011 '-var-update --all-values' reports new value even the type
4012 of a variable object has changed.
4013
4014 2008-04-18 Craig Silverstein <csilvers@google.com>
4015
4016 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
4017 files.
4018
4019 2008-04-18 Joel Brobecker <brobecker@adacore.com>
4020
4021 * gdb.ada/atomic_enum: New test program.
4022 * gdb.ada/atomic_enum.exp: New testcase.
4023
4024 2008-04-17 Doug Evans <dje@google.com>
4025
4026 * gdb.opt/Makefile.in: Fix whitespace.
4027
4028 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
4029
4030 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
4031
4032 2008-04-17 Doug Evans <dje@google.com>
4033
4034 * gdb.base/hashline1.exp: New testcase.
4035 * gdb.base/hashline2.exp: New testcase.
4036 * gdb.base/hashline2.exp: New testcase.
4037
4038 2008-04-17 Pedro Alves <pedro@codesourcery.com>
4039
4040 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
4041
4042 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
4043
4044 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
4045 temporary breakpoint to match "Temporary breakpoint".
4046 * gdb.base/break.exp (delete_breakpoints): Likewise.
4047 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
4048 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
4049 * gdb.base/display.exp: Likewise.
4050 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
4051 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
4052 * gdb.base/restore.exp (restore_tests): Likewise.
4053 * gdb.base/sepdebug.exp: Likewise.
4054 * gdb.base/watchpoint.exp: Likewise.
4055 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
4056 * gdb.mi/mi-pending.exp: Likewise.
4057 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
4058 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
4059 * gdb.mi/mi-var-cmd.exp: Likewise.
4060 * gdb.mi/mi-var-display.exp: Likewise.
4061 * gdb.mi/mi2-cli.exp: Likewise.
4062 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
4063 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
4064 * gdb.mi/mi2-var-display.exp: Likewise.
4065 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
4066 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
4067 new "disp" field.
4068 (mi_expect_stop): Move after_reason argument to be really after
4069 reason. This is to support fix for PR2424.
4070
4071 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4072
4073 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
4074
4075 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
4076
4077 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
4078 field. Add more floating varobj tests.
4079 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
4080 field.
4081 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
4082 (main): Call do_at_tests.
4083 * lib/mi-support.exp (mi_create_floating_varobj)
4084 (mi_varobj_update_with_type_change): New.
4085
4086 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
4087
4088 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
4089 option of -var-evaluate-expression.
4090 * gdb.mi/mi2-var-display.exp: Likewise.
4091
4092 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
4093
4094 Introduce test setup helpers.
4095 * lib/gdb.exp (build_executable, clean_restart)
4096 (prepare_for_testing): New.
4097 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
4098 * gdb.base/return.exp: Likewise.
4099 * gdb.base/ending-run.exp: Likewise.
4100
4101 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
4102
4103 * gdb.mi/mi-async.exp: New test for asynchronous Machine
4104 Interface (MI) responses.
4105
4106 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
4107
4108 * gdb.cp/breakpoint.cc: New code to test conditions involving
4109 member variables.
4110 * gdb.cp/breakpoint.exp: Test condition involving member
4111 variables.
4112
4113 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
4114
4115 * lib/mi-support.exp (mi_expect_stop): New.
4116 (mi_run_cmd): Change the
4117 token. Use mi_send_resuming_command, use
4118 mi_expect_stop.
4119 (mi_execute_to_helper): Rename to mi_execute_to.
4120 (mi_send_resuming_command): Add more error patterns.
4121 (mi_wait_for_stop): Renamed to...
4122 (mi_get_stop_line): ...this.
4123 (mi_run_inline_test): Adjust.
4124
4125 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
4126 * gdb.mi/mi-console.exp: Likewise.
4127 * gdb.mi/mi-pending.exp: Likewise.
4128 * gdb.mi/mi-simplerun.exp: Likewise.
4129 * gdb.mi/mi-stack.exp: Likewise.
4130 * gdb.mi/mi-stepi.exp: Likewise.
4131 * gdb.mi/mi-syn-frame.exp: Add comment.
4132 * gdb.mi/mi-until.exp: Likewise.
4133 * gdb.mi/mi-var-display.exp: Likewise.
4134 * gdb.mi/mi-watch.exp: Likewise.
4135 * gdb.mi/mi2-cli.exp: Likewise.
4136 * gdb.mi/mi2-console.exp: Likewise.
4137 * gdb.mi/mi2-simplerun.exp: Likewise.
4138 * gdb.mi/mi2-stack.exp: Likewise.
4139 * gdb.mi/mi2-stepi.exp: Likewise.
4140 * gdb.mi/mi2-until.exp: Likewise.
4141 * gdb.mi/mi2-var-display.exp: Likewise.
4142 * gdb.mi/mi2-watch.exp: Likewise.
4143
4144 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4145
4146 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
4147
4148 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
4149
4150 2008-04-04 Pedro Alves <pedro@codesourcery.com>
4151
4152 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
4153 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
4154 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
4155 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
4156 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
4157 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
4158 expect an mi error duplicated in stderr.
4159
4160 2008-04-03 Joel Brobecker <brobecker@adacore.com>
4161
4162 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
4163 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
4164 Add a couple of tests that verify the behavior when the new setting
4165 is set to "cancel" and "all".
4166 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
4167 "ask" before we start the testing.
4168
4169 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
4170
4171 * gdb.cp/casts.cc: Add class reference variables.
4172 * gdb.cp/casts.exp: New test cases for up/down casting references.
4173
4174 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
4175
4176 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
4177 instead of beginning to make an extra test pass.
4178 * gdb.mi/mi2-var-display.exp: Likewise.
4179
4180 2008-03-31 Maciej W. Rozycki <macro@mips.com>
4181
4182 * gdb.base/break.exp: Mark failures as such. Fix formatting.
4183
4184 2008-03-31 Markus Deuling <deuling@de.ibm.com>
4185 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4186
4187 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
4188 value. Add xfail for older kernels.
4189
4190 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
4191
4192 Bring mi-support in line with gdb.exp.
4193 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
4194 (mi_gdb_start): New function.
4195
4196 2008-03-28 Maciej W. Rozycki <macro@mips.com>
4197
4198 * gdb.mi/mi-var-cmd.exp: Fix a typo.
4199
4200 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
4201
4202 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
4203 * gdb.mi/mi2-var-display.exp: Likewise.
4204
4205 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
4206
4207 * lib/mi-support.exp (mi_create_varobj_checked): New.
4208 (mi_list_varobj_children): Allow to check for a
4209 value.
4210 (mi_list_array_varobj_children): New.
4211
4212 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
4213 and mi_list_varobj_children, as opposed to hardcoding
4214 expected strings.
4215 * gdb.mi/gdb701.exp: Likewise.
4216 * gdb.mi/gdb792.exp: Likewise.
4217 * gdb.mi/mi-var-block.exp: Likewise.
4218 * gdb.mi/mi-var-cmd.exp: Likewise.
4219 * gdb.mi/mi-var-invalidate.exp: Likewise.
4220 * gdb.mi/mi2-var-block.exp: Likewise.
4221 * gdb.mi/mi2-var-child.exp: Likewise.
4222 * gdb.mi/mi2-var-cmd.exp: Likewise.
4223 * gdb.mi/mi2-var-display.exp: Likewise.
4224
4225 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4226
4227 Fix random false FAILs on i386.
4228 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
4229
4230 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
4231
4232 PR gdb/544
4233 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
4234
4235 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
4236
4237 PR gdb/544
4238 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
4239
4240 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4241
4242 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
4243 fixed PR gdb/544.
4244
4245 2008-03-21 Pedro Alves <pedro@codesourcery.com>
4246
4247 * gdb.threads/fork-child-threads.exp: Test next over fork.
4248
4249 2008-03-21 Chris Demetriou <cgd@google.com>
4250
4251 * gdb.base/break.exp (rbreak junk): New test for rbreak
4252 "Junk at end of arguments" issue.
4253
4254 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4255
4256 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
4257 *& to work on created array elements.
4258 (Top level): Test print $pc with a file. Test string operations
4259 without a target.
4260 * gdb.base/ptype.exp: Do not expect *& to work on created array
4261 elements.
4262
4263 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4264
4265 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4266 gdb.threads/staticthreads.exp: Update exit query.
4267
4268 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
4269
4270 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
4271
4272 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
4273
4274 * gdb.base/watchpoint.c (global_ptr, func4): New.
4275 (main): Call func4.
4276 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
4277 (test_inaccessible_watchpoint): New.
4278
4279 2008-02-29 Maciej W. Rozycki <macro@mips.com>
4280
4281 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
4282 select the largest.
4283
4284 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
4285
4286 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
4287 frames-invalid annotations.
4288
4289 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
4290
4291 * gdb.base/assign.exp: avoid same output for different tests.
4292
4293 2008-02-27 Doug Evans <dje@google.com>
4294
4295 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
4296 for bug 1738.
4297 (breakpoint_to_handler_entry): Ditto.
4298
4299 2008-02-27 Joel Brobecker <brobecker@adacore.com>
4300
4301 * gdb.base/ending-run.exp: Use the first line of code inside
4302 function body to test breakpoints.
4303 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
4304 location where the breakpoint is inserted when using the line
4305 where a function is declared. Fix typo in the description of
4306 one of the tests.
4307 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
4308
4309 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
4310
4311 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
4312 tests.
4313
4314 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
4315
4316 * gdb.base/args.exp: avoid same output for tests
4317 with single quotes.
4318
4319 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
4320
4321 * gdb.base/annota1.exp: Adjust for 'info break'
4322 format changes.
4323 * gdb.base/annota3.exp: Likewise.
4324 * gdb.base/break.exp: Likewise.
4325 * gdb.base/condbreak.exp: Likewise.
4326 * gdb.base/pending.exp: Likewise.
4327 * gdb.base/sepdebug.exp: Likewise.
4328 * gdb.base/unload.exp: Likewise.
4329 * gdb.cp/ovldbreak.exp: Likewise.
4330 * gdb.mi/mi-pending.exp: Likewise.
4331
4332 2008-02-07 Doug Evans <dje@google.com>
4333
4334 * gdb.cp/mb-inline.exp: New.
4335 * gdb.cp/mb-inline.h: New.
4336 * gdb.cp/mb-inline1.cc: New.
4337 * gdb.cp/mb-inline2.cc: New.
4338
4339 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
4340
4341 * gdb.pascal/floats.pas: New test program.
4342 * gdb.pascal/floats.exp: New testcase.
4343
4344 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
4345
4346 * gdb.base/callfuncs.c (t_float_many_args): New function.
4347 (t_double_many_args): New function.
4348 * gdb.base/callfuncs.exp: Add tests for exceeding float
4349 and double parameters passed through the stack.
4350
4351 2008-02-05 Joel Brobecker <brobecker@adacore.com>
4352
4353 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
4354 gdb.ada/complete/foo.adb: New files.
4355 * gdb.ada/complete.exp: New testcase.
4356
4357 2008-02-03 Doug Evans <dje@google.com>
4358
4359 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
4360
4361 * gdb.cp/gdb2384.exp: New file.
4362 * gdb.cp/gdb2384.cc: New file.
4363 * gdb.cp/gdb2384-base.h: New file.
4364 * gdb.cp/gdb2384-base.cc: New file.
4365
4366 2008-02-02 Doug Evans <dje@google.com>
4367
4368 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
4369
4370 2007-02-01 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/sym_print_name: New test program.
4373 * gdb.ada/sym_print_name.exp: New testcase.
4374
4375 2007-02-01 Joel Brobecker <brobecker@adacore.com>
4376
4377 * gdb.ada/nested/hello.adb: New file.
4378 * gdb.ada/nested.exp: New testcase.
4379 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
4380
4381 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
4382
4383 * gdb.mi/basic.c (return_1): New function.
4384 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
4385 don't cause future evaluations of function to report
4386 creation of internal breakpoints.
4387
4388 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
4389
4390 * gdb.mi/mi-break.exp (test_error): New.
4391 Call it.
4392
4393 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
4394
4395 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
4396 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
4397
4398 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
4399
4400 * gdb.pascal/integers.pas: New test program.
4401 * gdb.pascal/integers.exp: New testcase.
4402
4403 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
4404
4405 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
4406
4407 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
4408
4409 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
4410 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
4411
4412 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
4413
4414 * gdb.ada/formatted_ref: New test program.
4415 * gdb.ada/formatted_ref.exp: New testcase.
4416
4417 * gdb.cp/formatted-ref.cc: New file.
4418 * gdb.cp/formatted-ref.exp: New testcase.
4419
4420 2008-01-30 Joel Brobecker <brobecker@adacore.com>
4421
4422 * gdb.base/ptype.exp: Add testing of "ptype $pc".
4423
4424 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
4425
4426 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
4427 (test_file_list_exec_source_file): Update to new macro-info field.
4428
4429 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
4430
4431 * gdb.ada/exprs: New test program.
4432 * gdb.ada/exprs.exp: New testcase.
4433
4434 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4435
4436 * dfp-test.c (DELTA, DELTA_B): New definitions.
4437 (double_val1, double_val2, double_val3, double_val4, double_val5,
4438 double_val6, double_val7, double_val8, double_val9, double_val10,
4439 double_val11, double_val12, double_val13, double_val14, dec32_val1,
4440 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
4441 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
4442 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
4443 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
4444 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
4445 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
4446 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
4447 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
4448 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
4449 dec128_val16): New global variables.
4450 (decimal_dec128_align): New function.
4451 (decimal_mixed): Likewise.
4452 (decimal_many_args_dec32): Likewise.
4453 (decimal_many_args_dec64): Likewise.
4454 (decimal_many_args_dec128): Likewise.
4455 (decimal_many_args_mixed): Likewise.
4456 * dfp-test.exp: Add tests calling new inferior functions.
4457
4458 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4459
4460 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
4461 gdb.server/ext-run.exp: New files.
4462 * lib/gdbserver-support.exp (gdbserver_download): New.
4463 (gdbserver_start): New. Update gdbserver expected
4464 output.
4465 (gdbserver_spawn): Use them.
4466 (gdbserver_start_extended): New.
4467
4468 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4469
4470 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
4471 Run on GNU/Linux.
4472 (do_exec_tests): Check for systems which do not support catchpoints.
4473 Do not match START.
4474 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
4475 Run on GNU/Linux. Enable verbose output.
4476 (check_fork_catchpoints): New.
4477 (explicit_fork_child_follow, catch_fork_child_follow)
4478 (tcatch_fork_parent_follow): Update expected messages.
4479 (do_fork_tests): Use check_fork_catchpoints.
4480 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
4481 Run on GNU/Linux. Enable verbose output.
4482 (check_vfork_catchpoints): New.
4483 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
4484 expected messages.
4485 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
4486
4487 2008-01-29 Jim Blandy <jimb@red-bean.com>
4488
4489 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
4490 host' errors.
4491 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
4492
4493 2008-01-29 Jim Blandy <jimb@red-bean.com>
4494
4495 * gdb.threads/sigthread.c: Use barriers to ensure that
4496 child_thread and child_thread_two are always initialized before we
4497 start to use them.
4498
4499 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
4500
4501 * gdb.base/watchpoint-solib.exp: New.
4502 * gdb.base/watchpoint-solib.c: New.
4503 * gdb.base/watchpoint-solib-shr.c: New.
4504
4505 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
4506
4507 * gdb.base/gdb1056.exp: Add unsigned integer test.
4508
4509 2008-01-28 Doug Evans <dje@google.com>
4510
4511 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
4512
4513 2008-01-27 Jim Blandy <jimb@codesourcery.com>
4514
4515 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
4516
4517 * gdb.base/expand-psymtabs.exp: Doc fix.
4518
4519 2008-01-26 Mark Kettenis <kettenis@gnu.org>
4520
4521 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
4522
4523 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
4524
4525 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
4526 -var-set-format.
4527
4528 2008-01-23 Chris Demetriou <cgd@google.com>
4529
4530 * gdb.threads/thread_events.c: New testcase source file.
4531 * gdb.threads/thread_events.exp: New testcase expect file.
4532
4533 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
4534
4535 * lib/gdb.exp: Add the variable octal.
4536
4537 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
4538 -var-set-format.
4539
4540 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
4541 Vladimir Prus <vladimir@codesourcery.com>
4542
4543 * gdb.base/float.exp: Allow missing floating point for m68k and
4544 PowerPC.
4545
4546 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
4547
4548 * gdb.mi/basics.c: Setup for testing breakpoints
4549 ignore count.
4550 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
4551 * gdb.mi/mi-cli.exp: Adjust.
4552 * gdb.mi/mi2-cli.exp: Adjust.
4553
4554 2008-01-17 Pedro Alves <pedro@codesourcery.com>
4555
4556 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
4557 and 'dummy_ptr' integer pointer. Initialize struct_declarations
4558 with dummy_ptr's address.
4559 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
4560 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
4561 all targets.
4562 * gdb.mi/mi2-var-child.exp: Likewise.
4563
4564 2008-01-09 Joel Brobecker <brobecker@adacore.com>
4565
4566 * gdb.ada/null_array: New test program.
4567 * gdb.ada/null_array.exp: New testcase.
4568
4569 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
4570
4571 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
4572 with required float modifiers.
4573
4574 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4575
4576 * gdb.ada/funcall_param: New test program.
4577 * gdb.ada/funcall_param.exp: New testcase.
4578
4579 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4580
4581 * gdb.ada/arrayparam: New test program.
4582 * gdb.ada/arrayparam.exp: New testcase.
4583
4584 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4585
4586 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
4587 landed. Should also fix random failures in the test following it.
4588
4589 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4590
4591 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
4592 for expressions with decimal float values.
4593 (test_dfp_conversions): New function to test casts to and from
4594 decimal float types.
4595 Call test_dfp_conversions.
4596 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
4597 elements.
4598 (main): Initialize ds.float4 and ds.double8 elements.
4599 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
4600 string to new error message.
4601 (d64_set_tests): Likewise.
4602 (d128_set_tests): Likewise.
4603 Add tests for expressions with decimal float variables. Add tests for
4604 conversions to and from decimal float types.
4605
4606 2008-01-05 Joel Brobecker <brobecker@adacore.com>
4607
4608 * gdb.ada/packed_tagged/comp_bug.adb: New file.
4609 * gdb.ada/packed_tagged.exp: New testcase.
4610
4611 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4612
4613 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
4614 gdb.ada/homonym/homonym_main.adb: New files.
4615 * gdb.ada/homonym.exp: New testcase.
4616
4617 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4618
4619 * gdb.ada/packed_array.exp: Add testing of references to
4620 a packed array.
4621
4622 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4623
4624 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
4625 New files.
4626 * gdb.ada/type_coercion.exp: New testcase.
4627
4628 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4629
4630 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
4631 gdb.ada/tagged/foo.adb: New file.
4632 * gdb.ada/tagged.exp: New testcase.
4633
4634 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4635
4636 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
4637 gdb.ada/ptype_field/foo.adb: New files.
4638 * gdb.ada/ptype_field.exp: New testcase.
4639
4640 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4641
4642 * gdb.ada/print_pc.exp: New testcase.
4643
4644 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4645
4646 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
4647 gdb.ada/taft_type/p.adb: New files.
4648 * gdb.ada/taft_type.exp: New testcase.
4649
4650 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4651
4652 * gdb.ada/array_bounds/bar.adb: New file.
4653 * gdb.ada/array_bounds.exp: New testcase.
4654
4655 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4656
4657 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
4658 gdb.ada/arrayptr/foo.adb: New files.
4659 * gdb.ada/arrayptr.exp: New testcase.
4660
4661 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4662
4663 * gdb.base/set-lang-auto.exp: New testcase.
4664
4665 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4666
4667 * gdb.ada/fun_addr/foo.adb: New file.
4668 * gdb.ada/fun_addr.exp: New testcase.
4669
4670 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4671
4672 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
4673 New files
4674
4675 2008-01-02 Joel Brobecker <brobecker@adacore.com>
4676
4677 * array_subscript_addr/p.adb: New file.
4678 * array_subscript_addr.exp: New testcase.
4679
4680 2008-01-02 Joel Brobecker <brobecker@adacore.com>
4681
4682 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
4683 New files.
4684 * gdb.ada/str_cmp_ref.exp: New testcase.
4685
4686 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4687
4688 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
4689 gdb.ada/fun_in_declare/foo.adb: New files.
4690 * gdb.ada/fun_in_declare.exp: New testcase.
4691
4692 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4693
4694 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
4695 gdb.ada/ref_param/pck.ads: New files.
4696 * gdb.ada/ref_param.exp: New testcase.
4697
4698 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4699
4700 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
4701 gdb.ada/interface/foo.adb: New files.
4702 * gdb.ada/interface.exp: New testcase.
4703
4704 2007-12-31 Jim Blandy <jimb@codesourcery.com>
4705
4706 * gdb.base/multi-forks.exp: Consume all output from child
4707 processes before proceeding to next test.
4708
4709 2007-12-29 Jim Blandy <jimb@codesourcery.com>
4710
4711 * configure: Regenerated.
4712
4713 2007-12-27 Joel Brobecker <brobecker@adacore.com>
4714
4715 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
4716 gdb.ada/fixed_cmp/fixed.adb: New files.
4717 * gdb.ada/fixed_cmp.exp: New testcase.
4718
4719 2007-12-27 Joel Brobecker <brobecker@adacore.com>
4720
4721 * gdb.ada/boolean_expr.exp: New testcase.
4722
4723 2007-12-26 Jim Blandy <jimb@codesourcery.com>
4724
4725 * gdb.base/multi-forks.exp: Doc fix.
4726
4727 2007-12-26 Joel Brobecker <brobecker@adacore.com>
4728
4729 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
4730 * gdb.ada/char_param.exp: Do not compile our test program with
4731 -gnata, this is unnecessary.
4732 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
4733
4734 2007-12-24 Joel Brobecker <brobecker@adacore.com>
4735
4736 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
4737 gdb.ada/print_chars/foo.adb: New files.
4738 * gdb.ada/print_chars.exp: New testcase.
4739
4740 2007-12-24 Joel Brobecker <brobecker@adacore.com>
4741
4742 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
4743 gdb.ada/char_param/foo.adb: New files.
4744 * gdb.ada/char_param.exp: New testcase.
4745
4746 2007-12-22 Jim Blandy <jimb@codesourcery.com>
4747
4748 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
4749 hard-coding source line numbers into the test.
4750 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
4751 gdb_get_line_number to find.
4752
4753 2007-12-22 Joel Brobecker <brobecker@adacore.com>
4754
4755 * gdb.base/ptype.c (highest): New struct type.
4756 (the_highest): New variable of that type.
4757 (main): Add dummy assignment to a field of variable the_highest.
4758 * gdb.base/ptype.exp: Test type printing of our new variable.
4759
4760 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
4761
4762 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
4763 and record first explicitly generated thread number.
4764 Use that thread number for thread specific watchpoint test.
4765 Add iteration number to repetitive tests.
4766
4767 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4768 Jim Blandy <jimb@codesourcery.com>
4769
4770 * gdb.base/expand-psymtabs.c: New testcase
4771 source file.
4772 * gdb.base/expand-psymtabs.exp: New testcase
4773 expect file.
4774
4775 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
4776
4777 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
4778 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
4779
4780 2007-12-17 Joel Brobecker <brobecker@adacore.com>
4781
4782 * gdb.ada/frame_args/foo.adb: New file.
4783 * gdb.ada/frame_args/pck.ads: New file.
4784 * gdb.ada/frame_args/pck.adb: New file.
4785 * gdb.ada/frame_args.exp: New testcase.
4786
4787 2007-12-17 Joel Brobecker <brobecker@adacore.com>
4788
4789 * gdb.base/frame-args.c: New file.
4790 * gdb.base/frame-args.exp: New testcase.
4791
4792 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
4793 Joseph Myers <joseph@codesourcery.com>
4794
4795 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
4796
4797 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
4798
4799 * gdb.mi/mi-pending.exp: New.
4800 * gdb.mi/mi-pending.c: New.
4801 * gdb.mi/mi-pendshr.c: New.
4802
4803 2007-12-06 Jim Blandy <jimb@codesourcery.com>
4804
4805 * gdb.base/default.exp: Update expected output for 'info catch'.
4806
4807 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4808
4809 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
4810 must be set to binary.
4811
4812 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
4813
4814 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
4815
4816 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
4817
4818 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
4819 gdb.mi/mi-file-transfer.exp: New.
4820
4821 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4822
4823 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
4824
4825 2007-11-22 Maciej W. Rozycki <macro@mips.com>
4826
4827 * gdb.trace/backtrace.exp: Fix a typo.
4828 * gdb.trace/circ.exp: Likewise.
4829 * gdb.trace/collection.exp: Likewise.
4830 * gdb.trace/limits.exp: Likewise.
4831 * gdb.trace/report.exp: Likewise.
4832 * gdb.trace/tfind.exp: Likewise.
4833 * gdb.trace/while-dyn.exp: Likewise.
4834
4835 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
4836
4837 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
4838 objects of pointers that can't be dereferenced are now
4839 "noneditable".
4840
4841 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4842
4843 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
4844 (target_cpu): Remove.
4845
4846 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
4847
4848 * gdb.base/ending-run.exp: Expect the list of cleared
4849 breakpoint to come in natural order, not the reversed one.
4850
4851 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
4852
4853 * gdb.mi/mi-var-child.c (do_child_deletion): New.
4854 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
4855
4856 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
4857
4858 * gdb.base/printcmds.exp: New function
4859 test_printf_with_dfp.
4860
4861 2007-11-02 Doug Evans <dje@google.com>
4862
4863 * gdb.disasm/t01_mov.s: Remove carriage returns.
4864 * gdb.disasm/t02_mova.s: Ditto.
4865 * gdb.disasm/t03_add.s: Ditto.
4866 * gdb.disasm/t04_sub.s: Ditto.
4867 * gdb.disasm/t05_cmp.s: Ditto.
4868 * gdb.disasm/t06_ari2.s: Ditto.
4869 * gdb.disasm/t07_ari3.s: Ditto.
4870 * gdb.disasm/t08_or.s: Ditto.
4871 * gdb.disasm/t09_xor.s: Ditto.
4872 * gdb.disasm/t10_and.s: Ditto.
4873 * gdb.disasm/t11_logs.s: Ditto.
4874 * gdb.disasm/t12_bit.s: Ditto.
4875 * gdb.disasm/t13_otr.s: Ditto.
4876
4877 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
4880
4881 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4882
4883 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
4884 provide DFP support.
4885
4886 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
4887
4888 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
4889 Test "set powerpc vector-abi". Skip auto-detection tests for old
4890 toolchains.
4891
4892 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4893
4894 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
4895 with [string compare].
4896
4897 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4898
4899 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
4900 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
4901
4902 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
4903
4904 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
4905 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
4906 * gdb.opt/Makefile.in: New makefile.
4907 * Makefile.in: Create new directory "gdb.opt".
4908 * configure.ac: Add "gdb.opt" directory.
4909 * configure: Regenerated.
4910
4911 2007-10-25 Doug Evans <dje@google.com>
4912
4913 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
4914 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
4915
4916 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
4917 Thiago Jung Bauermann <bauerman@br.ibm.com>
4918
4919 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
4920 Floating Point expressions.
4921 * gdb.base/dfp-test.exp: new file adding tests for Decimal
4922 Floating Point variables.
4923 * gdb.base/dfp-test.c: new file containing program with Decimal
4924 Floating variables, used by gdb.base/dfp-test.exp.
4925
4926 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
4927
4928 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
4929
4930 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4931
4932 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
4933 compiling test case with GCC.
4934 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
4935
4936 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4937
4938 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
4939 format changes.
4940
4941 2007-10-18 Michael Snyder <msnyder@specifix.com>
4942
4943 * gdb.base/dbx.exp: Add missing "-re " operator.
4944
4945 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
4946
4947 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
4948 * configure.ac: Removed trailing spaces after backslash.
4949 * gdb.modula2: New directory.
4950 * gdb.modula2/Makefile.in: New file.
4951 * gdb.modula2/unbounded-array.exp: New file.
4952 * gdb.modula2/unbounded1.c: New file.
4953
4954 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
4955
4956 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
4957
4958 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
4959
4960 * gdb.base/sigstep.c (main): Add checks for
4961 return values for setitimer call.
4962 Call setitimer again with itimer = ITIMER_REAL
4963 if first call to setitimer fails.
4964
4965 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
4966
4967 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
4968 of $timeout.
4969
4970 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
4971
4972 * gdb.server/server-run.exp: Test for dynamic linker symbols.
4973
4974 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
4975
4976 * lib/gdb.exp (gdb_run_cmd): Move comment outside
4977 of gdb_expect call, to avoid interruption.
4978
4979 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
4980
4981 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
4982 (v_unsigned_long_long, v_long_long_array)
4983 (v_signed_long_long_array, v_unsigned_long_long_array)
4984 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
4985 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
4986 [!NO_LONG_LONG]: New.
4987 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
4988 v_long_long_member.
4989
4990 (v_long_long_func, v_signed_long_long_func)
4991 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
4992 (main) [!NO_LONG_LONG]: Initialize long long variants.
4993
4994 * gdb.base/whatis.exp: If board file requests no_long_long, build
4995 test with NO_LONG_LONG defined. Test long long, signed long long,
4996 and unsigned long long variants but only if board file doesn't
4997 disable it.
4998
4999 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
5000 Daniel Jacobowitz <dan@codesourcery.com>
5001
5002 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
5003 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
5004 * configure: Regenerated.
5005 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
5006 gdb.pascal/types.exp, lib/pascal.exp: New files.
5007
5008 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
5009
5010 * gdb.cp/classes.exp (do_tests): Always step to the line after the
5011 call.
5012 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
5013 to return to the call.
5014 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
5015 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
5016 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
5017 * gdb.mi/mi-until.exp (test_until): Likewise.
5018 * gdb.mi/mi2-until.exp (test_until): Likewise.
5019
5020 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
5021
5022 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
5023 two-char array.
5024 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
5025
5026 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
5027
5028 * gdb.threads/watchthreads.c (thread_function): Sleep between
5029 iterations.
5030 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
5031 at once for S/390. Generate matching fails and passes.
5032
5033 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
5034
5035 * gdb.mi/var-cmd.c (do_children_tests): Initialize
5036 the 'struct_declarations' variable to zeros.
5037
5038 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
5039
5040 * gdb.cp/mb-ctor.cc: New.
5041 * gdb.cp/mb-ctor.exp: New.
5042 * gdb.cp/mb-templates.cc: New.
5043 * gdb.cp/mb-templates.exp: New.
5044
5045 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
5046
5047 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
5048
5049 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
5050
5051 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
5052 targets.
5053 * configure: Regenerate.
5054
5055 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
5056
5057 * gdb.base/annota1.exp: Adjust for 'info break'
5058 format changes.
5059 * gdb.base/annota3.exp: Likewise.
5060 * gdb.base/break.exp: Likewise.
5061 * gdb.base/condbreak.exp: Likewise.
5062 * gdb.base/pending.exp: Likewise.
5063 * gdb.base/sepdebug.exp: Likewise.
5064 * gdb.base/unload.exp: Likewise.
5065 * gdb.base/ovldbreak.exp: Likewise.
5066
5067 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
5068
5069 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
5070 messages.
5071 * gdb.base/chng-syms.exp: Likewise.
5072 * gdb.base/unload.exp: Likewise.
5073
5074 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
5075
5076 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
5077
5078 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
5079
5080 * schedlock.c (NUM): Change to 1.
5081 (main): Use args[0] for the main thread.
5082 * schedlock.exp: Only expect two threads. Only issue one pass or fail
5083 regardless of the number of threads.
5084
5085 2007-09-14 Maciej W. Rozycki <macro@mips.com>
5086
5087 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
5088 type down.
5089 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
5090 test.
5091 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
5092 watchpoint type down.
5093 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
5094 test.
5095
5096 2007-09-14 Maciej W. Rozycki <macro@mips.com>
5097
5098 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
5099 Move all the tests here and run them twice, once using software
5100 watchpoints and once using hardware watchpoints.
5101 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
5102
5103 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
5104
5105 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
5106 test.
5107
5108 2007-09-10 Mark Kettenis <kettenis@gnu.org>
5109
5110 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
5111 build-id.
5112
5113 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
5114 know about $ORIGIN. Calculate output dir from $dest instead of
5115 using ${objdir}/{$subdir}.
5116
5117 2007-09-09 Mark Kettenis <kettenis@gnu.org>
5118
5119 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
5120 gcore, before continuing with the test.
5121
5122 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
5123
5124 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
5125 * gdb.mi/mi-watch.exp: Likewise.
5126
5127 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
5128 Jim Blandy <jimb@codesourcery.com>
5129
5130 * gdb.arch/i386-sse.exp: Do not expect character constants.
5131 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
5132 * gdb.base/display.exp: Allow print/s.
5133 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
5134 and unsigned char array changes.
5135
5136 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
5137
5138 * gdb.base/display.exp: Add tests for printf %p.
5139
5140 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
5141
5142 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
5143 the dll name to unicode.
5144
5145 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.base/default.exp (show version): Update the version text.
5148 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
5149
5150 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5151
5152 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
5153 New files.
5154
5155 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * lib/gdb.exp (build_id_debug_filename_get): New function.
5158 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
5159 Remove the generate DEBUG file for the future testcase runs.
5160 New testcase for the NT_GNU_BUILD_ID retrieval.
5161 Move the final testing step to ...
5162 (test_different_dir): ... a new function.
5163 New parameter XFAIL to XFAIL all the tests performed.
5164 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
5165 New parameter TYPE to PF_PREFIX all the tests performed.
5166
5167 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
5168
5169 * gdb.mi/mi-var-cp.cc (path_expression): New
5170 function.
5171 * gdb.mi/mi-var-cp.exp: Run path exression tests.
5172
5173 2007-08-27 Markus Deuling <deuling@de.ibm.com>
5174
5175 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
5176 to fit into SPU Local Store memory.
5177
5178 2007-08-23 Joel Brobecker <brobecker@adacore.com>
5179
5180 * gdb.base/default.exp: Adjust the expected output of "info
5181 warranty" after the switch to GPLv3.
5182
5183 2007-08-23 Joel Brobecker <brobecker@adacore.com>
5184
5185 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
5186 to 30000 (from 20000).
5187
5188 2007-08-23 Joel Brobecker <brobecker@adacore.com>
5189
5190 Switch the license of all .exp files to GPLv3.
5191 Switch the license of all .f and .f90 files to GPLv3.
5192 Switch the license of all .s and .S files to GPLv3.
5193
5194 2007-08-23 Joel Brobecker <brobecker@adacore.com>
5195
5196 * configure.ac: Switch license to GPLv3.
5197
5198 2007-08-23 Joel Brobecker <brobecker@adacore.com>
5199
5200 Switch the licensing to GPLv3 for all .ads and .adb files.
5201
5202 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
5203
5204 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
5205 and t_int_double.
5206 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
5207
5208 2007-08-17 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.base/step-line.c: Switch license to GPL version 3, and
5211 update copyright year.
5212 * gdb.base/step-line.inp: Likewise.
5213
5214 2007-08-17 Joel Brobecker <brobecker@adacore.com>
5215
5216 * gdb.base/gdb1555.exp: Make expected output immune to formatting
5217 changes inside gdb1555.c.
5218 * gdb.base/pending.exp: Likewise.
5219
5220 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
5221
5222 * config/default.exp: New file.
5223
5224 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
5225
5226 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
5227 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
5228
5229 2007-07-30 Maciej W. Rozycki <macro@mips.com>
5230
5231 * gdb.base/dump.exp: Force the correct endianness for binary
5232 formats not carrying this information.
5233
5234 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5235
5236 * gdb.threads/staticthreads.exp: Match .*sem_post.
5237
5238 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5239
5240 * gdb.base/readline.exp (operate_and_get_next): Match the final
5241 prompt.
5242
5243 2007-07-23 Kevin Buettner <kevinb@redhat.com>
5244
5245 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
5246 to restarting SID.
5247
5248 2007-07-18 Kevin Buettner <kevinb@redhat.com>
5249
5250 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
5251 prior to `gdb_start'.
5252
5253 2007-07-18 Kevin Buettner <kevinb@redhat.com>
5254
5255 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
5256 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
5257 Remove call to gdb_unload.
5258
5259 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
5260 Daniel Jacobowitz <dan@codesourcery.com>
5261
5262 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
5263 for __WIN32__.
5264 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
5265 * gdb.base/unload.exp: Use shared library test routines.
5266
5267 2007-07-03 Markus Deuling <deuling@de.ibm.com>
5268
5269 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
5270 * gdb.base/solib-symbol-lib.c: Likewise.
5271 * gdb.base/solib-symbol-main.c: Likewise.
5272
5273 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
5274
5275 * config/gdbserver.exp (gdb_reconnect): New.
5276 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
5277 gdb.base/solib-disc.exp: New files.
5278 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
5279 remote debugging".
5280 (gdb_compile): Add shlib_load flag.
5281 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
5282 port.
5283 (gdbserver_reconnect): New.
5284
5285 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
5286 Daniel Jacobowitz <dan@codesourcery.com>
5287
5288 * gdb.base/annota3.exp: Test for if construct.
5289
5290 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
5291
5292 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
5293
5294 2007-06-21 Chris Dearman <chris@mips.com>
5295 Maciej W. Rozycki <macro@mips.com>
5296
5297 * gdb.base/display.exp: Allow a newline after display/i.
5298 * gdb.base/pc-fp.exp: Likewise.
5299 * gdb.base/sigbpt.exp: Likewise.
5300
5301 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
5302
5303 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
5304 required features to be included.
5305
5306 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
5307
5308 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
5309 in info threads output.
5310
5311 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5312 Markus Deuling <deuling@de.ibm.com>
5313
5314 * gdb.arch/spu-info.exp: New testcase.
5315 * gdb.arch/spu-info.c: New file.
5316
5317 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
5318
5319 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
5320 tpcs_offset. Restore lr after the call.
5321 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
5322
5323 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
5324
5325 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
5326 (gdbserver_run): Kill any running gdbserver.
5327 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
5328
5329 2007-05-17 Maciej W. Rozycki <macro@mips.com>
5330
5331 * gdb.base/sigbpt.exp: Preset segv_addr.
5332
5333 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
5334
5335 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
5336 (gdb_compile_shlib): Likewise.
5337 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
5338 (default_gdb_init): Clear cleanfiles.
5339 (gdb_finish): Delete recorded cleanfiles.
5340 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
5341
5342 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
5343 Do not use isnative.
5344 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
5345 gdb.base/so-impl-ld.exp: Likewise.
5346 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
5347 * gdb.base/unload.exp: Likewise. Do not pass empty option to
5348 gdb_compile.
5349
5350 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
5351
5352 * config/unknown.exp: Remove.
5353
5354 2007-05-15 Markus Deuling <deuling@de.ibm.com>
5355
5356 * gdb.base/info-proc.exp: Check is_remote.
5357
5358 2007-05-14 Markus Deuling <deuling@de.ibm.com>
5359
5360 * gdb.base/gcore.exp: Initialize variable core_supported.
5361
5362 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5363
5364 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
5365
5366 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5367
5368 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
5369 * gdb.threads/print-threads.exp (test_all_threads): Allow
5370 negative and hexadecimal thread IDs.
5371
5372 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5373
5374 * gdb.java/jprint.java (public): Avoid invalid call to static
5375 method.
5376
5377 2007-05-14 Denis Pilat <denis.pilat@st.com>
5378
5379 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
5380 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
5381 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
5382 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
5383 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
5384
5385 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5386
5387 * gdb.base/overlays.exp: Add support for targets with only code
5388 overlay support, not data overlay. Support spu-*-* target in
5389 this mode.
5390 * gdb.base/ovlymgr.c: Provide stubs for spu target.
5391 * gdb.base/spu.ld: New file.
5392
5393 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
5394
5395 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
5396
5397 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
5398
5399 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
5400
5401 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
5402
5403 * gdb.java/jmain.exp: Handle demangled names with and without method
5404 signatures.
5405
5406 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
5407
5408 * gdb.mi/mi-syn-frame.c (main, foo, bar)
5409 (have_a_very_merry_interrupt): Remove calls to puts.
5410 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
5411 inferior output.
5412 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
5413 test names.
5414
5415 2007-04-29 Markus Deuling <deuling@de.ibm.com>
5416 Daniel Jacobowitz <dan@codesourcery.com>
5417
5418 * gdb.base/auxv.exp (core_works): Also check is_remote.
5419 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
5420
5421 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
5422
5423 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
5424 message, not the undefined 'module' variable.
5425 * gdb.base/siginfo.exp: Likewise.
5426 * gdb.base/sigstep.exp: Likewise.
5427 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
5428 serialport.
5429 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
5430
5431 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
5432
5433 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
5434 target sim fails. Return 0 otherwise.
5435 (gdb_load): Return prematurely if gdb_target_sim fails.
5436
5437 2007-04-16 Denis Pilat <denis.pilat@st.com>
5438
5439 * gdb.base/setshow.exp: Reset height after having set it to 100.
5440
5441 2007-04-16 Denis Pilat <denis.pilat@st.com>
5442
5443 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
5444
5445 2007-04-16 Denis Pilat <denis.pilat@st.com>
5446
5447 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
5448
5449 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
5450
5451 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
5452 tests. Run the frozen varobjs test.
5453 * gdb.mi/var-cmd.c (do_frozen_tests): New.
5454 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
5455
5456 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5457
5458 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
5459 gdb.base/type-opaque.exp: New files.
5460
5461 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
5462
5463 * gdb.mi/mi-var-child.c
5464 (do_children_tests): User char[2] instead of
5465 char so that automatic printing of pointers to char
5466 don't give unpredicable result.
5467 * gdb.mi/var-cmd.c (do_locals_test): Initialize
5468 local variables.
5469 * gdb.mi/mi-var-child.exp: Step to right line
5470 of do_children_tests.
5471 * gdb.mi/mi2-var-child.exp: Likewise.
5472 * gdb.mi/mi-var-cmd.exp: Step to right line of
5473 do_locals_tests.
5474 (do_children_tests): User char[2] instead of
5475 char so that automatic printing of pointers to char
5476 don't give unpredicable result.
5477 * gdb.mi/mi2-var-cmd.exp: Likewise.
5478 * lib/mi-support.exp (mi_continue_to_line):
5479 Pass test name to mi_wait_for_stop.
5480
5481 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5482
5483 * gdb.asm/asm-source.exp: Remove d10v case.
5484 * lib/gdb.exp (skip_cplus_tests): Likewise.
5485 * gdb.asm/d10v.inc: Deleted.
5486
5487 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5488
5489 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
5490
5491 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5492
5493 * config/netware.exp: Delete file.
5494
5495 2007-03-29 Joel Brobecker <brobecker@adacore.com>
5496
5497 * gdb.dwarf2/dw2-noloc.S: New file.
5498 * gdb.dwarf2/dw2-noloc.exp: New file.
5499
5500 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
5501
5502 * gdb.cp/method2.cc: New test.
5503 * gdb.cp/method2.exp: New test.
5504 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
5505
5506 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
5507
5508 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
5509
5510 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
5511
5512 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
5513
5514 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
5515
5516 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
5517 (gdb_load): Delete, replace with...
5518 (gdb_reload): ...this.
5519 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
5520 * gdb.server/server-mon.exp: Likewise.
5521 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
5522 (gdb_start_cmd): New.
5523 (gdb_file_cmd): Save the last loaded file.
5524 (gdb_reload): New.
5525 (gdb_gnu_strip_debug): Use transform.
5526 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
5527 support here. Use new $last_loaded_file. Check mtime.
5528 (gdb_target_cmd): Handle ObjC failure case.
5529 (infer_host_exec): Delete.
5530 (gdbserver_load): Rename to...
5531 (gdbserver_run): ...this. Simplify.
5532 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
5533 (mi_gdb_load): Move most contents to a new function...
5534 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
5535 (mi_run_cmd): Use mi_gdb_target_load.
5536 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
5537 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
5538 Use gdb_run_cmd.
5539 * gdb.base/charsign.exp: Remove incorrect comment.
5540 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
5541 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
5542 gdb.base/start.exp: Use gdb_start_cmd.
5543
5544 2007-03-23 Nigel Stephens <nigel@mips.com>
5545 Maciej W. Rozycki <macro@mips.com>
5546
5547 * gdb.base/sigbpt.exp: Fix the message when skipping test.
5548 * gdb.base/signull.exp: Similarly.
5549
5550 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5551
5552 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
5553 messages available to test cases (like chng-sym.exp).
5554
5555 2007-03-14 Andreas Schwab <schwab@suse.de>
5556
5557 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
5558 format changes.
5559
5560 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
5561
5562 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
5563 (optimized_1): New.
5564 (main): Call optimized_1.
5565 (gdb2029): Correct typos. Call gdb2029_marker.
5566 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
5567 for gdb2029.
5568
5569 2007-03-12 Mark Kettenis <kettenis@gnu.org>
5570
5571 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
5572 as tabs. Remove redundant test pattern.
5573
5574 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5575
5576 * gdb.base/long_long.exp: Accept optional symbol name in <...>
5577 for /a format output.
5578
5579 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
5580
5581 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
5582 collect output incrementally.
5583
5584 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5585
5586 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
5587 for -var-create lpcharacter test.
5588 * gdb.mi/mi2-var-cmd.exp: Likewise.
5589
5590 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5591
5592 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
5593 pass on targets where address zero is readable.
5594
5595 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5596
5597 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
5598 just a single architecture.
5599
5600 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5601
5602 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
5603 (fetch_all_registers): New function, uses gdb_test_multiple and
5604 exp_continue to fetch inferior output line-by-line.
5605 Replace all uses of do_get_all_registers by fetch_all_registers.
5606
5607 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5608
5609 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
5610 in target_info.
5611
5612 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5613
5614 * gdb.threads/manythreads.exp: Use $message string for
5615 consistancy; add a default (timeout) case.
5616
5617 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5618
5619 * gdb.base/watchpoint.exp: Fix truncated comment.
5620
5621 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5622
5623 * Makefile.in: Remove spurious single-quotes from sed command.
5624
5625 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5626
5627 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
5628 func.
5629 * gdb.mi/mi2-var-cmd.exp: Likewise.
5630
5631 2007-02-27 Joel Brobecker <brobecker@adacore.com>
5632
5633 * gdb.dwarf2/dw2-producer.S: New file.
5634 * gdb.dwarf2/dw2-producer.exp: New testcase.
5635
5636 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
5637
5638 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
5639 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
5640 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
5641 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
5642 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
5643 Revert tests to use mi_gdb_test and include value field in output
5644 of -var-create.
5645
5646 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
5647
5648 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
5649
5650 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
5651
5652 * gdb.base/maint.exp: Remove full paths from test names.
5653 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
5654 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
5655
5656 2007-02-27 Joel Brobecker <brobecker@adacore.com>
5657
5658 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
5659
5660 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5661
5662 * gdb.server/server-mon.exp: New test.
5663
5664 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5665
5666 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
5667
5668 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5669
5670 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
5671 register capitalization.
5672
5673 2007-02-13 Denis Pilat <denis.pilat@st.com>
5674
5675 * gdb.mi/mi-var-invalidate.exp: New file.
5676
5677 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5678
5679 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
5680
5681 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5682
5683 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
5684
5685 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5686
5687 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
5688 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
5689
5690 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
5691
5692 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
5693 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
5694 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
5695 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
5696 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
5697 * gdb.mi/gdb792.exp, lib/mi-support.exp:
5698 Update tests to include value field in output of -var-create.
5699
5700 2007-02-08 Andreas Schwab <schwab@suse.de>
5701
5702 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
5703
5704 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
5705
5706 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
5707 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
5708
5709 2007-02-02 Denis Pilat <denis.pilat@st.com>
5710
5711 * gdb.threads/threadapply.exp: check that frame is not changed by
5712 the thread apply all command.
5713
5714 2007-01-31 Andreas Schwab <schwab@suse.de>
5715
5716 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5717
5718 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
5719 in the dwarf sections.
5720 * gdb.dwarf2/mac-fileno.S: Likewise.
5721
5722 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
5723 bspstore register on ia64.
5724
5725 2007-01-29 Andreas Schwab <schwab@suse.de>
5726
5727 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
5728 "frame-begin" annotation.
5729
5730 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
5731 number of "frames-invalid" annotations.
5732
5733 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5734
5735 * gdb.base/commands.exp: Call if_commands_test.
5736 (gdb_test_no_prompt, if_commands_test): New.
5737
5738 2007-01-28 Mark Kettenis <kettenis@gnu.org>
5739
5740 * gdb.threads/sigthread.c (NSIGS): Make bigger.
5741
5742 2007-01-27 Andreas Schwab <schwab@suse.de>
5743
5744 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
5745 .short/.int/.quad in the dwarf sections.
5746 * gdb.dwarf2/dw2-intercu.S: Likewise.
5747 * gdb.dwarf2/dw2-intermix.S: Likewise.
5748
5749 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5750
5751 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
5752 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
5753 array.
5754 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
5755 * gdb.base/setvar.exp: Likewise.
5756
5757 2007-01-26 Andreas Schwab <schwab@suse.de>
5758
5759 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
5760 test.
5761
5762 * gdb.base/multi-forks.exp ("restart $i"): Also match
5763 __kernel_syscall_via_break.
5764
5765 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
5766
5767 * lib/mi-support.exp (mi_delete_varobj): New.
5768 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
5769 testcase.
5770 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
5771 (main): Call the above.
5772 (reference_update_test, base_in_reference_test)
5773 (reference_to_pointer): Delete the created varobjs.
5774
5775 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
5776
5777 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
5778 * configure: Regenerated.
5779 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
5780 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
5781 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
5782 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
5783 * lib/gdb.exp (gdb_skip_xml_test): New function.
5784
5785 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
5786
5787 * gdb.base/sigrepeat.exp: Correct error message.
5788
5789 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5790 Daniel Jacobowitz <dan@codesourcery.com>
5791
5792 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
5793 gdb.arch/i386-gnu-cfi-asm.S: New files.
5794
5795 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5796
5797 * lib/gdb.exp: Abort on missing `site.exp'.
5798
5799 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5800 Daniel Jacobowitz <dan@codesourcery.com>
5801
5802 * gdb.base/included.c, gdb.base/included.exp,
5803 gdb.base/included.h: New files.
5804
5805 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5806
5807 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
5808 (maximize_rlimit): Reduce limits on 64-bit systems.
5809
5810 2007-01-19 Mark Kettenis <kettenis@gnu.org>
5811
5812 From Marcus Deuling <deuling@de.ibm.com>:
5813 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
5814 every case.
5815
5816 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
5817
5818 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
5819 (test_path_specification): Use objdir instead of srcdir to always
5820 get an absolute filename.
5821
5822 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
5823
5824 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
5825
5826 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
5827
5828 * gdb.mi/mi-var-cp.cc (reference_update_tests):
5829 Make sure the variable we're using is in scope.
5830 (reference_to_pointer): Likewise.
5831
5832 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5833
5834 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
5835 has no debug information.
5836
5837 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5838
5839 * gdb.base/annota1.exp: Remove extra send_gdb.
5840
5841 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5842
5843 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
5844
5845 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5846
5847 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
5848
5849 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
5850 Daniel Jacobowitz <dan@codesourcery.com>
5851
5852 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
5853 lcharacter or linteger change. Correct duplicated test name.
5854 * gdb.mi/mi2-var-cmd.exp: Likewise.
5855
5856 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5857
5858 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
5859
5860 2007-01-05 Joel Brobecker <brobecker@adacore.com>
5861
5862 * gdb.base/nofield.c: New file.
5863 * gdb.base/nofield.exp: New testcase.
5864
5865 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
5866
5867 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
5868
5869 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
5870 test.
5871
5872 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5873
5874 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
5875
5876 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5877
5878 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
5879 when continuing.
5880
5881 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5882
5883 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
5884 Expect ".exe" extension.
5885
5886 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5887
5888 * gdb.base/charset.exp: Add explicit filename to break.
5889 * gdb.base/dbx.exp: Add explicit filename to breaks.
5890
5891 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5892
5893 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
5894 * gdb.mi/mi2-file.exp: Likewise.
5895
5896 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5897
5898 Implement specification of MI tests as comments
5899 in C and C++ sources.
5900 * lib/mi-support.exp (mi_autotest_data): New variable.
5901 (mi_autotest_source): New variable.
5902 (count_newlines, mi_prepare_inline_tests)
5903 (mi_get_inline_test, mi_continue_to_line)
5904 (mi_run_inline_test, mi_tbreak)
5905 (mi_send_resuming_command, mi_wait_for_stop): New functions.
5906 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
5907 Run inline tests.
5908 * gdb.mi/mi-var-cp.cc: Define tests here.
5909
5910 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5911
5912 Simplify usage of mi_continue_to.
5913 * lib/mi-support.exp (mi_runto_helper): Renamed
5914 from mi_runto, added new parameter 'run_or_continue'.
5915 (mi_runto): Use mi_runto_helper.
5916 (mi_continue_to): Accept just function name as parameter.
5917 Use mi_runto_helper.
5918 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
5919 * gdb.mi/mi2-var-cmd.exp: Likewise.
5920
5921 2006-01-04 Joel Brobecker <brobecker@adacore.com>
5922
5923 Make this testcase a bit more realistic. The current code
5924 is too simplistic, and allows the compiler to optimize out
5925 some of the entities we need for this testcase.
5926 * gdb.ada/null_record/bar.ads (Void_Star): New type.
5927 (Do_Nothing): Add extra parameter.
5928 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
5929 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
5930 by using a variable of type Void_Star.
5931
5932 2006-01-04 Joel Brobecker <brobecker@adacore.com>
5933
5934 * gdb.ada/catch_ex/foo.adb: New file.
5935 * gdb.ada/catch_ex.exp: New testcase.
5936
5937 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
5938
5939 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
5940 pass --image-base to linker.
5941
5942 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5943 Daniel Jacobowitz <dan@codesourcery.com>
5944
5945 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
5946 secondary prompts.
5947
5948 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5949
5950 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
5951 output. Test the types of members and member pointers.
5952 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
5953 gdb/2092.
5954 * gdb.cp/member-ptr.exp: Search for a comment instead of a
5955 statement. Enable for GCC. Update expected output for some tests
5956 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
5957 layout.
5958 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
5959 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
5960 (Diamond::vget_base): New.
5961 (main): Add new tests.
5962 * gdb.cp/printmethod.exp: Update expected output for member functions.
5963 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
5964 print pEe->D::vg().
5965
5966 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5967
5968 * gdb.threads/tls.exp: Allow stops in sem_post.
5969
5970 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
5971
5972 * gdb.base/annota1.exp: Allow .*printf in backtraces.
5973 * gdb.base/annota3.exp: Likewise.
5974 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
5975 again (instead of timing out).
5976 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
5977 GCC bug 26475.
5978 * gdb.java/jmisc.exp: Adjust to work with method signatures including
5979 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
5980 test from jmisc1.exp.
5981 * gdb.java/jmisc1.exp: Delete.
5982 * gdb.java/jprint.exp: Adjust to work with method signatures including
5983 return types.
5984 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
5985 * gdb.threads/linux-dp.exp: Don't be confused by program output.
5986 * lib/java.exp (compile_java_from_source): Pass the correct type
5987 to target_compile.
5988
5989 2006-12-31 Joel Brobecker <brobecker@adacore.com>
5990
5991 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
5992 (stack_align_edx): New function.
5993 (stack_align_eax): New function.
5994 (main): Add calls to stack_align_edx and stack_align_eax.
5995 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
5996 Add testing for the cases where the register used during a stack
5997 realignment is edx. Same for eax.
5998
5999 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
6000
6001 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
6002 and generic PE targets.
6003
6004 2006-12-29 Joel Brobecker <brobecker@adacore.com>
6005
6006 * gdb.ada/array_return.exp: Update copyright date list.
6007
6008 2006-12-27 Joel Brobecker <brobecker@adacore.com>
6009
6010 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
6011 (Create_Small_Float_Vector): New function.
6012 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
6013 function body.
6014 * gdb.ada/array_return/p.adb: Use new type and function from
6015 package Pck.
6016 * gdb.ada/array_return.exp: Add a test verifying that GDB is
6017 able to print the value returned by a function returning an
6018 array of float.
6019
6020 2006-12-20 Joel Brobecker <brobecker@adacore.com>
6021
6022 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
6023 The associated tests should be PASSing.
6024
6025 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
6026
6027 Test for base in references.
6028 * gdb.mi/mi-var-cp.cc: Add test code.
6029 * gdb.mi/mi-var-cp.exp: Test for bases in references.
6030 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
6031 * gdb.mi/mi2-watch.exp: Likewise.
6032 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
6033 (mi_list_varobj_children): New function.
6034
6035 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
6036
6037 * lib/mi-support.exp
6038 (mi_runto): Accept "()" after function name.
6039 (mi_create_varobj): New function.
6040 (mi_varobj_update): New function.
6041 (mi_Check_varobj_value): New function.
6042 * gdb.mi/mi-var-cp.exp: New file.
6043 * gdb.mi/mi-var-cp.cc: New file.
6044
6045 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
6046
6047 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
6048 gdb.base/weaklib2.c: New files.
6049
6050 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
6051
6052 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
6053 info. Adjust test names.
6054
6055 * gdb.base/break.c (main): Move position of malloc.
6056 * gdb.base/break.exp: Revert mistaken checkin.
6057
6058 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
6059
6060 * gdb.mi/mi-var-cmd.exp: Check -var-update after
6061 assignement of arrays and function pointers.
6062 * gdb.mi/var-cmd.c: Add declaration necessary for above
6063 tests.
6064
6065 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
6066
6067 * gdb.base/break.c (main): Call malloc.
6068
6069 * gdb.threads/linux-dp.exp: Read thread table before and after
6070 creating each philosopher and verify it.
6071
6072 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
6073 Paul Brook <paul@codesourcery.com>
6074 Daniel Jacobowitz <dan@codesourcery.com>
6075
6076 * gdb.base/ending-run.exp: Flatten expect script stepping out of
6077 main to remove duplication. Add start function of the form
6078 '_*start[1-9]*'. Add RVDS start function.
6079
6080 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
6081
6082 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
6083
6084 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6085
6086 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
6087 * gdb.asm/spu.inc: New file.
6088 * gdb.base/term.exp: Disable if [target_info exists noargs].
6089 * gdb.gdb/complaints.exp: Disable if ![isnative].
6090 * gdb.gdb/selftest.exp: Likewise.
6091 * gdb.gdb/observer.exp: Likewise.
6092 * gdb.gdb/xfullpath.exp: Likewise.
6093 * gdb.base/attach.exp: Disable on SPU target.
6094 * gdb.cp/bs145503.exp: Likewise.
6095 * gdb.cp/exception.exp: Likewise.
6096 * gdb.cp/userdef.exp: Likewise.
6097
6098 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
6099
6100 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
6101
6102 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
6103
6104 * gdb.base/completion.exp: Fix completion tests for
6105 'info' and 'info '.
6106 * gdb.base/help.exp (help_test_raw, test_class_help)
6107 (test_prefix_command_help): Move...
6108 * lib/gdb.exp: Here.
6109 * gdb.base/main.exp: Adjust.
6110 * gdb.cp/maint.exp: Adjust.
6111 * gdb.trace/tracecmd.exp: Use test_help_class.
6112
6113 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
6114
6115 * gdb.stabs/weird.exp (print_weird_var): Use
6116 gdb_test_multiple instead of gdb_expect.
6117
6118 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
6119
6120 * gdb.base/help.exp (help_test_raw): New.
6121 (test_class_help): New.
6122 (test_prefix_command_help): New.
6123 Adjust testcases.
6124
6125 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
6126
6127 * gdb.base/constvars.c (main): Write to crass and crips, so that
6128 they are allocated by the compiler.
6129
6130 2006-10-27 Andreas Schwab <schwab@suse.de>
6131
6132 * gdb.base/multi-forks.exp: Use "detach fork" instead of
6133 "detach-fork".
6134
6135 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
6136
6137 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
6138 of patterns.
6139
6140 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
6141
6142 * gdb.base/sepdebug.exp: Remove debug format test.
6143 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
6144 Handle no-symtab.
6145 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
6146
6147 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
6148
6149 * gdb.threads/manythreads.c (thread_function, main): Don't cast
6150 int to pointer or pointer to int.
6151 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
6152
6153 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
6154
6155 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
6156
6157 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6158
6159 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
6160
6161 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
6162
6163 PR c++/2116
6164 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
6165
6166 2006-10-06 Joel Brobecker <brobecker@adacore.com>
6167
6168 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
6169 the corresponding bug has been fixed in GDB (PR/2018).
6170
6171 2006-10-06 Joel Brobecker <brobecker@adacore.com>
6172
6173 * gdb.base/subst.exp: New testcase.
6174
6175 2006-10-06 Joel Brobecker <brobecker@adacore.com>
6176
6177 * gdb.ada/array_return/pck.ads: Add copyright notice.
6178 * gdb.ada/array_return/pck.adb: Likewise.
6179 * gdb.ada/array_return/p.adb: Likewise.
6180 * gdb.ada/exec_changed/first.adb: Likewise.
6181 * gdb.ada/exec_changed/second.adb: Likewise.
6182
6183 2006-10-06 Joel Brobecker <brobecker@adacore.com>
6184
6185 * gdb.ada/watch_arg/watch.adb: New file.
6186 * gdb.ada/watch_arg.exp: New testcase.
6187
6188 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
6189
6190 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
6191 via string_to_regexp.
6192 * gdb.mi/mi2-basics.exp: Likewise.
6193
6194 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
6195
6196 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
6197 Remove unused / obsolete files.
6198
6199 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
6200
6201 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
6202
6203 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
6204
6205 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
6206 HIGH_FRAME argument to -stack-list-arguments can be larger than
6207 the number of frames.
6208
6209 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
6210
6211 * gdb.base/args.c (main): Add breakpoint marker.
6212 * gdb.base/args.exp: Use args_test for tests. Add new tests which
6213 really test empty arguments.
6214 (args_load): Delete.
6215 (args_test): New.
6216
6217 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
6218
6219 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
6220 check for one file.
6221
6222 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
6223
6224 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
6225 HIGH_FRAME argument to -stack-list-locals can be larger than
6226 the number of frames.
6227
6228 2006-08-18 Fred Fish <fnf@specifix.com>
6229
6230 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
6231 '$' in front of skip_vmx_tests_saved when setting that.
6232
6233 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
6234
6235 * gdb.base/trace-commands.exp: New file.
6236
6237 2006-08-10 Joel Brobecker <brobecker@adacore.com>
6238 Daniel Jacobowitz <dan@codesourcery.com>
6239
6240 * gdb.base/step-bt.exp: Make hexadecimal address optional in
6241 expected output of the backtrace commands.
6242
6243 2006-08-09 Joel Brobecker <brobecker@adacore.com>
6244
6245 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
6246 untested followed by return combination.
6247 * gdb.arch/altivec-regs.exp: Likewise.
6248 * gdb.arch/e500-abi.exp: Likewise.
6249 * gdb.arch/e500-regs.exp: Likewise.
6250 * gdb.arch/gdb1291.exp: Likewise.
6251 * gdb.arch/gdb1431.exp: Likewise.
6252 * gdb.arch/gdb1558.exp: Likewise.
6253 * gdb.arch/i386-prologue.exp: Likewise.
6254 * gdb.arch/i386-unwind.exp: Likewise.
6255 * gdb.asm/asm-source.exp: Likewise.
6256 * gdb.base/a2-run.exp: Likewise.
6257 * gdb.base/advance.exp: Likewise.
6258 * gdb.base/all-bin.exp: Likewise.
6259 * gdb.base/annota1.exp: Likewise.
6260 * gdb.base/annota3.exp: Likewise.
6261 * gdb.base/args.exp: Likewise.
6262 * gdb.base/arithmet.exp: Likewise.
6263 * gdb.base/assign.exp: Likewise.
6264 * gdb.base/async.exp: Likewise.
6265 * gdb.base/attach.exp: Likewise.
6266 * gdb.base/bang.exp: Likewise.
6267 * gdb.base/bigcore.exp: Likewise.
6268 * gdb.base/bitfields.exp: Likewise.
6269 * gdb.base/bitfields2.exp: Likewise.
6270 * gdb.base/break.exp: Likewise.
6271 * gdb.base/call-sc.exp: Likewise.
6272 * gdb.base/call-strs.exp: Likewise.
6273 * gdb.base/callfuncs.exp: Likewise.
6274 * gdb.base/checkpoint.exp: Likewise.
6275 * gdb.base/chng-syms.exp: Likewise.
6276 * gdb.base/code-expr.exp: Likewise.
6277 * gdb.base/commands.exp: Likewise.
6278 * gdb.base/completion.exp: Likewise.
6279 * gdb.base/cond-expr.exp: Likewise.
6280 * gdb.base/condbreak.exp: Likewise.
6281 * gdb.base/consecutive.exp: Likewise.
6282 * gdb.base/constvars.exp: Likewise.
6283 * gdb.base/corefile.exp: Likewise.
6284 * gdb.base/cvexpr.exp: Likewise.
6285 * gdb.base/dbx.exp: Likewise.
6286 * gdb.base/define.exp: Likewise.
6287 * gdb.base/detach.exp: Likewise.
6288 * gdb.base/display.exp: Likewise.
6289 * gdb.base/dump.exp: Likewise.
6290 * gdb.base/ena-dis-br.exp: Likewise.
6291 * gdb.base/ending-run.exp: Likewise.
6292 * gdb.base/environ.exp: Likewise.
6293 * gdb.base/eval-skip.exp: Likewise.
6294 * gdb.base/exprs.exp: Likewise.
6295 * gdb.base/fileio.exp: Likewise.
6296 * gdb.base/finish.exp: Likewise.
6297 * gdb.base/float.exp: Likewise.
6298 * gdb.base/foll-exec.exp: Likewise.
6299 * gdb.base/foll-fork.exp: Likewise.
6300 * gdb.base/foll-vfork.exp: Likewise.
6301 * gdb.base/freebpcmd.exp: Likewise.
6302 * gdb.base/funcargs.exp: Likewise.
6303 * gdb.base/gcore.exp: Likewise.
6304 * gdb.base/gdb1090.exp: Likewise.
6305 * gdb.base/gdb1250.exp: Likewise.
6306 * gdb.base/huge.exp: Likewise.
6307 * gdb.base/info-proc.exp: Likewise.
6308 * gdb.base/interrupt.exp: Likewise.
6309 * gdb.base/jump.exp: Likewise.
6310 * gdb.base/langs.exp: Likewise.
6311 * gdb.base/lineinc.exp: Likewise.
6312 * gdb.base/list.exp: Likewise.
6313 * gdb.base/logical.exp: Likewise.
6314 * gdb.base/long_long.exp: Likewise.
6315 * gdb.base/macscp.exp: Likewise.
6316 * gdb.base/maint.exp: Likewise.
6317 * gdb.base/mips_pro.exp: Likewise.
6318 * gdb.base/miscexprs.exp: Likewise.
6319 * gdb.base/multi-forks.exp: Likewise.
6320 * gdb.base/opaque.exp: Likewise.
6321 * gdb.base/overlays.exp: Likewise.
6322 * gdb.base/pc-fp.exp: Likewise.
6323 * gdb.base/pointers.exp: Likewise.
6324 * gdb.base/printcmds.exp: Likewise.
6325 * gdb.base/psymtab.exp: Likewise.
6326 * gdb.base/ptype.exp: Likewise.
6327 * gdb.base/recurse.exp: Likewise.
6328 * gdb.base/relational.exp: Likewise.
6329 * gdb.base/relocate.exp: Likewise.
6330 * gdb.base/remote.exp: Likewise.
6331 * gdb.base/reread.exp: Likewise.
6332 * gdb.base/restore.exp: Likewise.
6333 * gdb.base/return.exp: Likewise.
6334 * gdb.base/return2.exp: Likewise.
6335 * gdb.base/scope.exp: Likewise.
6336 * gdb.base/sect-cmd.exp: Likewise.
6337 * gdb.base/sep.exp: Likewise.
6338 * gdb.base/sepdebug.exp: Likewise.
6339 * gdb.base/setshow.exp: Likewise.
6340 * gdb.base/setvar.exp: Likewise.
6341 * gdb.base/sigall.exp: Likewise.
6342 * gdb.base/sigbpt.exp: Likewise.
6343 * gdb.base/signals.exp: Likewise.
6344 * gdb.base/signull.exp: Likewise.
6345 * gdb.base/sizeof.exp: Likewise.
6346 * gdb.base/solib.exp: Likewise.
6347 * gdb.base/step-line.exp: Likewise.
6348 * gdb.base/step-test.exp: Likewise.
6349 * gdb.base/structs.exp: Likewise.
6350 * gdb.base/structs2.exp: Likewise.
6351 * gdb.base/term.exp: Likewise.
6352 * gdb.base/twice.exp: Likewise.
6353 * gdb.base/until.exp: Likewise.
6354 * gdb.base/varargs.exp: Likewise.
6355 * gdb.base/volatile.exp: Likewise.
6356 * gdb.base/watchpoint.exp: Likewise.
6357 * gdb.base/whatis-exp.exp: Likewise.
6358 * gdb.base/whatis.exp: Likewise.
6359 * gdb.cp/ambiguous.exp: Likewise.
6360 * gdb.cp/annota2.exp: Likewise.
6361 * gdb.cp/annota3.exp: Likewise.
6362 * gdb.cp/bool.exp: Likewise.
6363 * gdb.cp/breakpoint.exp: Likewise.
6364 * gdb.cp/casts.exp: Likewise.
6365 * gdb.cp/class2.exp: Likewise.
6366 * gdb.cp/classes.exp: Likewise.
6367 * gdb.cp/cplusfuncs.exp: Likewise.
6368 * gdb.cp/ctti.exp: Likewise.
6369 * gdb.cp/derivation.exp: Likewise.
6370 * gdb.cp/exception.exp: Likewise.
6371 * gdb.cp/gdb1355.exp: Likewise.
6372 * gdb.cp/hang.exp: Likewise.
6373 * gdb.cp/inherit.exp: Likewise.
6374 * gdb.cp/local.exp: Likewise.
6375 * gdb.cp/m-data.exp: Likewise.
6376 * gdb.cp/m-static.exp: Likewise.
6377 * gdb.cp/member-ptr.exp: Likewise.
6378 * gdb.cp/method.exp: Likewise.
6379 * gdb.cp/misc.exp: Likewise.
6380 * gdb.cp/namespace.exp: Likewise.
6381 * gdb.cp/overload.exp: Likewise.
6382 * gdb.cp/ovldbreak.exp: Likewise.
6383 * gdb.cp/pr-1023.exp: Likewise.
6384 * gdb.cp/pr-1210.exp: Likewise.
6385 * gdb.cp/pr-574.exp: Likewise.
6386 * gdb.cp/printmethod.exp: Likewise.
6387 * gdb.cp/psmang.exp: Likewise.
6388 * gdb.cp/ref-params.exp: Likewise.
6389 * gdb.cp/ref-types.exp: Likewise.
6390 * gdb.cp/rtti.exp: Likewise.
6391 * gdb.cp/templates.exp: Likewise.
6392 * gdb.cp/try_catch.exp: Likewise.
6393 * gdb.cp/userdef.exp: Likewise.
6394 * gdb.cp/virtfunc.exp: Likewise.
6395 * gdb.disasm/am33.exp: Likewise.
6396 * gdb.disasm/h8300s.exp: Likewise.
6397 * gdb.disasm/mn10300.exp: Likewise.
6398 * gdb.disasm/sh3.exp: Likewise.
6399 * gdb.disasm/t01_mov.exp: Likewise.
6400 * gdb.disasm/t02_mova.exp: Likewise.
6401 * gdb.disasm/t03_add.exp: Likewise.
6402 * gdb.disasm/t04_sub.exp: Likewise.
6403 * gdb.disasm/t05_cmp.exp: Likewise.
6404 * gdb.disasm/t06_ari2.exp: Likewise.
6405 * gdb.disasm/t07_ari3.exp: Likewise.
6406 * gdb.disasm/t08_or.exp: Likewise.
6407 * gdb.disasm/t09_xor.exp: Likewise.
6408 * gdb.disasm/t10_and.exp: Likewise.
6409 * gdb.disasm/t11_logs.exp: Likewise.
6410 * gdb.disasm/t12_bit.exp: Likewise.
6411 * gdb.disasm/t13_otr.exp: Likewise.
6412 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
6413 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
6414 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6415 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
6416 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
6417 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
6418 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
6419 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
6420 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
6421 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
6422 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
6423 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
6424 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
6425 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
6426 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
6427 * gdb.mi/gdb701.exp: Likewise.
6428 * gdb.mi/gdb792.exp: Likewise.
6429 * gdb.mi/mi-basics.exp: Likewise.
6430 * gdb.mi/mi-break.exp: Likewise.
6431 * gdb.mi/mi-cli.exp: Likewise.
6432 * gdb.mi/mi-console.exp: Likewise.
6433 * gdb.mi/mi-disassemble.exp: Likewise.
6434 * gdb.mi/mi-eval.exp: Likewise.
6435 * gdb.mi/mi-file.exp: Likewise.
6436 * gdb.mi/mi-read-memory.exp: Likewise.
6437 * gdb.mi/mi-regs.exp: Likewise.
6438 * gdb.mi/mi-return.exp: Likewise.
6439 * gdb.mi/mi-simplerun.exp: Likewise.
6440 * gdb.mi/mi-stack.exp: Likewise.
6441 * gdb.mi/mi-stepi.exp: Likewise.
6442 * gdb.mi/mi-syn-frame.exp: Likewise.
6443 * gdb.mi/mi-until.exp: Likewise.
6444 * gdb.mi/mi-var-block.exp: Likewise.
6445 * gdb.mi/mi-var-child.exp: Likewise.
6446 * gdb.mi/mi-var-cmd.exp: Likewise.
6447 * gdb.mi/mi-var-display.exp: Likewise.
6448 * gdb.mi/mi-watch.exp: Likewise.
6449 * gdb.mi/mi2-basics.exp: Likewise.
6450 * gdb.mi/mi2-break.exp: Likewise.
6451 * gdb.mi/mi2-cli.exp: Likewise.
6452 * gdb.mi/mi2-console.exp: Likewise.
6453 * gdb.mi/mi2-disassemble.exp: Likewise.
6454 * gdb.mi/mi2-eval.exp: Likewise.
6455 * gdb.mi/mi2-file.exp: Likewise.
6456 * gdb.mi/mi2-read-memory.exp: Likewise.
6457 * gdb.mi/mi2-regs.exp: Likewise.
6458 * gdb.mi/mi2-return.exp: Likewise.
6459 * gdb.mi/mi2-simplerun.exp: Likewise.
6460 * gdb.mi/mi2-stack.exp: Likewise.
6461 * gdb.mi/mi2-stepi.exp: Likewise.
6462 * gdb.mi/mi2-syn-frame.exp: Likewise.
6463 * gdb.mi/mi2-until.exp: Likewise.
6464 * gdb.mi/mi2-var-block.exp: Likewise.
6465 * gdb.mi/mi2-var-child.exp: Likewise.
6466 * gdb.mi/mi2-var-cmd.exp: Likewise.
6467 * gdb.mi/mi2-var-display.exp: Likewise.
6468 * gdb.mi/mi2-watch.exp: Likewise.
6469 * gdb.stabs/exclfwd.exp: Likewise.
6470 * gdb.stabs/weird.exp: Likewise.
6471 * gdb.threads/gcore-thread.exp: Likewise.
6472 * gdb.trace/actions.exp: Likewise.
6473 * gdb.trace/backtrace.exp: Likewise.
6474 * gdb.trace/circ.exp: Likewise.
6475 * gdb.trace/collection.exp: Likewise.
6476 * gdb.trace/deltrace.exp: Likewise.
6477 * gdb.trace/infotrace.exp: Likewise.
6478 * gdb.trace/limits.exp: Likewise.
6479 * gdb.trace/packetlen.exp: Likewise.
6480 * gdb.trace/passc-dyn.exp: Likewise.
6481 * gdb.trace/passcount.exp: Likewise.
6482 * gdb.trace/report.exp: Likewise.
6483 * gdb.trace/save-trace.exp: Likewise.
6484 * gdb.trace/tfind.exp: Likewise.
6485 * gdb.trace/tracecmd.exp: Likewise.
6486 * gdb.trace/while-dyn.exp: Likewise.
6487 * gdb.trace/while-stepping.exp: Likewise.
6488
6489 2006-08-08 Joel Brobecker <brobecker@adacore.com>
6490
6491 * gdb.base/step-bt.c: New file.
6492 * gdb.base/step-bt.exp: New testcase.
6493
6494 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
6495
6496 * config/monitor.exp (gdb_load): Remove support for obsolete
6497 download-write-size.
6498 * gdb.base/remote.exp: Likewise. Update all callers of
6499 gdb_timed_load.
6500
6501 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
6502
6503 * cursal.exp: Pass binfile to gdb_load.
6504
6505 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
6506
6507 * gdb.base/cursal.exp: Add "" to gdb_load call.
6508
6509 2006-07-29 Mark Kettenis <kettenis@gnu.org>
6510
6511 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
6512 NetBSD/ELF targets.
6513
6514 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
6515
6516 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
6517 operator*.
6518
6519 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
6520
6521 * gdb.base/completion.exp: Update for change in "file" behavior.
6522 * gdb.stabs/weird.exp: Likewise.
6523 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
6524 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
6525
6526 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
6527
6528 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
6529 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
6530
6531 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
6532
6533 * gdb.base/default.exp: Update source command error message.
6534 * gdb.base/help.exp: Update 'help source' message.
6535
6536 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
6537
6538 * gdb.cp/bs15503.exp: Update comment for no longer crashing
6539 test.
6540
6541 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
6542
6543 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
6544
6545 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
6546
6547 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
6548
6549 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
6550
6551 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
6552
6553 2006-07-17 Mark Kettenis <kettenis@gnu.org>
6554
6555 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
6556 *-*-openbsd* from targets for wich we expect ARM FPA floating
6557 point format.
6558
6559 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
6560
6561 * gdb.cp/annota3.exp: Expect frame-begin annotation.
6562
6563 2006-07-17 Mark Kettenis <kettenis@gnu.org>
6564
6565 * gdb.base/annota3.exp: Expect frame-begin annotation.
6566
6567 2006-07-14 Joel Brobecker <brobecker@adacore.com>
6568
6569 * gdb.base/help.exp: Adjust "help unset" test to accept
6570 any list of unset commands.
6571
6572 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
6573 Daniel Jacobowitz <dan@codesourcery.com>
6574
6575 * gdb.cp/ref-params.exp: New test.
6576 * gdb.cp/ref-params.cc: New source file.
6577 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
6578
6579 2006-07-08 Mark Kettenis <kettenis@gnu.org>
6580
6581 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
6582 spaces/tabs in regular expressions since they might not be there.
6583
6584 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
6585
6586 * gdb.base/ifelse.exp: New file.
6587
6588 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
6589
6590 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
6591 line.
6592 * gdb.base/huge.exp: Loop over compilation to find a size that
6593 is acceptable.
6594 * gdb.base/remote.exp: Correct expected strings.
6595 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
6596
6597 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6598
6599 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
6600
6601 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6602
6603 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
6604 native.
6605
6606 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6607
6608 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
6609 enable stabs testing.
6610
6611 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6612
6613 * gdb.base/auxv.exp: Intercept undefined command messages before
6614 gdb_test_multiple does.
6615
6616 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6617
6618 * Makefile.in (host_alias): Remove.
6619 (target_alias): Use @target_noncanonical@.
6620 (site.exp): Don't set host_alias.
6621 * aclocal.m4: Remove contents. Include acx.m4.
6622 * configure: Regenerated.
6623 * configure.ac: Use ACX_NONCANONICAL_TARGET.
6624
6625 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
6626
6627 * lib/gdb.exp (gdb_load_cmd): New.
6628
6629 * gdb.base/fileio.c: Add system(NULL) test.
6630 * gdb.base/fileio.exp: Check it.
6631
6632 * gdb.base/break.c: Add 10a breakpoint at }
6633 * gdb.base/break.exp: Add test for breakpoint at }
6634 * gdb.cp/anon-union.cc: Add code at end of function.
6635 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
6636 * gdb.mi/var-cmd.c: Add code at end of function.
6637 * gdb.mi/mi-var-display.exp: Adjust end of next.
6638 * gdb.mi/mi2-var-display.exp: Likewise.
6639 * gdb.base/fileio.c: Add stop function and insert calls at
6640 stopping places.
6641 * gdb.base/fileio.exp: Breakpoint stop function and remove
6642 explicit line number references.
6643
6644 2006-05-19 Joel Brobecker <brobecker@adacore.com>
6645
6646 * gdb.base/del.exp (test_delete_alias): New function.
6647 Now check that both "del" and "d" work as aliases for "delete".
6648
6649 2006-05-18 Fred Fish <fnf@specifix.com>
6650
6651 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
6652 required. Check for spurious output after program exits normally.
6653
6654 2006-05-17 Fred Fish <fnf@specifix.com>
6655
6656 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
6657 gdb_load, so it works in the simulator.
6658
6659 2006-05-11 Fred Fish <fnf@specifix.com>
6660
6661 * gdb.base/bang.exp: Ignore unexpected output between the
6662 "program exited normally" and the gdb prompt, as many other
6663 tests do.
6664
6665 2006-05-07 Mark Kettenis <kettenis@gnu.org>
6666
6667 * gdb.base/help.exp: Make "delete checkpoint" part option for
6668 "help d" and "help delete" tests.
6669
6670 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6671
6672 * gdb.mi/mi-basics.exp: Add missing serial number to
6673 expected output in some mi_gdb_test statements.
6674 * gdb.mi/mi2-basics.exp: Likewise.
6675
6676 2006-05-05 Joel Brobecker <brobecker@adacore.com>
6677
6678 * gdb.base/del.c: New file.
6679 * gdb.base/del.exp: New testcase.
6680
6681 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
6682
6683 * gdb.base/break.exp: Do not assume a breakpoint on
6684 main will actually be in $srcfile when optimizing.
6685 * gdb.base/savedregs.exp: Do not require that the dummy
6686 frame location match up to a symbol and source file location.
6687 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
6688 will get printed without a mi_cmd_data_list_register_values prefix.
6689 (*-data-list-register-*): Correct regular expressions to expect the new
6690 pseudo d? floating point registers.
6691 * gdb.mi/mi2-regs.exp: Likewise.
6692
6693 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
6694
6695 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
6696 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
6697 is allocated by the compiler.
6698 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
6699 anons, e, anone to force their allocation by the compiler.
6700
6701 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
6702
6703 * gdb.base/help.exp: Update expected text for help d and
6704 help delete.
6705
6706 2006-05-02 Mark Kettenis <kettenis@gnu.org>
6707
6708 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
6709 NetBSD/ELF targets.
6710
6711 2006-04-30 Mark Kettenis <kettenis@gnu.org>
6712
6713 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
6714 single-step breakpoint fails; make this a KFAIL on
6715 sparc*-*-openbsd*.
6716 * gdb.base/siginfo.exp: Likewise.
6717 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6718
6719 2006-04-26 Michael Snyder <msnyder@redhat.com>
6720
6721 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
6722 which may have to consume output from other forks.
6723 Add tests to make sure that "delete fork" succeeded.
6724
6725 2006-04-20 Michael Snyder <msnyder@redhat.com>
6726
6727 * 2006-03-22 Jim Blandy <jimb@redhat.com>
6728 Add support for the Renesas M32C and M16C.
6729
6730 * gdb.asm/asm-source.exp: Add m32c target.
6731 * gdb.asm/m32c.inc: Support for m32c target.
6732
6733 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
6734
6735 * gdb.base/commands.exp (recursive_source_test): New test.
6736
6737 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
6738
6739 * gdb.base/float.exp: Add pattern for sparc targets.
6740
6741 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6742
6743 * gdb.base/commands.exp (stray_arg0_test): New test.
6744
6745 2006-03-30 Paul Brook <paul@codesourcery.com>
6746
6747 * gdb.mi/mi-until.exp: kfail broken until command.
6748 * gdb.mi/mi2-until.exp: Ditto.
6749
6750 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
6751
6752 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
6753
6754 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
6755
6756 * gdb.base/prelink.exp: Anchor tested-for regular expression
6757 on gdb prompt.
6758
6759 2006-03-07 Paul Brook <paul@codesourcery.com>
6760
6761 * gdb.base/assign.exp: Correct fail message.
6762
6763 2006-03-07 Paul Brook <paul@codesourcery.com>
6764
6765 * lib/compiler.c: Extract armcc version number.
6766 * lib/compiler.cc: Ditto.
6767
6768 2006-03-07 Paul Brook <paul@codesourcery.com>
6769
6770 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
6771 additional_flags=-w.
6772 * gdb.arch/altivec-regs.exp: Ditto.
6773 * gdb.arch/e500-abi.exp: Ditto.
6774 * gdb.arch/e500-regs.exp: Ditto.
6775 * gdb.base/all-bin.exp: Ditto.
6776 * gdb.base/annota1.exp: Ditto.
6777 * gdb.base/annota3.exp: Ditto.
6778 * gdb.base/args.exp: Ditto.
6779 * gdb.base/arithmet.exp: Ditto.
6780 * gdb.base/assign.exp: Ditto.
6781 * gdb.base/async.exp: Ditto.
6782 * gdb.base/bang.exp: Ditto.
6783 * gdb.base/break.exp: Ditto.
6784 * gdb.base/call-rt-st.exp: Ditto.
6785 * gdb.base/completion.exp: Ditto.
6786 * gdb.base/cond-expr.exp: Ditto.
6787 * gdb.base/condbreak.exp: Ditto.
6788 * gdb.base/consecutive.exp: Ditto.
6789 * gdb.base/define.exp: Ditto.
6790 * gdb.base/display.exp: Ditto.
6791 * gdb.base/ena-dis-br.exp: Ditto.
6792 * gdb.base/environ.exp: Ditto.
6793 * gdb.base/eval-skip.exp: Ditto.
6794 * gdb.base/info-proc.exp: Ditto.
6795 * gdb.base/jump.exp: Ditto.
6796 * gdb.base/logical.exp: Ditto.
6797 * gdb.base/long_long.exp: Ditto.
6798 * gdb.base/maint.exp: Ditto.
6799 * gdb.base/miscexprs.exp: Ditto.
6800 * gdb.base/pc-fp.exp: Ditto.
6801 * gdb.base/pointers.exp: Ditto.
6802 * gdb.base/relational.exp: Ditto.
6803 * gdb.base/reread.exp: Ditto.
6804 * gdb.base/sect-cmd.exp: Ditto.
6805 * gdb.base/sep.exp: Ditto.
6806 * gdb.base/sepdebug.exp: Ditto.
6807 * gdb.base/until.exp: Ditto.
6808 * gdb.base/whatis-exp.exp: Ditto.
6809 * gdb.cp/annota2.exp: Ditto.
6810 * gdb.cp/annota3.exp: Ditto.
6811 * gdb.trace/actions.exp: Ditto.
6812 * gdb.trace/backtrace.exp: Ditto.
6813 * gdb.trace/circ.exp: Ditto.
6814 * gdb.trace/collection.exp: Ditto.
6815 * gdb.trace/deltrace.exp: Ditto.
6816 * gdb.trace/infotrace.exp: Ditto.
6817 * gdb.trace/limits.exp: Ditto.
6818 * gdb.trace/packetlen.exp: Ditto.
6819 * gdb.trace/passc-dyn.exp: Ditto.
6820 * gdb.trace/passcount.exp: Ditto.
6821 * gdb.trace/report.exp: Ditto.
6822 * gdb.trace/save-trace.exp: Ditto.
6823 * gdb.trace/tfind.exp: Ditto.
6824 * gdb.trace/tracecmd.exp: Ditto.
6825 * gdb.trace/while-dyn.exp: Ditto.
6826 * gdb.trace/while-stepping.exp: Ditto.
6827 * lib/gdb.exp: Ditto.
6828 (gdb_compile): Handle nowarning option.
6829
6830 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
6831
6832 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
6833 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
6834 Rename executable to prelinkt. Don't re-prelink if we didn't
6835 get a core file. Test prelink -u exit status to tell whether
6836 prelinking failed. Use gdb_test_multiple.
6837
6838 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6839
6840 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
6841 (do_tests): Call it.
6842
6843 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
6844
6845 * gdb.base/prelink.exp: New test.
6846 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
6847
6848 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
6849
6850 * gdb.fortran/derived-type.f90: New file.
6851 * gdb.fortran/derived-type.exp: New testcase.
6852
6853 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
6854
6855 * gdb.base/default.exp: Allow ';' as a directory separator.
6856
6857 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
6858
6859 * gdb.base/help.exp (help add-symbol-file): Update.
6860
6861 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
6862
6863 * gdb.base/help.exp (help load): Update expected results.
6864
6865 2006-02-19 Fred Fish <fnf@specifix.com>
6866
6867 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
6868 specifix hex value as part of results.
6869 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
6870
6871 2006-02-16 Fred Fish <fnf@specifix.com>
6872
6873 * gdb.base/whatis.c: Define variables using typedefs char_addr,
6874 ushort_addr, and slong_addr, so the typedefs are not optimized
6875 away.
6876 * gdb.base/whatis.exp: Add tests using type name for struct type,
6877 union type, enum type, and typedef.
6878
6879 2006-02-13 Mark Kettenis <kettenis@gnu.org>
6880
6881 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
6882
6883 2006-02-13 Jim Blandy <jimb@redhat.com>
6884
6885 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
6886 case where it takes two "next" commands to skip past the init
6887 call.
6888
6889 2006-02-12 Fred Fish <fnf@specifix.com>
6890
6891 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
6892 to handle cases where it takes two "next" commands to skip
6893 past the init call.
6894
6895 2006-02-07 Joel Brobecker <brobecker@adacore.com>
6896
6897 * gdb.ada/array_return.exp: Mark the last test as expected to fail
6898 on hppa32 targets.
6899
6900 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
6901
6902 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
6903 field.
6904
6905 2006-01-29 Mark Kettenis <kettenis@gnu.org>
6906
6907 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
6908
6909 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6910
6911 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
6912 files.
6913
6914 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6915
6916 * gdb.cp/maint.exp: Set complaints to a positive value.
6917
6918 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6919
6920 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
6921 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
6922 function name.
6923
6924 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6925
6926 * gdb.base/checkpoint.c: Update copyright notice. Include
6927 <stdlib.h>.
6928
6929 2006-01-04 Jim Blandy <jimb@redhat.com>
6930
6931 * gdb.asm/asm-source.exp: Independently provide default values for
6932 asm-flags and debug-flags. Use 'string equal' to do the
6933 comparison, not the implicit expr's '==' operator. Remove
6934 now-unneeded assignments to asm-flags. In h8300 case, place
6935 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
6936
6937 2006-01-04 Michael Snyder <msnyder@redhat.com>
6938
6939 * gdb.base/checkpoint.c: New file.
6940 * gdb.base/checkpoint.exp: New file.
6941 * gdb.base/multi-fork.c: New file.
6942 * gdb.base/multi-fork.exp: New file.
6943 * gdb.base/pi.txt: New file (data for checkpoint.c test).
6944
6945 2006-01-04 Fred Fish <fnf@specifix.com>
6946
6947 * gdb.base/ptype.c (foo): Add typedef.
6948 (intfoo): Add function.
6949 * gdb.base/ptype1.c: New file.
6950 * gdb.base/ptype.exp: Handle compilation and linking with two
6951 source files. Test that proper type for "foo" is found based
6952 on source context rather than first match found in symtabs.
6953
6954 2005-12-28 Mark Kettenis <kettenis@gnu.org>
6955
6956 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
6957 * gdb.asm/openbsd.inc: Indent commands.
6958
6959 2005-12-26 Mark Kettenis <kettenis@gnu.org>
6960
6961 * gdb.base/freebpcmd.exp: Increase timeout.
6962
6963 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
6964
6965 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
6966
6967 * gdb.base/default.exp: Update check for "show version".
6968
6969 2005-12-09 Randolph Chung <tausq@debian.org>
6970
6971 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
6972 * gdb.asm/pa64.inc: New file.
6973
6974 2005-12-09 Randolph Chung <tausq@debian.org>
6975
6976 * gdb.asm/common.inc: Indent commands.
6977 * gdb.asm/asmsrc1.s: Likewise.
6978 * gdb.asm/asmsrc2.s: Likewise.
6979
6980 2005-12-09 Randolph Chung <tausq@debian.org>
6981
6982 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
6983 (get_addr_of_sym): Remove duplicate print.
6984 (gen_core): xfail hppa*-*-hpux*, update expected output.
6985 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
6986 * gdb.arch/pa64-nullify.s: New file.
6987
6988 2005-12-09 Randolph Chung <tausq@debian.org>
6989
6990 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
6991
6992 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
6993
6994 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
6995 code generation for these functions.
6996 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
6997 error message.
6998
6999 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
7000
7001 * gdb.base/help.exp (help b, help br, help bre, help brea)
7002 (help break): Update the expected message.
7003
7004 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
7005
7006 * gdb.asm/m68hc11.inc: Setup the data section.
7007 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
7008 script for this test.
7009 (m6812-*-*): Likewise.
7010
7011 2005-11-09 Randolph Chung <tausq@debian.org>
7012
7013 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
7014
7015 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
7016
7017 * gdb.base/break.exp: Fix a comment typo.
7018
7019 2005-11-03 Jim Blandy <jimb@redhat.com>
7020
7021 Checked in by Elena Zannoni <ezannoni@redhat.com>
7022
7023 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
7024
7025 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
7026
7027 * gdb.arch/gdb1558.c: Include stdio.h.
7028
7029 2005-10-31 Mark Kettenis <kettenis@gnu.org>
7030
7031 * gdb.asm/asm-source.exp: Use -e instead of --entry.
7032
7033 2005-10-31 Mark Kettenis <kettenis@gnu.org>
7034
7035 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
7036
7037 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
7038
7039 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
7040 vscr" tests to better match output.
7041
7042 2005-10-12 Jim Blandy <jimb@redhat.com>
7043
7044 * gdb.base/structs.exp (any): New function.
7045 (test_struct_returns): Don't make any assumptions at all about
7046 what value the function returns when GDB can't set the return
7047 value.
7048
7049 2005-10-09 Joel Brobecker <brobecker@adacore.com>
7050
7051 * gdb.ada/arrayidx/p.adb: New file.
7052 * gdb.ada/arrayidx.exp: New testcase
7053
7054 2005-10-09 Joel Brobecker <brobecker@adacore.com>
7055
7056 * gdb.ada/array_return/pck.ads: New file.
7057 * gdb.ada/array_return/pck.adb: New file.
7058 * gdb.ada/array_return/p.adb: New file.
7059 * gdb.ada/array_return.exp: New testcase.
7060
7061 2005-10-03 Joel Brobecker <brobecker@adacore.com>
7062
7063 * gdb.base/arrayidx.c: New file.
7064 * gdb.base/arrayidx.exp: New testcase.
7065
7066 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
7067
7068 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
7069 frames-invalid and breakpoints-invalid are no longer generated
7070 with level 3 so don't expect them in the output.
7071
7072 2005-09-27 Bob Rossi <bob@brasko.net>
7073
7074 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
7075 from test. Escape the | in mi_gdb_test call.
7076 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
7077 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
7078 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
7079 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
7080 expected regex's in mi_gdb_test calls.
7081 * lib/mi-support.exp: Remove arbitrary .* from tests.
7082 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
7083 Fully anchor GDB/MI expected results in mi_gdb_test.
7084 * lib/gdb.exp (string_to_regexp): Escape the ] character.
7085 * gdb.base/sizeof.exp: Remove escape character. Correct test.
7086
7087 2005-09-26 Paul Brook <paul@codesourcery.com>
7088
7089 * long_long.exp: Exclude eabi targets from arm FPA float format test.
7090
7091 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
7092
7093 * bfp-test.c: New file.
7094 * bfp-test.exp: New testcase.
7095
7096 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
7097
7098 * gdb.fortran/subarray.exp: New testcase to test the evaluation
7099 of subarray and substring variable.
7100 * gdb.fortran/subarray.f: New source file for the test of subarray
7101 and substring variable evaluation.
7102 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
7103 of string constant.
7104
7105 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
7106
7107 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
7108 copyright dates.
7109
7110 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
7111
7112 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
7113 powerpc altivec' test with an almost identical 'info vector' test.
7114
7115 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
7116
7117 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
7118 vscr" tests to match output.
7119
7120 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
7121
7122 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
7123 output.
7124
7125 2005-09-11 Bob Rossi <bob@brasko.net>
7126
7127 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
7128 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
7129 commands that return an MI output command and an asyncronous MI output
7130 command.
7131 * gdb.mi/mi-console.exp: Ditto.
7132
7133 2005-09-11 Bob Rossi <bob@brasko.net>
7134
7135 * gdb.mi/mi-var-child.c: Include <string.h>.
7136
7137 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
7138
7139 * killed.exp: Correct gdb_expect syntax.
7140
7141 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
7142
7143 * lib/mi-support.exp (mi_gdb_load): Fix typo.
7144
7145 2005-08-02 Bob Rossi <bob@brasko.net>
7146
7147 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
7148 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
7149 Change tests to inferior-tty-set/show.
7150 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
7151 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
7152 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
7153 inferior. Use mi_gdb_test to get GDB and Inferior output.
7154 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
7155 descriptor.
7156 (mi_inferior_tty_name): Add inferior PTY file name.
7157 (mi_gdb_start): Add INFERIOR_PTY parameter.
7158 (mi_gdb_test): Add IPATTERN parameter.
7159
7160 2005-08-02 Bob Rossi <bob@brasko.net>
7161
7162 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
7163 parameter to mi_gdb_test.
7164 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
7165
7166 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7167
7168 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
7169 struct_declarations.
7170 * gdb.mi/mi-var-child.exp: Step over the initialization of
7171 struct_declarations.
7172
7173 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7174
7175 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
7176 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
7177 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
7178 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
7179 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
7180 file.
7181
7182 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
7183
7184 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
7185 (do_children_tests): Assign values to the extra elements.
7186
7187 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
7188 them for tests for "-var-update --no-values" and
7189 "-var-update --all-values".
7190 Add test for "-var-list-children --simple-values".
7191
7192 * gdb.mi/basics.c (callee4): Add integer array D[3]...
7193
7194 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
7195 "-stack-list-locals --simple-values" Improve doc strings and
7196 comments.
7197
7198 2005-07-18 Mark Kettenis <kettenis@gnu.org>
7199
7200 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
7201 *-*-openbsd*.
7202 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
7203
7204 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
7205 sigaltsatck'.
7206
7207 2005-07-14 Bob Rossi <bob@brasko.net>
7208
7209 * gdb.base/default.exp (tty): Changed output of command.
7210 * gdb.base/help.exp (help tty): Ditto.
7211
7212 2005-07-12 Mark Kettenis <kettenis@gnu.org>
7213
7214 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
7215
7216 2005-07-10 Mark Kettenis <kettenis@gnu.org>
7217
7218 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
7219 -stack-select-frame without arguments.
7220 (test_stack_frame_listing): Add test for newly implemented command
7221 -stack-info-frame.
7222
7223 2005-07-06 Bob Rossi <bob@brasko.net>
7224
7225 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
7226 command.
7227 (Copyright): Update copyright.
7228
7229 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
7230
7231 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
7232 tests to evaluate exponentiation expression.
7233
7234 2005-06-29 Andreas Schwab <schwab@suse.de>
7235
7236 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
7237 main to avoid warnings.
7238
7239 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
7240
7241 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
7242
7243 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
7244 -stack-select-frame without arguments.
7245 (test_stack_frame_listing): Add test for newly implemented command
7246 -stack-info-frame.
7247
7248 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
7249
7250 * gdb.fortran/array-element.f: New file.
7251 * gdb.fortran/array-element.exp: New testcase.
7252
7253 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7254
7255 * gdb.base/bigcore.exp: Correct checks for systems which can
7256 not dump a large core file.
7257
7258 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7259
7260 * gdb.base/relocate.c: Add a copyright notice.
7261 (dummy): Remove.
7262 * gdb.base/relocate.exp: Test printing the values of variables
7263 from a relocatable file.
7264
7265 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7266
7267 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
7268 excess MI output after an error.
7269
7270 2005-05-29 Joel Brobecker <brobecker@adacore.com>
7271
7272 * gdb.arch/alpha-step.c: New file.
7273 * gdb.arch/alpha-step.exp: New testcase.
7274
7275 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
7276 Dennis Brueni <dennis@slickedit.com>
7277
7278 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
7279 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
7280 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
7281 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
7282 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7283 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
7284 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
7285
7286 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
7287 Wu Zhou <woodzltc@cn.ibm.com>
7288
7289 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
7290 IBM's xlc compiler.
7291 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
7292 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
7293
7294 2005-05-13 Jim Blandy <jimb@redhat.com>
7295
7296 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
7297 calling gdb_suppress_entire_file.
7298 * gdb.base/charset.exp: Same.
7299 * gdb.base/call-rt-st.exp: Same.
7300
7301 2005-05-05 Bob Rossi <bob_rossi@cox.net>
7302
7303 * lib/gdb.exp (fullname_syntax): Added global regex.
7304 (fullname_syntax_POSIX): Ditto.
7305 (fullname_syntax_UNC): Ditto.
7306 (fullname_syntax_DOS_CASE): Ditto.
7307 (fullname_syntax_DOS): Ditto.
7308 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
7309 fullname_syntax variable to scope and use it.
7310 (test_file_list_exec_source_files): Ditto.
7311 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
7312
7313 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
7314
7315 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
7316
7317 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
7318
7319 * lib/gdb.exp (skip_altivec_tests): New function, based on
7320 check_vmx_hw_available from the GCC testsuite.
7321 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
7322 * lib/gdb.arch/altivec-regs.exp: Likewise.
7323
7324 2005-05-02 Jim Blandy <jimb@redhat.com>
7325
7326 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
7327 calling gdb_suppress_entire_file.
7328
7329 2005-04-30 Randolph Chung <tausq@debian.org>
7330
7331 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
7332 Slightly relax "sem_post" name checking.
7333
7334 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
7335
7336 * gdb.base/unload.exp: Use new shared library infrastructure.
7337
7338 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
7339
7340 * gdb.base/so-impl-ld.exp: Use new shared library
7341 infrastructure.
7342
7343 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
7344
7345 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
7346 * gdb.asm/h8300.inc: New file.
7347
7348 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7349
7350 * gdb.base/shlib-call.exp: Change to use new shared library
7351 infrastructure.
7352
7353 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7354
7355 * gdb.base/pending.exp: Change to use new shared library
7356 infrastructure.
7357
7358 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7359
7360 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
7361 use test_compiler_info instead of gcc_compiled, and update copyright.
7362
7363 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
7364
7365 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
7366 shared objects being adjusted and update copyright years.
7367
7368 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
7369
7370 * ChangeLog: Correct some 2003-01-13 dates.
7371 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
7372 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
7373 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
7374 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
7375 gdb.trace/tfind.exp: Update copyright years.
7376
7377 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
7378 Daniel Jacobowitz <dan@codesourcery.com>
7379
7380 * lib/gdb.exp (gdb_compile): Handle shlib=.
7381 (gdb_compile_shlib): New function.
7382
7383 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
7384
7385 * lib/gdb.exp (test_compiler_info): Give argument a default value.
7386
7387 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
7388
7389 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
7390 gdb.server.
7391 * configure.ac: Likewise.
7392 * configure: Regenerated.
7393 * gdb.gdbserver/Makefile.in: Moved to...
7394 * gdb.server/Makefile.in: ... here.
7395 * gdb.gdbserver/server.c: Moved to...
7396 * gdb.server/server.c: ... here.
7397 * gdb.gdbserver/server-run.exp: Moved to...
7398 * gdb.server/server-run.exp: ... here.
7399
7400 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
7401
7402 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
7403 * configure.ac: Create gdb.gdbserver/Makefile.
7404 * configure: Regenerated.
7405 * lib/gdbserver-support.exp: New file, derived from
7406 config/gdbserver.exp.
7407 * config/gdbserver.exp: Use gdbserver-support.exp.
7408 * gdb.gdbserver/Makefile.in: New file.
7409 * gdb.gdbserver/server.c: New file.
7410 * gdb.gdbserver/server-run.exp: New file.
7411
7412 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
7413
7414 * lib/gdb.exp (test_compiler_info): Return compiler_info
7415 if no arguments are given.
7416
7417 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
7418
7419 * gdb.arch/altivec-abi.exp: Check for compiler and set
7420 use altivec' flag accordingly.
7421 * gdb.arch/altivec-regs.exp: Likewise.
7422
7423 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
7424
7425 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
7426
7427 2005-03-27 Andreas Schwab <schwab@suse.de>
7428
7429 * gdb.base/bigcore.c (main): Add missing mode argument in open
7430 call.
7431
7432 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
7433
7434 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
7435 downloads.
7436 * config/gdbserver.exp (gdb_load): Likewise.
7437
7438 2005-03-14 Paul Brook <paul@codesourcery.com>
7439
7440 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
7441 targets.
7442
7443 2005-03-09 Joel Brobecker <brobecker@adacore.com>
7444
7445 * gdb.dwarf2/dup-psym.S: New file.
7446 * gdb.dwarf2/dup-psym.exp: New testcase.
7447
7448 2005-03-09 Joel Brobecker <brobecker@adacore.com>
7449
7450 * gdb.ada/exec_changed/first.adb: New file.
7451 * gdb.ada/exec_changed/second.adb: New file.
7452 * gdb.ada/exec_changed.exp: New testcase.
7453
7454 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
7455
7456 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
7457 (A2): New class.
7458 (main): Test operator+.
7459 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
7460 breakpoint test.
7461
7462 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
7463 * gdb.base/signull.exp: Disable if gdb,nosignals.
7464 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
7465 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
7466 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
7467 * gdb.mi/mi2-console.exp: Likewise.
7468 * gdb.trace/collection.exp (run_trace_experiment): Consume the
7469 continue output at start.
7470 (gdb_collect_locals_test): Robustify regexp.
7471 * gdb.trace/passc-dyn.exp: Fix comment typo.
7472 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
7473
7474 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
7475
7476 * gdb.asm/asm-source.exp: Add iq2000 case.
7477 * gdb.asm/iq2000.inc: New file.
7478
7479 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
7480
7481 * gdb.base/command.exp: Change hardcoded value to regular expression.
7482 * gdb.base/float.exp: Add powerpc to the list of targets checked.
7483
7484 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
7485
7486 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
7487 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
7488 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
7489 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
7490 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
7491
7492 2005-03-05 Mark Kettenis <kettenis@gnu.org>
7493
7494 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
7495 changes.
7496
7497 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
7498
7499 * lib/compiler.c: Add test for IBM's xlc compiler.
7500 * lib/compiler.cc: Likewise.
7501
7502 2004-02-24 Joel Brobecker <brobecker@adacore.com>
7503
7504 * gdb.ada/fixed_points.exp: Create compilation object directory
7505 before running the test.
7506 * gdb.ada/null_record.exp: Likewise.
7507 * gdb.ada/packed_array.exp: Likewise.
7508 * gdb.ada/start.exp: Likewise.
7509
7510 2005-02-15 Joel Brobecker <brobecker@adacore.com>
7511
7512 * gdb.ada/packed_array/pa.adb: New file.
7513 * gdb.ada/packed_array.exp: New testcase.
7514
7515 2005-02-10 Mark Kettenis <kettenis@gnu.org>
7516
7517 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
7518 files.
7519
7520 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
7521 on *-*-openbsd*. Correctly match whitespace in regukar
7522 expressions.
7523
7524 2005-02-10 Daniel Jacobowitz <dan@debian.org>
7525
7526 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
7527 PR exp/1821
7528 * gdb.base/gdb1821.c: New test file.
7529 * gdb.base/gdb1821.exp: New test file.
7530
7531 2005-02-09 Joel Brobecker <brobecker@adacore.com>
7532
7533 * gdb.base/start.c: New file.
7534 * gdb.base/start.exp: New testcase.
7535
7536 2005-02-09 Joel Brobecker <brobecker@adacore.com>
7537
7538 * gdb.ada/start/dummy.adb: New file.
7539 * gdb.ada/start.exp: New testcase.
7540
7541 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
7542
7543 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
7544 for printing symbols and statistics.
7545 Add test for using relative pathnames in "maint print msymbols" test.
7546 Mark "maint info sections DATA" XFAIL on Cygwin.
7547 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
7548 tests.
7549
7550 2005-02-09 Andreas Schwab <schwab@suse.de>
7551
7552 Committed by Andrew Cagney <cagney@gnu.org>
7553 * gdb.base/remotetimeout.exp: New file.
7554
7555 2005-02-07 Mark Kettenis <kettenis@gnu.org>
7556
7557 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
7558
7559 2005-02-03 Joel Brobecker <brobecker@adacore.com>
7560
7561 * gdb.ada/gnat_ada.gpr: New file.
7562 * gdb.ada/gnat_ada.gin: Delete, no longer used.
7563 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
7564 * configure.ac: No longer generate gnat_ada.gpr.
7565 * configure: Regenerate.
7566 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
7567 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
7568 * gdb.ada/null_record/bar.ads: Likewise.
7569 * gdb.ada/null_record/bar.adb: Likewise.
7570 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
7571 * gdb.ada/null_record.exp (testdir): New variable.
7572 (testfile): executable is now in testdir subdirectory.
7573 (srcfile): Use full path to the main compilation unit.
7574 * gdb.ada/fixed_points.exp: Same changes as above.
7575
7576 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
7577
7578 * gdb.base/interp.exp: New test.
7579
7580 2005-01-24 Andrew Cagney <cagney@gnu.org>
7581
7582 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
7583
7584 2005-01-19 Andrew Cagney <cagney@gnu.org>
7585
7586 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
7587 configure.ac not configure.in.
7588
7589 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
7590 of powerpc*-*-*.
7591 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
7592 * gdb.base/list.exp (test_list_function)
7593 (test_list_filename_and_function): Ditto.
7594 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
7595
7596 2005-01-16 Andrew Cagney <cagney@gnu.org>
7597
7598 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
7599
7600 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
7601
7602 2005-01-14 Andrew Cagney <cagney@gnu.org>
7603
7604 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
7605 * gdb.mi/mi2-var-cmd.exp: Ditto.
7606
7607 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
7608
7609 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
7610
7611 2005-01-07 Andrew Cagney <cagney@gnu.org>
7612
7613 * configure.ac: Rename configure.in, require autoconf 2.59.
7614 * configure: Re-generate.
7615 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
7616 * gdb.stabs/configure: Re-generate.
7617 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
7618 * gdb.hp/configure: Re-generate.
7619 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
7620 autoconf 2.59.
7621 * gdb.hp/gdb.objdbg/configure: Re-generate.
7622 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
7623 autoconf 2.59.
7624 * gdb.hp/gdb.defects/configure: Re-generate.
7625 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
7626 autoconf 2.59.
7627 * gdb.hp/gdb.compat/configure: Re-generate.
7628 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
7629 autoconf 2.59.
7630 * gdb.hp/gdb.base-hp/configure: Re-generate.
7631 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
7632 autoconf 2.59.
7633 * gdb.hp/gdb.aCC/configure: Re-generate.
7634
7635 2004-12-15 Jim Blandy <jimb@redhat.com>
7636
7637 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
7638 under NPTL when there is debugging info available for libpthread.
7639
7640 2004-12-13 Jerome Guitton <guitton@gnat.com>
7641
7642 * gdb.ada/fixed_points.c: New file.
7643 * gdb.ada/fixed_points.exp: New file.
7644
7645 2004-12-03 Randolph Chung <tausq@debian.org>
7646
7647 * gdb.arch/pa-nullify.exp: New file.
7648 * gdb.arch/pa-nullify.s: New file.
7649
7650 2004-11-30 Randolph Chung <tausq@debian.org>
7651
7652 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
7653 instead of "tbug". Fix regexp to work properly with gdb_test.
7654
7655 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
7656
7657 * gdb.base/bitfields2.exp: New test.
7658 * gdb.base/bitfields2.c: New file.
7659
7660 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
7661
7662 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
7663
7664 2004-11-16 Randolph Chung <tausq@debian.org>
7665
7666 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
7667
7668 2004-11-14 Daniel Jacobowitz <dan@debian.org>
7669
7670 * gdb.threads/threadapply.exp: Correct "macro details" test.
7671
7672 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
7673
7674 * gdb.threads/threadapply.exp: New test.
7675 * gdb.threads/threadapply.c: New file.
7676
7677 2004-11-07 Mark Kettenis <kettenis@gnu.org>
7678
7679 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
7680 frames.
7681
7682 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
7683
7684 * gdb.base/cursal.exp: New file.
7685 * gdb.base/cursal.c: New file.
7686
7687 2004-11-03 Andrew Cagney <cagney@gnu.org>
7688
7689 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
7690
7691 2004-10-30 Mark Kettenis <kettenis@gnu.org>
7692
7693 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
7694 NetBSD/ELF targets.
7695
7696 2004-10-29 Joel Brobecker <brobecker@gnat.com>
7697
7698 * gdb.threads/bp_in_thread.c: New file, copied from
7699 pthread_cond_wait.c.
7700 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
7701 file, rather than reusing the .c file from another testcase.
7702
7703 2004-10-20 Joel Brobecker <brobecker@gnat.com>
7704
7705 * gdb.ada/null_record.exp: Check where we stopped after
7706 sending the start command, instead of where the associated
7707 temporary breakpoint was inserted.
7708
7709 2004-10-14 Andrew Cagney <cagney@gnu.org>
7710
7711 * gdb.mi/gdb701.c (main): Return 0.
7712
7713 2004-10-13 Daniel Jacobowitz <dan@debian.org>
7714
7715 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
7716
7717 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
7718
7719 * gdb.threads/schedlock.c: Add comment markers to use to find
7720 line numbers.
7721 * gdb.threads/schedlock.exp: Adjust regex to handle the new
7722 comments.
7723 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
7724 breakpoint lines.
7725
7726 2004-10-12 Daniel Jacobowitz <dan@debian.org>
7727
7728 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
7729
7730 2004-10-12 Daniel Jacobowitz <dan@debian.org>
7731
7732 * configure.in: Add gdb.dwarf2.
7733 * configure: Regenerated.
7734 * Makefile.in: Add gdb.dwarf2.
7735 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
7736 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
7737 gdb.dwarf2/file1.txt: New files.
7738
7739 2004-10-11 Orjan Friberg <orjanf@axis.com>
7740
7741 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
7742 of "run", since the latter doesn't work with remote targets. Adjust
7743 the breakpoint numbering accordingly.
7744 * gdb.threads/pthread_cond_wait.exp: Ditto.
7745
7746 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
7747
7748 * gdb.base/overlays.exp: Update copyright years.
7749
7750 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
7751
7752 * gdb.base/overlays.exp: Disable if target is Linux.
7753
7754 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
7755
7756 * config/gdbserver.exp (gdb_load): Use right filename on remote.
7757
7758 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
7759
7760 * gdb.asm/asm-source.exp: Add m32r-linux target.
7761 * gdb.asm/m32r-linux.inc: New file.
7762
7763 2004-09-24 Andrew Cagney <cagney@redhat.com>
7764 David Anderson <anderson@redhat.com>
7765
7766 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
7767 command fails, assume things will work.
7768 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
7769 (_GNU_SOURCE): Define.
7770 (print_unsigned, print_hex): Change parameter to "long long".
7771 (print_byte_count): New function, use to print byte counts.
7772 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
7773 O_LARGEFILE.
7774 (main): Compute an upper bound on a corefile in max_core_size.
7775 Limit memory chunk size to max_core_size. Limit total memory
7776 allocated to max_core_size.
7777
7778 2004-09-23 Andrew Cagney <cagney@gnu.org>
7779
7780 * gdb.base/bigcore.exp: Replace the code that creates a corefile
7781 from a separate process with code that creates a corefile by
7782 making the inferior dump core.
7783
7784 2004-09-23 Mark Kettenis <kettenis@gnu.org>
7785
7786 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
7787 block.
7788
7789 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
7790
7791 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
7792 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
7793 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
7794 Likewise.
7795
7796 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
7797
7798 * gdb.java/jprint.exp: New test case for java inferior call.
7799 * gdb.java/jprint.java: Ditto.
7800
7801 2004-09-15 Joel Brobecker <brobecker@gnat.com>
7802
7803 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
7804
7805 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
7806
7807 * gdb.threads/killed.c: Include <stdlib.h>.
7808 * gdb.threads/pthreads.c: Likewise.
7809
7810 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
7811
7812 * gdb.threads/killed.c: Add copyright notice.
7813
7814 2004-09-10 Jason Molenda (jmolenda@apple.com)
7815
7816 * gdb.base/define.exp: Two new tests to verify zero space chars
7817 after 'if' and 'while' commands in a user-defined command is correctly
7818 parsed.
7819
7820 2004-09-08 Andrew Cagney <cagney@gnu.org>
7821
7822 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
7823 delivery test with duplicate at end of file.
7824
7825 2004-09-06 Mark Kettenis <kettenis@jive.nl>
7826
7827 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
7828
7829 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7830
7831 * config/hppro.exp: Removed.
7832
7833 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7834
7835 * config/sparclet.exp: Removed.
7836
7837 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7838
7839 * config/udi.exp: Removed.
7840
7841 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
7842
7843 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
7844 of "exp_continue".
7845 (advancei): Likewise.
7846
7847 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
7848
7849 * gdb.base/unload.exp: Fix so messages aren't duplicated.
7850
7851 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
7852
7853 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
7854 to check for nodebug in executable.
7855 * gdb.gdb/observer.exp (setup_test): Likewise.
7856 * gdb.gdb/selftest.exp (test_with_self): Likewise.
7857 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
7858
7859 2004-09-01 Andrew Cagney <cagney@gnu.org>
7860
7861 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
7862 files.
7863
7864 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
7865
7866 * gdb.base/unload.exp: Fix expected warning message to match
7867 latest format.
7868
7869 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
7870
7871 * gdb.base/call-rt-st.exp: Fix typos.
7872
7873 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
7874
7875 * gdb.threads/thread_check.exp: New testcase.
7876 * gdb.threads/thread_check.c: New testcase.
7877
7878 2004-08-31 Andrew Cagney <cagney@gnu.org>
7879
7880 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
7881 (skip_to_handler_entry): New procedures. Test stepping into a
7882 handler when the breakpoint is at the handler's entry point.
7883
7884 2004-08-30 Andrew Cagney <cagney@gnu.org>
7885
7886 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
7887 gdb/1757.
7888
7889 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7890
7891 With code from Manoj Iyer <manjo@austin.ibm.com>:
7892 * lib/gdb.exp (gdb_file_cmd): Return more information in the
7893 return value. Add an arm for "no debugging symbols found".
7894 Change a stray "error" to "perror".
7895 (gdb_run_cmd): Adapt to new return value.
7896 * gdb.base/remote.exp: Adapt to new return value.
7897 * gdb.gdb/complaints.exp: Likewise.
7898 * gdb.gdb/observer.exp: Likewise.
7899 * gdb.gdb/selftest.exp: Likewise.
7900 * gdb.gdb/xfullpath.exp: Likewise.
7901
7902 2004-08-27 Joel Brobecker <brobecker@gnat.com>
7903
7904 * gdb.threads/bp_in_thread.exp: New testcase.
7905
7906 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7907
7908 Fix PR testsuite/1735.
7909 * gdb.threads/schedlock.c (thread_function): Add a cast
7910 to suppress a gcc warning.
7911 * gdb.threads/thread-specific.c (thread_function): Likewise.
7912
7913 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7914
7915 * gdb.base/unload.c: Include <stdlib.h>.
7916
7917 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7918
7919 From Paul Gilliam <pgilliam@us.ibm.com>:
7920 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
7921 synchronized after the "return".
7922
7923 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7924
7925 * gdb.mi/basics.c: Include <stdio.h>.
7926 * gdb.mi/pthreads.c: Include <stdlib.h>.
7927 * gdb.mi/var-cmd.c: Include <stdlib.h>.
7928
7929 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7930
7931 * gdb.threads/schedlock.c: Add copyright notice.
7932
7933 2004-08-25 Andrew Cagney <cagney@gnu.org>
7934
7935 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
7936 (skip_over_handler, breakpoint_over_hander): New test procedures.
7937 (advance, advancei): Add a proper prefix, do not use
7938 rerun_to_main.
7939 * gdb.base/sigstep.c (main): Change to use an infinite loop.
7940
7941 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
7942
7943 * gdb.mi/basics.c: Add copyright notice.
7944 * gdb.mi/var-cmd.c: Add copyright notice.
7945
7946 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7947
7948 * lib/gdb.exp: Remove signed_keyword_not_used.
7949 * lib/compiler.c: Likewise.
7950 * lib/compiler.cc: Likewise.
7951
7952 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7953
7954 * gdb.base/whatis.c: Remove conditional disabling of "signed".
7955 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
7956
7957 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7958
7959 * gdb.base/whatis.c: Add copyright notice.
7960
7961 2004-08-20 Mark Kettenis <kettenis@gnu.org>
7962
7963 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
7964 it to skip the breakpoints encoded in the inline assembly.
7965
7966 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7967
7968 * Makefile.in: Add gdb.fortran.
7969
7970 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7971
7972 * gdb.base/call-sc.exp (test_scalar_returns):
7973 Fix cut-and-paste glitch in "Make fun return now".
7974
7975 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7976
7977 * configure.in: Add gdb.fortran.
7978 * configure: Regenerate.
7979 * gdb.fortran/Makefile.in: New file.
7980 * lib/gdb.exp (skip_fortran_tests): New procedure.
7981
7982 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7983
7984 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
7985 reference to bug-gnu@prep.ai.mit.edu.
7986 * gdb.mi/mi-var-child.exp: Likewise.
7987 * gdb.mi/mi-var-cmd.exp: Likewise.
7988 * gdb.mi/mi-var-display.exp: Likewise.
7989 * gdb.mi/mi2-var-block.exp: Likewise.
7990 * gdb.mi/mi2-var-child.exp: Likewise.
7991 * gdb.mi/mi2-var-cmd.exp: Likewise.
7992 * gdb.mi/mi2-var-display.exp: Likewise.
7993
7994 2004-08-15 Mark Kettenis <kettenis@gnu.org>
7995
7996 * gdb.base/unload.c (main): Make local variable msg const.
7997
7998 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
7999
8000 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
8001 to bug-gnu@prep.ai.mit.edu.
8002 * gdb.mi/mi-disassemble.exp: Likewise.
8003 * gdb.mi/mi-eval.exp: Likewise.
8004 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
8005 default line number.
8006 * gdb.mi/mi-return.exp: Likewise.
8007 * gdb.mi/mi-simplerun.exp: Likewise.
8008 * gdb.mi/mi-stack.exp: Likewise.
8009 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
8010 number with explicit range test.
8011 * gdb.mi/mi-watch.exp: Likewise.
8012 * gdb.mi/mi2-break.exp: Likewise.
8013 * gdb.mi/mi2-cli.exp: Likewise.
8014 * gdb.mi/mi2-disassemble.exp: Likewise.
8015 * gdb.mi/mi2-eval.exp: Likewise.
8016 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
8017 default line number.
8018 * gdb.mi/mi2-return.exp: Likewise.
8019 * gdb.mi/mi2-simplerun.exp: Likewise.
8020 * gdb.mi/mi2-stack.exp: Likewise.
8021 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
8022 number with explicit range test.
8023 * gdb.mi/mi2-watch.exp: Likewise.
8024
8025 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
8026
8027 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
8028 * gdb.cp/m-static.exp: Likewise.
8029 * gdb.cp/rtti.exp: Likewise.
8030
8031 2004-08-14 Mark Kettenis <kettenis@gnu.org>
8032
8033 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
8034
8035 2004-08-14 Eli Zaretskii <eliz@gnu.org>
8036
8037 * ChangeLog: Prefix Local Variables with semi-colons and indent
8038 the reference to older ChangeLog files, to fix fontification in
8039 Emacs.
8040
8041 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
8042
8043 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
8044 * gdb.mi/mi2-break.exp: Likewise.
8045
8046 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
8047
8048 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
8049
8050 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
8051
8052 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
8053
8054 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
8055
8056 * gdb.cp/classes.exp: Remove unused declarations. Just let
8057 test names default instead of providing special names. Remove
8058 extraneous demangler test.
8059
8060 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
8061
8062 * gdb.base/unload.exp: New test for breakpoints in dynamically
8063 loaded libraries.
8064 * gdb.base/unload.c: Ditto.
8065 * gdb.base/unloadshr.c: Ditto.
8066
8067 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
8068
8069 * gdb.cp/classes.exp (test_ptype_class_objects): Call
8070 cp_test_ptype_class.
8071 (test_enums): Likewise.
8072
8073 2004-08-10 Andrew Cagney <cagney@gnu.org>
8074
8075 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
8076 files.
8077
8078 2004-08-10 Andrew Cagney <cagney@gnu.org>
8079
8080 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
8081 init_malloc call.
8082
8083 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
8084
8085 * ChangeLog: Add copyright notice. The notice is copied
8086 from emacs 21.3 top level ChangeLog.
8087
8088 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
8089
8090 * lib/cp-support.exp: New file.
8091 * lib/cp-support.exp (cp_test_type_class): New function.
8092 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
8093 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
8094 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
8095 cp_test_ptype_class.
8096
8097 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
8098
8099 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
8100 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8101 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
8102 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
8103 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8104 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
8105 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
8106 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
8107 gdb.mi/mi2-watch.exp: Update copyright years.
8108
8109 2004-08-09 Mark Kettenis <kettenis@gnu.org>
8110
8111 * gdb.base/sigaltstack.exp: Provide proper anchoring.
8112
8113 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
8114
8115 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
8116 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
8117 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
8118 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8119 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
8120 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
8121 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
8122 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8123 gdb.mi/mi-watch.exp: Update copyright years.
8124
8125 2004-08-08 Daniel Jacobowitz <dan@debian.org>
8126
8127 PR gdb/1738
8128 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
8129 from a breakpoint with a pending signal.
8130
8131 2004-08-08 Daniel Jacobowitz <dan@debian.org>
8132
8133 PR gdb/1736
8134 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
8135 * gdb.base/sigaltstack.exp (finish_test): Consume output until
8136 the prompt.
8137 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
8138
8139 2004-08-08 Daniel Jacobowitz <dan@debian.org>
8140
8141 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
8142
8143 2004-08-08 Daniel Jacobowitz <dan@debian.org>
8144
8145 PR gdb/1736
8146 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
8147 for i?86-*-linux*.
8148
8149 2004-08-08 Daniel Jacobowitz <dan@debian.org>
8150
8151 * gdb.arch/i386-prologue.exp: Compile without debug information.
8152
8153 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
8154
8155 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
8156 rather than asking gdb to search.
8157
8158 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
8159
8160 * gdb.base/gcore.c: Include <string.h>.
8161
8162 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
8163
8164 * gdb.base/gcore.c: Add copyright notice.
8165
8166 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
8167
8168 * gdb.base/freebpcmd.c: Include <stdio.h>.
8169 * gdb.base/long_long.c: Include <string.h>.
8170 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
8171 * gdb.base/siginfo.c: Include <string.h>.
8172 * gdb.base/sigstep.c: Include <string.h>.
8173
8174 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8175
8176 * gdb.base/complex.c: Include <stdlib.h>.
8177
8178 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8179
8180 * gdb.base/complex.c: Add copyright notice.
8181
8182 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8183
8184 * gdb.base/charset.c: Include <stdlib.h>.
8185
8186 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8187
8188 * gdb.base/auxv.c: Include <stdlib.h>.
8189
8190 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8191
8192 * gdb.base/auxv.c: Add copyright notice.
8193
8194 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
8195
8196 * gdb.base/coremaker.c: Add copyright notice.
8197 * gdb.base/coremaker2.c: Add copyright notice.
8198
8199 2004-08-04 Andrew Cagney <cagney@gnu.org>
8200
8201 * gdb.base/store.exp: Update copyright.
8202 (check_set, up_set, check_struct, up_struct): Add a prefix to test
8203 names, do not import gdb_prompt.
8204
8205 2004-08-01 Andrew Cagney <cagney@gnu.org>
8206
8207 Fix PR testsuite/1729.
8208 * gdb.base/dump.exp: Add test name to callers of capture_value, do
8209 not use capture_value with value 4.
8210 (capture_value): Add optional test name parameter.
8211 (test_reload_saved_value, test_restore_saved_value): Use $msg as
8212 the prefix, pass to capture_value.
8213
8214 2004-08-01 Mark Kettenis <kettenis@gnu.org>
8215
8216 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
8217 * gdb.arch/i386-prologue.c (standard): New prototype and function.
8218 (main): Call new function.
8219
8220 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8221
8222 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
8223
8224 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8225
8226 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
8227
8228 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8229
8230 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
8231 Accept more values of vtbl pointer. Remove some messages
8232 about "obsolete gcc or gdb".
8233
8234 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
8235
8236 * gdb.cp/classes.exp: Accept more varieties of ptype output.
8237
8238 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
8239
8240 * gdb.base/asm-source.exp: Properly convert target board
8241 debug flags from gcc format to binutils format.
8242
8243 2004-07-28 Mark Kettenis <kettenis@gnu.org>
8244
8245 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
8246 gdb1718". PR backtrace/1718 partially fixed.
8247
8248 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
8249
8250 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
8251
8252 2004-07-26 Nick Clifton <nickc@redhat.com>
8253
8254 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
8255 good default value for a specific architecture is available then
8256 set it to that value. Otherwise default to the -gstabs switch.
8257 Remove the -g... switches from the asm-flags variable. Allow the
8258 target board info to override the value if it wants to. Pass the
8259 switch on the assembler command line.
8260
8261 2004-07-23 Mark Kettenis <kettenis@gnu.org>
8262
8263 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
8264 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
8265 (main): Call new function.
8266
8267 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
8268
8269 Test for PR exp/1715.
8270 * gdb.base/radix.exp: Refactor common procedures. Make all
8271 test names unique. Change XFAIL to KFAIL.
8272
8273 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
8274
8275 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
8276 * gdb.ada/gnat_ada.gin: ... to here.
8277 * configure.in: Use gnat_ada.gin.
8278 * configure: Regenerate.
8279
8280 2004-07-20 Andrew Cagney <cagney@gnu.org>
8281
8282 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
8283 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
8284 XFAILs. Clean up test messages and comments. Check backtraces.
8285 Delete re-sync code.
8286
8287 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
8288
8289 Fix PR cli/740.
8290 * gdb.base/annota1.exp: Honor gdb,nosignals.
8291 * gdb.base/annota3.exp: Likewise.
8292
8293 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
8294
8295 * lib/java.exp: Update copyright notice.
8296
8297 2004-07-19 Andrew Cagney <cagney@gnu.org>
8298
8299 * gdb.base/selftest.exp: Copy file from here ...
8300 * gdb.gdb/selftest.exp: ... to here.
8301
8302 2004-07-16 Andrew Cagney <cagney@redhat.com>
8303
8304 * lib/insight-support.exp: Delete file.
8305 * lib/java.exp (java_init): Fix copyright.
8306
8307 2004-07-16 Andrew Cagney <cagney@gnu.org>
8308
8309 * gdb.base/restore.c: Append "prologue" to comments marking the a
8310 function's prologue.
8311 * gdb.base/restore.exp: Update copyright, re-indent.
8312 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
8313 callerN" prefix where needed. Update patterns that match a
8314 function's prologue.
8315
8316 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
8317
8318 * gdb.base/restore.c: Add copyright notice.
8319
8320 2004-07-16 Andrew Cagney <cagney@gnu.org>
8321
8322 * gdb.base/logical.exp: Update copyright.
8323 (evaluate): New procedure. Use to re-implement tests using
8324 several tables.
8325
8326 2004-07-14 Martin Hunt <hunt@redhat.com>
8327
8328 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
8329 which fixes some problems where init.tcl was not found.
8330
8331 2004-07-13 Andrew Cagney <cagney@gnu.org>
8332
8333 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
8334 (check_sizeof, check_valueof): Do not include the output in the
8335 test name. Use gdb_test.
8336 (get_valueof): Use gdb_test_multiple.
8337
8338 * gdb.base/step-test.exp: Update copyright. Use
8339 gdb_test_multiple. Ensure that test names do not include
8340 architecture dependent output.
8341
8342 * gdb.gdb/observer.exp: Update copyright.
8343 (setup_test): Use gdb_test_multiple.
8344 (attach_first_observer, attach_second_observer)
8345 (attach_third_observer, detach_first_observer)
8346 (detach_second_observer, detach_third_observer)
8347 (reset_counters, check_counters): Make $message a prefix.
8348 (test_normal_stop_notifications): Add "args" parameter - a list of
8349 init functions to be called. Make $message a prefix,
8350 (test_observer_normal_stop): Change the message prefixes so that
8351 they are unique, pass the attach / detach procedures to
8352 test_normal_stop_notifications.
8353
8354 * gdb.base/signull.exp (test_segv): Prefix all tests with
8355 "${name}". Clean up test messages.
8356
8357 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
8358
8359 * gdb.base/ena-dis-br.exp: Update copyright.
8360 (break_at): New function. Replace send_gdb with gdb_test,
8361 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
8362 ignore count, not stopped at bpt", with KFAIL.
8363
8364 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
8365
8366 * gdb.base/attach.exp: Remove cleanupfile handling.
8367
8368 2004-07-12 Andrew Cagney <cagney@gnu.org>
8369
8370 * gdb.base/annota1.exp: Cleanup corefile test name.
8371 * gdb.base/annota3.exp: Ditto.
8372
8373 2004-07-12 Andrew Cagney <cagney@gnu.org>
8374
8375 * gdb.base/signals.exp: Clean up copyright, re-indent.
8376
8377 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
8378 gdb_test and gdb_test_multiple.
8379
8380 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
8381
8382 * gdb.java/jmain.exp: Fix expected line number for main to
8383 break at. Set XFAIL for break at main test since gcj does not
8384 provide line number info for first statement in main.
8385
8386 2004-07-08 Andrew Cagney <cagney@gnu.org>
8387
8388 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
8389
8390 * gdb.base/sigbpt.exp: Make the common part of each test name a
8391 prefix instead of suffix.
8392
8393 2004-07-07 Bob Rossi <bob_rossi@cox.net>
8394
8395 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
8396 test from test_tbreak_creation_and_listing to
8397 test_file_list_exec_source_file
8398 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
8399 Changed name of test from test_tbreak_creation_and_listing to
8400 test_file_list_exec_source_file
8401
8402 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
8403
8404 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
8405 the jmisc() constructor instead of <init>.
8406 * gdb.java/jmisc1.exp: Ditto.
8407
8408 2004-07-07 Andrew Cagney <cagney@gnu.org>
8409
8410 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
8411 corrupting the PC.
8412
8413 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
8414
8415 * gdb.cp/templates.exp: Accept whitespace change in demangler
8416 output.
8417
8418 2004-07-06 Andrew Cagney <cagney@gnu.org>
8419
8420 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
8421
8422 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
8423
8424 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
8425 * lib/compiler.cc: Likewise.
8426
8427 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
8428
8429 * lib/compiler.cc: Work around string preprocessing problem
8430 with old hp c++ compiler.
8431 * lib/compiler.c: Likewise.
8432
8433 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
8434
8435 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
8436 directives to conditionalize symbol prefixing.
8437 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
8438 additional_flags handling. Add underscore prefix for Cygwin.
8439 * gdb.arch/i386-unwind.c: Use preprocessor directives to
8440 conditionalize symbol prefixing.
8441 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
8442 additional_flags handling. Add underscore prefix for Cygwin.
8443
8444 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
8445
8446 * gdb.base/bigcore.exp: Skip test on Cygwin.
8447
8448 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
8449
8450 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
8451 formats for "info register". Use gdb_test_multiple. Fix
8452 the "invalid register" test.
8453
8454 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
8455
8456 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
8457 PID for Cygwin. Add Cygwin specific strings to check for in some
8458 tests.
8459 (do_attach_tests): Add a test for user interaction when attaching
8460 to a process with no matching symbol table already loaded.
8461
8462 2004-06-26 Andrew Cagney <cagney@gnu.org>
8463
8464 Test PR java/1567 and PR java/1565.
8465 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
8466 * gdb.java/jmisc2.exp: Delete file.
8467
8468 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
8469
8470 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
8471
8472 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
8473
8474 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
8475 attach process.
8476
8477 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
8478
8479 * gdb.cp/pr-1553.exp: Remove.
8480
8481 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
8482
8483 * gdb.cp/pr-1553.cc: Remove.
8484 * gdb.cp/pr-1553.exp: Disable this test.
8485
8486 2004-06-20 Jim Blandy <jimb@redhat.com>
8487
8488 Fix PR testsuite/1680.
8489 * gdb.arch/i386-sse.exp: Properly quote curly braces in
8490 regular expressions.
8491
8492 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
8493
8494 Fix PR testsuite/1679.
8495 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
8496 Issue an UNSUPPORTED result instead.
8497
8498 2004-06-18 Jim Blandy <jimb@redhat.com>
8499
8500 * gdb.base/charset.exp: Only send a control-C if we see a new
8501 prompt and incomplete command.
8502
8503 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
8504
8505 * gdb.cp/pr-574.cc: Add copyright notice.
8506
8507 2004-06-17 Jim Blandy <jimb@redhat.com>
8508
8509 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
8510 cases where the regexp has no groups; this grabs random text from
8511 the previous test suite, whatever that was.
8512
8513 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
8514
8515 * gdb.cp/printmethod.cc: Add copyright notice.
8516
8517 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
8518
8519 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
8520
8521 2004-06-16 Andrew Cagney <cagney@gnu.org>
8522
8523 * gdb.base/signull.c: Update copyright. Include <string.h>.
8524 (bowler): Replace data_pointer with data_read
8525 and data_write cases. Add code_descriptor case.
8526 (zero, desc): New array and pointer.
8527 (data, code): Change to simple pointers.
8528 * gdb.base/signull.exp: Fix probe pattern matching a function
8529 descriptor SIGSEGV. Replace data_pointer with data_read and
8530 data_write tests.
8531
8532 2004-06-16 Andrew Cagney <cagney@gnu.org>
8533
8534 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
8535
8536 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
8537
8538 * gdb.base/long_long.c: Add copyright notice.
8539
8540 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
8541
8542 * gdb.base/long_long.exp: Remove reference to
8543 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
8544 to gdb_breakpoint and gdb_continue_to_breakpoint.
8545
8546 2004-06-14 Jim Blandy <jimb@redhat.com>
8547
8548 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
8549 endian case.
8550
8551 2004-06-14 Andrew Cagney <cagney@gnu.org>
8552
8553 * gdb.base/gcore.exp (capture_command_output): Delete the always
8554 passing tests containing inferior values.
8555 * gdb.base/ending-run.exp: Do not include the breakpoint address
8556 in the test message. Update copyright.
8557 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
8558 size in the test name, use gdb_test_multiple. Update copyright.
8559
8560 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
8561
8562 * gdb.cp/ref-types.cc: Add copyright notice.
8563
8564 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
8565
8566 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
8567 hp_aCC_compiler.
8568 * lib/compiler.cc: Likewise.
8569 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
8570 'set' commands. Log diagnostics for other lines. Set
8571 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
8572
8573 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
8574
8575 * gdb.cp/try_catch.cc: Add copyright notice.
8576
8577 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
8578
8579 * gdb.cp/userdef.cc: Add copyright notice.
8580
8581 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
8582
8583 * gdb.cp/virtfunc.cc: Add copyright notice.
8584
8585 2004-06-11 Randolph Chung <tausq@debian.org>
8586
8587 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
8588 problem.
8589
8590 2004-06-10 Andrew Cagney <cagney@gnu.org>
8591
8592 * lib/compiler.cc, lib/compiler.c: Append either
8593 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
8594 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
8595 instead of gcc-3-3.
8596
8597 2004-06-09 Andrew Cagney <cagney@gnu.org>
8598
8599 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
8600 gdb/1455, bug is specific to "long long" and "double".
8601
8602 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
8603 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
8604 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
8605 fixed.
8606
8607 2004-06-09 Andrew Cagney <cagney@gnu.org>
8608
8609 * gdb.base/structs.exp (test_struct_returns): Replace
8610 "return_value_unknown" and "finish_value_unknown" by
8611 "return_value_known" and "finish_value_known". Instead of
8612 "return_value_unknown" iff "finish_value_unknown", check
8613 "return_value_known" implies "finish_value_known".
8614
8615 2004-06-08 Martin Hunt <hunt@redhat.com>
8616
8617 * gdb.base/float.exp: Add pattern for mips targets.
8618
8619 2004-06-08 Randolph Chung <tausq@debian.org>
8620
8621 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
8622 message for unknown architectures more clear.
8623
8624 2004-06-08 Joel Brobecker <brobecker@gnat.com>
8625
8626 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
8627 start the execution of the program.
8628
8629 2004-06-07 Jim Blandy <jimb@redhat.com>
8630
8631 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
8632 * gdb.arch/i386-cpuid.h: New helper file.
8633
8634 2004-06-07 Randolph Chung <tausq@debian.org>
8635
8636 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
8637 has started.
8638
8639 2004-06-04 Roland McGrath <roland@redhat.com>
8640
8641 Fix PR gdb/1647.
8642 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
8643 differently to be robust to output buffering differences.
8644
8645 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
8646
8647 * gdb.threads/pthreads.exp: Update copyright years.
8648 (check_control_c): Change asynchronous 'after' to synchronous.
8649
8650 2004-06-04 Roland McGrath <roland@redhat.com>
8651
8652 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
8653 next gdb prompt.
8654
8655 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
8656
8657 Fix PR gdb/1636.
8658 * gdb.threads/manythreads.exp: Change asynchronous 'after'
8659 calls to synchronous.
8660
8661 2004-05-26 Jim Blandy <jimb@redhat.com>
8662
8663 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
8664
8665 2004-05-24 Randolph Chung <tausq@debian.org>
8666
8667 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
8668 * gdb.asm/pa.inc: New file.
8669
8670 2004-05-22 Mark Kettenis <kettenis@gnu.org>
8671
8672 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
8673
8674 2004-05-21 Joel Brobecker <brobecker@gnat.com>
8675 Daniel Jacobowitz <drow@mvista.com>
8676
8677 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
8678 GDB prompt.
8679
8680 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8681
8682 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
8683 setjmp/longjmp. Use sigaction instead of signal.
8684
8685 2004-05-19 J. Brobecker <brobecker@gnat.com>
8686 Michael Snyder <msnyder@redhat.com>
8687
8688 * gdb.threads/pthread_cond_wait.c: New file.
8689 * gdb.threads/pthread_cond_wait.exp: New testcase.
8690
8691 2004-05-13 Andrew Cagney <cagney@redhat.com>
8692
8693 * gdb.base/signull.exp, gdb.base/signull.c: New files.
8694 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
8695
8696 2004-05-11 Andrew Cagney <cagney@redhat.com>
8697
8698 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
8699 fixed but revealed gdb/1639.
8700
8701 2004-05-10 Andrew Cagney <cagney@redhat.com>
8702
8703 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
8704 func1" and "next to 2nd alarm", kernel bug avoided.
8705
8706 2004-05-10 Daniel Jacobowitz <dan@debian.org>
8707
8708 PR external/1568
8709 * gdb.base/bigcore.exp: Check the size of the dumped core file.
8710 XFAIL if it is smaller than bytes_allocated.
8711 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
8712 (main): Make chunks_allocated unsigned. Correct comment.
8713
8714 2004-05-07 Joel Brobecker <brobecker@gnat.com>
8715
8716 * gdb.arch/powerpc-aix-prologue.c: New file.
8717 * gdb.arch/powerpc-aix-prologue.exp: New file.
8718
8719 2004-05-07 Jim Blandy <jimb@redhat.com>
8720
8721 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
8722 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
8723
8724 2004-05-06 Joel Brobecker <brobecker@gnat.com>
8725
8726 * gdb.base/sep.exp: No longer setup_kfail when the program was
8727 built with dwarf2.
8728
8729 2004-05-05 Jim Ingham <jingham@apple.com>
8730
8731 * gdb.base/pending.exp: Make sure pending breakpoints
8732 preserve the ignore count.
8733
8734 2004-04-27 Jerome Guitton <guitton@gnat.com>
8735
8736 * i386-prologue.exp: Add testcase for jump instruction as first
8737 instruction of the real code.
8738 * i386-prologue.c (jump_at_beginning): New function.
8739
8740 2004-04-28 Mark Kettenis <kettenis@gnu.org>
8741
8742 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
8743 x86_64-*-*.
8744
8745 2004-04-28 Mark Kettenis <kettenis@gnu.org>
8746
8747 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
8748 i*86-*-*.
8749
8750 2004-04-25 Mark Kettenis <kettenis@gnu.org>
8751
8752 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
8753 expression that checks the return type.
8754
8755 2004-04-23 Andrew Cagney <cagney@redhat.com>
8756
8757 * gdb.base/call-sc.exp: New test of scalar call/return values.
8758 * gdb.base/call-sc.c: Ditto.
8759
8760 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8761
8762 * gdb.threads/manythreads.c: Reduce thread stack size.
8763
8764 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
8765
8766 * gdb.threads/manythreads.c: Add copyright notice.
8767
8768 2004-04-23 Andrew Cagney <cagney@redhat.com>
8769
8770 * gdb.base/siginfo.exp: Better handle step out of signal.
8771 * gdb.base/sigstep.exp: Ditto.
8772
8773 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
8774 Daniel Jacobowitz <drow@mvista.com>
8775
8776 * gdb.threads/manythreads.c: New testcase.
8777 * gdb.threads/manythreads.exp: Ditto.
8778
8779 2004-04-22 Jim Blandy <jimb@redhat.com>
8780
8781 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
8782 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
8783
8784 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
8785
8786 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
8787
8788 2004-04-21 Andrew Cagney <cagney@redhat.com>
8789
8790 * gdb.base/sigstep.c: New file.
8791 * gdb.base/sigstep.exp: New file.
8792
8793 2004-04-16 Joel Brobecker <brobecker@gnat.com>
8794
8795 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
8796 call to observer_notify_normal_stop.
8797
8798 2004-04-15 Andrew Cagney <cagney@redhat.com>
8799
8800 * gdb.base/siginfo.c: New file.
8801 * gdb.base/siginfo.exp: New file.
8802
8803 2004-04-12 J. Brobecker <brobecker@gnat.com>
8804
8805 * gdb.base/sep.exp: Fix typo in comment.
8806
8807 2004-04-12 J. Brobecker <brobecker@gnat.com>
8808
8809 * gdb.base/sep.c: New file.
8810 * gdb.base/sep-proc.c: New file.
8811 * gdb.base/sep.exp: New testcase.
8812
8813 2004-04-09 Mark Kettenis <kettenis@gnu.org>
8814
8815 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
8816 support.
8817
8818 2004-04-05 Andrew Cagney <cagney@redhat.com>
8819
8820 * gdb.base/sigaltstack.c: New file.
8821 * gdb.base/sigaltstack.exp: New file.
8822
8823 2004-04-04 Joel Brobecker <brobecker@gnat.com>
8824
8825 * gdb.base/foll-fork.exp: Update the expected output for
8826 "help set follow-fork-mode", to match a change that was made
8827 to the help of this variable on 2004-01-13.
8828
8829 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8830
8831 * lib/ada.exp: Add copyright notice.
8832 * bar.ads: Likewise.
8833 * bar.adb: Likewise.
8834 * null_record.adb: Likewise.
8835 * null_record.exp: Likewise.
8836 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
8837
8838 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8839
8840 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
8841 * configure: Regenerate.
8842
8843 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8844
8845 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
8846 to build the application. Remove the message printed when in
8847 verbose mode, redundant with the UNSUPPORTED message above.
8848
8849 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8850
8851 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
8852 * gdb.ada (null_record.exp): New testcase.
8853
8854 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8855
8856 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
8857
8858 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8859
8860 * gdb.ada: New subdirectory.
8861 * gdb.ada/Makefile.in: New file.
8862 * gdb.ada/gnat_ada.gpr.in: New file.
8863
8864 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8865
8866 * lib/ada.exp: New file.
8867
8868 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
8869
8870 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
8871 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
8872
8873 2004-03-22 Andrew Cagney <cagney@redhat.com>
8874
8875 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
8876 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
8877 Problem identified by Ulrich Weigand.
8878
8879 2004-03-17 David Carlton <carlton@kealia.com>
8880
8881 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
8882 PR c++/826.
8883
8884 2004-03-16 Roland McGrath <roland@redhat.com>
8885
8886 * gdb.base/auxv.exp: New file.
8887 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
8888
8889 2004-03-12 David Carlton <carlton@kealia.com>
8890
8891 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
8892 * gdb.cp/pr-1553.cc: Ditto.
8893 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
8894 pass branch.
8895
8896 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
8897
8898 * gdb.cp/templates.exp: Accept more template types.
8899
8900 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8901
8902 From Corinna Vinschen with modifications.
8903 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
8904 local variable obj_with_enum.
8905 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
8906 results with obj_with_enum.
8907
8908 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8909
8910 * gdb.cp/classes.cc: New file, copied from misc.cc.
8911 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
8912
8913 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8914
8915 * gdb.cp/misc.cc: Add copyright notice.
8916
8917 2004-03-05 David Carlton <carlton@kealia.com>
8918
8919 * gdb.cp/rtti.exp: Add 'print *obj3' test.
8920 * gdb.cp/rtti.h: Update copyright.
8921 (namespace n2::n3): New.
8922 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
8923 (n2::n3::func3): New.
8924 (main): Call n2::n3::func3.
8925 * gdb.cp/rtti2.cc: Update copyright.
8926 (n2::create3): New.
8927
8928 2004-03-04 Mark Kettenis <kettenis@gnu.org>
8929
8930 * gdb.asm/openbsd.inc: Fix typo.
8931
8932 2004-03-03 Fred Fish <fnf@redhat.com>
8933
8934 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
8935 "val" instead of unused "size". Update copyright year.
8936
8937 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
8938
8939 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
8940 to use unsigned char.
8941 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
8942 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
8943
8944 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
8945
8946 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
8947 line of output.
8948
8949 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
8950
8951 * gdb.base/relocate.c (dummy): Initialize.
8952
8953 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
8954
8955 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
8956 a breakpoint at exit.
8957
8958 2004-02-27 Fred Fish <fnf@redhat.com>
8959
8960 * gdb.base/chng-syms.exp: Add expect condition to match failing
8961 case that isn't a timeout.
8962
8963 2004-02-27 Andrew Cagney <cagney@redhat.com>
8964
8965 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
8966 support.
8967
8968 2004-02-26 Fred Fish <fnf@redhat.com>
8969
8970 * gdb.arch/gdb1431.c: Remove.
8971 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
8972 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
8973 of "until" incorrectly.
8974
8975 2004-02-26 J. Brobecker <brobecker@gnat.com>
8976
8977 * gdb.cp/class2.cc (empty): New class.
8978 (refer): New function.
8979 (main): Declare an object of type empty and use it.
8980 * gdb.cp/class2.exp: Print the value of an object of type empty.
8981
8982 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
8983
8984 * gdb.base/langs.exp: Update query string to match the
8985 new nquery format used for pending breakpoints.
8986
8987 2004-02-26 Andrew Cagney <cagney@redhat.com>
8988
8989 Fix PR i18n/1570.
8990 * gdb.base/charset.c: Update copyright notice.
8991 (main, init_string): Remove the escape character '\e' tests.
8992 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
8993 * gdb.base/charset.exp (valid_host_charset): Ditto.
8994 * gdb.base/setvar.exp: Ditto.
8995
8996 2004-02-24 Andrew Cagney <cagney@redhat.com>
8997
8998 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
8999 mmapped data in core file" PASS and FAIL messages consistent.
9000
9001 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
9002 setting a breakpoint. Work around PR java/1565.
9003
9004 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
9005
9006 * lib/gdb.exp (gdb_breakpoint): Update query string to match
9007 new nquery format.
9008 * gdb.base/pending.exp: Ditto.
9009
9010 2004-02-22 Mark Kettenis <kettenis@gnu.org>
9011
9012 * configure.in: Run stabs tests on *BSD.
9013 * configure: Regenerated.
9014
9015 2004-02-21 Mark Kettenis <kettenis@gnu.org>
9016
9017 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
9018
9019 2004-02-20 Fred Fish <fnf@redhat.com>
9020
9021 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
9022 blank in test for "returns short", for consistency with other
9023 "returns xxx" tests. Update copyright year.
9024
9025 2004-02-19 Fred Fish <fnf@redhat.com>
9026
9027 New testcase for PR breakpoint/1558.
9028 * gdb.arch/gdb1558.exp: New file.
9029 * gdb.arch/gdb1558.c: New file.
9030
9031 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
9032
9033 * gdb.base/nodebug.exp: Fix typo.
9034
9035 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9036
9037 Committed by Jim Blandy <jimb@redhat.com>.
9038
9039 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
9040
9041 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
9042
9043 * gdb.base/float.exp: Support s390*-*-* targets.
9044
9045 2004-02-17 Adam Fedor <fedor@gnu.org>
9046
9047 * gdb.base/gdb1555.exp: New file.
9048 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
9049
9050 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
9051
9052 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
9053
9054 2004-02-16 Fred Fish <fnf@redhat.com>
9055
9056 * gdb.arch/gdb1291.c: Remove
9057 * gdb.arch/gdb1291.s: New test input file.
9058 * gdb.arch/gdb1291.exp: Expand test to check case that should not
9059 fail. Test for correct result, known incorrect result, other
9060 failures and timeouts.
9061
9062 2004-02-16 Andrew Cagney <cagney@redhat.com>
9063
9064 * gdb.base/bigcore.exp: New file.
9065 * gdb.base/bigcore.c: New file.
9066
9067 2004-02-13 Andrew Cagney <cagney@redhat.com>
9068
9069 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
9070 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
9071 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
9072 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
9073 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
9074 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
9075 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
9076 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
9077 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
9078 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
9079
9080 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
9081
9082 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
9083 executed is an alloc instruction.
9084
9085 2004-02-11 David Carlton <carlton@kealia.com>
9086
9087 * gdb.cp/breakpoint.exp: New.
9088 * gdb.cp/breakpoint.cc: New.
9089
9090 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
9091
9092 Partial fix for PR gdb/1543.
9093 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
9094 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
9095 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
9096 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
9097 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
9098 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
9099 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
9100 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
9101 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
9102 to bug-gdb@prep.ai.mit.edu .
9103 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
9104 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
9105 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
9106 Likewise.
9107
9108 2004-02-10 Andrew Cagney <cagney@redhat.com>
9109
9110 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
9111 using gdb_internal_error_resync.
9112
9113 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
9114
9115 * gdb.threads/thread-specific.exp: Stop early if no threads are
9116 found.
9117
9118 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
9119
9120 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
9121
9122 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
9123
9124 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
9125 breakpoints.
9126
9127 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
9128
9129 * config/sim.exp (gdb_load): Handle $arg == "".
9130 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
9131 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
9132
9133 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
9134
9135 * gdb.base/maint.exp: Update test to reflect
9136 obstack changes.
9137
9138 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
9139
9140 * gdb.base/pendshr.c (pendfunc): New function that calls
9141 pendfunc1.
9142 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
9143
9144 2004-02-04 Fred Fish <fnf@redhat.com>
9145
9146 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
9147 function symbols and update copyright years.
9148 * gdb.arch/gdb1291.c: Ditto.
9149
9150 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
9151
9152 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
9153
9154 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
9155
9156 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
9157
9158 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
9159
9160 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
9161
9162 2004-02-02 Fred Fish <fnf@redhat.com>
9163
9164 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
9165 remote targets. Update copyright years.
9166
9167 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
9168
9169 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
9170 support.
9171 * gdb.base/langs.exp: Fix test which attempts to create
9172 breakpoint on non-existent function to handle new pending
9173 support.
9174 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
9175 a breakpoint.
9176 * gdb.base/pending.exp: New test.
9177 * gdb.base/pending.c: New file.
9178 * gdb.base/pendshr.c: Ditto.
9179
9180 2004-02-02 David Carlton <carlton@kealia.com>
9181
9182 * gdb.cp/overload.exp: Add overloadNamespace tests.
9183 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
9184 (overloadNamespace, XXX): New.
9185 (main): Call XXX::marker2.
9186
9187 2004-02-01 Fred Fish <fnf@redhat.com>
9188
9189 * gdb.base/dump.exp: Use runto_main instead of "runto main".
9190 * gdb.base/finish.exp: Ditto.
9191 * gdb.base/gcore.exp: Ditto.
9192 * gdb.base/huge.exp: Ditto.
9193 * gdb.base/info-proc.exp: Ditto.
9194 * gdb.base/return2.exp: Ditto.
9195 * gdb.threads/gcore-thread.exp: Ditto.
9196
9197 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
9198
9199 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
9200
9201 2004-02-01 Mark Kettenis <kettenis@gnu.org>
9202
9203 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
9204 that opening the file succeeds on OpenBSD.
9205
9206 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
9207
9208 * gdb.threads/thread-specific.c: New file.
9209 * gdb.threads/threads-specific.exp: New test script.
9210 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
9211 to expect_out.
9212
9213 2004-02-01 Mark Kettenis <kettenis@gnu.org>
9214
9215 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
9216 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
9217 only on the "print_small_structs from print_long_arg_list" test.
9218
9219 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
9220
9221 * gdb.base/completion.exp: Kill a stray backslash.
9222
9223 From Jim Ingham <jingham@apple.com>:
9224 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
9225 agrees with the result from sending a tab.
9226
9227 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
9228
9229 * gdb.base/chng-syms.exp: Remove stray newline.
9230
9231 2004-01-31 Mark Kettenis <kettenis@gnu.org>
9232
9233 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
9234 *-*-openbsd*.
9235 * gdb.asm/openbsd.inc: New file.
9236
9237 2004-01-30 Mark Kettenis <kettenis@gnu.org>
9238
9239 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
9240 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
9241 *-*solaris2*. Remove commented out default settings for
9242 asm-flags. Replace gdb_compile with target_link.
9243
9244 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
9245
9246 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
9247 for all tests. Remove old hp-ux and cygnus xfail cases.
9248
9249 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
9250
9251 * gdb.base/chng-syms.exp: New file.
9252 * gdb.base/chng-syms.c: New file.
9253
9254 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
9255
9256 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
9257 Provide arms for current output in all my configurations.
9258
9259 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
9260
9261 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
9262 * lib/compiler.cc: Likewise.
9263 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
9264 get the right preprocessor. Eval the output directly. Remove
9265 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
9266 hp_f77_compiler and hp_f90_compiler completely.
9267 (gdb_preprocess): Delete.
9268 (get_compiler): Delete.
9269
9270 2004-01-24 Mark Kettenis <kettenis@gnu.org>
9271
9272 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
9273 <string.h>.
9274
9275 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
9276
9277 * gdb.mi/mi-stack.exp: Update copyright.
9278
9279 2004-01-23 David Carlton <carlton@kealia.com>
9280
9281 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
9282 test for cp_lookup_transparent_type.
9283 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
9284 call them.
9285
9286 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
9287
9288 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
9289 after -var-update.
9290
9291 2004-01-23 David Carlton <carlton@kealia.com>
9292
9293 * gdb.cp/namespace.cc (C::ensureRefs): New.
9294 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
9295
9296 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
9297
9298 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
9299 case "-stack-list-locals 2".
9300 * gdb.mi/mi-var-child.exp: Test for case
9301 "-var-list-children --all-values NAME".
9302
9303 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
9304
9305 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
9306
9307 2004-01-18 Mark Kettenis <kettenis@gnu.org>
9308
9309 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
9310 used with gdb_test_multiple.
9311
9312 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
9313 read at address 0. This fixes PR testsuite/1504.
9314
9315 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
9316
9317 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
9318 Remove downloading, guessing the host executable, the calls to
9319 gdb_file_cmd and gdb_target_cmd, and "load" support.
9320 (infer_host_exec): New function broken out from gdb_load.
9321 (gdb_load): New wrapper for gdbserver_gdb_load.
9322 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
9323 gdb_target_cmd. Use -target-select.
9324 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
9325 Download binaries to the host. Clear last_mi_remote_file when
9326 we load a new binary.
9327 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
9328 call gdbserver_gdb_load and mi_gdb_target_cmd.
9329
9330 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
9331
9332 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
9333 type patterns.
9334
9335 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
9336
9337 * gdb.cp/templates.exp: Fix typo in test name of
9338 "print Foo<volatile char*>::foo".
9339
9340 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
9341
9342 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
9343
9344 2004-01-16 Ben Elliston <bje@wasabisystems.com>
9345
9346 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
9347 (clean mostlyclean): Remove empty rm.
9348
9349 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
9350
9351 * gdb.base/setvar.exp: Add copyright years.
9352
9353 2004-01-14 David Carlton <carlton@bactrian.org>
9354
9355 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
9356 PR c++/1511 and update coment.
9357 * gdb.cp/templates.exp: Update patterns to match current output.
9358 If changes involve something other than whitespace, KFAIL
9359 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
9360
9361 2004-01-14 David Carlton <carlton@kealia.com>
9362
9363 * gdb.cp/namespace.exp: Add tests involving classes defined within
9364 namespaces.
9365 * gdb.cp/namespace.cc (C::CClass): New.
9366 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
9367
9368 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
9369
9370 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
9371 what debug info we have. Print a better message if something goes
9372 wrong while producing the separate debug info file.
9373
9374 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
9375
9376 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
9377
9378 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
9379
9380 * gdb.base/callfuncs.c: Add copyright notice.
9381
9382 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
9383
9384 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
9385 inheritance. PR gdb/1498, PR gcc/13539.
9386
9387 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
9388
9389 * gdb.threads/gcore-thread.exp: Prefix name of binary with
9390 test specific name.
9391 * gdb.mi/gdb669.exp: Ditto.
9392 * gdb.mi/mi-pthreads.exp: Ditto.
9393 * gdb.mi/mi1-pthreads.exp: Ditto.
9394 * gdb.mi/mi2-pthreads.exp: Ditto.
9395
9396 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
9397
9398 * gdb.cp/member-ptr.cc: Add copyright notice.
9399
9400 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
9401
9402 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
9403 some patterns for recent versions of gcc and hpacc. Delete
9404 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
9405 Delete tests that access a NULL pointer-to-member-data. This
9406 script is still disabled for gcc.
9407
9408 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
9409
9410 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
9411 escaped correctly.
9412
9413 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
9414
9415 * gdb.base/sepdebug.exp: New file.
9416 * gdb.base/sepdebug.c: New file.
9417 * lib/gdb.exp (separate_debug_filename): New procedure.
9418 (gdb_gnu_strip_debug): New procedure.
9419
9420 2004-01-12 Andrew Cagney <cagney@redhat.com>
9421
9422 * gdb.mi/ChangeLog: Delete file. Renamed to ...
9423 * gdb.mi/ChangeLog-1999-2003: New file.
9424
9425 2004-01-12 Andrew Cagney <cagney@redhat.com>
9426
9427 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
9428 "Renaming a directory to a non-empty directory returns ENOTEMPTY
9429 or EEXIST", treat EBUSY as an XFAIL.
9430
9431 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
9432
9433 * gdb.base/scope.exp: Remove obsolete setup_xfail for
9434 hp_cc_compiler.
9435
9436 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
9437
9438 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
9439 decorations.
9440
9441 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
9442
9443 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
9444 and "(aCC)" decorations. Remove obsolete doco about old
9445 test results.
9446
9447 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9448
9449 * gdb.cp/exception.exp: Fix typo in doco.
9450
9451 2004-01-09 Mark Kettenis <kettenis@gnu.org>
9452
9453 * gdb.base/gdb1476.exp: Fix typo.
9454
9455 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9456
9457 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
9458 file.
9459
9460 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9461
9462 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
9463 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
9464 Use gdb_compile. Remove restriction on gcc. Add some patterns
9465 for recent version of gdb. Delete second half, which was a copy
9466 of the first half with different build flags. This test is
9467 still disabled because it is still not ready for production.
9468
9469 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9470
9471 * gdb.cp/exception.cc: Add copyright notice.
9472 * gdb.cp/exception.exp: Add a notice that this file is broken
9473 because of line number changes caused by addition of copyright
9474 notice.
9475
9476 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9477
9478 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
9479 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
9480
9481 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9482
9483 * gdb.cp/classes.exp: Accept gnu abi 2.
9484 * gdb.cp/derivation.exp: Likewise.
9485 * gdb.cp/overload.exp: Likewise.
9486 * gdb.cp/virtfunc.exp: Likewise.
9487
9488 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9489
9490 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
9491 semicolon after end of function.
9492
9493 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9494
9495 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
9496 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
9497 boilerplate code for compiling and running the program under
9498 test. Add some string method tests.
9499
9500 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9501
9502 * gdb.cp/bs15503.cc: Add copyright notice.
9503 * gdb.cp/bs15503.exp: Adjust line number.
9504
9505 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9506
9507 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
9508 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
9509
9510 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9511
9512 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
9513 hp_cc_compiler.
9514
9515 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9516
9517 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
9518 * gdb.cp/ctti.exp: Use the marker instead of "next".
9519 With gcc, run further before bailing.
9520
9521 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9522
9523 * gdb.cp/cttiadd.cc: Add copyright notice.
9524 * gdb.cp/cttiadd1.cc: Likewise.
9525 * gdb.cp/cttiadd2.cc: Likewise.
9526 * gdb.cp/cttiadd3.cc: Likewise.
9527
9528 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9529
9530 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
9531 Use gdb_test, gdb_test_multiple. Use floating-point values that
9532 have exact representations in IEEE-ish formats.
9533
9534 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9535
9536 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
9537 compilers. Delete duplicate call to get_compiler_info.
9538 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
9539 * gdb.base/volatile.exp: Likewise.
9540
9541 2004-01-07 Mark Kettenis <kettenis@gnu.org>
9542
9543 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
9544 memory at address 0.
9545
9546 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9547
9548 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
9549 to test for hp-ux assembler. Fix copyright years.
9550
9551 2004-01-07 Andrew Cagney <cagney@redhat.com>
9552
9553 * gdb.base/fileio.c (strerrno): Add "EBUSY".
9554
9555 2004-01-07 Andrew Cagney <cagney@redhat.com>
9556
9557 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
9558 when creating the read-only file. From analysis by Roland McGrath
9559 and Elena Zannoni.
9560
9561 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9562
9563 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
9564
9565 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9566
9567 * gdb.base/cvexpr.c: Be type-safe with function pointers and
9568 data pointers.
9569
9570 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9571
9572 * gdb.cp/m-static.exp: Compile one source file at a time.
9573 Delete unused call to get_compiler_info.
9574
9575 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9576
9577 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
9578 * gdb.base/call-rt-st.exp: Likewise.
9579 * gdb.base/nodebug.exp: Likewise.
9580 * gdb.base/volatile.exp: Likewise.
9581 * gdb.cp/ref-types.exp: Likewise.
9582 * gdb.cp/templates.exp: Likewise.
9583
9584 2004-01-05 Mark Kettenis <kettenis@gnu.org>
9585
9586 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
9587
9588 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
9589
9590 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
9591 hppa*-hp-hpux*.
9592
9593 2004-01-04 Mark Kettenis <kettenis@gnu.org>
9594
9595 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
9596 x86_64-*-*.
9597
9598 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
9599 sparc64-*-* and sparc*-solaris2*.
9600
9601 2004-01-04 Mark Kettenis <kettenis@gnu.org>
9602
9603 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
9604 return ${tests}" test. The ${tests} already mentions the
9605 filename.
9606
9607 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9608
9609 * gdb.cp/local.exp: Accept gcc abi 2.
9610
9611 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9612
9613 * gdb.cp/templates.exp: Accept gcc abi 2.
9614
9615 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9616
9617 * lib/compiler.cc: Remove supports_template_debugging.
9618 * gdb.cp/templates.exp: Do not test supports_template_debugging.
9619
9620 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9621
9622 * gdb.cp/namespace.exp: Accept gcc abi 2.
9623
9624 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9625
9626 * gdb.cp/method.exp: Accept gcc abi 2.
9627
9628 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9629
9630 * gdb.cp/classes.exp: Generate identical results as old version.
9631 * gdb.cp/derivation.exp: Likewise.
9632 * gdb.cp/overload.exp: Likewise.
9633 * gdb.cp/virtfunc.exp: Likewise.
9634
9635 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9636
9637 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
9638 mysterious bug with sourceware version of expect.
9639
9640 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9641
9642 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
9643 current versions of gcc, including gcc abi 2. Remove gratuitous
9644 restart of test program. Use gdb_test_multiple and gdb_test for
9645 all tests. Add patterns to xfail missing "const" in "const char *"
9646 and kfail PR gdb/1155.
9647
9648 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9649
9650 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
9651 current versions of gcc, including gcc abi 2. Remove gratuitous
9652 restart of test program. Use gdb_test_multiple and gdb_test for
9653 all tests. Add patterns to kfail PR gdb/1498.
9654
9655 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
9656
9657 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
9658 current versions of gcc, including gcc abi 2. Use "breakpoint"
9659 and "continue" instead of restarting the target program. Use
9660 gdb_test_multiple and gdb_test for all tests.
9661
9662 2004-01-01 Mark Kettenis <kettenis@gnu.org>
9663
9664 * gdb.asm/asm-source.exp: Update copyright year. Link statically
9665 for *-*-solaris2*.
9666
9667 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
9668
9669 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
9670 current versions of gcc, including gcc abi 2. Use "breakpoint"
9671 and "continue" instead of restarting the target program several
9672 times. Use gdb_test_multiple and gdb_test for all tests.
9673
9674 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
9675
9676 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
9677 source files.
9678
9679 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9680
9681 * gdb.base/environ.exp: Handle compiling test case from multiple
9682 source files.
9683
9684 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9685
9686 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
9687
9688 2003-12-17 Jim Blandy <jimb@redhat.com>
9689
9690 * gdb.base/freebpcmd.c: Add copyright notice.
9691
9692 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
9693
9694 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9695
9696 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
9697
9698 2003-12-13 Jim Blandy <jimb@redhat.com>
9699
9700 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
9701
9702 2003-12-12 Kevin Buettner <kevinb@redhat.com>
9703
9704 * gdb.asm/frv.inc: New file.
9705 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
9706
9707 2003-12-09 Fred Fish <fnf@redhat.com>
9708
9709 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
9710 functions to break1.c and leave prototypes behind. Add more
9711 "set breakpoint NN here" comments.
9712 * gdb.base/break1.c: New file.
9713
9714 * gdb.base/break.exp: Handle compiling test case from multiple
9715 source files and change source file references as needed.
9716 * gdb.base/completion.exp: Ditto.
9717 * gdb.base/condbreak.exp: Ditto.
9718 * gdb.base/define.exp: Ditto.
9719 * gdb.base/ena-dis-br.exp: Ditto.
9720 * gdb.base/info-proc.exp: Ditto.
9721 * gdb.base/maint.exp: Ditto.
9722 * gdb.base/until.exp: Ditto.
9723
9724 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
9725 hardcoded line numbers.
9726 * gdb.base/define.exp: Ditto.
9727 * gdb.base/ena-dis-br.exp: Ditto.
9728 * gdb.base/maint.exp: Ditto.
9729 * gdb.base/until.exp: Ditto.
9730
9731 * gdb.base/completion.exp: Use "break1" for completion tests since
9732 "break" is no longer a unique prefix.
9733
9734 2003-12-06 Andrew Cagney <cagney@redhat.com>
9735
9736 * gdb.base/structs.exp (test_struct_returns): When applicable, set
9737 "return_value_unimplemented". When an unimplemented struct return
9738 architecture, report incorrect values as a KFAIL
9739
9740 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
9741
9742 * gdb.cp/rtti.exp: Accept new wording of warning from
9743 cp_lookup_rtti_type.
9744
9745 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
9746
9747 Partial fix for PR testsuite/1456.
9748 * gdb.base/scope.exp (test_at_main): Replace references to
9749 gcc_compiled with calls to test_compiler_info.
9750 (test_at_foo): Likewise.
9751 (test_at_bar): Likewise.
9752
9753 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
9754
9755 Partial fix for PR testsuite/1456.
9756 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
9757 to test_compiler_info.
9758
9759 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
9760
9761 * gdb.base/so-impl-ld.exp: Update copyright notice.
9762
9763 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
9764
9765 Partial fix for PR testsuite/1456.
9766 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
9767 to test_compiler_info.
9768
9769 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9770
9771 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
9772 from current versions of gdb. Clean up regular expressions.
9773 Delete redundant timeout case.
9774
9775 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9776
9777 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
9778 from current versions of gdb. Clean up regular expressions.
9779 Delete redundant timeout case.
9780
9781 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
9782
9783 Partial fix for PR testsuite/1456.
9784 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
9785 gcc_compiled with call to test_compiler_info.
9786
9787 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
9788
9789 Partial fix for PR testsuite/1456.
9790 * gdb.base/list.exp (test_list_function): Delete unused declaration
9791 of gcc_compiled.
9792
9793 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
9794
9795 Partial fix for PR testsuite/1456.
9796 * gdb.base/complex.exp: Replace reference to gcc_compiled with
9797 call to test_compiler_info.
9798
9799 2003-11-29 Mark Kettenis <kettenis@gnu.org>
9800
9801 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
9802 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
9803 it to create the appropriate note.inc.
9804 * gdb.asm/asmsrc1.s: Include "note.inc".
9805 * gdb.asm/netbsd.inc: New file.
9806 * gdb.asm/empty.inc: New file.
9807
9808 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9809
9810 Partial fix for PR testsuite/1456.
9811 * gdb.base/constvars.exp: Replace references to gcc_compiled with
9812 calls to test_compiler_info.
9813
9814 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
9815
9816 Partial fix for PR testsuite/1456.
9817 * gdb.base/volatile.exp: Replace references to gcc_compiled with
9818 calls to test_compiler_info.
9819
9820 2003-11-27 Mark Kettenis <kettenis@gnu.org>
9821
9822 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
9823 pattern for the KFAILs.
9824
9825 2003-11-25 Adam Fedor <fedor@gnu.org>
9826
9827 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
9828 * gdb.objc/objcdecode.m: New file.
9829
9830 2003-11-25 Adam Fedor <fedor@gnu.org>
9831
9832 * gdb.objc/nondebug.exp: Test for PR objc/1236.
9833 * gdb.objc/nondebug.m: New file.
9834
9835 2003-11-26 Ben Elliston <bje@wasabisystems.com>
9836
9837 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
9838 NetBSD as it does on FreeBSD. Modelled on a similar change by
9839 Mark Kettenis on 2003-05-30.
9840 (link-flags): Set to "--entry _start" regardless of target.
9841 Special linker flags are to be appended to $link-flags.
9842 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
9843
9844 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9845
9846 * gdb.cp/method.exp: Accept output of new demangler.
9847
9848 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9849
9850 * gdb/class2.exp: New file.
9851 * gdb/class2.cc: New file.
9852
9853 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9854
9855 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
9856 of new demangler.
9857
9858 2003-11-23 Mark Kettenis <kettenis@gnu.org>
9859
9860 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
9861 of gdb_test "run".
9862
9863 2003-11-23 Mark Kettenis <kettenis@gnu.org>
9864
9865 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
9866 "continue" into "run".
9867
9868 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
9869
9870 Partial fix for PR testsuite/1456.
9871 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
9872 call to test_compiler_info.
9873 * gdb.cp/ctti.exp: Likewise.
9874 * gdb.cp/derivation.exp: Likewise.
9875 * gdb.cp/member-ptr.exp: Likewise.
9876 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
9877 reference to gcc_compiled.
9878
9879 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
9880
9881 Fix PR testsuite/1463.
9882 * gdb.base/structs.exp (start_structs_test): Call
9883 get_debug_format before using the debug format.
9884
9885 2003-11-22 Andrew Cagney <cagney@redhat.com>
9886
9887 * lib/gdb.exp (gdb_test_multiple): Add simple example.
9888 * gdb.base/structs.exp: Use gdb_test_multiple.
9889
9890 2003-11-20 Andrew Cagney <cagney@redhat.com>
9891
9892 * gdb.base/structs.exp: Handle and recover from internal errors.
9893 Replace "foo${n}" with "foo<n>" in test messages.
9894
9895 * gdb.base/structs.exp: Update copyright. Rewrite.
9896 * gdb.base/structs.c: Update copyright. Rewrite.
9897
9898 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
9899 resync count exceeded.
9900
9901 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
9902 from the internal error.
9903 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
9904 Original from Jim Blandy.
9905 (gdb_test_multiple): Use gdb_internal_error_resync.
9906
9907 2003-11-19 Andrew Cagney <cagney@redhat.com>
9908
9909 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
9910 KFAIL.
9911
9912 2003-11-17 Mark Kettenis <kettenis@gnu.org>
9913
9914 New testcase for PR backtrace/1435.
9915 * gdb.arch/i386-unwind.exp: New file.
9916 * gdb.arch/i386-unwind.c: New file.
9917
9918 2003-11-17 Andrew Cagney <cagney@redhat.com>
9919
9920 * lib/gdb.exp (compiler_info): New global.
9921 (test_compiler_info): New function.
9922 (get_compiler_info): Set compiler_info.
9923 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
9924 "compiler_info" to gcc-<major>-<minor>.
9925
9926 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
9927
9928 * gdb.trace/configure: Remove.
9929
9930 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
9931
9932 * gdb.base/break.c: Add comments to aid finding line numbers for
9933 breakpoints.
9934 * gdb.base/break.exp: Remove all references to explicit line
9935 numbers.
9936
9937 2003-11-11 Nick Clifton <nickc@redhat.com>
9938
9939 * gdb.base/shreloc.exp: Do not run for targets which do not
9940 support shared objects.
9941
9942 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
9943
9944 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
9945 Don't run tests if nofileio flag is given.
9946
9947 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
9948
9949 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
9950 as well as 'Watchpoint'.
9951
9952 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
9953
9954 Reported by Jim Ingham <jingham@apple.com>:
9955 * gdb.base/annota1.exp: Match at least one occurrence of the
9956 signal handler annotation.
9957
9958 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
9959
9960 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
9961 as well as 'Watchpoint'.
9962
9963 2003-11-05 Michael Chastain <mec@shout.net>
9964
9965 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
9966
9967 2003-11-03 Kris Warkentin <kewarken@qnx.com>
9968
9969 * gdb.arch/gdb1291.c: New test file.
9970 * gdb.arch/gdb1291.exp: New test script.
9971 * gdb.arch/gdb1431.c: New test file.
9972 * gdb.arch/gdb1431.exp: New test script.
9973
9974 2003-10-22 Michael Chastain <mec@shout.net>
9975
9976 * gdb.mi/pthreads.c: Add copyright notice.
9977
9978 2003-10-22 Michael Chastain <mec@shout.net>
9979
9980 * gdb.threads/pthreads.c: Add copyright notice.
9981
9982 2003-10-20 Michael Chastain <mec@shout.net>
9983
9984 * gdb.base/gdb1056.exp: New test script.
9985
9986 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
9987
9988 * gdb.threads/killed.exp: Use gdb_run_cmd.
9989
9990 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
9991
9992 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
9993 create a core file.
9994 * gdb.threads/gcore-thread.exp: Likewise.
9995
9996 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
9997
9998 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
9999 type, based on char type.
10000 (struct bit_flags_short_t): New bitfield type, based on short type.
10001 (init_bit_flags_char): New fuction.
10002 (init_bit_flags_short): Ditto.
10003 (print_bit_flags_char): Ditto.
10004 (print_bit_flags_short): Ditto.
10005 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
10006
10007 2003-10-11 Michael Chastain <mec@shout.net>
10008
10009 * gdb.base/call-rt-st.exp: Update copyright year.
10010
10011 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
10012
10013 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
10014 * gdb.disasm/sh3.s: Ditto.
10015
10016 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
10017
10018 * gdb.threads/switch-threads.exp: New test.
10019 * gdb.threads/switch-threads.c: New source file.
10020
10021 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
10022
10023 * gdb.base/ending-run.exp: Add sh specific case.
10024
10025 2003-10-06 Andrew Cagney <cagney@redhat.com>
10026
10027 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
10028 * gdb.disasm/mn10200.exp: Delete obsolete file.
10029
10030 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
10031
10032 * ChangeLog: Correct an entry command.exp -> commands.exp.
10033 * gdb.base/commands.exp (bp_deleted_in_command_test)
10034 (temporary_breakpoint_commands): Check noargs.
10035
10036 2003-09-25 David Carlton <carlton@kealia.com>
10037
10038 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
10039 of some print tests, where appropriate. Add tests for C::D::cd,
10040 E::ce, F::cXfX, G::XgX.
10041 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
10042
10043 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
10044
10045 * lib/java.exp (java_init): Import target_alias before using it.
10046
10047 2003-09-25 David Carlton <carlton@kealia.com>
10048
10049 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
10050
10051 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
10052
10053 * gdb.base/selftest.exp: Accomodate more instruction reordering
10054 weirdness.
10055
10056 2003-09-17 Michael Chastain <mec@shout.net>
10057
10058 * gdb.cp/gdb1355.exp: New file.
10059 * gdb.cp/gdb1355.c: New file.
10060
10061 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
10062
10063 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
10064 * gdb.asm/sh.inc: New file.
10065
10066 2003-09-11 David Carlton <carlton@kealia.com>
10067
10068 * gdb.cp/namespace.exp: Add tests for namespace types.
10069 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
10070 (test_namespace): New.
10071
10072 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
10073
10074 * gdb.base/relocate.exp: Handle new gdb output at startup.
10075 * gdb.stabs/weird.exp: Ditto.
10076
10077 2003-09-08 Michael Chastain <mec@shout.net>
10078
10079 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
10080
10081 2003-09-07 Michael Chastain <mec@shout.net>
10082
10083 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
10084 'parse error'.
10085
10086 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
10087
10088 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
10089
10090 2003-08-30 Michael Chastain <mec@shout.net>
10091
10092 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
10093 * gdb.gdb/observer.exp: Ditto.
10094 * gdb.gdb/xfullpath.exp: Ditto.
10095
10096 2003-08-29 Mark Kettenis <kettenis@gnu.org>
10097
10098 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
10099 *-*-*bsd*.
10100
10101 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
10102
10103 * gdb.base/dump.exp: Skip for ia64.
10104
10105 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
10106
10107 * gdb.asm/asm-source.exp: Add ia64 support.
10108 * gdb.asm/ia64.inc: New file.
10109
10110 2003-08-22 Michael Chastain <mec@shout.net>
10111
10112 * gdb.cp: New directory.
10113 * gdb.cp/*: Copy from gdb.c++/*.
10114 * gdb.c++/*: Remove.
10115 * Makefile.in: Change gdb.c++ to gdb.cp.
10116 * configure.in: Ditto.
10117 * configure: Regnerate.
10118
10119 2003-08-18 Mark Kettenis <kettenis@gnu.org>
10120
10121 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
10122 * gdb.arch/i386-prologue.c (gdb1338): Add function.
10123
10124 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
10125
10126 * mi-var-display.exp (-var-list-children weird): Accept function
10127 pointers with argument types.
10128 * mi1-var-display.exp (-var-list-children weird): Likewise.
10129 * mi2-var-display.exp (-var-list-children weird): Likewise.
10130
10131 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
10132
10133 * gdb.base/annota3.exp: Add missing newline.
10134
10135 2003-08-06 Michael Chastain <mec@shout.net>
10136
10137 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
10138
10139 2003-08-12 Michael Snyder <msnyder@redhat.com>
10140
10141 * gdb.base/float.exp: Add test for SH.
10142
10143 2003-08-10 Mark Kettenis <kettenis@gnu.org>
10144
10145 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
10146
10147 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
10148
10149 * gdb.base/completion.exp: Remove reduntant completion test
10150 on filename.
10151
10152 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
10153
10154 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
10155 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
10156 gdb.trace/save-trace.exp: Make sure that full pathnames are
10157 escaped correctly.
10158
10159 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
10160
10161 * configure.in: Don't generate config.h from config.hin.
10162 * configure: Regenerate.
10163 * config.hin: Remove file.
10164 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
10165 * gdb.threads/pthreads.c: Ditto.
10166
10167 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
10168
10169 From Kei Sakamoto <sakamoto.kei@renesas.com>:
10170 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
10171 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
10172 Replace ld24 with seth/add3.
10173
10174 2003-08-02 Andrew Cagney <cagney@redhat.com>
10175
10176 * gdb.base/annota3.exp: New file.
10177 * gdb.base/annota3.c: New file.
10178 * gdb.c++/annota3.exp: New file.
10179 * gdb.c++/annota3.cc: New file.
10180
10181 2003-07-29 Michael Chastain <mec@shout.net>
10182
10183 * gdb.threads/tls.c (spin): Check errno only if sem_wait
10184 actually failed.
10185 (do_pass): Likewise.
10186 * gdb.threads/tls.exp: Always initialize no_of_threads.
10187
10188 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
10189
10190 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
10191 pattern.
10192 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
10193 * gdb.threads/tls.exp: Recognize one case of the host library not
10194 supporting TLS.
10195
10196 2003-07-27 Andrew Cagney <cagney@redhat.com>
10197
10198 * gdb.base/fileio.exp: Use SH when running commands using
10199 remote_exec.
10200
10201 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
10202
10203 From Kei Sakamoto <sakamoto.kei@renesas.com>:
10204 * gdb.base/relocate.c (dummy): New padding array.
10205
10206 2003-07-22 Michael Snyder <msnyder@redhat.com>
10207
10208 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
10209
10210 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
10211 patterns to be more general, accepting old and new output.
10212 Some output chars (such as '+') also must be quoted.
10213 Some addresses are displayed numerically instead of
10214 symbolically.
10215
10216 2003-07-23 Michael Snyder <msnyder@redhat.com>
10217
10218 * gdb.base/return2.exp: Don't test long-long return.
10219
10220 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
10221 * gdb.disasm/t01_mov.exp: Ditto.
10222 * gdb.disasm/t02_mova.s: Ditto.
10223 * gdb.disasm/t02_mova.exp: Ditto.
10224 * gdb.disasm/t03_add.s: Ditto.
10225 * gdb.disasm/t03_add.exp: Ditto.
10226 * gdb.disasm/t04_sub.s: Ditto.
10227 * gdb.disasm/t04_sub.exp: Ditto.
10228 * gdb.disasm/t05_cmp.s: Ditto.
10229 * gdb.disasm/t05_cmp.exp: Ditto.
10230 * gdb.disasm/t06_ari2.s: Ditto.
10231 * gdb.disasm/t06_ari2.exp: Ditto.
10232 * gdb.disasm/t07_ari3.s: Ditto.
10233 * gdb.disasm/t07_ari3.exp: Ditto.
10234 * gdb.disasm/t08_or.s: Ditto.
10235 * gdb.disasm/t08_or.exp: Ditto.
10236 * gdb.disasm/t09_xor.s: Ditto.
10237 * gdb.disasm/t09_xor.exp: Ditto.
10238 * gdb.disasm/t10_and.s: Ditto.
10239 * gdb.disasm/t10_and.exp: Ditto.
10240 * gdb.disasm/t11_logs.s: Ditto.
10241 * gdb.disasm/t11_logs.exp: Ditto.
10242 * gdb.disasm/t12_bit.s: Ditto.
10243 * gdb.disasm/t12_bit.exp: Ditto.
10244 * gdb.disasm/t13_otr.s: Ditto.
10245 * gdb.disasm/t13_otr.exp: Ditto.
10246
10247 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
10248
10249 * gdb.threads/tls.exp :Add kfail for 'info address' case.
10250
10251 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
10252
10253 * gdb.threads/tls.c : New file.
10254 * gdb.threads/tls.exp : New file.
10255 * gdb.threads/tls-main.c : New file.
10256 * gdb.threads/tls-shared.c : New file.
10257 * gdb.threads/tls-shared.exp : New file.
10258
10259 2003-07-22 Andreas Schwab <schwab@suse.de>
10260
10261 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
10262
10263 2003-07-20 Andreas Schwab <schwab@suse.de>
10264
10265 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
10266 due to insn reordering.
10267
10268 2003-07-15 Andrew Cagney <cagney@redhat.com>
10269
10270 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
10271
10272 2003-07-15 Michael Chastain <mec@shout.net>
10273
10274 * gdb.base/gdb1250.exp: New file.
10275 * gdb.base/gdb1250.c: New file.
10276
10277 2003-07-09 Michal Ludvig <mludvig@suse.cz>
10278
10279 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
10280 expansion of size_t to 'unsigned long', not only to 'unsigned'.
10281
10282 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
10283
10284 * gdb.threads/tls.c: New file.
10285 * gdb.threads/tls.exp: New file.
10286 * gdb.threads/tls-main.c: New file.
10287 * gdb.threads/tls-shared.c: New file.
10288 * gdb.threads/tls-shared.exp: New file.
10289
10290 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
10291
10292 * gdb.base/annota1.exp: Make sure that we properly escape the
10293 full path of the source file. Xfail more permissive patterns,
10294 due to a compiler debug info problem.
10295
10296 2003-07-07 Andreas Schwab <schwab@suse.de>
10297
10298 * gdb.asm/m68k.inc: New file.
10299 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
10300
10301 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
10302 arguments"): Also match negative number.
10303
10304 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
10305
10306 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
10307
10308 * gdb.base/store.c (charest): New typedef.
10309 (add_char): Rename to add_charest, update.
10310 (wack_char): Rename to wack_charest, update types. Return l + r
10311 to keep r live across the call.
10312 (wack_short, wack_int, wack_long, wack_longest, wack_float)
10313 (wack_double, wack_doublest): Return l + r to keep r live across
10314 the call.
10315 * gdb.base/store.exp: Accomodate store.c changes.
10316
10317 2003-06-30 David Carlton <carlton@kealia.com>
10318
10319 * gdb.c++/maint.exp (test_invalid_name): New.
10320 (test_first_component): Add tests for invalid names.
10321
10322 2003-06-29 Michael Chastain <mec@shout.net>
10323
10324 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
10325 output of '<VTT for class>' for virtual base classes.
10326
10327 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10328
10329 * gdb.base/completion.exp: Tab-complete "complet" instead of
10330 "compl".
10331 * gdb.base/complex.exp, gdb.base/complex.c: New files.
10332
10333 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10334
10335 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
10336 * gdb.base/volatile.exp: Likewise.
10337
10338 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10339
10340 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
10341 gdb/1265.
10342
10343 2003-06-28 Michael Chastain <mec@shout.net>
10344 Daniel Jacobowitz <drow@mvista.com>
10345
10346 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
10347 initial line count of 'captured_main' from 26 to 32.
10348 (test_with_self): Allow xmalloc call to be interleaved with the
10349 preceding two lines.
10350
10351 2003-06-24 Joel Brobecker <brobecker@gnat.com>
10352
10353 * gdb.base/bang.exp: New testcase.
10354
10355 2003-06-23 Joel Brobecker <brobecker@gnat.com>
10356
10357 * gdb.base/langs.exp: Add some tests for the "minimal" language
10358 support.
10359
10360 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
10361
10362 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
10363 the testcase.
10364
10365 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
10366
10367 * gdb.base/relocate.exp: Test add-symbol-file with a variable
10368 offset.
10369
10370 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
10371
10372 * gdb.c++/pr-1210.cc: New file.
10373 * gdb.c++/pr-1210.exp: New file.
10374
10375 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
10376
10377 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
10378 000-exec-continue.
10379
10380 2003-06-15 Mark Kettenis <kettenis@gnu.org>
10381
10382 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
10383 on *-*-*bsd* instead of *-*-freebsd*.
10384
10385 2003-06-14 Andrew Cagney <cagney@redhat.com>
10386
10387 * gdb.base/store.exp: Test longest and doublest. Test all
10388 parameters. Weaken return statement match.
10389 * gdb.base/store.c: Add longest and doublest - aka long long and
10390 long double functions. Put all parameters into local register
10391 variables. Use negative values.
10392
10393 2003-06-14 Andrew Cagney <cagney@redhat.com>
10394
10395 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
10396 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
10397 exit status.
10398 * gdb.base/fileio.exp: Disable target when nointerrupts and
10399 noinferiorio, instead of limiting it to remote. Use remote_exec
10400 instead of system.
10401
10402 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
10403
10404 * gdb.base/float.exp: Add ia64 support.
10405
10406 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
10407
10408 * gdb.base/fileio.exp: Run only on remote targets.
10409
10410 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
10411
10412 * gdb.base/fileio.c: New file, testing File-I/O.
10413 * gdb.base/fileio.exp: Ditto.
10414
10415 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
10416
10417 * gdb.base/shreloc.exp: New file, check symbol values obtained from
10418 shared objects after relocation at load time (gdb PR/1132).
10419 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
10420 as above, part of the shared object relocation test.
10421
10422 2003-06-08 Mark Kettenis <kettenis@gnu.org>
10423
10424 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
10425 fully filled history list.
10426 * gdb.base/gdb_history: New file.
10427
10428 * gdb.base/signals.exp: XFAIL "continue to func1" on
10429 i*86-*-freebsd*.
10430
10431 * gdb.base/attach.exp: When trying to attach to a nonexistent
10432 process, make it possible to specify the PID based on the target,
10433 and do so for *-*-freebsd*.
10434
10435 2003-06-02 Richard Henderson <rth@redhat.com>
10436
10437 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
10438
10439 2003-06-02 Richard Henderson <rth@redhat.com>
10440
10441 * gdb.base/selftest.exp: Next over lim_at_start initialization.
10442
10443 2003-06-02 Richard Henderson <rth@redhat.com>
10444
10445 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
10446
10447 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
10448
10449 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
10450 of globalvar.
10451
10452 2003-06-01 Mark Kettenis <kettenis@gnu.org>
10453
10454 * gdb.asm/asm-source.exp: Check for memory read errors in
10455 disassembler test on *BSD too.
10456
10457 2003-06-01 Richard Henderson <rth@redhat.com>
10458
10459 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
10460 for .frame.
10461 (gdbasm_call): Lose ldgp.
10462 (gdbasm_startup): Add frame information.
10463 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
10464
10465 2003-05-31 Mark Kettenis <kettenis@gnu.org>
10466
10467 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
10468 i?86-*-*.
10469
10470 2003-05-30 Mark Kettenis <kettenis@gnu.org>
10471
10472 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
10473 FreeBSD.
10474
10475 2003-05-29 Richard Henderson <rth@redhat.com>
10476
10477 * gdb.asm/alpha.inc: New file.
10478 * gdb.asm/asm-source.exp: Use it.
10479
10480 2003-05-29 Jim Blandy <jimb@redhat.com>
10481
10482 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
10483 'core.PID'.
10484
10485 2003-05-22 Jim Blandy <jimb@redhat.com>
10486
10487 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
10488 backtrace.
10489
10490 2003-05-20 David Carlton <carlton@math.stanford.edu>
10491
10492 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
10493 this time.
10494
10495 2003-05-19 David Carlton <carlton@bactrian.org>
10496
10497 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
10498 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
10499
10500 2003-05-19 David Carlton <carlton@bactrian.org>
10501
10502 * gdb.c++/namespace.exp: Add namespace scope and anonymous
10503 namespace tests.
10504 Bump copyright date.
10505 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
10506 (main): Call C::D::marker2.
10507 * gdb.c++/namespace1.cc: New file.
10508
10509 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
10510
10511 Roland McGrath <roland@redhat.com>
10512 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
10513 there is no manager thread.
10514
10515 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
10516
10517 * gdb.threads/schedlock.exp: Remove assumption that all threads
10518 will run in a particular small time slice. Also ensure we break
10519 in one of the child threads rather than the main thread.
10520
10521 2003-05-07 Jim Blandy <jimb@redhat.com>
10522
10523 Add support for assembly source testing on the s390x.
10524 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
10525 architecture.
10526 * gdb.asm/s390x.inc: New file.
10527
10528 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
10529 succession of 'if' statements.
10530
10531 2003-05-05 Andrew Cagney <cagney@redhat.com>
10532
10533 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
10534
10535 2003-05-05 Andrew Cagney <cagney@redhat.com>
10536
10537 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
10538 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
10539
10540 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
10541
10542 * gdb.base/charset.exp: Update based on new behavior of set/show
10543 charset commands.
10544
10545 2003-05-01 Andrew Cagney <cagney@redhat.com>
10546
10547 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
10548 variable do not give memory errors.
10549
10550 2003-04-30 Adam Fedor <fedor@gnu.org>
10551
10552 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
10553 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
10554 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
10555 gdb.objc/basicclass.m: : New files
10556
10557 * lib/gdb.exp (gdb_compile_objc): New procedure.
10558
10559 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
10560
10561 * gdb.base/signals.exp: Make backtrace tests more specific.
10562
10563 2003-04-23 David Carlton <carlton@bactrian.org>
10564
10565 * gdb.c++/maint.exp (test_first_component): Add tests for
10566 'operator' in more locations.
10567
10568 2003-04-16 Kevin Buettner <kevinb@redhat.com>
10569
10570 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
10571
10572 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
10573
10574 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
10575 func marke' instead. Update test name.
10576
10577 2003-04-15 David Carlton <carlton@math.stanford.edu>
10578
10579 * gdb.c++/maint.exp: New file.
10580
10581 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
10582
10583 * gdb.threads/schedlock.c: Change type of thread function argument
10584 to long, to avoid warnings on 64-bit platforms.
10585
10586 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
10587
10588 * gdb.base/attach.exp: Add new message from ptrace in case of
10589 attaching to nonexistent process.
10590
10591 2003-04-11 Jim Blandy <jimb@redhat.com>
10592
10593 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10594 gdb.c++/userdef.cc: Place comments on the lines to which the
10595 marker function might return.
10596 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10597 gdb.c++/userdef.exp: Look for those comments to check that we've
10598 returned to the right place, instead of checking line numbers.
10599
10600 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
10601
10602 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
10603 match on sourcefile name, instead of directory name.
10604
10605 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
10606
10607 * gdb.base/completion.exp: Use string_to_regexp to match the
10608 working directory name.
10609
10610 2003-04-09 Jim Blandy <jimb@redhat.com>
10611
10612 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10613 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
10614 after an inferior function call, report the failure, but allow the
10615 test to continue.
10616
10617 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
10618
10619 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
10620 with -DPROTOTYPES.
10621
10622 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
10623
10624 * gdb.base/break.exp: Revert last patch.
10625
10626 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
10627
10628 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
10629 with -DPROTOTYPES.
10630
10631 2003-04-02 Andrew Cagney <cagney@redhat.com>
10632
10633 * gdb.base/callfuncs.exp: Make "print add" messages unique.
10634 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
10635 matching directories by the name breakpoint.
10636 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
10637 Make "continue to marker1" consistent.
10638 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
10639 message consistent.
10640 * lib/gdb.exp: Put "the program is no longer running", and "the
10641 program exited" in parenthesis.
10642 * lib/mi-support.exp: Ditto.
10643
10644 2003-04-02 Bob Rossi <bob_rossi@cox.net>
10645
10646 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
10647
10648 2003-03-29 Andrew Cagney <cagney@redhat.com>
10649
10650 * gdb.base/sizeof.c (main): Print the value of '\377'.
10651 * gdb.base/sizeof.exp: Check the sign of '\377'.
10652
10653 2003-03-27 Michael Chastain <mec@shout.net>
10654
10655 * gdb.base/gdb1090.exp: New file.
10656 * gdb.base/gdb1090.cc: New file.
10657
10658 2003-03-27 J. Brobecker <brobecker@gnat.com>
10659
10660 * gdb.gdb/observer.exp: New regression test.
10661
10662 2003-03-27 Michael Chastain <mec@shout.net>
10663
10664 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
10665 * gdb.base/ptype.exp: Likewise.
10666
10667 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
10668
10669 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
10670
10671 2003-03-26 Michael Chastain <mec@shout.net>
10672
10673 * gdb.base/ptype.exp: Actually use some typedef'd types.
10674
10675 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
10676
10677 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
10678 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
10679
10680 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10681
10682 * gdb.base/default.exp: Fix regular expression.
10683
10684 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10685
10686 * gdb.base/args.exp: Fix regular expression.
10687
10688 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10689
10690 * gdb.base/help.exp: Allow Win32 child process.
10691
10692 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10693
10694 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
10695 when stepping out of main().
10696
10697 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10698
10699 * gdb.base/default.exp: Check for win32 specific message when calling
10700 "run" without executable.
10701
10702 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10703
10704 * gdb.base/args.exp: Expect .exe in output.
10705
10706 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10707
10708 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
10709 Cygwin native.
10710
10711 2003-03-17 Andrew Cagney <cagney@redhat.com>
10712
10713 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
10714 vector registes.
10715 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
10716 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
10717
10718 2003-03-17 David Carlton <carlton@math.stanford.edu>
10719
10720 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
10721 test, for PR breakpoints/38.
10722 Call test_watchpoint_and_breakpoint.
10723 * gdb.base/watchpoint.c (func3): New function.
10724 (main): Call func3.
10725
10726 2003-03-04 David Carlton <carlton@math.stanford.edu>
10727
10728 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
10729 Garply<Garply<char> >:: garply".
10730 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
10731 with respect to PR c++/1111; note also PR c++/1113.
10732 (test_template_breakpoints): KFAIL "constructor breakpoint" with
10733 respect to PR c++/1062.
10734 KFAIL "destructor breakpoint" with respect to PR c++/1112.
10735
10736 2003-03-03 David Carlton <carlton@math.stanford.edu>
10737
10738 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
10739 with respect to PR c++/57.
10740 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
10741 c++/826.
10742 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
10743 respect to PR c++/57.
10744
10745 2003-03-03 David Carlton <carlton@math.stanford.edu>
10746
10747 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
10748 respect to PR c++/33 into FAILs.
10749
10750 2003-03-03 Michael Chastain <mec@shout.net>
10751
10752 * configure.in: Update copyright years.
10753
10754 2003-03-03 Michael Chastain <mec@shout.net>
10755
10756 * Makefile.in: Update copyright years.
10757
10758 2003-02-28 David Carlton <carlton@math.stanford.edu>
10759
10760 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
10761 print class instead of struct and/or superfluous protection
10762 specifiers, as long as the resulting output is equivalent to the
10763 source code.
10764 Delete FIXME from end of messages on tests that don't need
10765 fixing.
10766
10767 2003-02-28 David Carlton <carlton@math.stanford.edu>
10768
10769 * gdb.c++/templates.exp (do_tests): Allow const in the two
10770 Foo<volatile char *>::foo tests.
10771
10772 2003-02-27 Michael Snyder <msnyder@redhat.com>
10773
10774 * gdb.base/restore.c (main): Return zero, so exit code
10775 will be consistant.
10776
10777 2003-02-26 David Carlton <carlton@math.stanford.edu>
10778
10779 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
10780 char *>::foo" test with respect to PR c++/33. Create a new test
10781 which is identical to that one except that it doesn't put the
10782 space between the "char" and the "*"; KFAIL it, too.
10783
10784 2003-02-26 David Carlton <carlton@math.stanford.edu>
10785
10786 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
10787 template types into either PASSes or KFAILs (corresponding to PR
10788 c++/57). Tweak indentation. Update copyright.
10789
10790 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
10791
10792 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
10793
10794 2003-02-13 Michael Chastain <mec@shout.net>
10795
10796 * gdb.base/exprs.exp: Remove i960 remnants.
10797 * gdb.base/funcargs.exp: Likewise.
10798 * gdb.base/list.exp: Likewise.
10799 * gdb.base/ptype.exp: Likewise.
10800
10801 2003-02-14 David Carlton <carlton@math.stanford.edu>
10802
10803 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
10804 pEe->D::vg()" from XFAIL to KFAIL.
10805
10806 2003-02-13 Jason Molenda (jmolenda@apple.com)
10807
10808 * gdb.base/maint.exp: Update maint print statistics regexp to include
10809 new entries.
10810
10811 2003-02-13 Michael Chastain <mec@shout.net>
10812
10813 * gdb.c++/inherit.exp: Remove call to get_debug_format.
10814
10815 2003-02-12 Michael Chastain <mec@shout.net>
10816
10817 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
10818 * gdb.c++/inherit.exp: Likewise.
10819 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
10820 * gdb.c++/templates.exp: Likewise.
10821 * gdb.c++/virtfunc.exp: Likewise.
10822
10823 2003-02-06 Jason Molenda (jason-cl@molenda.com)
10824
10825 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
10826 why the code is written that way.
10827
10828 2003-02-05 Michael Chastain <mec@shout.net>
10829
10830 * gdb.base/dump.exp: Add missing copyright line.
10831
10832 2003-02-05 Jason Molenda (jason-cl@molenda.com)
10833
10834 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
10835 at the beginning so the breakpoint doesn't get set on the loop.
10836
10837 2003-02-05 Michael Chastain <mec@shout.net>
10838
10839 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
10840 output for configurations with gcc 2.95.3.
10841
10842 2003-02-05 Keith Seitz <keiths@redhat.com>
10843 Andrew Cagney <ac131313@redhat.com>
10844
10845 * gdb.mi/mi-cli.exp: New file.
10846
10847 2003-02-04 Michael Chastain <mec@shout.net>
10848
10849 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
10850 Call perror and then continue.
10851
10852 2003-02-03 Michael Chastain <mec@shout.net>
10853
10854 * gdb.c++/pr-1023.cc: New file.
10855 * gdb.c++/pr-1023.exp: New file.
10856
10857 2003-02-05 Jim Blandy <jimb@redhat.com>
10858
10859 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
10860 it's local to foobar. Check for it there, and check that it's not
10861 present in main.
10862 * gdb.c++/local.cc (marker2): New function.
10863 (foobar): Call marker1.
10864 (main): Call marker2 instead of marker1.
10865
10866 2003-02-04 Andrew Cagney <ac131313@redhat.com>
10867
10868 * gdb.disasm/mn10200.exp: Obsolete file.
10869 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
10870 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
10871 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
10872
10873 2003-02-04 David Carlton <carlton@math.stanford.edu>
10874
10875 * gdb.c++/overload.exp: Test intToChar(1).
10876 * gdb.c++/overload.cc (intToChar): New.
10877 (main): Call intToChar.
10878
10879 2003-02-03 David Carlton <carlton@math.stanford.edu>
10880
10881 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
10882 'might_kfail' arg.
10883 KFAIL some of the continue_to_bp_overloaded calls, according to
10884 PR c++/1025.
10885
10886 2003-02-01 Michael Chastain <mec@shout.net>
10887
10888 * gdb.base/advance.c (marker1): New marker function.
10889 * gdb.base/advance.exp: When the 'advance' command lands on the
10890 return breakpoint, it can legitimately stop on either the
10891 current line or the next line. Accommodate both outcomes.
10892 * gdb.base/until.exp: Likewise.
10893
10894 2003-02-02 Andrew Cagney <ac131313@redhat.com>
10895
10896 2002-11-10 Jason Molenda (jason-cl@molenda.com):
10897 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
10898 now a list, not a tuple.
10899 * gdb.mi/mi-var-display.exp: Ditto.
10900 * gdb.mi/gdb792.exp: Ditto.
10901
10902 2003-02-01 Andrew Cagney <ac131313@redhat.com>
10903
10904 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
10905 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
10906 stack backtraces.
10907 * gdb.mi/mi-syn-frame.c: Part of same.
10908
10909 2003-02-01 Mark Kettenis <kettenis@gnu.org>
10910
10911 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
10912 gdb.mi/mi1-pthreads.exp: Return instead of calling
10913 gdb_suppress_entire_file.
10914
10915 2003-02-01 Mark Salter <msalter@redhat.com>
10916
10917 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
10918
10919 2003-01-31 Mark Salter <msalter@redhat.com>
10920
10921 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
10922 Support empty arg.
10923
10924 2003-01-30 Michael Chastain <mec@shout.net>
10925
10926 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
10927 This was a workaround for a UTF-8 bug in readline 4.3. The bug
10928 has been fixed in gdb/readline on 2003-01-09.
10929
10930 2003-01-29 Michael Snyder <msnyder@redhat.com>
10931
10932 * gdb.base/maint.exp: Allow for leading underscore in symbol.
10933 * gdb.base/display.exp: Allow for leading underscore in symbol.
10934 * gdb.base/args.exp: Skip if target does not support args passing.
10935
10936 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
10937
10938 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
10939 gdb_test. Accept a list of expect arguments as the third
10940 parameter.
10941 (gdb_test): Use it.
10942
10943 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
10944
10945 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
10946 allow for different test tree configurations. Update some
10947 tescases accordingly.
10948 * gdb.arch/altivec-regs.exp: Ditto.
10949 * gdb.asm/asm-source.exp: Ditto.
10950 * gdb.base/advance.exp: Ditto.
10951 * gdb.base/display.exp: Ditto.
10952 * gdb.base/long_long.exp: Ditto.
10953 * gdb.base/mips_pro.exp: Ditto.
10954 * gdb.base/overlays.exp: Ditto.
10955 * gdb.base/relocate.exp: Ditto.
10956 * gdb.base/setshow.exp: Ditto.
10957 * gdb.base/step-line.exp: Ditto.
10958 * gdb.base/step-test.exp: Ditto.
10959 * gdb.base/until.exp: Ditto.
10960 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
10961
10962 2003-01-17 David Carlton <carlton@math.stanford.edu>
10963
10964 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
10965 corresponding to PR c++/945.
10966 Update copyright.
10967
10968 2003-01-17 David Carlton <carlton@math.stanford.edu>
10969
10970 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
10971 corresponding to PR c++/68.
10972
10973 2003-01-17 David Carlton <carlton@math.stanford.edu>
10974
10975 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
10976 (test_paddr_hairy_functions): Call print_addr_2_kfail for
10977 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
10978
10979 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
10980
10981 * gdb.base/break.exp: Fix change of default location, because of
10982 removal of until tests.
10983 * gdb.base/help.exp: Update test for new 'until' help message.
10984 Add test for help on 'advance'.
10985 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
10986
10987 2003-01-15 Mark Kettenis <kettenis@gnu.org>
10988
10989 * gdb.base/default.exp: Adapt "info float" test for recent changes
10990 to that command. Add test for "info vector".
10991 * gdb.base/float.exp: New file. Add test for "info float" that
10992 resembles the old test in gdb.base/default.exp.
10993
10994 2003-01-15 David Carlton <carlton@math.stanford.edu>
10995
10996 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
10997
10998 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
10999
11000 * gdb.base/break.exp: Move the tests of until command from here...
11001 * gdb.base/until.exp: ... to here. New file. Add other tests.
11002 * gdb.base/advance.c: New file.
11003 * gdb.base/advance.exp: New file.
11004
11005 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
11006
11007 * gdb.base/args.c: New file.
11008 * gdb.base/args.exp: New file.
11009
11010 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
11011
11012 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
11013
11014 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
11015
11016 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
11017
11018 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
11019
11020 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
11021 dates.
11022
11023 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
11024
11025 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
11026
11027 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
11028
11029 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
11030 (ptype &*"foo").
11031 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
11032
11033 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
11034
11035 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
11036 * gdb.mi/mi1-console.exp: Likewise.
11037
11038 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
11039
11040 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
11041 * gdb.mi/mi1-console.exp: Likewise.
11042
11043 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
11044
11045 * gdb.c++/overload.exp: Remove some fixed XFAILs.
11046
11047 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
11048
11049 * gdb.base/detach.exp: New test.
11050
11051 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
11052
11053 * Makefile.in (ALL_SUBDIRS): New variable.
11054 (subdirs, clean, distclean): Use it.
11055 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
11056 regenerating Makefile, since it is generated from the top level.
11057 * gdb.asm/Makefile.in: Likewise.
11058 * gdb.base/Makefile.in: Likewise.
11059 * gdb.c++/Makefile.in: Likewise.
11060 * gdb.disasm/Makefile.in: Likewise.
11061 * gdb.java/Makefile.in: Likewise.
11062 * gdb.mi/Makefile.in: Likewise.
11063 * gdb.threads/Makefile.in: Likewise.
11064 * gdb.trace/Makefile.in: Likewise.
11065
11066 2003-01-09 David Carlton <carlton@math.stanford.edu>
11067
11068 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
11069 Add copyright year 2003.
11070
11071 2003-01-06 Michael Chastain <mec@shout.net>
11072
11073 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
11074 When selecting a thread, 'line' and 'file' are optional.
11075 * gdb.mi/mi1-pthreads.exp: Likewise.
11076
11077 2003-01-06 Andreas Schwab <schwab@suse.de>
11078
11079 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
11080 failures.
11081
11082 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
11083
11084 Fix PR gdb/844
11085 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
11086 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
11087
11088 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
11089 instead of calling gdb_suppress_entire_file.
11090 * gdb.threads/print-threads.exp: Likewise.
11091 * gdb.threads/schedlock.exp: Likewise.
11092
11093 * gdb.threads/killed.exp: Return instead of calling
11094 gdb_suppress_entire_file.
11095 * gdb.threads/linux-dp.exp: Likewise.
11096 * gdb.threads/pthreads.exp: Likewise.
11097
11098 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
11099
11100 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
11101 stabs.
11102 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
11103 * gdb.base/whatis.exp: Always allow (void) after function names.
11104
11105 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
11106
11107 * gdb.c++/casts.exp: Correct regexp.
11108
11109 2003-01-04 Mark Kettenis <kettenis@gnu.org>
11110
11111 * configure.in: Call AC_CONFIG_HEADER. Don't call
11112 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
11113 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
11114 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
11115 aforementioned directories in the AC_OUPUT call.
11116 * config.hin: New file.
11117 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
11118 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
11119 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
11120 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
11121 pass -I$objdir instead of -I$objdir/$subdir in compilation.
11122 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
11123 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
11124 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
11125 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
11126 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
11127 gdb.threads/configure.in, gdb.threads/configure,
11128 gdb.threads/config.in, gdb.trace/configure.in,
11129 gdb.trace/configure: Removed.
11130
11131 2003-01-03 Michael Chastain <mec@shout.net>
11132
11133 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
11134 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
11135
11136 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
11137
11138 * gdb.base/store.exp: Fix regular expressions.
11139
11140 2002-12-28 Mark Kettenis <kettenis@gnu.org>
11141
11142 * configure.in: Rewrite.
11143 * configure: Regenerated.
11144
11145 2003-01-03 David Carlton <carlton@math.stanford.edu>
11146
11147 * gdb.base/psymtab.exp: New file.
11148 * gdb.base/psymtab1.c: Ditto.
11149 * gdb.base/psymtab2.c: Ditto.
11150
11151 2002-12-23 Adam Fedor <fedor@gnu.org>
11152
11153 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
11154
11155 2002-12-23 David Carlton <carlton@math.stanford.edu>
11156
11157 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
11158 and current_directory initialization.
11159
11160 2002-12-22 Jim Blandy <jimb@redhat.com>
11161
11162 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
11163 rather than as part of the output file name.
11164
11165 * gdb.base/attach.exp: There's no need to copy the test program to
11166 /tmp; that was only ever necessary on HP/UX, and this test is
11167 entirely disabled there anyway.
11168
11169 2002-12-21 Jim Blandy <jimb@redhat.com>
11170
11171 * gdb.c++/psmang.exp: Doc fix.
11172
11173 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
11174 test.
11175
11176 2002-12-20 David Carlton <carlton@math.stanford.edu>
11177
11178 * gdb.c++/annota2.exp: KFAIL annotate-quit.
11179
11180 2002-12-18 Michael Chastain <mec@shout.net>
11181
11182 * gdb.c++/annota2.exp: Add copyright year 2002.
11183
11184 2002-12-17 David Carlton <carlton@math.stanford.edu>
11185
11186 * gdb.c++/try_catch.cc: Add marker comments.
11187 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
11188 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
11189 * gdb.c++/m-static.cc: Ditto.
11190 * gdb.c++/m-static1.cc: Ditto.
11191 * gdb.c++/try_catch.cc: Ditto.
11192
11193 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
11194
11195 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
11196 to see whether we are using the new -environment-directory
11197 command which resets via -r or the old version of the command
11198 which may prompt the user. Part of fix for gdb/741.
11199
11200 2002-12-13 Andrew Cagney <ac131313@redhat.com>
11201
11202 * gdb.fortran/types.exp: Update obsolete comment.
11203 * gdb.fortran/exprs.exp: Ditto.
11204 * lib/gdb.exp: Delete obsolete code.
11205 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
11206 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
11207 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
11208 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
11209 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
11210 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
11211 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
11212 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
11213 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
11214 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
11215 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
11216 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
11217 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
11218 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
11219 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
11220 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
11221 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
11222 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
11223 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
11224 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
11225 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
11226 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
11227 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
11228 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
11229 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
11230 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
11231 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
11232 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
11233 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
11234 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
11235 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
11236 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
11237 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
11238 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
11239 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
11240 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
11241 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
11242
11243 2002-12-11 David Carlton <carlton@math.stanford.edu>
11244
11245 * gdb.c++/m-data.exp: Add test for members that shadow global
11246 variables: see PR gdb/804.
11247 * gdb.c++/m-data.cc: Ditto.
11248
11249 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
11250
11251 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
11252
11253 2002-12-06 David Carlton <carlton@math.stanford.edu>
11254
11255 * gdb.base/store.c: Don't declare functions static.
11256
11257 2002-12-04 Andrew Cagney <ac131313@redhat.com>
11258
11259 * gdb.base/store.exp, gdb.base/store.c: New files.
11260
11261 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11262
11263 * gdb.base/selftest.exp: Update for current gdb.
11264
11265 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11266
11267 * gdb.base/maint.exp: Only dump symbols from one source file
11268 or objfile.
11269
11270 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11271
11272 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
11273 function call.
11274
11275 2002-11-25 Jim Blandy <jimb@redhat.com>
11276
11277 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
11278 function appearing in error message.
11279
11280 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
11281
11282 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
11283
11284 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
11285
11286 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
11287 for mi1 and current mi is in correct format. New mi startup message
11288 should be in mi console format. This is part of fix for PR gdb/604.
11289
11290 2002-09-18 Fernando Nasser <fnasser@redhat.com>
11291
11292 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
11293 which explicitly prints the zero offset as "+0".
11294
11295 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
11296
11297 * gdb.threads/schedlock.c (args): Make unsigned.
11298
11299 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
11300
11301 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
11302 numbers. Allow "foo2|selected stack frame".
11303 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
11304 * gdb.asm/asmsrc2.s: Likewise.
11305 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
11306 comments.
11307 * gdb.asm/mips.inc: New file.
11308
11309 2002-10-18 Adam Fedor <fedor@gnu.org>
11310
11311 * gdb.base/default.exp: Update expected output to include 'ObjC'.
11312 * gdb.base/help.exp: Likewise.
11313
11314 2002-10-17 Kevin Buettner <kevinb@redhat.com>
11315
11316 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
11317 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
11318
11319 2002-10-02 Jim Blandy <jimb@redhat.com>
11320
11321 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
11322
11323 2002-10-01 Andrew Cagney <ac131313@redhat.com>
11324
11325 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
11326 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
11327 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
11328 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
11329 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
11330 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
11331 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
11332
11333 2002-09-29 Andrew Cagney <ac131313@redhat.com>
11334
11335 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
11336 * mi0-disassemble.exp, mi0-eval.exp: Delete.
11337 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
11338 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
11339 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
11340 * mi0-var-block.exp, mi0-var-child.exp: Delete.
11341 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
11342
11343 2002-09-27 Kevin Buettner <kevinb@redhat.com>
11344
11345 * gdb.base/annota1.exp (info break): Make directory components of
11346 path optional since not all compilers emit this debug information.
11347
11348 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
11349 step ends up stepping out of the function instead of stopping on
11350 the epilogue.
11351
11352 2002-09-26 Keith Seitz <keiths@redhat.com>
11353
11354 * lib/insight-support.exp (gdbtk_start): Figure out where
11355 the insight executable is based on where gdb is. Use this
11356 executable to start insight instead of gdb.
11357
11358 2002-09-25 Andrew Cagney <cagney@redhat.com>
11359
11360 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
11361
11362 2002-09-24 Andrew Cagney <ac131313@redhat.com>
11363
11364 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
11365 test_isolated_complaints.
11366 (test_empty_complaint): New function.
11367 (test_empty_complaints): New function. Check no output when no
11368 complaints.
11369
11370 2002-09-19 Jim Blandy <jimb@redhat.com>
11371
11372 * gdb.base/charset.exp, gdb.base/charset.c: New files.
11373
11374 2002-09-19 Andrew Cagney <ac131313@redhat.com>
11375
11376 * gdb.gdb/complaints.exp: New file.
11377
11378 2002-09-18 Andrew Cagney <ac131313@redhat.com>
11379
11380 * gdb.base/maint.exp: Check `help maint internal-warning'.
11381
11382 2002-09-18 David Carlton <carlton@math.stanford.edu>
11383
11384 * gdb.c++/m-static.exp: Remove breakpoints depending on line
11385 numbers, and replace them by a single breakpoint after the
11386 constructors are all finished.
11387 Add test 4.
11388 * gdb.c++/m-static.cc: Add test 4.
11389 * gdb.c++/m-static.h: New file.
11390 * gdb.c++/m-static1.cc: New file.
11391
11392 * gdb.c++/printmethod.exp: New file.
11393 * gdb.c++/printmethod.cc: New file.
11394
11395 * gdb.c++/pr-574.exp: New file.
11396 * gdb.c++/pr-574.cc: New file.
11397
11398 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11399
11400 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
11401 embedded targets which never actually exit.
11402
11403 2002-09-18 Fernando Nasser <fnasser@redhat.com>
11404
11405 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
11406 "don't step after run" as unresolved or unsupported, instead of xfail.
11407
11408 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11409
11410 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
11411 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
11412 Add newline to expected string in "step out of main (status wrapper)"
11413 case.
11414
11415 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11416
11417 * lib/gdb.exp (rerun_to_main): Allow restarting application.
11418 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
11419
11420 2002-09-17 Tom Tromey <tromey@redhat.com>
11421
11422 * gdb.base/printcmds.exp (test_print_string_constants): Expect
11423 \000, not \0, in double-quoted string.
11424
11425 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
11426
11427 * gdb.base/commands.exp: Don't expect a "Program exited normally"
11428 string after running the commands execution on breakpoint tests.
11429
11430 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
11431
11432 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
11433
11434 2002-09-12 Joel Brobecker <brobecker@gnat.com>
11435
11436 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
11437
11438 2002-09-10 Keith Seitz <keiths@redhat.com>
11439
11440 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
11441 runto proc.
11442 (mi_run_to_main): Use mi_runto.
11443 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
11444
11445 2002-09-10 Keith Seitz <keiths@redhat.com>
11446
11447 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
11448 regexp for stopping at main. Could have multiple event notifications.
11449 Don't assume that main was declared with no parameters.
11450 (mi_next): Use mi_step_to.
11451 (mi_step): Use mi_next_to.
11452
11453 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
11454
11455 * gdb.base/default.exp: Fix expected string in `info float' test.
11456
11457 2002-09-09 Ben Elliston <bje@redhat.com>
11458
11459 * config/mips.exp: Update comments.
11460 * config/mips-idt.exp: Likewise.
11461 * config/nind.exp: Likewise.
11462 * config/slite.exp: Likewise.
11463 * config/sparclet.exp: Likewise.
11464 * config/udi.exp: Likewise.
11465 * config/vx.exp: Likewise.
11466 * config/vxworks29k.exp: Likewise.
11467
11468 2002-09-05 Jim Blandy <jimb@redhat.com>
11469
11470 * gdb.threads/killed.exp: Fix test failure message.
11471
11472 2002-09-04 Keith Seitz <keiths@redhat.com>
11473
11474 * lib/mi-support.exp: Update copyright.
11475 (mi_gdb_test): Increase the priority of the expected pattern
11476 so that it matches gdb_test.
11477
11478 2002-09-03 Keith Seitz <keiths@redhat.com>
11479
11480 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
11481 Use integer comparison instead of string comparison for testing
11482 whether binary was built.
11483
11484 2002-09-03 Jim Blandy <jimb@redhat.com>
11485
11486 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
11487
11488 2002-08-29 Jim Blandy <jimb@redhat.com>
11489
11490 * gdb.threads/pthreads.exp: Move the portable thread compilation
11491 code into a function in lib/gdb.exp, and call that from here.
11492 * lib/gdb.exp (gdb_compile_pthreads): New function.
11493
11494 2002-08-29 Keith Seitz <keiths@redhat.com>
11495
11496 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
11497 expect_out so that callers can get at it.
11498
11499 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
11500
11501 * gdb.threads/print-threads.c: New file.
11502 * gdb.threads/print-threads.exp: New file.
11503 * gdb.threads/schedlock.c: New file.
11504 * gdb.threads/schedlock.exp: New file.
11505
11506 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
11507
11508 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
11509 not altivec.c.
11510
11511 2002-08-17 Mark Kettenis <kettenis@gnu.org>
11512
11513 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
11514 targets. The problem should be fixed now.
11515
11516 2002-08-15 Mark Kettenis <kettenis@gnu.org>
11517
11518 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
11519 2002-07-24 change that removes final dots from error messages.
11520
11521 2002-08-13 Tom Tromey <tromey@redhat.com>
11522
11523 * gdb.base/readline.exp: New file.
11524
11525 2002-08-01 Andrew Cagney <ac131313@redhat.com>
11526
11527 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
11528 supress message.
11529
11530 2002-08-01 Andrew Cagney <cagney@redhat.com>
11531
11532 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
11533 CHILL_FOR_TARGET and CHILL_LIB.
11534 * configure.in (configdirs): Remove gdb.chill.
11535 * configure: Regenerate.
11536 * lib/gdb.exp: Obsolete references to chill.
11537 * gdb.fortran/types.exp: Ditto.
11538 * gdb.fortran/exprs.exp: Ditto.
11539
11540 2002-07-30 Kevin Buettner <kevinb@redhat.com>
11541
11542 * gdb.base/shlib-call.exp (additional_flags): Conditionally
11543 set Irix-specific compile and link flags.
11544
11545 2002-07-29 Kevin Buettner <kevinb@redhat.com>
11546
11547 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
11548 source files. The ``-o'' option doesn't work with the ``-E'' option
11549 when using the Irix compiler.
11550
11551 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
11552
11553 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
11554 Improve support for reusing an exec file. Copy exec file
11555 to target, and run gdbserver on the target instead of on the host.
11556
11557 2002-07-18 Jim Blandy <jimb@redhat.com>
11558
11559 * gdb.base/ending-run.exp: Don't expect to see the program end in
11560 some orderly fashion when we're running on a real stand-alone
11561 board.
11562
11563 * gdb.base/interrupt.exp: Correct logic for skipping tests on
11564 targets that don't support interrupts.
11565
11566 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
11567
11568 * gdb.base/attach.exp: Add patterns to match output from /proc-based
11569 systems.
11570 Move comments in expect statements to inside the actions, so that they
11571 don't get matched against.
11572
11573 2002-07-10 Mark Kettenis <kettenis@gnu.org>
11574
11575 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
11576 function when asleep" test.
11577
11578 2002-07-10 Andrew Cagney <ac131313@redhat.com>
11579
11580 * gdb.base/page.exp: Rewrite to handle problems with very long
11581 `info set' output. Update copyright.
11582
11583 2002-06-26 Andrew Cagney <ac131313@redhat.com>
11584
11585 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
11586 gdb.threads-hp.
11587 * gdb.hp/configure: Regenerate.
11588 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
11589 * gdb.hp/gdb.threads-hp/configure: Delete file.
11590 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
11591
11592 2002-06-22 Andrew Cagney <ac131313@redhat.com>
11593
11594 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
11595 setlocale, bindtextdomain and textdomain.
11596
11597 2002-06-11 Jim Blandy <jimb@redhat.com>
11598
11599 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
11600 preprocessor macro information is present.
11601
11602 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
11603 tests.
11604
11605 2002-06-06 Michael Snyder <msnyder@redhat.com>
11606
11607 * gdb.base/overlays.exp: Record addresses of overlay
11608 functions in TCL variables rather than in GDB variables,
11609 to avoid having GDB convert them to pointers (with loss
11610 of information).
11611
11612 * gdb.base/d10v.ld: Merge in several years worth of
11613 default linker script changes.
11614 * gdb.base/long_long.exp: Add check for sizeof (long double).
11615
11616 2002-06-06 Michal Ludvig <mludvig@suse.cz>
11617
11618 * gdb.asm/asm-source.exp: Add x86-64 target.
11619 * gdb.asm/x86_64.inc: New.
11620
11621 2002-05-30 Michael Chastain <mec@shout.net>
11622
11623 From Benjamin Kosnik <bkoz@redhat.com>:
11624 * gdb.c++/m-static.cc: New file.
11625 * gdb.c++/m-static.exp: New file.
11626
11627 2002-05-28 Michael Snyder <msnyder@redhat.com>
11628
11629 * gdb.base/call-ar-st.exp: Allow for reduced floating point
11630 precision.
11631
11632 2002-05-27 Michael Chastain <mec@shout.net>
11633
11634 From Benjamin Kosnik <bkoz@redhat.com>:
11635 * gdb.c++/m-data.cc: New file.
11636 * gdb.c++/m-data.exp: New file.
11637
11638 2002-05-27 Michael Chastain <mec@shout.net>
11639
11640 From Benjamin Kosnik <bkoz@redhat.com>:
11641 * gdb.c++/try_catch.cc: New file.
11642 * gdb.c++/try_catch.exp: New file.
11643
11644 2002-05-27 Michael Chastain <mec@shout.net>
11645
11646 * gdb.c++/local.exp: Accept more nested types in output.
11647
11648 2002-05-26 Michael Chastain <mec@shout.net>
11649
11650 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
11651
11652 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
11653
11654 * lib/gdb.exp (gdb_wrapper_init): Just because
11655 gdb_wrapper_file exists, this does not mean that the file
11656 should not be rebuilt. That is what gdb_wrapper_initialized
11657 is for.
11658 (default_gdb_init): Reset gdb_wrapper_initialized.
11659
11660 2002-05-23 Michael Snyder <msnyder@redhat.com>
11661
11662 * gdb.base/all-bin.exp: Revise previous patch by just reducing
11663 the precision of the floating point test results.
11664 * gdb.base/call-rt-st.exp: Ditto.
11665
11666 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
11667 * gdb.base/call-rt-st.exp: Ditto.
11668
11669 2002-05-19 Michael Chastain <mec@shout.net>
11670
11671 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
11672
11673 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
11674
11675 * configure.in (configdirs): Add gdb.arch.
11676 * configure: Regenerate.
11677
11678 2002-05-17 Jim Blandy <jimb@redhat.com>
11679
11680 * gdb.base/completion.exp: Recognize the more detailed error
11681 messages produced by the macro expander's lexical analyzer.
11682
11683 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
11684
11685 * gdb.arch/altivec-abi.c: New file.
11686 * gdb.arch/altivec-abi.exp: New file.
11687 * gdb.arch/altivec-regs.c: New file.
11688 * gdb.arch/altivec-regs.exp: New file.
11689
11690 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
11691
11692 * gdb.base/maint.exp (maint print type): Update for new type
11693 structure.
11694
11695 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
11696
11697 * gdb.arch: New directory.
11698 * gdb.arch/configure.in: New file.
11699 * gdb.arch/configure: New file.
11700 * gdb.arch/Makefile.in: New file.
11701
11702 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
11703
11704 * gdb.asm/asm-source.exp: Add v850 as supported target.
11705 * gdb.asm/v850.inc: New file.
11706
11707 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
11708
11709 * gdb.c++/annota2.exp (annotate-quit): Add comment.
11710
11711 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
11712
11713 * gdb.base/break.exp: Check 'break "marker2"'.
11714
11715 2002-05-10 Michael Snyder <msnyder@redhat.com>
11716
11717 * gdb.base/long_long.exp: Fix typo.
11718
11719 2002-05-10 Jim Blandy <jimb@redhat.com>
11720
11721 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
11722 a bug.
11723
11724 * gdb.base/printcmds.exp (test_integer_literals_rejected):
11725 Recognize more detailed error message produced by the macro
11726 expander's lexical analyzer.
11727 * lib/gdb.exp (test_print_reject): Same.
11728
11729 2002-05-09 Mark Kettenis <kettenis@gnu.org>
11730
11731 * gdb.c++/method.exp: Fix typo.
11732
11733 2002-05-08 Michael Snyder <msnyder@redhat.com>
11734
11735 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
11736 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
11737 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
11738 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
11739 Add iftarget clause for strongarm.
11740
11741 2002-05-06 Michael Snyder <msnyder@redhat.com>
11742
11743 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
11744 (gdb_continue_to_end): Accept output from status wrapper.
11745 * gdb.base/ending-run.exp: Add case for output from status wrapper.
11746 Clean up fail messages to match pass messages.
11747
11748 Enable the "needs_status_wrapper" testsuite feature.
11749 * lib/gdb.exp (gdb_wrapper_init): New procedure.
11750 (gdb_compile): Conditionally call gdb_wrapper_init.
11751 * gdb.base/a2-run.exp: Recognize output from status wrapper.
11752 * gdb.c++/method.exp: Recognize output from status wrapper.
11753
11754 2002-05-06 Ben Elliston <bje@redhat.com>
11755 From Graydon Hoare <graydon@redhat.com>
11756
11757 * config/sid.exp: Include support for "rawsid" protocol.
11758
11759 2002-05-03 Jim Blandy <jimb@redhat.com>
11760
11761 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
11762 * gdb.c++/hang3.C: New file.
11763
11764 2002-05-04 Andrew Cagney <ac131313@redhat.com>
11765
11766 * gdb.base/default.exp: Remove obsolete code.
11767 * gdb.c++/misc.exp: Ditto. Update copyright.
11768 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
11769 * gdb.base/whatis.exp: Ditto. Update copyright.
11770 * gdb.base/scope.exp: Ditto. Update copyright.
11771 * gdb.base/ptype.exp: Ditto. Update copyright.
11772 * gdb.base/printcmds.exp: Ditto. Update copyright.
11773 * gdb.base/opaque.exp: Ditto. Update copyright.
11774 * gdb.base/list.exp: Ditto.
11775 * gdb.base/funcargs.exp: Ditto. Update copyright.
11776 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
11777 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
11778 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
11779 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
11780 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
11781 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
11782
11783 2002-05-02 Michael Snyder <msnyder@redhat.com>
11784
11785 * gdb.base/watchpoint.exp: Add xscale target.
11786 * gdb.base/long_long.exp: Add xscale target.
11787 * gdb.base/default.exp: Add xscale target.
11788
11789 2002-05-01 Jim Blandy <jimb@redhat.com>
11790
11791 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
11792 gdb.c++/hang.exp: New test.
11793
11794 2002-05-01 Fred Fish <fnf@redhat.com>
11795
11796 * gdb.base/completion.exp: Handle completions of "./Make" for
11797 more than one completion possibility, as is the case when we
11798 build and test in the source tree.
11799
11800 2002-04-29 Anthony Green <green@redhat.com>
11801
11802 * gdb.java/jmisc1.exp: New file.
11803 * gdb.java/jmisc2.exp: New file.
11804
11805 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
11806
11807 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
11808
11809 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
11810
11811 * gdb.base/help.exp: Change 'help status' to allow for target
11812 dependent output differences.
11813
11814 2002-04-22 Michael Chastain <mec@shout.net>
11815
11816 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
11817
11818 2002-04-22 Michael Chastain <mec@shout.net>
11819
11820 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
11821
11822 2002-04-17 David S. Miller <davem@redhat.com>
11823
11824 * gdb.asm/sparc64.inc: New file.
11825 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
11826
11827 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
11828
11829 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
11830 instruction file directly into the build tree. Clean up at end of
11831 test.
11832
11833 2002-04-18 David S. Miller <davem@redhat.com>
11834
11835 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
11836 handle 64-bit platforms correctly.
11837 * gdb.base/maint.exp: Likewise.
11838
11839 2002-04-18 Kevin Buettner <kevinb@redhat.com>
11840
11841 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
11842 ``-fpic'' when compiling files comprising a shared library, but
11843 it does need additional linker flags in order to find shared
11844 libraries at run time.
11845
11846 2002-04-18 Kevin Buettner <kevinb@redhat.com>
11847
11848 * gdb.base/cvexpr.c (use): New function.
11849 (main): Invoke use() on all global variables to prevent
11850 some linkers from deleting these otherwise unused symbols.
11851
11852 2002-04-17 Michael Chastain <mec@shout.net>
11853 From David S. Miller <davem@redhat.com>
11854
11855 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
11856 handle 64-bit platforms correctly.
11857
11858 2002-04-12 Michael Snyder <msnyder@redhat.com>
11859 From Jim Blandy <jimb@redhat.com>
11860 * gdb.base/foo.c (foox): Remove section attribute; the linker
11861 script can handle this instead.
11862 * gdb.base/bar.c (barx): Same.
11863 * gdb.base/baz.c (bazx): Same.
11864 * gdb.base/grbx.c (grbxx): Same.
11865
11866 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
11867 manager doesn't automatically unmap overlays unnecessarily.
11868
11869 2002-04-10 Martin M. Hunt <hunt@redhat.com>
11870
11871 * gdb.base/ending-run.exp: Fix pattern for Mips targets
11872 stepping out of main.
11873
11874 2002-04-09 Michael Chastain <mec@shout.net>
11875
11876 * gdb.c++/local.cc (main): Move call to marker1() inside nested
11877 scope so that the nested scope tests will make sense.
11878 * gdb.c++/local.exp: Write patterns that actually work with gcc
11879 (the HP patterns "were never known to work with gcc").
11880 Keep the old aCC patterns too.
11881
11882 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
11883
11884 * gdb.base/attach.exp: Correct target board test.
11885
11886 2002-04-08 Michael Chastain <mec@shout.net>
11887
11888 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
11889 in a const method. Add some xfail and fail cases for configurations
11890 that do not emit the "const ...".
11891
11892 2002-04-07 Michael Chastain <mec@shout.net>
11893
11894 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
11895 Accept "A * const" and "const A * const" as type of "this".
11896 Fix spelling of getFunky throughout. Make messages uniform.
11897
11898 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
11899
11900 Work around for PR gdb/285:
11901 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
11902
11903 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
11904
11905 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
11906 instructions file at run time instead of configure time.
11907 Sometimes we run the test in a directory that is not the one we
11908 configured in.
11909 * gdb.asm/configure.in: Delete creation of symlink.
11910 * gdb.asm/configure: Regenerate.
11911
11912 2002-04-05 J. Brobecker <brobecker@gnat.com>
11913
11914 * gdb.gdb/xfullpath.exp: New test, to exercise the new
11915 xfullpath () function.
11916
11917 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
11918
11919 * gdb.asm/Makefile.in: Correct dependencies.
11920
11921 * gdb.asm/powerpc.inc: New file.
11922 * gdb.asm/asm-source.exp: Add PowerPC.
11923 * gdb.asm/configure.in: Likewise.
11924 * gdb.asm/configure: Regenerated.
11925
11926 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
11927
11928 * gdb.base/relocate.exp: New file.
11929 * gdb.base/relocate.c: New file.
11930
11931 2002-04-04 Fred Fish <fnf@redhat.com>
11932
11933 * gdb.base/step-test.exp: Update comment regarding stopping in
11934 memcpy/bcopy calls inserted as part of the compiler runtime.
11935
11936 2002-04-04 Michael Snyder <msnyder@redhat.com>
11937
11938 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
11939
11940 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
11941
11942 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
11943 (gdb_expect): Remove $notransfer hack.
11944
11945 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
11946
11947 * gdb.c++/classes.exp ("calling method for small class"): Match
11948 updated register output.
11949
11950 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
11951
11952 Fix PR gdb/452
11953 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
11954 when finished. Make gdb_file_cmd send "exec-file" when
11955 appropriate.
11956
11957 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
11958
11959 * gdb.base/attach.exp: Remove extra setup_xfail.
11960
11961 2002-03-26 Michael Snyder <msnyder@redhat.com>
11962
11963 * gdb.base/default.exp: Add tests for dump, append, and restore.
11964 * gdb.base/help.exp: Add tests for dump, append, and restore.
11965 * gdb.base/dump.exp: New file, test dump, append and restore.
11966 * gdb.base/dump.c: New file.
11967
11968 2002-03-27 Michael Snyder <msnyder@redhat.com>
11969
11970 * gdb.base/help.exp: Modify expect strings to reflect
11971 clean-ups in help messages.
11972
11973 2002-03-26 Fred Fish <fnf@redhat.com>
11974
11975 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
11976 have debugging info for those functions and the compiler uses them
11977 internally to copy structs around.
11978
11979 2002-03-26 Fred Fish <fnf@redhat.com>
11980
11981 * gdb.base/list.exp: Revert the change made yesterday and add note
11982 about why we don't list the default lines for remote targets.
11983
11984 2002-03-25 Michael Snyder <msnyder@redhat.com>
11985
11986 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
11987
11988 2002-03-25 Fred Fish <fnf@redhat.com>
11989
11990 * gdb.base/list.exp: This test works on remote targets so remove
11991 the short circuit for remote targets. Update copyright.
11992
11993 2002-03-25 Fred Fish <fnf@redhat.com>
11994
11995 * gdb.base/attach.exp: Fix logic error that was suppressing this
11996 test for all non hppa*-*-hpux* targets, instead of the hp target.
11997 Move comments closer to the suppression point. Also now need to
11998 check that we are running natively.
11999
12000 2002-03-22 Michael Snyder <msnyder@redhat.com>
12001
12002 * gdb.base/default.exp: Add test for gcore. Update copyright.
12003 * gdb.base/help.exp: Add test for gcore. Update copyright.
12004
12005 2002-03-06 Fred Fish <fnf@redhat.com>
12006
12007 * gdb.base/funcargs.c: Remove extraneous ';' character.
12008 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
12009
12010 2002-03-04 Michael Chastain <mec@shout.net>
12011
12012 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
12013 accommodate gcc v3 function signature.
12014 * gdb.mi/mi0-var-cmd-exp: Ditto.
12015
12016 2002-02-24 Andrew Cagney <ac131313@redhat.com>
12017
12018 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
12019 ``GNU/Linux'' or ``Linux kernel''
12020 * testsuite/gdb.threads/pthreads.c: Ditto.
12021
12022 2002-02-24 Michael Chastain <mec@shout.net>
12023
12024 * gdb.threads/pthreads.c (thread1): Add a return statement.
12025 (thread2): Likewise.
12026 (foo): Likewise.
12027
12028 2002-02-23 Michael Chastain <mec@shout.net>
12029
12030 * gdb.threads/linux-dp.c (philosopher): Add a return statement
12031 to placate gcc.
12032
12033 2002-02-23 Michael Chastain <mec@shout.net>
12034
12035 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
12036 test "ptype bint". The test passes on all my stabs configurations.
12037
12038 2002-02-21 Jim Blandy <jimb@redhat.com>
12039
12040 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
12041 filename at a time, and watch for the ones we want to see.
12042
12043 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
12044 types of pointers to prototyped functions.
12045
12046 2002-02-20 Andrew Cagney <ac131313@redhat.com>
12047
12048 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
12049 signed, unsigned and straight char.
12050 (padding_char, padding_short, padding_int, padding_long,
12051 padding_long_long, padding_float, padding_double,
12052 padding_long_double): New global variables.
12053 (fill, fill_structs): New functions.
12054
12055 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
12056 for correctly sized writes. Update copyright.
12057 (get_valueof): New procedure.
12058 (get_sizeof): Call get_valueof.
12059 (check_valueof): New procedure.
12060 (check_padding): New procedure.
12061
12062 2002-02-20 Michael Chastain <mec@shout.net>
12063
12064 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
12065 to setup_xfail. Document some of the remaining calls.
12066
12067 2002-02-18 Michael Chastain <mec@shout.net>
12068
12069 * gdb.c++/userdef.exp: Update copyright year.
12070
12071 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
12072
12073 * gdb.c++/userdef.exp: Test overloaded operators properly.
12074 Remove xfails.
12075
12076 2002-02-14 Michael Snyder <msnyder@redhat.com>
12077
12078 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
12079
12080 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
12081
12082 * gdb.base/a2-run.exp: Check for a remote target properly.
12083 * gdb.base/annota1.exp: Likewise.
12084 * gdb.base/list.exp: Likewise.
12085 * gdb.base/reread.exp: Likewise.
12086 * gdb.base/scope.exp: Likewise.
12087 * gdb.base/shlib-call.exp: Likewise.
12088 * gdb.base/term.exp: Likewise.
12089 * gdb.c++/annota2.exp: Likewise.
12090
12091 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
12092
12093 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
12094
12095 2002-02-10 Michael Chastain <mec@shout.net>
12096
12097 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
12098 (call_after_alloca): Ditto.
12099
12100 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
12101
12102 * gdb.base/ending-run.exp: Guard "cont" test with
12103 gdb_skip_stdio_test.
12104
12105 2002-02-06 Jim Blandy <jimb@redhat.com>
12106
12107 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
12108 from here...
12109 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
12110 To here. Disable this test on non-HP platforms. Add big comment.
12111
12112 2002-02-04 Michael Snyder <msnyder@redhat.com>
12113
12114 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
12115 other than d10v and m32r.
12116
12117 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
12118
12119 * gdb.base/default.exp: Rewrite test patterns to reduce time
12120 taken to match them.
12121
12122 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
12123
12124 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
12125 Allow a start function above main.
12126 * gdb.threads/linux-dp.exp: Fix copyright date.
12127
12128 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
12129
12130 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
12131 (check_philosopher_stack): Check for manager thread before checking
12132 for a just-starting thread.
12133
12134 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
12135
12136 From Neil Booth <neil@daikokuya.demon.co.uk>:
12137 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
12138 warnings.
12139
12140 2002-01-21 Fred Fish <fnf@redhat.com>
12141
12142 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
12143 not caller.
12144
12145 2002-01-21 Jim Blandy <jimb@redhat.com>
12146
12147 * gdb.base/reread.exp: Check that GDB properly re-reads the
12148 executable file when it changes while no inferior is running.
12149
12150 2002-01-21 Fred Fish <fnf@redhat.com>
12151
12152 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
12153 optionally accept the "shlib events" variation.
12154
12155 2002-01-21 Jim Blandy <jimb@redhat.com>
12156
12157 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
12158 call `fflush' after every `printf', so that the output is produced
12159 at predictable points, regardless of whatever buffering does (or
12160 doesn't) take place.
12161 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
12162 at different points.
12163
12164 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
12165
12166 * gdb.c++/inherit.exp: Update copyright years.
12167 * gdb.c++/method.exp: Likewise.
12168
12169 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
12170
12171 * gdb.c++/classes.exp: Update for improved v3 support and skipping
12172 artificial methods/arguments.
12173 * gdb.c++/derivation.exp: Likewise.
12174 * gdb.c++/inherit.exp: Likewise.
12175 * gdb.c++/method.exp: Likewise.
12176 * gdb.c++/virtfunc.exp: Likewise.
12177
12178 2002-01-18 Andrew Cagney <ac131313@redhat.com>
12179
12180 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
12181 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
12182 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
12183 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
12184 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
12185 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
12186
12187 2002-01-17 Jim Blandy <jimb@redhat.com>
12188
12189 * gdb.asm/asm-source.exp (info symbol): Take another shot at
12190 anchoring the pattern matching the entry point symbol's name.
12191
12192 2002-01-17 Andrew Cagney <ac131313@redhat.com>
12193
12194 * gdb.base/maint.exp: Update ``maint internal-error'' to match
12195 continue/quit query. Update copyright.
12196
12197 2002-01-14 Michael Snyder <msnyder@redhat.com>
12198
12199 * gdb.base/gcore.exp: Remove extra debugging output.
12200
12201 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
12202
12203 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
12204 for slightly dubious v2 mangled string.
12205
12206 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
12207
12208 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
12209
12210 2002-01-10 Jason Merrill <jason@redhat.com>
12211
12212 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
12213
12214 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
12215 constructors.
12216 * gdb.c++/derivation.exp: Likewise.
12217 * gdb.c++/templates.exp: Likewise.
12218 * gdb.c++/virtfunc.exp: Likewise.
12219
12220 2002-01-10 Michael Snyder <msnyder@redhat.com>
12221
12222 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
12223
12224 2002-01-08 Michael Snyder <msnyder@redhat.com>
12225
12226 * gdb.base/gcore.exp: New test for generate-core-file command.
12227 * gdb.base/gcore.c: Testcase for above.
12228 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
12229
12230 2002-01-08 Jason Merrill <jason@redhat.com>
12231
12232 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
12233
12234 2002-01-07 Fred Fish <fnf@redhat.com>
12235
12236 * gdb.c++/overload.exp: Remove unconditional xfails for:
12237 print foo_instance1.overloadargs(1)
12238 print foo_instance1.overloadargs(1, 2)
12239 print foo_instance1.overloadargs(1, 2, 3)
12240 print foo_instance1.overloadargs(1, 2, 3, 4)
12241 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
12242 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
12243 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
12244 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
12245 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
12246 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
12247 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
12248 print foo_instance1.overload1arg()
12249 print foo_instance1.overload1arg((char)arg2)
12250 print foo_instance1.overload1arg((signed char)arg3)
12251 print foo_instance1.overload1arg((unsigned char)arg4)
12252 print foo_instance1.overload1arg((int)arg7)
12253 print foo_instance1.overload1arg((unsigned int)arg8)
12254 print foo_instance1.overload1arg((float)arg11)
12255 print foo_instance1.overload1arg((double)arg12)
12256
12257 2002-01-07 Michael Snyder <msnyder@redhat.com>
12258
12259 * gdb.base/huge.exp: New test. Print a very large target data object.
12260 (skip_huge_test): New test variable. Define if you want to skip this
12261 test. The test reads an 8 megabyte data object from the target, so it
12262 might be very time consuming on remote targets with a slow connection.
12263 * gdb.base/huge.c: New file. Test case for above.
12264
12265 2002-01-07 Fred Fish <fnf@redhat.com>
12266
12267 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
12268 g_instance.bfoo, and g_instance.cfoo.
12269
12270 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
12271
12272 * gdb.base/break.c (multi_line_if_conditional): New function.
12273 (multi_ilne_while_conditional): Likewise.
12274 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
12275 IF or WHILE condition puts the breakpoint at the start of
12276 the condition.
12277
12278 * gdb.base/selftest.exp (backtrace through signal handler): Remove
12279 hppa*-*-hpux* expected failure.
12280 * gdb.base/structs.exp (do_function_calls): Similarly.
12281
12282 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
12283 watchpoints.
12284
12285 2002-01-06 Andrew Cagney <ac131313@redhat.com>
12286
12287 Fix PR gdb/66.
12288 * gdb.base/structs.exp: Replace skip for a29k with skip for
12289 gdb,cannot_call_functions.
12290 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
12291 * gdb.base/callfuncs.exp: Ditto.
12292 * gdb.base/call-rt-st.exp: Ditto.
12293 * gdb.base/call-strs.exp: Ditto.
12294 * gdb.base/callfwmall.exp: Ditto.
12295 * gdb.base/scope.exp: Obsolete xfail a29k.
12296 * gdb.c++/misc.exp: Ditto.
12297 * gdb.c++/cplusfuncs.exp: Ditto.
12298 * gdb.base/ptype.exp: Ditto.
12299 * gdb.base/printcmds.exp: Ditto.
12300 * gdb.base/opaque.exp: Ditto.
12301 * gdb.base/list.exp: Ditto.
12302 * gdb.base/funcargs.exp: Ditto.
12303 * gdb.base/default.exp: Ditto.
12304
12305 2002-01-04 Michael Snyder <msnyder@redhat.com>
12306
12307 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
12308 * gdb.base/maint.exp: Add tests for maint info sections options.
12309
12310 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
12311
12312 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
12313
12314 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
12315
12316 * gdb.asm/arm.inc: New file.
12317 * gdb.asm/asm-source.exp: Add arm targets.
12318 * gdb.asm/configure.in: Ditto.
12319 * gdb.asm/configure: Recreated from configure.in.
12320
12321 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
12322
12323 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
12324 with HP's compiler.
12325 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12326 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12327 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12328 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12329
12330 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
12331 either HP's compilers or GCC.
12332
12333 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
12334 a SIGBUS or SIGSEGV.
12335
12336 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
12337
12338 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
12339 can be compiled with either HP's compiler or GCC.
12340
12341 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
12342 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
12343 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
12344
12345 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
12346 to match current gdb output. Update due to using auto-solib-limit
12347 for limiting instead of overloading auto-solib-add.
12348 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
12349 test program.
12350
12351 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
12352 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
12353 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12354 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12355 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12356 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12357 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
12358 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
12359 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
12360 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
12361 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
12362 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
12363 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
12364
12365 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
12366 a SIGTRAP to the inferior.
12367
12368 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
12369
12370 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
12371 Substitute call to target_link by call to gdb_compile.
12372
12373 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
12374
12375 * gdb.base/break.exp: Fix HP specific search string when testing
12376 backtracing in a called function.
12377
12378 * gdb.base/constvars.exp: Only set lang to C++ if we're
12379 compiling the test with HP's compilers.
12380 * gdb.base/volatile.exp: Similarly.
12381
12382 2001-12-19 Jim Blandy <jimb@redhat.com>
12383
12384 * gdb.base/printcmds.exp: Expect the null character to be printed
12385 as '\0', and the '\013' to be printed as '\v'.
12386 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
12387 * gdb.base/setvar.exp: Same.
12388
12389 2001-12-17 Jim Blandy <jimb@redhat.com>
12390
12391 * gdb.base/completion.exp: Rather than completing very long
12392 filenames, which can make the readline library produce output we
12393 don't recognize, cd to the directory first, and then complete
12394 using nice, short relative paths.
12395
12396 * gdb.base/completion.exp: On some systems, there is, in fact, a
12397 variable named `b' in scope, since GDB treats all static
12398 variables as being in scope. So use `no_var_named_this'
12399 instead of `b'.
12400
12401 * gdb.base/corefile.exp: Recognize the message saying that GDB
12402 can't find the core file's registers as a failure.
12403
12404 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
12405
12406 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
12407 test expect string more specific.
12408
12409 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
12410
12411 * gdb.asm/asm-source.exp: Add support for xstormy16.
12412 * gdb.asm/configure.in: Ditto.
12413 * gdb.asm/configure: Rebuild.
12414 * gdb.asm/xstormy16.inc: New file.
12415
12416 2001-12-10 Fred Fish <fnf@redhat.com>
12417
12418 * gdb.base/maint.exp: Update to match changes in type dumping code.
12419
12420 2001-12-10 Jim Blandy <jimb@redhat.com>
12421
12422 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
12423 matching the entry point symbol's name at the beginning of the
12424 line.
12425
12426 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
12427
12428 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
12429 gdb.c++/inherit.exp, gdb.c++/method.exp,
12430 gdb.c++/namespace.exp, gdb.c++/templates.exp,
12431 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
12432 and class layout support.
12433
12434 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
12435
12436 * gdb.c++/classes.exp: Add test for static member function.
12437 * gdb.c++/misc.cc: Add class with static member function.
12438
12439 2001-12-07 Jim Blandy <jimb@redhat.com>
12440
12441 If GDB says it can't find the struct the function returned, report
12442 those tests as `unsupported'.
12443 * gdb.base/call-rt-st.exp (print_struct_call): New function.
12444 Rewrite subsequent tests to use it.
12445
12446 If GDB says it can't find the struct the function returned, report
12447 those tests as `unsupported'.
12448 * gdb.base/structs.exp (call_struct_func): New function.
12449 (do_function_calls): Use call_struct_func to call the functions
12450 returning structs.
12451
12452 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
12453 whether functions are prototyped or not, so we can't possibly pass
12454 arguments to t_float_values2 properly.
12455
12456 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
12457 value of `timeout' for targets other than the mips*tx39-*.
12458
12459 2001-12-06 Michael Snyder <msnyder@redhat.com>
12460
12461 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
12462 and detect whether the start symbol has a leading underscore.
12463
12464 2001-12-04 Jim Blandy <jimb@redhat.com>
12465
12466 * gdb.base/completion.exp: Clarify indentation.
12467
12468 2001-12-03 Jim Blandy <jimb@redhat.com>
12469
12470 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
12471 variables on the S/390, not `.word'.
12472
12473 2001-11-30 Jim Blandy <jimb@redhat.com>
12474
12475 Add assembly-source tests for s390-ibm-linux.
12476 * gdb.asm/s390.inc: New file.
12477 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
12478 the S/390 architecture.
12479 * gdb.asm/configure: Regenerated.
12480
12481 2001-11-30 Michael Snyder <msnyder@redhat.com>
12482
12483 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
12484 next, info source, info sources, info line, global and static
12485 variables, and static functions.
12486 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
12487 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
12488 * gdb.asm/asmsrc1.s: Add a static function and some variables.
12489 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
12490 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
12491 (gdbasm_leave): Restore frame pointer.
12492 (gdbasm_startup): Copy stack set-up from crt0.S.
12493
12494 2001-11-26 Fernando Nasser <fnasser@redhat.com>
12495
12496 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
12497 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
12498 to a local (non-static) variable. Copy tstruct.a to a static buffer
12499 and return a pointer to that buffer.
12500 * gdb.base/callfwmall.c (t_structs_a): Ditto.
12501
12502 2001-11-24 Mark Kettenis <kettenis@gnu.org>
12503
12504 * gdb.asm/configure.in: Fix recognition of ix86 target.
12505 * gdb.asm/configure: Regenerate.
12506
12507 2001-11-21 Michael Snyder <msnyder@redhat.com>
12508
12509 * gdb.asm/sparc.inc: New file.
12510 * gdb.asm/asm-source.exp: Recognize sparc target.
12511 * gdb.asm/configure.in: Recognize sparc target.
12512 * gdb.asm/configure: Regenerate.
12513
12514 2001-11-21 Michael Snyder <msnyder@redhat.com>
12515
12516 * gdb.asm/m32r.inc: New file.
12517 * gdb.asm/asm-source.exp: Recognize m32r target.
12518 * gdb.asm/configure.in: Recognize m32r target.
12519 * gdb.asm/configure: Regenerate.
12520
12521 2001-11-20 Michael Snyder <msnyder@redhat.com>
12522
12523 * gdb.asm/i386.inc: New file.
12524 * gdb.asm/asm-source.exp: Recognize ix86 target.
12525 * gdb.asm/configure.in: Recognize ix86 target.
12526 * gdb.asm/configure: Regenerate.
12527
12528 * gdb.c++/namespace.exp: Fix quotes in output messages.
12529
12530 2001-11-14 Michael Snyder <msnyder@redhat.com>
12531
12532 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
12533 qualifier in a type cast expression, to designate an address
12534 in the instruction space (Harvard architecture).
12535
12536 2001-11-13 Michael Snyder <msnyder@redhat.com>
12537
12538 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
12539 Tests for expressions using 'const' and 'volatile'.
12540
12541 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
12542
12543 * gdb.asm/asm-sources.exp: Allow defining linker flags.
12544
12545 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
12546
12547 * lib/mi-support.exp (mi_run_to_helper): Move comments
12548 outside of gdb_expect.
12549
12550 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
12551
12552 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
12553 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
12554 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
12555 mi0_run_to): New functions.
12556 * gdb.mi/mi-simplerun.exp: Use them.
12557 * gdb.mi/mi0-simplerun.exp: Likewise.
12558 * gdb.mi/mi-var-cmd.exp: Likewise.
12559 * gdb.mi/mi0-var-cmd.exp: Likewise.
12560
12561 2001-11-10 Andrew Cagney <ac131313@redhat.com>
12562
12563 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
12564 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
12565
12566 2001-11-09 Andrew Cagney <ac131313@redhat.com>
12567
12568 * gdb.base/restore.exp: Include $expected value in restored test
12569 message.
12570
12571 2001-11-09 Andrew Cagney <ac131313@redhat.com>
12572
12573 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
12574 implemented.
12575
12576 2001-11-08 Michael Snyder <msnyder@redhat.com>
12577
12578 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
12579 Add pass/fail message for stop at breakpoint in call dummy function.
12580
12581 2001-11-07 Michael Snyder <msnyder@redhat.com>
12582
12583 * gdb.c++/templates.exp (test_template_breakpoints):
12584 If we get an overload menu, but it does not match what
12585 we expect, we still need to issue the "cancel" command.
12586 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
12587 making the whitespace optional. Argument for "new" may be
12588 "unsigned" as well as "unsigned int/long".
12589 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
12590 making the whitespace optional. Also replace "(void) with
12591 "((void|)), making the keyword "void" optional.
12592 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
12593 making the whitespace optional. Also replace "(void) with
12594 "((void|)), making the keyword "void" optional.
12595 * gdb.base/callfuncs.c (t_float_values): This function must
12596 _not_ be prototyped, and the following function (t_float_values2)
12597 must be prototyped (if the compiler supports it), so that GDB
12598 can be tested against both cases. Usually one case involves
12599 promotion of float to double, while the other does not.
12600 * gdb.base/callfwmall.c: Ditto.
12601 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
12602 includes a stack frame for "start".
12603
12604 2001-11-05 Jim Blandy <jimb@redhat.com>
12605
12606 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
12607 pointers are 32 bits long, and that offsets of relocs are always
12608 stored in the data (REL-style), and not in the reloc entry itself
12609 (RELA-style).
12610 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
12611 stabs.
12612
12613 2001-11-01 Michael Snyder <msnyder@redhat.com>
12614
12615 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
12616 and regular expression operators by using quoting.
12617
12618 2001-10-31 Michael Snyder <msnyder@redhat.com>
12619
12620 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
12621 depending on what the symbol table contains.
12622 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
12623 the output of the ptype command. Similarly, accept both "const &"
12624 and "const&".
12625
12626 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
12627
12628 * gdb.base/miscexprs.c (main): Add usage of preprocessor
12629 symbol `STORAGE' to allow to choose the storage class of
12630 the local datastructures.
12631 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
12632 compiler directive.
12633
12634 2001-10-30 Michael Snyder <msnyder@redhat.com>
12635
12636 * gdb.base/jump.exp: Allow it to run for all targets.
12637
12638 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
12639
12640 * gdb.base/call-ar-st.c (print_double_array): Match for loop
12641 with new double_array size.
12642 (main): Change storage class of all local variables to static.
12643 Reduce size of double_array to 9.
12644 * gdb.base/call-ar-st.exp: Increase timeout value.
12645 Change expected output for double array to match new size in
12646 call-ar-st.c.
12647
12648 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
12649
12650 * gdb.base/ending-run.exp: Create identical output when passing
12651 `step to end of run' case. Add regular expression branch satisfying
12652 Stormy16 target.
12653
12654 2001-10-28 Mark Kettenis <kettenis@gnu.org>
12655
12656 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
12657 that we catch the expected failure under Linux/x86.
12658
12659 2001-10-29 Orjan Friberg <orjanf@axis.com>
12660
12661 * gdb.base/setvar.exp: Escape curly braces.
12662 * gdb.stabs/weird.exp: Ditto.
12663
12664 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
12665
12666 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
12667 * gdm.mi/mi0-hack-cli.exp: Likewise.
12668
12669 2001-10-25 Andrew Cagney <ac131313@redhat.com>
12670
12671 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
12672 messages.
12673
12674 2001-10-21 Andrew Cagney <ac131313@redhat.com>
12675
12676 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
12677 checking MI enabled.
12678
12679 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
12680
12681 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
12682
12683 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
12684
12685 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
12686 if gdb child process crashes, just signal an error.
12687
12688 2001-10-02 Jim Blandy <jimb@redhat.com>
12689
12690 * lib/gdb.exp (test_xfail_format): Simplify.
12691
12692 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
12693 front of the variable name `format'. Simplify `if'.
12694
12695 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
12696
12697 * gdb.threads/pthreads.exp: Wait for output and delay
12698 before sending ^C.
12699
12700 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
12701
12702 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
12703 some incorrect output instead of timing out.
12704 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
12705
12706 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
12707
12708 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
12709 check to allow additional `int'.
12710
12711 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
12712
12713 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
12714 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
12715
12716 2001-09-27 Michael Snyder <msnyder@redhat.com>
12717
12718 * lib/gdb.exp (test_debug_format): New proc.
12719 (setup_xfail_format): Use new proc test_debug_format.
12720 * gdb.base/constvars.exp (local_compiler_xfail_check): New
12721 proc; use new service proc test_debug_format.
12722 Replace all other "gcc_compiled" tests with this test.
12723 * gdb.base/volatile.exp (local_compiler_xfail_check): New
12724 proc; use new service proc test_debug_format.
12725 Replace all other "gcc_compiled" tests with this test.
12726
12727 2001-09-27 Michael Snyder <msnyder@redhat.com>
12728
12729 * gdb.base/cvexpr.exp: New file.
12730 * gdb.base/cvexpr.c: New file
12731 Test for expressions using const and volatile keywords.
12732
12733 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
12734
12735 * gdb.base/constvars.exp: Check for different orders of keywords
12736 and additional "int" strings in output.
12737
12738 2001-09-22 Andrew Cagney <ac131313@redhat.com>
12739
12740 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
12741 responses from "help maint".
12742
12743 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
12744
12745 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
12746 to localhost:NNN instead of :NNN, in case Xvfb is listening
12747 only on TCP.
12748
12749 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
12750
12751 * gdb.base/recurse.exp: When checking leaving the watchpoint
12752 scope, recognize when gdb is in function's epilogue and pass.
12753
12754 2001-09-18 Keith Seitz <keiths@redhat.com>
12755
12756 * lib/insight-support.exp (_gdbtk_export_target_info): Add
12757 support for running tests against sid targets.
12758 (gdbtk_done): Ditto.
12759
12760 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
12761
12762 * gdb.base/ending-run.c (main): Set stdout buffersize
12763 to the same reasonable value for any target.
12764 * gdb.base/ending-run.exp: Add a regular expression
12765 to make testsuite happy on Sanyo Stormy16 target.
12766
12767 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
12768
12769 * gdb.base/display.c (do_loops): Add float variable `f'.
12770 Increment f in loop.
12771 * gdb.base/display.exp: Increment timeout by 60 seconds.
12772 Change float display test to use variable `f'.
12773
12774 2001-09-17 Jim Blandy <jimb@redhat.com>
12775
12776 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
12777 overflowing the limited breakpoint tables on some ROM monitors
12778 (like the ROM68K).
12779
12780 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
12781
12782 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
12783 the "-ac" (disable access control) flag.
12784
12785 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
12786
12787 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
12788 ints.
12789
12790 2001-08-30 Keith Seitz <keiths@redhat.com>
12791
12792 * lib/gdb.exp: Move all insight-related functionality into
12793 separate file.
12794 * lib/insight-support.exp: New file.
12795
12796 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
12797
12798 * config/sid.exp (sid_start): Never set sid verbosity; disable
12799 expect_background {} that consumed its stdout; tolerate </dev/null.
12800 Attempt to set endianness override in "sid" protocol mode. Cleanup.
12801
12802 2001-08-18 Andrew Cagney <ac131313@redhat.com>
12803
12804 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
12805 CLI jump command to start it.
12806 (mi_run_to_main): Fail immediatly when unexpected output.
12807
12808 2001-08-18 Andrew Cagney <ac131313@redhat.com>
12809
12810 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
12811 beginning of function. Fix PR gdb/191.
12812
12813 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
12814
12815 * config/sid.exp (sid_start): Don't warn if we cannot figure out
12816 what to force sid endianness to.
12817
12818 2001-08-15 Keith Seitz <keiths@redhat.com>
12819
12820 * lib/gdb.exp (gdbtk_start): Don't set environment
12821 variables for TCL_LIBRARY and friends. Insight will
12822 now figure these out for itself.
12823
12824 2001-08-02 Michael Snyder <msnyder@redhat.com>
12825
12826 * gdb.base/completion.exp: Remove the symbol "a64l" from
12827 the expect string; this is target-specific, and not related
12828 to what is being tested.
12829
12830 2001-08-02 Dave Brolley <brolley@redhat.com>
12831
12832 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
12833
12834 2001-07-25 Michael Snyder <msnyder@redhat.com>
12835
12836 * gdb.base/consecutive.exp: New file. Test stepping over
12837 breakpoints on consecutive instructions.
12838 * gdb.base/consecutive.c: New file.
12839
12840 * gdb.base/call-rt-st.exp: Use double-backslash to quote
12841 curly braces in regular expressions.
12842
12843 2001-07-25 Michael Snyder <msnyder@redhat.com>
12844
12845 * gdb.base/ending-run.exp: Accept "Program exited normally" as
12846 legitimate output from stepping out of main.
12847
12848 2001-07-22 Keith Seitz <keiths@redhat.com>
12849
12850 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
12851 the empty string, do not run the tests.
12852
12853 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12854
12855 * gdb.base/long_long.exp: Detect size of pointer. Take into
12856 account 2-byte pointers when testing for p/a results.
12857
12858 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12859
12860 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
12861 and defined to 1K for m68hc11.
12862 (random_data): Reduce table to 1K for embedded platforms (68hc11).
12863 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
12864 (sizeof_random_data): New variable to tell the size of the data table;
12865 don't test past this size; always run to main.
12866
12867 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12868
12869 * gdb.base/return2.exp: return of long long and double fails for
12870 68HC11; don't execute these tests on that platform.
12871 * gdb.base/return.exp: Return of a double fails for 68hc11.
12872
12873 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12874
12875 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
12876 tests that print a float.
12877 * call-rt-st.exp: Likewise.
12878
12879 2001-07-12 Mark Kettenis <kettenis@gnu.org>
12880
12881 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
12882 running this test on Linux.
12883
12884 2001-06-24 Michael Chastain <chastain@redhat.com>
12885
12886 * gdb.base/arithmet.exp: Remove some tests to make all test names
12887 unique.
12888
12889 2001-07-03 Michael Snyder <msnyder@redhat.com>
12890
12891 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
12892 the output of the ptype command.
12893
12894 2001-07-02 Michael Snyder <msnyder@redhat.com>
12895
12896 * gdb.base/completion.exp: Don't assume that break.c is the only
12897 source file that may contain functions named "marker".
12898 * gdb.base/corefile.exp: Quote the curly braces in regexp.
12899
12900 2001-06-28 Andrew Cagney <ac131313@redhat.com>
12901
12902 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
12903 of files to delete.
12904
12905 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
12906 * gdb.disasm/h8300s.exp: New file.
12907 gdb.disasm/h8300s.s: Likewise.
12908
12909 2001-06-27 Andrew Cagney <ac131313@redhat.com>
12910
12911 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
12912 empty breakpoint tables.
12913
12914 2001-06-25 Andrew Cagney <ac131313@redhat.com>
12915
12916 * lib/mi-support.exp: Update args=... part of stop-reason
12917 patterns. Accept either a list or a tuple.
12918
12919 2001-06-23 Andrew Cagney <ac131313@redhat.com>
12920
12921 * lib/mi-support.exp: Remove local emacs variable defining
12922 change-log-default-name.
12923
12924 2001-06-22 Michael Chastain <chastain@redhat.com>
12925
12926 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
12927 This is operationally compatible with the previous version.
12928
12929 2001-06-13 Jim Blandy <jimb@redhat.com>
12930
12931 * lib/gdb.exp (gdb_test): Doc fix.
12932
12933 2001-06-10 Michael Chastain <chastain@redhat.com>
12934
12935 * gdb.base/exprs.exp: Remove a duplicate test.
12936
12937 2001-06-06 Jim Blandy <jimb@redhat.com>
12938
12939 * gdb.base/return2.exp (main): Use values to test float and double
12940 returns that are not NaN's, to avoid being confused by IEEE
12941 comparison rules.
12942
12943 2001-06-04 Michael Snyder <msnyder@redhat.com>
12944
12945 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
12946 non-zero if control_c fails. Terminate the test on failure,
12947 rather than wait for 12 more tests to time out.
12948
12949 2001-06-06 Jim Blandy <jimb@redhat.com>
12950
12951 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
12952 Don't forget to match the GDB prompt.
12953
12954 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
12955
12956 2001-06-04 Jim Blandy <jimb@redhat.com>
12957
12958 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
12959 command.
12960
12961 2001-05-31 Kevin Buettner <kevinb@redhat.com>
12962
12963 * gdb.base/annota1.exp (info break): Match four or more spaces
12964 after "Address".
12965
12966 2001-05-31 Michael Chastain <chastain@redhat.com>
12967
12968 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
12969 (dm_type_int_star): Likewise.
12970 (dm_type_long_star): Likewise.
12971 (dm_type_void_star): Likewise.
12972
12973 2001-05-29 Kevin Buettner <kevinb@redhat.com>
12974
12975 * gdb.base/completion.exp (INPUTRC): Set this environment variable
12976 to a known value in order to get consistent results regardless
12977 of the setting of INPUTRC or the presence or contents of .inputrc.
12978
12979 2001-05-24 Michael Snyder <msnyder@redhat.com>
12980
12981 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
12982 Don't require that the main thread and the manager thread are the
12983 first in the list.
12984
12985 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
12986 debugging. If test fails, issue an "unsupported" not a "fail".
12987
12988 2001-05-24 Jim Blandy <jimb@redhat.com>
12989
12990 Don't assume that short is shorter than int.
12991 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
12992 assume that shorts are smaller than ints. On a 16-bit machine,
12993 this isn't true.
12994 ("print unsigned char == (~0)"): Add test that verifies that ~0,
12995 an int, is not equal to ~0 stored in an unsigned char. This tests
12996 the same thing that the previous test meant to, but works on
12997 16-bit machines, too.
12998 ("print unsigned char != (~0)"): Same test, complemented.
12999
13000 2001-05-24 Michael Snyder <msnyder@redhat.com>
13001
13002 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
13003 test for (full_coverage == 0). This makes the test run faster,
13004 and prevents dejagnu getting out of step.
13005
13006 2001-05-23 Kevin Buettner <kevinb@redhat.com>
13007
13008 * gdb.base/finish.exp (finish_void): Revise pattern for
13009 stopping on the call statement to not permit stopping at
13010 the start of the instructions comprising the call sequence.
13011
13012 2001-05-19 Michael Chastain <chastain@redhat.com>
13013
13014 * gdb.base/callfuncs.exp: Make all test names unique.
13015 * gdb.base/commands.exp: Make all test names unique.
13016 * gdb.base/condbreak.exp: Make all test names unique.
13017 * gdb.base/dbx.exp: Make all test names unique.
13018 * gdb.base/default.exp: Make all test names unique.
13019 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
13020 and TIMEOUT messages to their corresponding PASS message.
13021 * gdb.base/ending-run.exp: Make all test names unique.
13022 * gdb.base/long_long.exp: Remove duplicate test.
13023
13024 2001-05-21 Kevin Buettner <kevinb@redhat.com>
13025
13026 * gdb.base/finish.exp (finish_void): Allow "finish" command to
13027 stop on the call statement as well as the statement after the
13028 call.
13029
13030 2001-05-21 Michael Snyder <msnyder@redhat.com>
13031
13032 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
13033
13034 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
13035
13036 * gdb.base/completion.exp: Revamp test. Make it execute on all
13037 platforms.
13038
13039 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
13040
13041 * config/gdbserver.exp (gdb_load): Handle the case
13042 in which the arguments to gdbserver are given in the
13043 baseboard configuration file.
13044 Also handle the case in which the server needs to do a
13045 load.
13046
13047 2001-05-07 Keith Seitz <keiths@cygnus.com>
13048
13049 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
13050 set up the display for testing.
13051 (gdbtk_start): Convert all paths to paths that tcl will like.
13052 Export target information to environment.
13053 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
13054 necessary.
13055 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
13056 (to_tcl_path): New proc to convert a given pathname into
13057 a path acceptible as an argument to a tcl command.
13058 (_gdbtk_export_target_info): New proc to export target info
13059 into the environment for gdbtk testing.
13060 (gdbtk_done): New proc to signal end-of-test.
13061
13062 2001-05-06 Jim Blandy <jimb@redhat.com>
13063
13064 * restore.c: Make the code of caller0 correspond to its comment.
13065
13066 2001-05-03 Michael Snyder <msnyder@redhat.com>
13067
13068 * config/sid.exp (gdb_target_sid): Check for error messages.
13069 On error or timeout, don't make expect exit (which will terminate
13070 all subsequent tests); instead just make gdb exit.
13071 (gdb_load): Check for error messages. On error or timeout,
13072 return a negative value.
13073
13074 2001-04-24 Jim Blandy <jimb@redhat.com>
13075
13076 * gdb.c++/templates.exp: If we see the prompt for the overload
13077 list, but we haven't recognized any of the longer patterns,
13078 arrange for this test to fail, not hang.
13079
13080 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
13081 variations.
13082
13083 2001-04-22 Michael Chastain <chastain@redhat.com>
13084
13085 * gdb.c++/local.exp: Use the 'runto' library function.
13086 * gdb.c++/namespace.exp: Likewise.
13087 * gdb.c++/overload.exp: Likewise.
13088
13089 2001-03-26 Kevin Buettner <kevinb@redhat.com>
13090
13091 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
13092 * gdb.base/step-line.exp: New file. Test step/next in presence of
13093 #line directives.
13094 * gdb.base/step-line.c: New file. Test program for the above.
13095 * gdb.base/step-line.inp: New file. We pretend that this file has
13096 been transformed by some other tool into step-line.c.
13097
13098 2001-03-21 Jim Blandy <jimb@redhat.com>
13099
13100 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
13101 unmangled operator names.
13102
13103 2001-03-20 Jim Blandy <jimb@redhat.com>
13104
13105 * gdb.threads/linux-dp.exp: Recognize an additional message
13106 generated by GDB when it doesn't understand how to debug threads
13107 on the target system.
13108
13109 2001-03-19 Andrew Cagney <ac131313@redhat.com>
13110
13111 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
13112
13113 2001-03-12 Michael Chastain <chastain@redhat.com>
13114
13115 * gdb.c++/derivation.exp: Use the 'runto' library function.
13116
13117 2001-03-12 Michael Chastain <chastain@redhat.com>
13118
13119 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
13120
13121 2001-02-24 Michael Chastain <chastain@redhat.com>
13122
13123 * gdb.c++/ref-types.exp: Change handwritten code to library
13124 function 'runto'.
13125
13126 2001-03-16 Orjan Friberg <orjanf@axis.com>
13127
13128 * gdb.base/signals.exp: Set count to 0 explicitly.
13129
13130 2001-03-15 Mark Salter <msalter@redhat.com>
13131
13132 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
13133 (gdb_target_monitor): Add check of gdb_target_cmd return value.
13134 (gdb_load): Add support for additional target_info: gdb_download_size
13135 and gdb_load_timeout.
13136
13137 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
13138
13139 * gdb.base/annota1.exp: Move test of isnative to earlier in the
13140 file -- to prevent failing when the compile fails but we have no
13141 intention of running the tests anyway.
13142
13143 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
13144 tests if set.
13145
13146 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
13147 integers.
13148
13149 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
13150 * gdb.c++/namespace.exp: Ditto.
13151
13152 2001-03-07 Orjan Friberg <orjanf@axis.com>
13153
13154 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
13155 * gdb.base/pointers.exp: Relax pattern match of decimals.
13156
13157 2001-03-06 Kevin Buettner <kevinb@redhat.com>
13158
13159 * Makefile.in, config/abug.exp, config/cfdbug.exp,
13160 config/cpu32bug.exp, config/dve.exp, config/est.exp,
13161 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
13162 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
13163 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
13164 config/sh.exp, config/sid.exp, config/slite.exp,
13165 config/sparclet.exp, config/udi.exp, config/unknown.exp,
13166 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
13167 config/vxworks.exp, config/vxworks29k.exp,
13168 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
13169 gdb.base/all-bin.exp, gdb.base/annota1.exp,
13170 gdb.base/arithmet.exp, gdb.base/assign.exp,
13171 gdb.base/async.exp, gdb.base/attach.exp,
13172 gdb.base/bitfields.exp, gdb.base/bitops.exp,
13173 gdb.base/break.exp, gdb.base/call-ar-st.exp,
13174 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
13175 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
13176 gdb.base/commands.exp, gdb.base/completion.exp,
13177 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13178 gdb.base/constvars.exp, gdb.base/corefile.exp,
13179 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
13180 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
13181 gdb.base/ending-run.exp, gdb.base/environ.exp,
13182 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13183 gdb.base/finish.exp, gdb.base/foll-exec.exp,
13184 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
13185 gdb.base/funcargs.exp, gdb.base/help.exp,
13186 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
13187 gdb.base/logical.exp, gdb.base/long_long.exp,
13188 gdb.base/maint.exp, gdb.base/mips_pro.exp,
13189 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
13190 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
13191 gdb.base/pointers.exp, gdb.base/printcmds.exp,
13192 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
13193 gdb.base/regs.exp, gdb.base/relational.exp,
13194 gdb.base/remote.exp, gdb.base/reread.exp,
13195 gdb.base/restore.exp, gdb.base/return2.exp,
13196 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
13197 gdb.base/selftest.exp, gdb.base/setshow.exp,
13198 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
13199 gdb.base/sigall.exp, gdb.base/signals.exp,
13200 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
13201 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13202 gdb.base/step-test.exp, gdb.base/structs.c,
13203 gdb.base/structs.exp, gdb.base/structs2.exp,
13204 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
13205 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
13206 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
13207 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
13208 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
13209 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
13210 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
13211 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
13212 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
13213 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
13214 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
13215 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
13216 gdb.fortran/types.exp, gdb.java/jmisc.exp,
13217 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13218 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
13219 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13220 gdb.trace/circ.exp, gdb.trace/collection.exp,
13221 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13222 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13223 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
13224 gdb.trace/report.exp, gdb.trace/save-trace.exp,
13225 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13226 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13227 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
13228 notices.
13229
13230 2001-02-27 Michael Snyder <msnyder@cygnus.com>
13231
13232 * gdb.base/varargs.c (find_max_double): Fix printf format string:
13233 first arg is int not float.
13234
13235 2001-02-22 Michael Snyder <msnyder@cygnus.com>
13236
13237 * gdb.base/reread.exp: Unsupported for non-native targets;
13238 doesn't work for remote debugging.
13239
13240 2001-02-19 Fernando Nasser <fnasser@redhat.com>
13241
13242 From Drew Moseley <dmoseley@redhat.com>
13243 * gdb.base/ending-run.exp: Properly handle the BSP state when
13244 stepping past the end of main.
13245
13246 2001-02-19 John Moore <jmoore@redhat.com>
13247
13248 * gdb.base/commands.exp (infrun_breakpoint_command_test):
13249 Converted HPUX fix for non-expected items following multiple
13250 step commands into general solution for all platforms.
13251
13252 2001-02-18 Michael Chastain <chastain@redhat.com>
13253
13254 * gdb.c++/classes.exp (do_tests): Change runto statements
13255 from "runto 'foo(void)'" to "runto 'foo'". This makes the
13256 statements demangler agnostic.
13257 * gdb.c++/virtfunc.exp (do_tests): Likewise.
13258 (gdb_virtfunc_restart): Likewise.
13259
13260 2001-02-14 Michael Chastain <chastain@redhat.com>
13261
13262 * gdb.c++/inherit.exp (do_tests): Change runto statements
13263 from "runto 'foo(void)'" to "runto 'foo'". This makes the
13264 statements demangler agnostic.
13265
13266 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
13267
13268 * gdb.threads/pthreads.exp: Unify pass/fail messages for
13269 ``continue to bkpt at common_routine in thread 2'' and ``stopped
13270 before calling common_routine 15 times'' tests.
13271
13272 2001-02-11 Michael Chastain <chastain@redhat.com>
13273
13274 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
13275 Helps the test script figure out which demangler is in use.
13276 (dm_type_foo_ref): Ditto.
13277 (dm_type_int_star): Ditto.
13278 (dm_type_long_star): Ditto.
13279 (dm_type_unsigned_int): Ditto.
13280 (dm_type_void): Ditto.
13281 (dm_type_void_star): Ditto.
13282 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
13283 Probe the gdb demangler and set variables to accommodate
13284 formatting differences.
13285 (info_func_regexp): New function. Same as info_func, but
13286 matches against a regexp.
13287 (info_func): Match against a literal string.
13288 (print_addr_2): New function. Match against a literal string,
13289 which can be different from the input to gdb.
13290 (print_addr): Simply call print_addr_2 with the same argument twice.
13291 (test_lookup_operator_functions): Use demangler formatting variables.
13292 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
13293 the tests in the same order as the C++ class declaration.
13294 (test_paddr_operator_functions): Ditto.
13295 (test_paddr_overloaded_functions): Ditto.
13296 (test_paddr_hairy_functions): Use demangler formatting variables.
13297 Add reference to gdb/19 for related tests.
13298 (do_tests): Call probe_demangler.
13299
13300 2001-01-30 Kevin Buettner <kevinb@redhat.com>
13301
13302 * gdb.c++/templates.cc (printf): Remove unused function definition.
13303
13304 2001-01-26 Felix Lee <flee@redhat.com>
13305
13306 * sid.exp (sid_exit): Pass host, not target, to remote_close.
13307
13308 2001-01-25 matthew green <mrg@redhat.com>
13309
13310 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
13311 up sid.
13312 (sid_exit): Call `remote_pop_conn' after GDB is gone.
13313
13314 2001-01-25 matthew green <mrg@redhat.com>
13315
13316 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
13317 Deprecate $sid_spawn_id.
13318 (sid_exit): Remove code necessary only for `spawn.'
13319
13320 2001-01-25 matthew green <mrg@redhat.com>
13321
13322 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
13323
13324 2001-01-28 Michael Chastain <chastain@redhat.com>
13325
13326 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
13327 to call when tests fail. It takes gdb out of the overloaded
13328 function choice menu back to the main prompt, so that the test
13329 program stays synchronized.
13330 (set_bp_overloaded): New proc to collect all the common
13331 code for setting a breakpoint on an overloaded name. Calls
13332 take_gdb_out_of_choice_menu when needed.
13333 (menu_overload1arg): New variable to collect the repeated
13334 instances of the expected menu for an overloaded name. Change
13335 the regular expression to handle changes in g++ type encoding:
13336 "void" can be either "void" or "", and "unsigned int" can be
13337 either "unsigned int" or "unsigned".
13338 (continue_to_bp_overloaded): Change regular expressions to handle
13339 changes in g++ type encoding.
13340 (no proc): Call take_gdb_out_of_choice_menu when needed.
13341 Remove redundant calls to "info break". Accept either "canceled"
13342 or "cancelled". Change regular expressions in "info break"
13343 calls to handle changes in g++ type encoding. Give all tests
13344 unique strings.
13345
13346 2001-01-17 Ben Elliston <bje@redhat.com>
13347
13348 * config/sid.exp: New file.
13349
13350 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
13351
13352 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
13353
13354 2000-12-21 Michael Snyder <msnyder@cygnus.com>
13355
13356 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
13357 Add a RE to accept a non-ascii char if one is ever presented.
13358
13359 2000-12-20 Fernando Nasser <fnasser@redhat.com>
13360
13361 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
13362
13363 2000-12-18 Michael Snyder <msnyder@cygnus.com>
13364
13365 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
13366 in regexp. One '\' does not suffice on Linux.
13367
13368 2000-12-09 Michael Chastain <chastain@redhat.com>
13369
13370 * gdb.base/break.exp (test_clear_command): Use a marker function
13371 rather than 'main' for the test function. Also move this
13372 test to an execution point where the marker function names are
13373 guaranteed to be bound to functions. (Executing tests after a
13374 'finish' from main runs into name conflicts with local names
13375 in __libc_start_main).
13376
13377 2000-12-07 Michael Snyder <msnyder@cygnus.com>
13378
13379 * gdb.base/finish.exp: New test for gdb's "finish" command.
13380 * gdb.base/return2.exp: New test for gdb's "return" command.
13381 * gdb.base/return2.c: New source file for above.
13382
13383 2000-12-05 Michael Snyder <msnyder@cygnus.com>
13384
13385 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
13386 * gdb.base/miscexprs.exp: Ditto.
13387 * gdb.base/pointers.exp: Ditto.
13388 * gdb.c++/derivation.exp: Ditto.
13389 * gdb.c++/local.exp: Ditto.
13390 * gdb.c++/namespace.exp: Ditto.
13391 * gdb.c++/overload.exp: Ditto.
13392 * gdb.c++/ref-types.exp: Ditto.
13393
13394 2000-12-05 Michael Snyder <msnyder@cygnus.com>
13395
13396 * gdb.base/constvars.exp: Test result of "up" command.
13397 * gdb.base/miscexprs.exp: Ditto.
13398 * gdb.base/pointers.exp: Ditto.
13399 * gdb.base/scope.exp: Ditto.
13400 * gdb.c++/derivation.exp: Ditto.
13401 * gdb.c++/local.exp: Ditto.
13402 * gdb.c++/namespace.exp: Ditto.
13403 * gdb.c++/overload.exp: Ditto.
13404 * gdb.c++/ref-types.exp: Ditto.
13405
13406 2000-11-22 Michael Chastain <chastain@redhat.com>
13407
13408 * mips_pro.exp: Accept either "middle -> top -> main" or
13409 "middle -> main" in the backtrace, because gcc can optimize
13410 tail calls to jumps. Remove setup_xfail for the hppa case.
13411 Add a comment with the original warning messages from PR 3016,
13412 which was filed in 1993, to preserve them for posterity.
13413
13414 2000-11-17 Nick Duffek <nsd@redhat.com>
13415
13416 * lib/gdb.exp (gdb_test): Override timeout with board info.
13417
13418 2000-11-17 Nick Duffek <nsd@redhat.com>
13419
13420 * gdb.base/display.exp: Don't kill running stub. Add "again" to
13421 the second kill and detach messages.
13422
13423 2000-11-17 Nick Duffek <nsd@redhat.com>
13424
13425 * configure.in: Add AC_EXEEXT.
13426 * configure: Regenerate.
13427 * Makefile.in (just-check): Export EXEEXT.
13428 * lib/gdb.exp ($EXEEXT): Import from environment.
13429 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
13430 expect "maint dump-me" on Cygwin.
13431 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
13432 $EXEEXT.
13433
13434 2000-11-17 Nick Duffek <nsd@redhat.com>
13435
13436 * gdb.base/break.exp: Test backtrace and finish from called
13437 function on all platforms, not just HP-UX.
13438
13439 2000-11-03 Michael Snyder <msnyder@cygnus.com>
13440
13441 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
13442 code from gdb_target_monitor, so it can be used independantly
13443 for gdbserver. Also comment out an unnecessary PUTS.
13444
13445 2000-11-03 Michael Snyder <msnyder@cygnus.com>
13446
13447 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
13448 * gdb.base/corefile.exp: Expect the message "Program is being
13449 debugged already" when we send the "corefile" command, since
13450 the preceeding gdb_load may have connected gdb to a remote target.
13451 * gdb.base/display.exp: Disable hardware watchpoints if new
13452 board info variable "no_hardware_watchpoints" is true.
13453 Replace single-letter commands with more readable ones.
13454 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
13455 if new board info variable "no_hardware_watchpoints" is true.
13456 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
13457 to see if stdio (printf) testing is possible.
13458 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
13459 board info variable "no_hardware_watchpoints" is true. Use new
13460 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
13461
13462 2000-11-13 Fernando Nasser <fnasser@redhat.com>
13463
13464 From Orjan Friberg <orjanf@axis.com>:
13465 * gdb.base/printcmds.exp: Escape curly braces followed by a number
13466 in array print pattern match.
13467
13468 2000-11-09 Fernando Nasser <fnasser@redhat.com>
13469
13470 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
13471 spelling "cancelled" to U.S. spelling "canceled" to match changes
13472 made to gdb.
13473 * gdb.c++/ovldbreak.exp: Ditto.
13474
13475 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
13476
13477 * gdb.base/callfuncs.c (main): Moved to end of file, call
13478 t_double_values to initialize the FPU before inferior calls are made.
13479 * gdb.base/callfuncs.exp: Test for register preservation after calling
13480 inferior functions. Add tests for continuining, finishing and
13481 returning from a stop in a call dummy.
13482
13483 2000-10-24 Michael Snyder <msnyder@cygnus.com>
13484
13485 * gdb.base/commands.exp: Break up long lines, and re-indent.
13486
13487 2000-10-19 Michael Snyder <msnyder@cygnus.com>
13488
13489 * config/gdbserver.exp: Rewritten from the ground up, to make it
13490 compatible with the current dejagnu tree, and to make it work with
13491 the new "gdbserver" in libremote.
13492
13493 2000-10-16 Michael Snyder <msnyder@cygnus.com>
13494
13495 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
13496 * gdb.base/varargs.exp: Skip entire test if no printf support.
13497 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
13498 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
13499
13500 2000-10-13 Michael Snyder <msnyder@cygnus.com>
13501
13502 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
13503 no floating point support.
13504 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
13505 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
13506 * gdb.base/call-rt-st.exp: Ditto.
13507 * gdb.base/call-strs.exp: Ditto.
13508
13509 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
13510
13511 * gdb.base/sizeof.c: include <stdio.h>.
13512
13513 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
13514 'finish', otherwise uncaptured gdb_prompt would potentially
13515 throw remaining test points out of sync.
13516
13517 2000-07-26 Scott Bambrough <scottb@netwinder.org>
13518
13519 * gdb.base/recurse.exp: Run tests for all targets.
13520 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
13521 gnu-oldld case on ARM.
13522 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
13523 for ARM targets.
13524
13525 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
13526
13527 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
13528 * gdb.java/configure: Rebuild.
13529
13530 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
13531
13532 * gdb.java/jv-exp.exp: New file.
13533
13534 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
13535
13536 * configure: Rebuilt.
13537 * configure.in (configdirs): Add gdb.java.
13538 * gdb.java/jmisc.java: New file.
13539 * gdb.java/jmisc.exp: New file.
13540 * gdb.java/Makefile.in: New file.
13541 * gdb.java/configure: Rebuilt.
13542 * gdb.java/configure.in: New file.
13543 * lib/java.exp: New file.
13544
13545 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
13546
13547 * gdb.base/exprs.exp: Test casts to a pointer including over and
13548 underflow.
13549
13550 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
13551
13552 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
13553 and the compilers sizes.
13554
13555 2000-07-09 Nick Duffek <nsd@redhat.com>
13556
13557 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
13558 (use_methods): New function.
13559 (main): Call use_methods().
13560 * gdb.c++/classes.exp (test_method_param_class): New procedure.
13561 (do_tests): Call test_method_param_class.
13562
13563 2000-07-09 Nick Duffek <nsd@redhat.com>
13564
13565 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
13566 spelling.
13567 (test_enums): New procedure. Move enum tests from end of script
13568 to here. Set breakpoint on function name instead of line number.
13569 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
13570 (enums2): New marker function.
13571 (enums1): New function.
13572 (main): Call enums1(). Move enum tests to enums1().
13573
13574 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
13575
13576 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
13577 compile/link program. Update line numbers.
13578 * gdb.asm/d10v.inc: Define ``startup''.
13579 * gdb.asm/asmsrc1.s: Add definition of _start.
13580
13581 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
13582
13583 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
13584
13585 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13586
13587 * gdb.base/maint.exp: Add 'maint print architecture' item to output
13588 of 'help maint print' command.
13589
13590 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
13591
13592 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
13593 they use gdb_expect_list.
13594
13595 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
13596
13597 * gdb.base/commands.exp: Use ``set remote
13598 memory-read-packet-size'' instead of ``set endian big'' to test
13599 long commands.
13600
13601 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
13602
13603 * gdb.c++/templates.exp (do_tests): Make all of these work under
13604 g++, and stop skipping them.
13605
13606 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
13607 work under g++.
13608
13609 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
13610 initialization.
13611
13612 2000-06-02 Michael Snyder <msnyder@cygnus.com>
13613
13614 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
13615 the regular expression: accept an (almost) arbitrary sequence of
13616 "frames-invalid" and "breakpoints-invalid" messages both before
13617 and after the "starting" message.
13618
13619 2000-06-02 Michael Snyder <msnyder@cygnus.com>
13620
13621 * gdb.c++/local.exp: This test has never been known to work with g++.
13622
13623 2000-05-18 Michael Snyder <msnyder@cygnus.com>
13624
13625 * gdb.base/annota1.exp (annotate-signal-handler-caller):
13626 Relax the regular expression a little, make it pass on Solaris 8.
13627
13628 2000-05-12 Kevin Buettner <kevinb@redhat.com>
13629
13630 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
13631 a call, do not require that gdb stop on the line after the call.
13632 Instead, it is permissible for gdb to stop on the line of the
13633 call itself.
13634
13635 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
13636
13637 * gdb.base/break.exp (bp on small function, optimized file):
13638 Add a second pass pattern. The behavior differs here between stabs
13639 and dwarf for one-line functions. Stabs preserves two line symbols
13640 (one before the prologue and one after) with the same line number,
13641 but dwarf regards these as duplicates and discards one of them.
13642 Therefore the address after the prologue (where the breakpoint is)
13643 has no exactly matching line symbol, and GDB reports the breakpoint
13644 as if it were in the middle of a line rather than at the beginning.
13645
13646 2000-05-08 Michael Snyder <msnyder@cygnus.com>
13647
13648 * gdb.base/interrupt.exp: Make "pass" message say "send"
13649 rather than "send_gdb" (for consistancy).
13650
13651 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
13652
13653 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
13654 * gdb.c++/templates.cc: Properly check for GCC version number.
13655 * lib/compiler.cc: Likewise
13656
13657 2000-04-28 Michael Snyder <msnyder@cygnus.com>
13658
13659 * gdb.base/break.exp: When compiled with -O2 optimization,
13660 gdb may not stop at the first line of main, due to code motion.
13661
13662 2000-04-26 Michael Snyder <msnyder@cygnus.com>
13663
13664 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
13665 This test depends on parsing the printf output from the target.
13666 Since the sparclet stub doesn't do stdio, this will never work.
13667 * gdb.base/call-rt-st.exp: ditto.
13668 * gdb.base/call-strs: ditto.
13669
13670 2000-04-24 Michael Snyder <msnyder@cygnus.com>
13671
13672 * gdb.base/miscexprs.exp: make sizeof long array test portable.
13673
13674 * gdb.base/ending-run.exp: After connecting to a remote target,
13675 but before running, the target will appear to be in a random
13676 location. Specify both a file and a line for breakpoints.
13677 Also, the function that calls main may be called 'init'
13678 rather than 'start'.
13679
13680 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13681
13682 * gdb.base/help.exp: Update output for add-symbol-file command.
13683
13684 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
13685
13686 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13687 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
13688
13689 2000-04-07 J.T. Conklin <jtc@redback.com>
13690
13691 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
13692
13693 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
13694
13695 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
13696
13697 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
13698 values that can be represented exactly.
13699 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
13700 above change, and to not check against the directory part of the source
13701 file name.
13702 (step into print_long_arg_list): Likewise.
13703 (print print_small_structs from print_long_arg_list): Likewise.
13704 (print print_long_arg_list): Likewise.
13705
13706 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13707
13708 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
13709
13710 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
13711
13712 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
13713
13714 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
13715
13716 * gdb.base/commands.exp (deprecated_command_test): Add test for
13717 deprecate with no arguments.
13718
13719 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
13720
13721 * gdb.base/break.exp: Add new test for setting breakpoints on
13722 optimized code so we can test breakpoints work even when function
13723 prologues may be optimized away
13724
13725 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
13726
13727 From David Whedon <dwhedon@gordian.com>
13728 * gdb.base/commands.exp : Added command deprecator tests.
13729
13730 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
13731
13732 * gdb.base/help.exp: Added test for new apropos command.
13733
13734 2000-03-21 Kevin Buettner <kevinb@redhat.com>
13735
13736 * gdb.base/pointers.c (usevar): New function.
13737 (main): Make sure that global variables v_int_pointer2, rptr,
13738 and y are all referenced someplace in the program by calling
13739 usevar() on them. [Some linkers delete symbols which are
13740 never referenced. The space remains, but there's no way to
13741 get a (symbolic) handle on the variable from the debugger.]
13742
13743 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13744
13745 * gdb.base/printcmds.c: Add typedeffed arrays.
13746
13747 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
13748 procedure to test arrays that are typedef'd.
13749
13750 2000-03-13 James Ingham <jingham@leda.cygnus.com>
13751
13752 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
13753 the library directories.
13754
13755 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
13756
13757 * configure.in (configdirs): Add sub directory gdb.mi.
13758 * configure: Re-generate.
13759
13760 * gdb.mi: New directory.
13761
13762 2000-02-25 Scott Bambrough <scottb@netwinder.org>
13763
13764 * gdb.base/long_long.exp: Correct test suite failure when printing
13765 a long long value as a double on ARM platforms.
13766
13767 2000-02-16 Jim Blandy <jimb@redhat.com>
13768
13769 * gdb.base/break.exp ("breakpoint line number"): Make sure the
13770 default source file is set properly before running this test.
13771
13772 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13773
13774 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
13775 gdbtk/library directory, not in gdbtcl2.
13776
13777 2000-02-04 Jim Blandy <jimb@redhat.com>
13778
13779 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
13780 backslash from regexp pattern.
13781
13782 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
13783 procedure. Use it to run all the "continue to bp overloaded"
13784 tests. Note that this changes the names of the tests slightly.
13785 If the breakpoint hit message includes a hex PC value, because
13786 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
13787 from the real source code, still consider that a pass.
13788
13789 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
13790 XFAIL here if the breakpoint message contains a hex address. Note
13791 similar change on 1999-11-02.
13792
13793 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
13794
13795 * gdb.base/ptype.exp: Establish a default source file before
13796 calling get_debug_format.
13797
13798 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
13799
13800 * gdb.base/watchpoint.exp: Remove duplication of test messages.
13801
13802 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
13803
13804 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
13805 of successive stepi commands -- while in the prologue we should see
13806 the function entry bracket.
13807
13808 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
13809
13810 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
13811 reach __change_mode() when stepping through the end of main().
13812
13813 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
13814
13815 * gdb.base/default.exp: Fix expected pattern.
13816 * gdb.base/help.exp: Same.
13817
13818 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13819
13820 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
13821 Don't use xfail's because that affects only the following test.
13822
13823 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
13824 solaris or linux.
13825
13826 * gdb.base/selftest.exp: Update to reflect changes to main.c.
13827
13828 2000-01-07 Michael Snyder <msnyder@cygnus.com>
13829
13830 * gdb.base/display.exp: Some yacc parsers like to say
13831 "A syntax error" rather than "A parse error". Accept both.
13832
13833 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
13834
13835 * gdb.base/default.exp: Remove OS dependent string from "target
13836 remote" test.
13837 * gdb.base/help.exp: Same for "help target remote" test.
13838
13839 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13840
13841 From Jim Kingdon <kingdon@redhat.com>:
13842
13843 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
13844 prompt (cleanup rather than necessity, but still might keep output
13845 from spilling to next test).
13846
13847 2000-01-02 Fred Fish <fnf@cygnus.com>
13848
13849 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
13850 AIX, which defines them in <sys/types.h>.
13851
13852 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
13853
13854 * gdb.base/default.exp: Match arm* etc instead of arm in "info
13855 float" test.
13856
13857 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
13858
13859 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
13860
13861 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
13862 outermost frame disallowed".
13863
13864 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
13865
13866 * gdb.base/setvar.exp: New tests for setting the value of a struct
13867 with a constant list.
13868
13869 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
13870
13871 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
13872 require the user to type a cast before setting the value of a struct.
13873
13874 1999-12-06 Jim Blandy <jimb@cygnus.com>
13875
13876 * gdb.base/default.exp: Expect the new 'info float' command on
13877 all i386 platforms.
13878
13879 * gdb.threads/linux-dp.exp: Expand our ability to recognize
13880 LinuxThreads libraries that don't support debugging.
13881
13882 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
13883
13884 * gdb.base/remote.c: Fill the buffer with truely random data.
13885 Change the buffer type to ``unsigned char'' to simplify size
13886 arithmetic.
13887
13888 * gdb.base/remote.exp: Reduce download numbers by one. Typical
13889 stub only handles 400-1 byte packets. Verify that the download
13890 worked.
13891
13892 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
13893
13894 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
13895 tests, using UNRESOLVED for the untested cases. Also, does not wait
13896 for a timeout if the prompt was received before a recognizable pattern.
13897
13898 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
13899
13900 * lib/gdb.exp (gdb_expect_list): Fix spelling.
13901
13902 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13903
13904 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
13905 watchpoints.
13906
13907 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
13908
13909 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
13910
13911 * gdb.c++/local.exp: Be more flexible in recognizing local class
13912 name mangling. Don't allow horribly truncated method names.
13913 * gdb.c++/derivation.exp: Expect protected inheritance.
13914 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
13915 * gdb.c++/virtfunc.exp: Likewise.
13916 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
13917 when printing a nested enum.
13918
13919 1999-11-22 Jim Blandy <jimb@cygnus.com>
13920
13921 * gdb.base/step-test.exp: Properly await GDB's response to setting
13922 a breakpoint on the call to large_struct_by_value.
13923
13924 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
13925 just because we have debug info for the `start' function.
13926
13927 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
13928
13929 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
13930 "Unknown signal" messages, which indicate (on LinuxThreads) that
13931 GDB doesn't know how to debug threads on this system. This is
13932 better than hanging while philosopher 0 dumps chatter into gdb.log.
13933
13934 1999-11-18 Tom Tromey <tromey@cygnus.com>
13935
13936 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
13937
13938 1999-11-18 Fred Fish <fnf@cygnus.com>
13939
13940 * gdb.base/coremaker2.c: Add sample program for generating
13941 cores that is more self contained than coremaker.c. Eventually
13942 I'll add more code to this and tie it into the testsuite.
13943
13944 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
13945
13946 * gdb.base/dollar.exp: Remove, now in gdb.hp.
13947
13948 1999-11-10 Jimmy Guo <guo@cup.hp.com>
13949
13950 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
13951 from $srcdir/lib/.
13952 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
13953 and gdb.c++/.
13954
13955 * gdb.c++/derivation.exp: remove redundant get compiler info code.
13956
13957 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
13958 'continue with watch' test point.
13959
13960 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
13961
13962 Merged from p2linux-990323-branch:
13963
13964 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
13965
13966 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
13967
13968 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
13969 {limit,fixed}''. Test ``set download-write-size''.
13970
13971 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
13972
13973 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
13974 gdb_expect_list.
13975
13976 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
13977
13978 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
13979
13980 1999-11-03 Mark Salter <msalter@cygnus.com>
13981
13982 * gdb.base/break.exp: Fix "stub continue" pattern.
13983
13984 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
13985
13986 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
13987
13988 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
13989
13990 * gdb.base/display.exp ("finish"): Add timeout clause.
13991
13992 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
13993 plain prompt clause, so this doesn't have to time out in order to
13994 fail.
13995
13996 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
13997 breakpoint hit messages include an address.
13998
13999 * gdb.base/display.exp: Don't forget to escape parens in regular
14000 expressions. Unix regexp notatation sucks.
14001
14002 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14003
14004 * gdb.base/annota1.exp: Test for annotate-signalled: change output
14005 order for 'signalled' message.
14006
14007 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
14008
14009 From Jimmy Guo <guo@cup.hp.com>:
14010 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
14011 * gdb.base/annota1.c: Add code for tests to work with.
14012
14013 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
14014
14015 * gdb.base/remote.exp: New test for remote downloading settings.
14016 * gdb.base/remote.c: New file with large .data.
14017
14018 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
14019
14020 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
14021 for LinuxThreads support, merged from the Code Fusion branch.
14022
14023 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
14024
14025 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
14026 containing exp_continue into a while within an expect. Don't
14027 attempt a start more than three times. Check return value from
14028 gdb_load.
14029
14030 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
14031
14032 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
14033 a pass case.
14034
14035 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
14036
14037 * gdb.base/break.c (main): Added a statement that we can step
14038 off of.
14039 * gdb.base/break.exp: Added tests for setting a breakpoint
14040 at an offset and stepping onto a breakpoint.
14041
14042 1999-10-01 Fred Fish <fnf@cygnus.com>
14043
14044 * gdb.base/help.exp (help add-symbol-file): Update to match current
14045 gdb output.
14046
14047 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
14048
14049 * gdb.base/break.exp: Code locations are in hex, don't forget!
14050 (For HP-UX.)
14051
14052 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
14053
14054 * condbreak.exp: Use break.c as test program.
14055 * condbreak.c: Remove, redundant with break.c.
14056
14057 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
14058
14059 * config/monitor.exp (gdb_target_monitor): Disable X- and
14060 Z-packets if the target needs it.
14061
14062 1999-09-13 James Ingham <jingham@leda.cygnus.com>
14063
14064 * gdb.c++/overload.exp: Added tests for listing overloaded
14065 functions with function pointers in the arg, explicitly calling
14066 out the version you want.
14067
14068 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
14069
14070 * long_long.exp: Add variations of test cases that work for
14071 targets with 16-bit ints and 32-bit doubles.
14072
14073 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
14074
14075 * break.c (main): Compare a possibly-uninitialized argc with an
14076 unlikely value that fits in 16 bits.
14077
14078 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
14079
14080 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
14081 0xfeeb, don't want negative numbers if ints are 16 bits.
14082
14083 * lib/gdb.exp (skip_cplus_tests): New proc.
14084 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14085 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
14086 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
14087 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
14088 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
14089 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
14090 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
14091 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
14092
14093 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
14094
14095 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
14096
14097 * gdb.base/corefile.exp (up): Allow a parameter to appear
14098 in the frame that we're going up to.
14099
14100 From Jim Blandy <jimb@cygnus.com>:
14101
14102 * gdb.base/default.exp (info float): Expect some output now.
14103
14104 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
14105 returning floating-point values to fail on the x86.
14106 * gdb.base/callfwmall.exp (do_function_calls): Same.
14107
14108 * gdb.base/list.exp (test_listsize): Correct expectations for
14109 listing line 1 with listsize 2. Also, listing a single line
14110 works now, as does listing three lines. [Kevin's note: There
14111 were a number of other cases fixed too where the expectations
14112 differed...]
14113
14114 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
14115
14116 * gdb.base/selftest.exp: Add case for when version prints as
14117 constant string instead of char pointer.
14118
14119 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
14120
14121 * gdb.base/ending-run.exp: Add Solaris case for what happens when
14122 stepping out of main.
14123
14124 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
14125 G++ used.
14126
14127 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
14128 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
14129
14130 * gdb.c++/ovldbreak.exp: Update match string in test that
14131 includes a warning of multiple breakpoints.
14132
14133 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
14134
14135 * gdb.base/display.exp: Improve precision of step-after-finish
14136 added yesterday.
14137
14138 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
14139 test.
14140
14141 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
14142 configs when using G++, not just hppa*.
14143
14144 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14145
14146 * gdb.base/async.c: New file.
14147 * gdb.base/async.exp: New file.
14148
14149 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
14150
14151 * gdb.base/break.exp: Tweak PA specific tests to properly handle
14152 PA64.
14153
14154 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
14155
14156 * gdb.base/display.exp: "finish" can leave us mid-line on many
14157 targets, deal with it. Add a small constant to main, instead of
14158 1000 since main+1000 may not be a valid address in the target.
14159
14160 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
14161 on hpux11.
14162
14163 * gdb.base/attach.exp: Handle another hpux11 error message variant
14164 when attaching to a process that does not exist.
14165
14166 1999-08-19 J.T. Conklin <jtc@redback.com>
14167
14168 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
14169 characters in 'continue to 1241' test.
14170
14171 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
14172
14173 * gdb.base/call-ar-st.exp: Add a shorter match case for the
14174 stop in print_long_arg_list, define and use a whitespace
14175 variable in print_small_structs test, add an XFAIL for Solaris.
14176 * gdb.base/dbx.exp: XFAIL func commands until somebody is
14177 interested enough to fix.
14178
14179 1999-08-13 Keith Seitz <keiths@cygnus.com>
14180
14181 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
14182 (dbx_gdb_load): Remove. Use gdb_load instead, since that
14183 proc knows about targets other than the natives.
14184 (test_assign): Use "gdb_run_cmd" to "run" the target.
14185 Check that we've actually hit the breakpoint at main.
14186 When we attempt to assign a value to a local variable, check
14187 that the variable is in the current scope, i.e., don't use
14188 a test with an empty result.
14189
14190 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
14191
14192 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
14193 command.
14194
14195 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
14196
14197 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14198 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
14199 gdb.compat, gdb.threads-hp.
14200 gdb.hp/configure, gdb.hp/configure.in: New files.
14201 gdb.hp/Makefile.in: Recurse into new subdirs.
14202 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
14203 gdb.hp/gdb.objdbg: New directory, tests for debugging info
14204 in object files.
14205 gdb.hp/tools: New directory, aux tools for HP-specific tests.
14206
14207 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
14208
14209 * gdb.base/display.exp: Help expect by putting a newline in the
14210 funky printf, remove a bogus p/a test.
14211
14212 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14213
14214 * gdb.base/display.exp: Make sure that when we say 'run', we are
14215 connected to the target. This is necessary when running not
14216 natively.
14217
14218 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
14219
14220 * gdb.base/step-test.exp: Removed some extraneous messages.
14221
14222 * gdb.base/long_long.exp: Don't run memory examination tests
14223 on little-endian targets (they will need a different set of
14224 results to match).
14225
14226 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
14227
14228 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
14229 until somebody decides to fix GDB.
14230
14231 * gdb.base/long_long.c: Stop compiler complaint by specifying long
14232 constant as "ULL".
14233 * gdb.base/long_long.exp: Loosen x/c test, add partial result
14234 matches for a couple x/2 commands.
14235
14236 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
14237
14238 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
14239 by merging in ref-types2 tests.
14240 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
14241
14242 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14243 * gdb.c++/Makefile.in: Add standard actions.
14244 (EXECUTABLES): Rename from PROGS, update list.
14245 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
14246 from gdb.hp.
14247 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
14248 foo and bar locals.
14249 * gdb.c++/anon-union.exp: Fix tests to match.
14250 * gdb.c++/classes.exp: Run if HP compiler used, add extra
14251 expect matches to handle output variations.
14252 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
14253 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
14254 output, add HP alternatives for new and delete prints.
14255 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
14256 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
14257 * gdb.c++/demangle.exp: Use $style when reporting failure.
14258 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
14259 * gdb.c++/inherit.exp: Run if HP compiler used, add some
14260 match alternatives.
14261 * gdb.c++/local.exp: Add match alternatives or xfails for HP
14262 compilers.
14263 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
14264 * gdb.c++/method.exp: Add match alternatives.
14265 * gdb.c++/misc.cc: Add bool types.
14266 * gdb.c++/misc.exp: Add tests for bool types.
14267 * gdb.c++/overload.exp: Add xfails.
14268 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
14269 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
14270 add some more template parameter tests (only for HP currently).
14271 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
14272 * gdb.c++/virtfunc.cc: Add return type and value for main.
14273 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
14274 match alternatives.
14275
14276 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14277
14278 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
14279
14280 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
14281
14282 * gdb.base/signals.exp: Don't expect getting a backtrace from
14283 within a signal handler to fail on Linux.
14284
14285 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
14286
14287 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14288 * lib/gdb.exp: Remove some gratuitious semicolons.
14289 (delete_breakpoints): Increase timeout.
14290 (gdb_expect): Add -notransfer option.
14291 (gdb_test): Use -notransfer option.
14292 (get_compiler_info): Add f77 case.
14293 (get_compiler): New proc, split out from gdb_preprocess, add f77
14294 case.
14295 (gdb_preprocess): Call get_compiler.
14296
14297 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
14298 * gdb.base/attach.exp, gdb.base/display.exp,
14299 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
14300 gdb.base/long_long.exp, gdb.base/printcmds.exp,
14301 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
14302 third arg to gdb_test.
14303 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
14304 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
14305 HP-UX xfails, add others.
14306 * gdb.base/completion.exp: Reflect name change of self-test.
14307 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
14308 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
14309 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
14310 HP failure number.
14311 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
14312 useless HP-UX 10.30 references.
14313 * gdb.base/maint.exp: Loosen matches.
14314 * gdb.base/pointers.c (main): Declare more_code.
14315 * gdb.base/pointers.exp: Match on output of a `next'.
14316 * gdb.base/structs.c: Add prototypes.
14317 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
14318 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
14319
14320 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14321
14322 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
14323 command.
14324
14325 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14326
14327 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
14328 Fix run to main failures. Watchpoint can be hardware watchpoint.
14329
14330 * gdb.base/annota1.exp: Clean up some more, in case printf has
14331 debug info. Deal with lack of signal hanlder info in stack.
14332
14333 From Jim Kingdon <kingdon@redhat.com>:
14334 * gdb.base/annota1.exp: If printf has debug info, deal with it.
14335
14336 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
14337
14338 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
14339 gdb.base/foll-vfork.exp: Don't run for crosses.
14340
14341 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
14342
14343 * gdb.base/configure.in: Check for gdbvars.exp instead of
14344 a1-selftest.exp.
14345 * gdb.base/configure: Re-generate.
14346
14347 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
14348
14349 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
14350 in trying to run first and name is too long.
14351
14352 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
14353 pointers2.c and pointers2.exp, respectively.
14354 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
14355 doschk happier.
14356
14357 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
14358
14359 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
14360 callfuncs2.c and callfuncs2.exp.
14361
14362 * gdb.base/list.exp: Remove mistaken xfails.
14363 * gdb.base/list0.h: Add optional prototypes.
14364
14365 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
14366
14367 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
14368 calling malloc.
14369 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
14370 * ptype.exp: Move test for get_debug_format to before its first
14371 use.
14372
14373 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14374
14375 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
14376 * gdb.base/annota2.cc, annota2.exp: Move from here.
14377 * gdb.c++/annota2.cc, annota2.exp: To here.
14378 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
14379
14380 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
14381
14382 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
14383 a consistent format.
14384
14385 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
14386
14387 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14388 * lib/gdb.exp (get_compiler_info): Add detection for assorted
14389 HP compilers, also set the globals $true and $false.
14390
14391 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
14392 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
14393 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
14394 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
14395 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
14396 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
14397 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
14398 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
14399 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
14400 whatis.c} Add C++ compatible function definitions and return
14401 types, add includes for library functions.
14402 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
14403 * gdb.base/step-test.c (myglob): Rename from glob.
14404 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
14405 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
14406 files, move here from gdb.hp.
14407 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
14408 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
14409 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
14410 Adjust line numbers in regexps.
14411
14412 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
14413 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
14414 instead of 0/1.
14415
14416 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
14417 foll-vfork.exp: New files, move here from gdb.hp.
14418 * gdb.base/page.exp: New file, test of pagination command.
14419
14420 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
14421 recursion test.
14422 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
14423
14424 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
14425 gdb.base/solib.exp: Fix compiler invocation process.
14426
14427 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
14428 HP-UX 11, turn off overload resolution explicitly.
14429 * gdb.base/commands.exp: Set argument list explicitly, add
14430 watchpoint test.
14431 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
14432 them work.
14433 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
14434 expressions properly.
14435 * gdb.base/corefile.exp: Loosen the match slightly.
14436 * gdb.base/default.exp: Allow "Error accessing memory" message
14437 also.
14438 * gdb.base/display.exp: Skip over x/0 j if PA64.
14439 * gdb.base/funcargs.exp: Add xfails for HP-UX.
14440 * gdb.base/interrupt.exp: Ditto.
14441 * gdb.base/langs.exp: Add symbolic matches governed by compiler
14442 in use.
14443 * gdb.base/list.exp: Add xfails for HP-UX.
14444 * gdb.base/long_long.exp: Refine some of the numeric matches.
14445 * gdb.base/mips_pro.exp: Xfail on HP-UX.
14446 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
14447 * gdb.base/nodebug.exp: Succeed on more varieties of output.
14448 * gdb.base/opaque.exp: Remove some HP-UX xfails.
14449 * gdb.base/ptype.exp: Succeed on more varieties of output.
14450 * gdb.base/scope.exp: Add xfails for HP-UX.
14451 * gdb.base/sect-cmd.exp: Add more cases.
14452 * gdb.base/setvar.exp: Add xfails for HP-UX.
14453 * gdb.base/shlib-call.exp: Loosen some matches slightly.
14454 * gdb.base/signals.exp: Match on void symbolically.
14455 * gdb.base/step-test.exp: Add case for PA64.
14456 * gdb.base/term.exp: Add exit and restart.
14457 * gdb.base/twice.exp: Clean up after self.
14458 * gdb.base/varargs.exp: Disable overload resolution explicitly.
14459 * gdb.base/whatis.exp: Allow more ways to pass tests.
14460
14461 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
14462 no longer useful.
14463
14464 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
14465
14466 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
14467 list of patterns.
14468 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
14469 print_double_array(double_array)", "continuing to breakpoint
14470 1018", "print print_double_array(array_d)" and "continuing to
14471 1034" tests.
14472
14473 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
14474
14475 * Makefile.in: Add empty html and install-html targets.
14476
14477 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
14478
14479 * config/mt-*: Remove, these haven't been used since 1996.
14480
14481 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
14482
14483 * gdb.base/call-strs.c, gdb.base/ending-run.c,
14484 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
14485 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
14486
14487 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
14488
14489 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
14490 simpler match case for the ptype of the big class.
14491
14492 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14493
14494 * gdb.exp: Fix test for gdb_prompt existence.
14495
14496 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14497
14498 * gdb.exp (gdb_test): Add fail after calls to perror.
14499
14500 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14501
14502 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
14503
14504 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14505
14506 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
14507
14508 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
14509
14510 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
14511 malloc() is linked in.
14512
14513 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
14514
14515 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
14516 step at end.
14517
14518 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
14519
14520 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
14521
14522 * gdb.java/jv-print.exp: New file. (Our first Java test!)
14523
14524 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
14525
14526 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
14527 * gdb.base/mips_pro.exp: Likewise.
14528
14529 1999-06-02 Keith Seitz <keiths@cygnus.com>
14530
14531 * gdb.c++/templates.cc: Change all "new" operators to throw
14532 an exception.
14533 * gdb.c++/cplusfuncs.cc: Likewise.
14534
14535 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
14536
14537 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
14538
14539 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
14540 * gdb.base/ending-run.exp: When stepping out of main, accept a
14541 step into an arbitrary assembler file.
14542
14543 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14544
14545 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
14546 "breakpoint-invalid" to be printed.
14547 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
14548 number of "frames-invalid" and "breakpoint-invalid" to be printed.
14549 * gdb.base/annota2.cc: Initialize a.x to 0.
14550
14551 1999-05-17 Keith Seitz <keiths@cygnus.com>
14552
14553 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
14554 when "skip_float_tests" set.
14555 Ditto for "print print_double_array(array_d)", "print print_small_structs",
14556 "print print_ten_doubles", and "step into print_long_arg_list".
14557 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
14558 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
14559 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
14560 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
14561 "skip_float_tests" is set.
14562 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
14563 when "skip_float_tests" set.
14564
14565 1999-05-06 Keith Seitz <keiths@cygnus.com>
14566
14567 * gdb.base/annota2.cc: Include stdio.h.
14568
14569 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
14570
14571 * gdb.base/crossload.exp: Remove, this has been disabled ever
14572 since BFD stopped including all targets, and cross-GDB gets
14573 plenty of testing anyway.
14574 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
14575 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
14576 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
14577 * gdb.base/README: Remove, was doc for this.
14578 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
14579 needed.
14580
14581 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14582
14583 * gdb.base/call-ar-st.exp: Fix one regular expression in test
14584 output.
14585
14586 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
14587 * gdb.base/annota2.exp: New file. More annotation tests.
14588 * gdb.base/annota1.c: New file. Source file for annota1.exp.
14589 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
14590
14591 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
14592
14593 * config/cfdbug.exp: New file.
14594
14595 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
14596
14597 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
14598 Marcus Daniel's and Dale Hawkins's demangler crashes.
14599
14600 * gdb.c++/demangle.exp (test_gnu_style_demangling,
14601 test_lucid_style_demangling, test_arm_style_demangling,
14602 test_hp_style_demangling): Try Tom Tromey's core-dumping
14603 identifier under each demangling style.
14604
14605 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
14606
14607 * gdb.c++/demangle.exp: Include the current demangling style
14608 in all test names.
14609 (current_demangling_style): New global variable.
14610 (set_demangling_style, test_demangling_core, test_demangling,
14611 test_demangling_exact): New functions.
14612 (test_gnu_style_demangling, test_lucid_style_demangling,
14613 test_arm_style_demangling, test_hp_style_demangling): Use those,
14614 instead of calling gdb_test and gdb_test_exact directly.
14615 (catch_demangling_errors): New function, which reports errors
14616 signalled by the demangling test functions in an orderly way.
14617 (do_tests): Use catch_demangling_errors.
14618
14619 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
14620
14621 * gdb.base/signals.exp (test_handle_all_print): Use () for
14622 grouping in expressions, not {}.
14623
14624 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
14625 initialized yet.
14626
14627 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
14628
14629 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
14630 are listed.
14631
14632 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
14633
14634 * gdb.stabs/weird.exp: Test for CC being defined before
14635 looking at its value.
14636
14637 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
14638
14639 * gdb.base/call-ar-st.exp: Remove stray '#'.
14640 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
14641 "short int" and "long int".
14642 * gdb.c++/overload.cc: Cast the string added in the previous
14643 change, to mollify finicky HP compiler.
14644 * gdb.hp/reg-test.exp (testfile): Fix file name.
14645 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
14646
14647 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
14648 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
14649 alternate form of enum ptype.
14650
14651 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
14652
14653 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
14654 * gdb.hp/*.exp: Change all to run compiler probe only after
14655 passing skip_hp_tests, so as not to waste time on guaranteed
14656 failure.
14657
14658 * gdb.c++/overload.cc: Pass string instead of char addr, always
14659 init ccpfoo.
14660 * gdb.c++/templates.cc: Fix syntax error.
14661
14662 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14663
14664 * gdb.base/commands.exp: Add test for correct position of '>'
14665 when issuing the 'commands' command after a 'while' or 'if'
14666 command.
14667
14668 1999-03-18 James Ingham <jingham@cygnus.com>
14669
14670 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
14671
14672 * gdb.c++/method.exp: It was testing an uninitialized int on the
14673 stack and assuming it was positive.
14674
14675 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
14676
14677 * gdb.base/step-test.exp: Catch a case where finish is broken and
14678 keep it from killing the rest of the tests.
14679 Use gdb_continue_to_end.
14680
14681 * gdb.base/sigall.exp: use gdb_continue_to_end.
14682
14683 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
14684
14685 * gdb.base/display.exp: use runto_main, not run.
14686
14687 * gdb.base/default.exp: Check for the current error message in the
14688 r abbreviation test.
14689 Add strongarm to the targets that know info float.
14690
14691 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
14692 run which doesn't work with monitors.
14693
14694 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
14695
14696 * gdb.base/break.exp: use the gdb_continue_to_end proc.
14697
14698 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
14699 program. Traps the case (in Cygmon) when the program never really
14700 exits. Same as Mark's continue_to_exit, but I had put it in a lot
14701 more places, so I used my name. Sorry Mark...
14702
14703 * config/monitor.exp (gdb_target_monitor): added another
14704 target_info parameter: remotebinarydownload. This will set the
14705 remotebinarydownload flag if this is causing some boards trouble.
14706
14707 1999-03-18 Mark Salter <msalter@cygnus.com>
14708
14709 * lib/gdb.exp (continue_to_exit): New function.
14710
14711 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
14712 * gdb.base/ending-run.exp: Ditto.
14713 * gdb.base/step-test.exp: Ditto.
14714
14715 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
14716
14717 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
14718 (suggested by Art Haas <ahaas@neosoft.com>).
14719
14720 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
14721
14722 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
14723
14724 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
14725
14726 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
14727 descriptions of types (short unsigned int vs unsigned short, etc).
14728
14729 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
14730
14731 * gdb.base/call-strs.exp: Don't assume that `step' will step over
14732 a call to strlen; sometimes we do have sources.
14733
14734 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
14735
14736 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
14737 character, so GDB won't print garbage after its end.
14738
14739 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
14740 breakpoint there instead. Sometimes GCC emits memcpy to handle
14741 the large structures being passed by value, so we step into that
14742 instead of sum_array_print, which obscures what we're really testing.
14743 * gdb.base/step-test.exp: However, we do want a test that notices
14744 the bizarre steps into memcpy, so do that here. Add check for
14745 stepping into function calls that pass large structures by value.
14746 ("Is that a noun clause, or are you just happy to see me?")
14747 Remove all references to specific line numbers.
14748 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
14749 New type and function.
14750 (main): Call large_struct_by_value, passing it a large struct by value.
14751 * lib/gdb.exp (gdb_get_line_number): New function.
14752
14753 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
14754 more portable.
14755
14756 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
14757
14758 * lib/gdb.exp: Doc fixes.
14759
14760 1999-03-05 Nick Clifton <nickc@cygnus.com>
14761
14762 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
14763
14764 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
14765
14766 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
14767 commands. They're not germane to this test, and they don't work
14768 that way on remote targets.
14769
14770 1999-03-01 James Ingham <jingham@cygnus.com>
14771
14772 * Changelog entries merged over from gdb development branch.
14773
14774 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
14775
14776 * lib/gdb.exp (gdbtk_analyze_results): Generic function
14777 for outputting results of test run.
14778
14779 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
14780
14781 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
14782
14783 1999-02-25 Felix Lee <flee@cygnus.com>
14784
14785 * lib/gdb.exp (debug_format): initialize
14786
14787 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
14788
14789 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
14790 * gdb.base/call-rt-st.c: Ditto.
14791
14792 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
14793
14794 * gdb.threads/pthreads.exp (horiz): New variable.
14795 (test_startup): Fix regexps that capture thread numbers.
14796
14797 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
14798
14799 * gdb.base/smoke.exp: Disambiguate two test case names (both
14800 called ``print'').
14801
14802 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
14803
14804 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
14805 compilation.
14806
14807 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
14808
14809 * gdb.base/miscexprs.exp: Change patterns to match GDB's
14810 actual output formatting.
14811 * gdb.base/smoke.exp: GDB removes leading 0's.
14812 * gdb.base/volatile.exp: Don't check type of remuneration;
14813 that variable is no longer defined in constvars.c.
14814 * gdb.base/step-test.c (main): Exit with explicit exit code.
14815 * gdb.base/step-test.exp: Remove two nexti checks--they are
14816 not portable.
14817
14818 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
14819
14820 * gdb.base/help.exp ("help delete display"): Fix test to match
14821 gdb's output.
14822
14823 * gdb.base/long_long.c (known_types): Initialize values to zero.
14824 * gdb.base/long_long.exp: Step one more line
14825 so 'dec' is initialized in "get to known place". GDB removes
14826 leading zeros. Explicitly ask for hex formatting. Use
14827 unique test case names.
14828
14829 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14830
14831 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
14832
14833 * gdb.c++/method.exp: Add missing close brace.
14834
14835 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
14836
14837 * gdb.base/maint.exp: Use 'set height 0' to disable page
14838 prompting, not 'set height 400'.
14839
14840 Fix a bunch of timeouts.
14841 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
14842 four separate tests, so expect doesn't take forever to match a ton
14843 of text against a regexp with lots of .* forms.
14844 ("maint print psymbols", "maint print symbols"): Make some of
14845 these greps more selective, so that expect doesn't try to wade
14846 through huge piles of output and time out.
14847
14848 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
14849
14850 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
14851 tests: one which doesn't expect shlib events to be reported, and
14852 another which does, but is XFAIL for all platforms other than
14853 HP/UX.
14854
14855 * gdb.base/break.exp: Teach the test suite that the `catch
14856 fork', `catch vfork', and `catch exec' commands produce error
14857 messages on platforms that don't provide these features.
14858
14859 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
14860
14861 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
14862 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
14863 (shortening names from solib_threshold.exp etc), won't run on
14864 anything but HP-UX for the foreseeable future.
14865 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
14866 reflect move.
14867
14868 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
14869
14870 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
14871 gdb.trace/Makefile.in (clean): Remove all test executables.
14872
14873 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
14874
14875 * gdb.base/shlib-call.exp: add test cases to verify that gdb
14876 successfully re-sets breakpoints in shared libraries.
14877 * gdb.base/shmain.c (main): return 0, don't fall off the end.
14878
14879 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14880
14881 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
14882 and compiled w/o GCC.
14883
14884 * gdb.hp/watch-cmd.exp: ditto.
14885
14886 * gdb.hp/watch-hp.exp: ditto.
14887
14888 * gdb.hp/xdb1.exp: ditto.
14889
14890 * gdb.hp/xdb2.exp: ditto.
14891
14892 * gdb.hp/dbx.exp: ditto.
14893
14894 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
14895
14896 * constvars.c: Remove C++-isms.
14897 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
14898 with GCC.
14899
14900 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
14901
14902 The following changes are part of the HP merge.
14903
14904 * gdb.base/break.exp: new tests to verify that catchpoints for
14905 fork, vfork, and exec don't trigger inappropriately.
14906
14907 * gdb.base/opaque.exp: compile one file at a time, then link.
14908
14909 * gdb.base/signals.exp: be more restrictive about which hppa
14910 systems receive a setup_xfail. new tests.
14911
14912 * gdb.base/solib_threshold.build: new file.
14913 * gdb.base/solib_threshold.exp: new file.
14914 * gdb.base/solib_threshold.link_opts: new file.
14915 * gdb.base/solib_threshold.mk: new file.
14916 * gdb.base/gen_solib_threshold.c: new file.
14917
14918 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
14919 tests. New tests for enums inside classes.
14920
14921 * gdb.c++/compiler.cc: indicate support of template debugging.
14922
14923 * gdb.c++/demangle.exp: run hp style demangling tests.
14924
14925 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
14926 tests.
14927
14928 * gdb.c++/misc.cc: changes to support new tests.
14929
14930 * gdb.c++/templates.cc: changes to support HP's compiler; changes
14931 to support new tests.
14932
14933 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
14934 gcc, then skip these tests.
14935
14936 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
14937
14938 The following files are part of the HP merge; some had longer
14939 names at HP, but have been renamed to be no more than 14
14940 characters in length.
14941
14942 * gdb.hp/ambiguous.cc: new file.
14943 * gdb.hp/ambiguous.exp: new file.
14944 * gdb.hp/attach.exp: new file.
14945 * gdb.hp/attach2.exp: new file.
14946 * gdb.hp/classes-hp.exp: new file.
14947 * gdb.hp/ctti.exp: new file.
14948 * gdb.hp/ctti-add.cc: new file.
14949 * gdb.hp/ctti-add1.cc: new file.
14950 * gdb.hp/ctti-add2.cc: new file.
14951 * gdb.hp/ctti-add3.cc: new file.
14952 * gdb.hp/dbx.exp: new file.
14953 * gdb.hp/exception.cc: new file.
14954 * gdb.hp/exception.exp: new file.
14955 * gdb.hp/foll-exec.c: new file.
14956 * gdb.hp/foll-exec.exp: new file.
14957 * gdb.hp/foll-fork.c: new file.
14958 * gdb.hp/foll-fork.exp: new file.
14959 * gdb.hp/foll-vfork.c: new file.
14960 * gdb.hp/foll-vfork.exp: new file.
14961 * gdb.hp/inherit-hp.exp: new file.
14962 * gdb.hp/more-steps.exp: new file.
14963 * gdb.hp/namespace.cc: new file.
14964 * gdb.hp/namespace.exp: new file.
14965 * gdb.hp/optimize.exp: new file.
14966 * gdb.hp/pxdb.c: new file.
14967 * gdb.hp/pxdb.exp: new file.
14968 * gdb.hp/quicksort.exp: new file.
14969 * gdb.hp/reg-test.exp: new file.
14970 * gdb.hp/reg-test.s: new file.
14971 * gdb.hp/sized-enum.c: new file.
14972 * gdb.hp/sized-enum.exp: new file.
14973 * gdb.hp/start-stop.exp: new file.
14974 * gdb.hp/templ-hp.cc: new file.
14975 * gdb.hp/templ-hp.exp: new file.
14976 * gdb.hp/thr-lib.c: new file.
14977 * gdb.hp/thr-lib.exp: new file.
14978 * gdb.hp/thr-lib.h: new file.
14979 * gdb.hp/thr-liblib.c: new file.
14980 * gdb.hp/virtfun-hp.c: new file.
14981 * gdb.hp/virtfun-hp.exp: new file.
14982 * gdb.hp/watch-cmd.exp: new file.
14983 * gdb.hp/watch-hp.exp: new file.
14984 * gdb.hp/xdb1.exp: new file.
14985 * gdb.hp/xdb2.exp: new file.
14986 * gdb.hp/xdb3.exp: new file.
14987
14988 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
14989
14990 The following files are part of the HP merge; some had longer
14991 names at HP, but have been renamed to be no more than 14
14992 characters in length.
14993
14994 * gdb.base/ss.h: new file.
14995 * gdb.base/call-ar-st.c: new file.
14996 * gdb.base/call-ar-st.exp: new file.
14997 * gdb.base/call-rt-st.c: new file.
14998 * gdb.base/call-rt-st-exp: new file.
14999 * gdb.base/call-strs.exp: new file.
15000 * gdb.base/ena-dis-br.exp: new file.
15001 * gdb.base/environ.exp: new file.
15002 * gdb.base/long_long.exp: new file.
15003 * gdb.base/sect-cmd.exp: new file.
15004 * gdb.base/shlib-cl2.exp: new file.
15005 * gdb.base/smoke.exp: new file.
15006 * gdb.base/so-impl-ld.c: new file.
15007 * gdb.base/so-impl-ld.exp: new file.
15008 * gdb.base/so-indr-cl.c: new file.
15009 * gdb.base/so-indr-cl.exp: new file.
15010 * gdb.base/varargs.exp: new file.
15011 * gdb.base/volatile.exp: new file.
15012 * gdb.base/whatis-exp.exp: new file.
15013 * gdb.base/display.exp: new file.
15014 * gdb.c++/derivation.exp: new file.
15015 * gdb.c++/local.exp: new file.
15016 * gdb.c++/member-ptr.exp: new file.
15017 * gdb.c++/overload.exp: new file.
15018 * gdb.c++/ovldbreak.exp: new file.
15019 * gdb.c++/ref-types.exp: new file.
15020 * gdb.c++/ref-types2.exp: new file.
15021 * gdb.c++/userdef.exp: new file.
15022
15023 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
15024
15025 * gdb.base/default.exp: Reflect wording change in remote.c.
15026
15027 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
15028
15029 * gdb.base/help.exp: Update to reflect current text.
15030
15031 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
15032
15033 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
15034 they're stack variables and contain garbage.
15035 * gdb.c++/anon-union.exp: new file.
15036
15037 The following changes were made by David Taylor
15038 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
15039 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
15040 in changes by HP.
15041
15042 * gdb.base/bitops.exp: new file.
15043 * gdb.base/default.exp: change expected messages for catch and
15044 info catch tests to reflect HP merge changes.
15045 * gdb.base/enable-disable-break.exp
15046 * gdb.base/ending-run.c: new file.
15047 * gdb.base/long_long.c: new file.
15048 * gdb.base/maint.exp: new file.
15049 * gdb.base/pointers2.exp: new file.
15050 * gdb.base/shlib-call2.exp: new file.
15051 * gdb.base/solib.exp: new file.
15052 * gdb.base/step-test.c: new file.
15053 * gdb.c++/anon-union.cc: new file.
15054 * gdb.c++/local.cc: new file.
15055 * gdb.c++/member-pointer.cc: new file.
15056 * gdb.c++/method.cc: new file.
15057 * gdb.c++/ref-types.cc: new file.
15058 * gdb.c++/ref-types2.cc: new file.
15059 * gdb.c++/userdef.cc: new file.
15060
15061 * gdb.base/scope.exp: compile one file at a time, then link.
15062 * gdb.base/langs.exp: ditto.
15063 * gdb.base/list.exp: ditto.
15064
15065 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
15066
15067 The following changes were made by David Taylor
15068 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
15069 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
15070 in changes by HP.
15071
15072 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
15073 skip tests. When compiling pass c++ flag to gdb_compile.
15074 * gdb.c++/
15075
15076 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
15077 test for on hppa*-*-hpux*; use args to see if c++ was specified.
15078 (skip_hp_tests): new function.
15079 (gdb_preprocess): new function.
15080
15081 * configure.in (hpdir): decide whether to configure gdb.hp.
15082 * configure: regenerated.
15083
15084 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
15085 to delete on clean.
15086 (EXECUTABLES): update to reflect new additions.
15087 * gdb.base/commands.exp: update message expected.
15088 * gdb.base/default.exp: add copyright notice.
15089 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
15090 * gdb.base/help.exp: update messages to reflect current text.
15091 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
15092 targets for recurse tests.
15093 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
15094 skip this file.
15095
15096 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
15097 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
15098 compilation.
15099 * gdb.c++/misc.exp: ditto.
15100 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
15101 run the tests. tell gdb_compile that it's a c++ compilation.
15102
15103 * gdb.threads/pthreads.exp: fix typo in message.
15104
15105 * gdb.base/all-bin.exp: new file.
15106 * gdb.base/arithmet.exp: new file.
15107 * gdb.base/assign.exp: new file.
15108 * gdb.base/completion.exp: new file.
15109 * gdb.base/cond-expr.exp: new file.
15110 * gdb.base/condbreak.exp: new file.
15111 * gdb.base/define.exp: new file.
15112 * gdb.base/dollar.exp: new file.
15113 * gdb.base/environment.exp: new file.
15114 * gdb.base/eval-skip.exp: new file.
15115 * gdb.base/jump.exp: new file.
15116 * gdb.base/logical.exp: new file.
15117 * gdb.base/pointers.exp: new file.
15118 * gdb.base/relational.exp: new file.
15119 * gdb.base/section_command.exp: new file.
15120 * gdb.base/whatis-expr.exp: new file.
15121
15122 * gdb.base/all-types.c: new file.
15123 * gdb.base/call-array-struct.c: new file.
15124 * gdb.base/call-return-struct.c: new file.
15125 * gdb.base/call-strings.c: new file.
15126 * gdb.base/callfuncs2.c: new file.
15127 * gdb.base/condbreak.c: new file.
15128 * gdb.base/constvars.c: new file.
15129 * gdb.base/display.c: new file.
15130 * gdb.base/int-type.c: new file.
15131 * gdb.base/jump.c: new file.
15132 * gdb.base/miscexprs.c: new file.
15133 * gdb.base/pointers.c: new file.
15134 * gdb.base/pointers2.c: new file.
15135 * gdb.base/shmain.c: new file.
15136 * gdb.base/shr1.c: new file.
15137 * gdb.base/shr2.c: new file.
15138 * gdb.base/solib.c: new file.
15139 * gdb.base/solib1.c: new file.
15140 * gdb.base/solib2.c: new file.
15141 * gdb.base/varargs.c: new file.
15142 * gdb.c++/derivation.cc: new file.
15143 * gdb.c++/overload.cc: new file.
15144 * gdb.c++/ovldbreak.cc: new file.
15145 * gdb.hp/attach.c: new file.
15146 * gdb.hp/attach2.c: new file.
15147 * gdb.hp/average.c: new file.
15148 * gdb.hp/compiler.c: new file.
15149 * gdb.hp/compiler.cc: new file.
15150 * gdb.hp/execd-program.c: new file.
15151 * gdb.hp/follow-exec.c: new file.
15152 * gdb.hp/follow-fork.c: new file.
15153 * gdb.hp/follow-vfork-and-exec.c: new file.
15154 * gdb.hp/misc-hp.cc: new file.
15155 * gdb.hp/more-steps.c: new file.
15156 * gdb.hp/optimize.c: new file.
15157 * gdb.hp/quicksort.c: new file.
15158 * gdb.hp/run-hp.c: new file.
15159 * gdb.hp/start-stop.c: new file.
15160 * gdb.hp/sum.c: new file.
15161 * gdb.hp/templates-hp.cc: new file.
15162 * gdb.hp/thread-local-in-lib.c: new file.
15163 * gdb.hp/thread-local-in-lib.h: new file.
15164 * gdb.hp/thread-local-in-lib.lib.c: new file.
15165 * gdb.hp/vforked-program.c: new file.
15166 * gdb.hp/virtfunc-hp.cc: new file.
15167 * gdb.hp/watchpoint-hp.c: new file.
15168 * gdb.hp/xdb.c: new file.
15169 * gdb.hp/xdb0.c: new file.
15170 * gdb.hp/xdb0.h: new file.
15171 * gdb.hp/xdb1.c: new file.
15172
15173 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
15174
15175 The following change was made by Edith Epstein
15176 <eepstein@cygnus.com> as part of a project to merge in changes
15177 originally made by HP; HP did not create ChangeLog entries.
15178
15179 * gdb.c++/demangle.exp: changed the expected output for some
15180 ARM-style mangling -- removed second reference to datatype.
15181 For example, maint demangle __dt__11T1__pt__2_cFv
15182 T1<char>::~T1<char>(void)
15183 becomes,
15184 maint demangle __dt__11T1__pt__2_cFv
15185 T1<char>::~T1(void)
15186
15187 (test_hp_style_demangling): new hp specific demangling test cases.
15188
15189 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
15190
15191 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
15192 * gdb.trace/backtrace.exp: Likewise.
15193 * gdb.trace/circ.exp: Likewise.
15194 * gdb.trace/collection.exp: Likewise.
15195 * gdb.trace/deltrace.exp: Likewise.
15196 * gdb.trace/infotrace.exp: Likewise.
15197 * gdb.trace/limits.exp: Likewise.
15198 * gdb.trace/packetlen.exp: Likewise.
15199 * gdb.trace/passc-dyn.exp: Likewise.
15200 * gdb.trace/passcount.exp: Likewise.
15201 * gdb.trace/report.exp: Likewise.
15202 * gdb.trace/save-trace.exp: Likewise.
15203 * gdb.trace/tfind.exp: Likewise.
15204 * gdb.trace/tracecmd.exp: Likewise.
15205 * gdb.trace/while-dyn.exp: Likewise.
15206 * gdb.trace/while-stepping.exp: Likewise.
15207
15208 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
15209
15210 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
15211
15212 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
15213
15214 From Brendan Kehoe:
15215 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
15216 int return types.
15217
15218 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
15219
15220 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
15221 remote dos host testing right.
15222
15223 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
15224
15225 * gdb.base/corefile.exp: remove some xfails.
15226
15227 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
15228
15229 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
15230 have different timestamps.
15231
15232 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
15233
15234 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
15235 gdb.base/default.exp: Replace "exec" with "executable".
15236
15237 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
15238
15239 * gdb.base/default.exp: Change else if to elseif from previous
15240 delta.
15241
15242 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
15243
15244 * gdb.base/default.exp: Add brace missing from previous delta.
15245
15246 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
15247
15248 * gdb.base/default.exp: Support test for info float for all
15249 varieties of arm toolchain.
15250
15251 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
15252
15253 * gdb.trace/*.exp: remove "remote_download" command.
15254
15255 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
15256
15257 * gdb.trace/*.exp: remove -gdwarf from compile.
15258
15259 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
15260
15261 * gdb.trace/configure.in(AC_INIT): typo
15262 * gdb.trace/configure: regenerated
15263
15264 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
15265
15266 * config/m68k-emc.exp: New file.
15267 * lib/<emc-support.exp trace-support.exp}: New files.
15268 * configure.in: add new test directory gdb.trace.
15269 * gdb.trace/{configure configure.in Makefile.in}: New files.
15270 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
15271 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
15272 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
15273 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
15274 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
15275 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
15276 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
15277
15278 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
15279
15280 * gdb.c++/classes.exp: Change all regular expressions to match
15281 arbitrary combinations of newline/carriage-return, so that they
15282 will work equally well on Unix and Windows.
15283 * gdb.c++/inherit.exp: ditto.
15284 * gdb.c++/virtfunc.exp: ditto.
15285
15286 1998-08-11 Dawn Perchik <dawn@cygnus.com>
15287
15288 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
15289
15290 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
15291
15292 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
15293 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
15294 to use a0-a3/d0-d3 as needed.
15295
15296 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
15297
15298 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
15299 * gdb.disasm/am33.exp: Corresponding changes.
15300
15301 1998-07-11 Felix Lee <flee@cygnus.com>
15302
15303 * gdb.base/callfuncs.exp: add cmp10 test.
15304 * gdb.base/callfuncs.c (cmp10): new function.
15305
15306 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
15307
15308 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
15309 into two parts to get around a synchronization problem in expect.
15310
15311 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
15312
15313 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
15314
15315 * configure.in: Add options for gdbtk testsuite.
15316
15317 * configure: Regenerate.
15318
15319 * gdb.gdbtk: New directory to hold gdbtk tests.
15320
15321 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15322
15323 * gdb.fortran/types.exp: Escape brackets in expect patterns
15324 for test_float_literal_types_accepted tests.
15325 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
15326 before run test.
15327
15328 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
15329
15330 * am33.exp: Just compile, do not link the testcase.
15331 * am33.s: Add ".am33" pseudoop to force am33 mode.
15332
15333 1998-06-25 Felix Lee <flee@cygnus.com>
15334
15335 * gdb.base/setshow.exp: make sure $pc is sane.
15336
15337 * gdb.stabs/weird.exp: split expect patterns properly.
15338
15339 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
15340
15341 * gdb.disasm/am33.s: New disassembler testfile for the am33.
15342 * gdb.disasm/am33.exp: Run it.
15343
15344 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
15345
15346 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
15347 match processing (and eliminate spurious timeouts when running).
15348
15349 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
15350
15351 * gdb.base/signals.exp (test_handle_all_print): put back Mach
15352 exception test, but conditionalize it on target [mach | gnu].
15353
15354 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
15355
15356 * gdb.base/overlays.exp: fixup compile line for linker script.
15357
15358 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
15359
15360 * gdb.fortran/types.exp: don't guess at float size.
15361
15362 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
15363
15364 * gdb.base/exprs.exp: delete test that depends on int size.
15365
15366 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
15367
15368 * config/sim.exp: Removed checks for target triplets.
15369 (gdb_target_sim): Use gdb,target_sim_options.
15370
15371 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
15372
15373 * gdb.base/reread.exp: New file.
15374 * gdb.base/reread1.c: New file.
15375 * gdb.base/reread2.c: New file.
15376
15377 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
15378
15379 * config/sim.exp: Use 'target sim -sparclite' when running
15380 SPARClite programs.
15381
15382 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
15383
15384 * gdb.base/structs2.exp: New file.
15385 * gdb.base/structs2.c: New file.
15386
15387 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
15388
15389 * gdb.asm/common.inc: New file.
15390 * gdb.asm/d10v.inc: New file.
15391 * asm-source.exp: Pass -I's to gas to find .inc files.
15392 Update line numbers in expected output.
15393 * asmsrc1.s: Rewrite.
15394 * asmsrc2.s: Rewrite.
15395 * configure.in: Create arch.inc symlink.
15396 * configure: Regenerate.
15397 * Makefile.in (distclean): Delete arch.inc.
15398
15399 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
15400
15401 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
15402 (t_enum_value2): ditto
15403 (t_enum_value3): ditto
15404 (main): ditto
15405 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15406
15407 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
15408 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
15409 change.
15410 Use gdb_test instead of send_gdb/gdb_expect sequences.
15411
15412 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
15413
15414 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
15415 not void.
15416
15417 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
15418
15419 * gdb.base/branches.c: Code with lots of loops and
15420 subroutines. Used to test gdbs ability to single step through PC
15421 changes, especially to test mips-tdep.c:mips_next_pc
15422
15423 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
15424
15425 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
15426 more rigorous EGCS C++ error checking.
15427
15428 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15429
15430 * gdb.base/help.exp: Clean up `help set args' and `help show args'
15431 tests.
15432 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
15433 function when asleep.
15434 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
15435 for i*86 Linux and SVR4 signal handling problems.
15436 Remove linux xfail for `next to handler in signals_tests_1', fixed
15437 by recent infrun.c change.
15438 Limit backtrace to 10 frames to avoid timeout problems with infinite
15439 stack backtraces.
15440 Adjust expect pattern in `handle all print' test to match Apr 28 1997
15441 target.[ch] change.
15442
15443 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
15444
15445 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
15446 for a newline from gdb before continuing.
15447 (default_gdb_exit): Just look for y or n.
15448 (gdb_test): Detect abnormal exit from GDB running on DOS; if
15449 it does, fail the rests of the tests in the file.
15450
15451 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
15452
15453 * config/cygmon.exp: New file.
15454
15455 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
15456
15457 * gdb.base/list.exp: Fix problem with "list default lines around
15458 main" test on remote targets.
15459
15460 * gdb.base/scope.exp: Fix problem with filelocal_bss before
15461 run test on remote targets.
15462
15463 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
15464
15465 * gdb.asm: New directory.
15466 * configure.in: Configure it.
15467 * configure: Regenerate.
15468 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
15469 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
15470
15471 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
15472
15473 * config/mn10300-eval.exp: New file to support MN10300 eval board.
15474
15475 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
15476
15477 * gdb.base/overlays (several files): Merge the two overlay
15478 managers into one. Change variables (foox, barx, bazx, grbxx)
15479 back into ints but force them to load in their proper sections.
15480
15481 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
15482
15483 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
15484 on-chip insn memory and IMAP1 to upper 128k.
15485 (D10VCopy): Handle memory regions crossing 16k boundaries.
15486 (D10VCopy): Transfer data in 32 bit chunks.
15487
15488 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
15489
15490 * gdb.base/overlays.c (main): Exit normally when result is
15491 correct.
15492
15493 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
15494 map. Include space for printf in .text segment.
15495
15496 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
15497 updated d10v memory VMA/LMA map.
15498 (D10VCopy): Call D10VTranslate.
15499
15500 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
15501
15502 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
15503
15504 * gdb.base/bar.c (barx, bar): Change variable to small array so
15505 that it won't be put into the .sdata - small data -
15506 section. Update reference.
15507 * gdb.base/baz.c (bazx, baz): Ditto.
15508 * gdb.base/foo.c (foox, foo): Ditto.
15509 * gdb.base/grbx.c (grbxx, grbx): Ditto.
15510
15511 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
15512 to be arrays.
15513
15514 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
15515
15516 * gdb.base/overlays.exp: fix up and get working again.
15517 Add tests for backtraces from an overlay function.
15518
15519 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
15520
15521 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
15522 "calling function with watchpoint enabled".
15523
15524 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
15525
15526 * gdb.base/break.exp (test_next_with_recursion): Remove
15527 gdb_suppress_tests for d10v-*-*.
15528 * lib/gdb.exp (gdb_suppress_tests): Disable this function
15529 pending review of whether it is useful or not.
15530
15531 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
15532
15533 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
15534
15535 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
15536
15537 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
15538 * config/dve.exp: New file to support Densan boards.
15539
15540 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
15541
15542 * gdb.base/interrupt.exp: Document problem of simulators, signals,
15543 reads and BSD.
15544
15545 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
15546
15547 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
15548 response.
15549
15550 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
15551
15552 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
15553
15554 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
15555 test.
15556
15557 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
15558 target_sizeof_long and target_bigendian_p.
15559 (structs_by_value, structs_by_reference): Check values according
15560 to targets word size and endianess.
15561
15562 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
15563
15564 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
15565 output.
15566
15567 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
15568
15569 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
15570 Update test of set args help to match source change.
15571
15572 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
15573
15574 * gdb.base/default.exp: Expect help system output to be in
15575 alphabetical order.
15576 * gdb.base/help.exp: Ditto.
15577
15578 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
15579
15580 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
15581 "i*86-pc-linux-gnu*".
15582 * gdb.base/interrupt.exp: Ditto.
15583 * gdb.base/corefile.exp: Ditto.
15584
15585 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
15586 define vxworks when building the testcase.
15587
15588 * gdb.base/ptype.exp: Fix testnames to be unique.
15589 * gdb.base/radix.exp: Ditto.
15590 * gdb.base/term.exp: Ditto.
15591 * gdb.base/whatis.exp: Ditto.
15592 * gdb.c++/classes.exp: Ditto.
15593
15594 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
15595
15596 * gdb.base/callfuncs.exp: Fix indentation.
15597
15598 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
15599 suppress_flag has been set.
15600 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
15601 target feature.
15602
15603 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
15604
15605 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
15606 the testcase.
15607
15608 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
15609 set_debug_traps() and breakpoint().
15610 * gdb.c++/misc.cc (main): Ditto.
15611 * gdb.c++/templates.cc (main): Ditto.
15612 * gdb.c++/virtfunc.cc (main): Ditto.
15613
15614 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
15615
15616 * lib/gdb.exp(gdb_step_for_stub): New function.
15617 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
15618 exists, reload the executable and do a "continue" instead of
15619 doing a jump.
15620 (runto_main): Use gdb_step_for_stub.
15621
15622 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
15623 tests to have unique names.
15624 * gdb.base/callfuncs.exp: Ditto.
15625 * gdb.base/commands.exp: Ditto.
15626 * gdb.base/default.exp: Ditto.
15627 * gdb.base/help.exp: Ditto.
15628 * gdb.base/list.exp: Ditto.
15629 * gdb.base/opaque.exp: Ditto.
15630 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
15631 similar tests.
15632
15633 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
15634 * gdb.c++/cplusfuncs.cc: Ditto.
15635 * gdb.c++/virtfunc.cc: Ditto.
15636
15637 * config/monitor.exp: Keep track of the last file we saw, rather
15638 than trying to get the info from gdb.
15639
15640 * gdb.fortran/types.exp: Move comment to previous line.
15641
15642 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
15643
15644 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
15645 target mode.
15646
15647 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
15648
15649 From Bob Manson:
15650 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
15651 string from GDB when it connects.
15652
15653 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
15654
15655 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
15656
15657 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
15658 if we can't get a debug format from GDB (we may be testing an
15659 older GDB). Use a 10 second timeout when checking for the format.
15660
15661 * gdb.stabs/weird.exp: Fix quoting.
15662
15663 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
15664
15665 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
15666
15667 * config/arm-ice.exp: New file.
15668
15669 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
15670
15671 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
15672 until it has been modified to work with the new testsuite.
15673
15674 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
15675 testcase won't compile, cause all of the testcases in the file to
15676 fail instead.
15677
15678 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
15679 (gdb_clear_suppressed): New procedure.
15680 (gdb_stop_suppressing_tests): Only clear suppress_flag if
15681 it contains a positive value.
15682
15683 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
15684
15685 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
15686
15687 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
15688
15689 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
15690
15691 * lib/gdb.exp (setup_xfail_format): New function.
15692 (get_debug_format): New function to get debug format.
15693 (debug_format): New global variable to hold last value set
15694 by get_debug_format.
15695 * gdb.base/list.exp: Call get_debug_format and expect some
15696 tests to fail for DWARF 1 and COFF formats.
15697 * gdb.c++/ptype.exp: Ditto.
15698 * gdb.c++/classes.exp: Ditto.
15699 * gdb.c++/cplusfuncs.exp: Ditto.
15700 * gdb.c++/inherit.exp: Ditto.
15701 * gdb.c++/templates.exp: Ditto.
15702 * gdb.c++/virtfunc.exp: Ditto.
15703
15704 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
15705
15706 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
15707 host doesn't have a currently-open connection.
15708
15709 * config/sparclet.exp: Cleanups and fixes to make it generic for
15710 any gdb stub target. Handle cases where gdb doesn't respond when
15711 interrupted in a sane fashion.
15712
15713 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
15714 same thing in a totally different way.
15715
15716 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
15717 setting "timeout".
15718 (gdb_start): We set the global gdb_prompt variable in
15719 default_gdb_init now.
15720
15721 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
15722
15723 * gdb.base/printcmds.exp: Fix "check for floating addition"
15724 regexp to accept results within approx +/- .01 of exact value.
15725 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
15726
15727 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
15728
15729 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
15730 properly.
15731 (gdb_expect): Add optional timeout parameter, and add timeout
15732 value to various calls.
15733 (gdb_suppress_tests): Only give one warning message per group.
15734
15735 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
15736
15737 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
15738 global variables. Handle getting a value for $timeout more
15739 gracefully.
15740
15741 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
15742
15743 * lib/gdb.exp: Close connection to remote host if gdb doesn't
15744 initialize.
15745 (default_gdb_init): New procedure; allow gdb_init to be overridden
15746 by a target configuration file.
15747 (gdb_expect): Pass the timeout to remote_expect.
15748
15749 * config/monitor.exp(gdb_load): Fix typo in regexp.
15750
15751 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
15752
15753 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
15754
15755 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
15756
15757 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
15758 here. Call gdb_target_exec before rebooting the target, to make
15759 sure the connection to the target is closed.
15760 (gdb_load): Pass the name of the executable to gdb_target_monitor.
15761 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
15762 Also detect "Timeout reading from remote" error.
15763
15764 * config/gdbserver.exp: Pass the executable being loaded to
15765 gdb_target_monitor. Don't call gdb_file_cmd here; let
15766 gdb_target_monitor do it.
15767
15768 * gdb.disasm/hppa.exp: Don't use exec_output.
15769
15770 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
15771
15772 * gdb.base/list.exp: If we're debugging a non-native target,
15773 try to set the pc register to point to the start of the
15774 program before doing the first list command.
15775
15776 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
15777 test_calls after restarting.
15778
15779 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
15780 reloading.
15781
15782 * gdb.base/watchpoint.exp: Fix typo.
15783
15784 * gdb.base/setshow.exp: Check for use_gdb_stub.
15785
15786 * gdb.base/break.exp: Fix continue until exit test for the gdb
15787 stub case.
15788 * gdb.base/langs.exp: Ditto.
15789
15790 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
15791 gdb_load_offset. If we weren't given a file to load, figure out
15792 what the current file is and use it.
15793
15794 * config/i386-bozo.exp: New file.
15795
15796 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
15797
15798 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
15799 feature.
15800
15801 * config/proelf.exp: New entry.
15802
15803 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
15804
15805 * lib/gdb.exp: Remove spurious .* patterns at the beginning
15806 of regexps.
15807
15808 * gdb.base/watchpoint.exp: Don't run the test_stepping
15809 tests if gdb can't call functions on the target.
15810
15811 * gdb.base/setshow.exp: Don't run the set prompt tests if
15812 the board has gdb_prompt set.
15813
15814 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
15815
15816 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
15817 * gdb.base/commands.exp: Likewise.
15818 * gdb.base/setshow.exp: Likewise.
15819
15820 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
15821
15822 * config/monitor.exp(gdb_start): Look for gdb_prompt target
15823 feature.
15824
15825 * config/i960.exp: New file.
15826
15827 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
15828
15829 * gdb.base/funcargs.exp: Check for gdb,short_int target
15830 feature instead of looking for explicit target triplets.
15831
15832 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
15833
15834 * gdb.base/printcmds.exp: add a couple more tests a la
15835 "p 123DEADBEEF", to check parse_number.
15836 * top.c: change "to enable to enable" to "to enable" in a couple
15837 of help strings.
15838
15839 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
15840
15841 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
15842 on the mn10300.
15843
15844 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
15845
15846 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
15847 where the test executable is run with explicit args.
15848 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
15849
15850 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
15851
15852 * gdb.base/run.c: Use FAKEARGV to build test executable that
15853 does not require a command line arg, since most simulators
15854 don't currently support passing such an arg into the simulated
15855 program.
15856 * gdb.base/commands.exp: Change tests to insert the proper
15857 value as the arg to the first recursive factorial call. Change
15858 compilation line to define FAKEARGV at compile time.
15859
15860 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
15861
15862 * gdb.base/recurse.exp: Enable these tests for the mn10300.
15863 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
15864 function with watchpoint enabled" test.
15865
15866 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
15867
15868 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
15869 Don't call gdb_test when the command doesn't return to a gdb prompt.
15870
15871 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
15872 "Tests restarted" messages.
15873
15874 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
15875
15876 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
15877
15878 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
15879
15880 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
15881 for INFO SYMBOL; add help tests for OVERLAY commands.
15882 * gdb.base/default.exp: add tests for INFO SYMBOL command;
15883 add tests for OVERLAY commands
15884 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
15885 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
15886 * gdb.base/sigall.c: add usestubs code frag
15887 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
15888
15889 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
15890
15891 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
15892 failures.
15893 (gdb_stop_suppressing_tests): Note that tests have restarted.
15894
15895 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
15896
15897 * config/h8300.exp: New file.
15898
15899 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
15900
15901 * gdb.base/setshow.exp: Check for the existence of a
15902 feature, not its value.
15903
15904 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
15905
15906 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
15907
15908 * gdb.base/scope.exp: It's now init0(), not init().
15909
15910 * gdb.base/scope0.c: For now, change init() to be init0().
15911
15912 * config/monitor.exp: Use gdb_serial in preference to serial
15913 or netport.
15914
15915 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
15916 and it's not already set.
15917
15918 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
15919
15920 * gdb.base/setshow.exp: Only test the run command if the target
15921 isn't using a stub and if it supports argument passing.
15922
15923 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
15924
15925 * config/udi.exp(gdb_start): Make sure UDICONF is set
15926 properly before starting gdb.
15927
15928 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
15929
15930 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
15931 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
15932 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
15933
15934 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
15935
15936 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
15937 specialized code to reboot the board, use remote_reboot instead.
15938
15939 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
15940
15941 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
15942
15943 * config/monitor.exp: Make sure we disconnect from the target.
15944 Also, try a reboot/reload cycle instead of failing if the
15945 load fails.
15946
15947 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
15948
15949 * gdb.base/default.exp: Don't set match_max.
15950 * gdb.base/help.exp: Ditto.
15951 * gdb.base/list.exp: Ditto.
15952 * gdb.base/signals.exp: Ditto.
15953
15954 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
15955 set, use remote_ld to download the testcase instead of
15956 the GDB loader.
15957
15958 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
15959
15960 * config/vr5000.exp: New file.
15961
15962 * config/monitor.exp(gdb_target_monitor): Add pattern for
15963 "Ending remote" to detect errors in connecting.
15964
15965 * gdb.base/setshow.exp: Add .* within auto language test.
15966
15967 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
15968 target feature.
15969
15970 * config/monitor.exp(gdb_load): Check for a failure when loading,
15971 and reboot the board if necessary.
15972
15973 * gdb.base/setvar.exp(test_set): Handle multiple prints within
15974 a set of tests. Remove print.* from the patterns being checked.
15975
15976 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
15977
15978 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
15979 refer to gdb_spawn_id.
15980
15981 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
15982 longer used.
15983 * config/sparclet.exp: Ditto.
15984 * config/sparclet-old.exp: Ditto.
15985 * config/slite.exp: Ditto.
15986 * config/sim.exp: Ditto.
15987 * gdb.base/funcargs.exp: Ditto.
15988
15989 * lib/gdb.exp:Remove references to gdb_spawn_id.
15990 (gdb_expect): Move to remote.exp.
15991
15992 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
15993
15994 * config/monitor.exp: Detect the "Couldn't establish connection"
15995 message from GDB.
15996
15997 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
15998
15999 * gdb.base/bitfields.exp: Use runto instead of explicit
16000 gdb_run_cmd/gdb_expect sequences.
16001
16002 * gdb.base/break.exp(text_next_with_recursion): Add match for
16003 gdb_expect call.
16004
16005 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
16006 We also need to handle the "A program is being debugged already"
16007 prompt from gdb. Use gdb_test to set the baud rate.
16008
16009 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
16010 to 20000. Really. I mean it.
16011
16012 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
16013
16014 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
16015 fails. If suppress_flag is set, skip perror message about not
16016 being able to send to GDB.
16017 (send_gdb): If suppress_flag is set, don't try to send commands to
16018 GDB.
16019 (gdb_expect): If suppress_flag is set, always fail immediately.
16020 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
16021 (gdb_init): Call gdb_stop_suppressing_tests.
16022 (default_gdb_exit): Ditto.
16023 (default_gdb_start): Ditto.
16024
16025 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
16026 gdb_stop_suppressing_tests as appropriate.
16027 * gdb.base/break.exp: Ditto.
16028 * gdb.base/callfuncs.exp: Ditto.
16029 * gdb.base/commands.exp: Ditto.
16030 * gdb.base/exprs.exp: Ditto.
16031 * gdb.base/funcargs.exp: Ditto.
16032 * gdb.base/list.exp: Ditto.
16033 * gdb.base/recurse.exp: Ditto.
16034 * gdb.base/scope.exp: Ditto.
16035 * gdb.base/structs.exp: Ditto.
16036 * gdb.c++/inherit.exp: Ditto.
16037
16038 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
16039
16040 * config/vr4300.exp: New file.
16041
16042 * gdb.*/*.exp: Call gdb_expect instead of expect.
16043
16044 * lib/gdb.exp(gdb_expect): New function.
16045
16046 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
16047
16048 * lib/gdb.exp(gdb_init): New function.
16049
16050 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
16051 for each individual variable set.
16052
16053 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
16054 name.
16055
16056 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
16057
16058 * gdb.base/scope.exp: Use gdb_test.
16059
16060 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
16061 aborting; the testsuite driver will do that for us (see
16062 gdb_finish). Also, use gdb_test in a few more places.
16063
16064 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
16065
16066 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
16067
16068 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
16069
16070 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
16071 and "add_tests" are not at the same address.
16072
16073 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
16074
16075 * gdb.base/ptype.exp: Use gdb_test.
16076
16077 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
16078
16079 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
16080 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
16081 left in. No longer expect them to fail.
16082
16083 * gdb.stabs/*.mt; Deleted, no longer used.
16084 * gdb.stabs/configure.in: Remove references to target makefile
16085 frags.
16086 * gdb.stabs/configure: Rebuilt.
16087
16088 * gdb.disasm/*.mt: Deleted, no longer used.
16089 * gdb.disasm/configure.in: Remove references to target makefile
16090 frags. Use "sh3.s" as the unique filename for this directory.
16091 * gdb.disasm/configure: Rebuilt.
16092
16093 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
16094 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
16095 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
16096
16097 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
16098
16099 * config/udi.exp: Use mondfe,name instead of remote_host.
16100
16101 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
16102
16103 * gdb.base/watchpoint.exp: Don't expect a failure when calling
16104 a function with a watchpoint enabled on the mn10200.
16105
16106 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
16107 before trying to create it!
16108
16109 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
16110
16111 * config/vx.exp: Use hostname instead of netport.
16112
16113 * config/vxworks.exp: New file.
16114
16115 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
16116
16117 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
16118 gdb before assuming everything worked. Send a ^C if a timeout
16119 occurs.
16120
16121 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
16122 $gdb_spawn_id directly.
16123 (gdb_run_cmd): Try _start as well as start. Use the target feature
16124 gdb,start_symbol as the symbol to start from when jumping.
16125
16126 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
16127
16128 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
16129 redundant) test.
16130
16131 * gdb.base/recurse.exp: Relax final value test for 'b' so that
16132 it doesn't lose for 16bit integer systems.
16133
16134 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
16135
16136 * gdb.fortran/types.exp: If the target doesn't support "double"
16137 data types, then expect "real" types to only be 4 bytes.
16138
16139 * gdb.c++/virtfunc.exp: Expect failure for virtual function
16140 call tests if the target doesn't support inferior function calls.
16141
16142 * gdb.base/printcmds.exp: Allow minor deviation in FP values
16143 in printf tests.
16144
16145 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
16146
16147 * gdb.base/help.exp: Disable "help set", "help show", and
16148 "help support". Simplify regexp for "help stack".
16149
16150 * gdb.base/default.exp: Set match_max to 5000 and the timeout
16151 to 60 seconds. Temporarily set match_max to 15000 around the
16152 "info copying" test.
16153
16154 * gdb.base/nodebug.exp: Don't try to do an inferior function
16155 call if the target doesn't support them.
16156 * gdb.base/printcmds.exp: Likewise.
16157 * gdb.base/setvar.exp: Likewise.
16158 * gdb.base/structs.exp: Likewise.
16159 * gdb.c++/templates.exp: Likewise.
16160 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
16161
16162 * gdb.base/recurse.exp: Enable for the mn10200.
16163
16164 * configure.in: Do configure gdb.stabs directory for *-*-elf
16165 targets.
16166 * configure: Rebuilt.
16167
16168 * gdb.base/break.exp: Check for gdb,noresults before testing
16169 exit status and/or results from the target.
16170 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
16171 * lib/gdb.exp: Remove old (now bogus) initialization of
16172 noinferior, noargs, noresults and nosignals.
16173
16174 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
16175
16176 * config/sh.exp: New file.
16177
16178 * config/slite.exp: Try to connect multiple times to the board
16179 before rebooting. Only send a "monitor run" if need_monitor_run
16180 is set.
16181
16182 * gdb.base/break.exp: Don't do the "stub continue" test if
16183 the target has gdb_stub set.
16184
16185 * gdb.base/callfuncs.exp: Increase the timeout.
16186
16187 * gdb.base/interrupt.exp: Don't even try to compile the testcase
16188 if the target has gdb,noinferiorio set.
16189
16190 * gdb.base/list.exp: Increase match_max to 10000 characters.
16191
16192 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
16193
16194 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
16195 target.
16196
16197 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
16198
16199 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
16200
16201 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
16202 trying to delete the copy of gdb. Catch the file delete so we
16203 don't die if the delete fails; also, the file should be copied to
16204 the host, not to the build.
16205
16206 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
16207
16208 * lib/gdb.exp(gdb_test): Surround the result pattern with
16209 parenthesis in case it contains multiple regexps separated
16210 with |.
16211
16212 * gdb.base/watchpoint.exp: Use gdb_test.
16213 * gdb.base/default.exp: Ditto.
16214
16215 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
16216
16217 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
16218
16219 * gdb.base/scope.exp: Use gdb_test.
16220 * gdb.c++/classes.exp: Ditto.
16221 * gdb.c++/inherit.exp: Ditto.
16222
16223 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
16224
16225 * gdb.base/crossload.exp: Don't use execute_anywhere, use
16226 remote_exec instead.
16227 * gdb.base/corefile.exp: Don't be ridiculous.
16228 * gdb.base/*.c: Add missing stub invocations.
16229
16230 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
16231
16232 * config/slite.exp: Miscellaneous fixes.
16233
16234 * lib/gdb.exp: Fix runto.
16235
16236 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
16237 the target.
16238
16239 * gdb.base/watchpoint.exp: Fix regexp.
16240
16241 * lib/gdb.exp(default_gdb_exit): Add a catch to the
16242 close and wait commands, as the descriptor may now be
16243 invalid. Always call "remote_close host".
16244
16245 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
16246
16247 Major rewrite for testsuite revision.
16248
16249 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
16250 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
16251 instead of relying on spawn_id to always contain a valid
16252 spawn id.
16253 (get_compiler_info): New procedure to build the ${binfile}.ci
16254 file, instead of replicating this in N different places.
16255 (gdb_compile): New procedure.
16256
16257 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
16258 appropriate arguments) instead of compile. Use gdb_test in a lot
16259 more places. Use send_gdb instead of send. Always run gdb_start
16260 at the start of a testcase, as this is no longer done magically.
16261
16262 config/*-gdb.exp: Rename without the -gdb suffix.
16263
16264 config/mips.exp: Use remote_close instead of exit_remote_shell.
16265 config/monitor.exp: Use target_info instead of looking at
16266 baud, timeout, etc.
16267 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
16268
16269 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16270
16271 * gdb.c++/templates.exp (test_ptype_of_templates),
16272 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
16273 Update expect patterns for destructors and assignment operators
16274 to match corresponding c-typeprint.c changes.
16275 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
16276 to destructor breakpoint test, GDB should be able to set the
16277 destructor breakpoint without specifying arguments.
16278
16279 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
16280
16281 * gdb.threads/pthreads.exp: Change result for failure to compile due
16282 to lack of pthreads runtime support from an error to simply an
16283 unsupported test, per dejagnu standards.
16284
16285 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16286
16287 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
16288 where GDB exits to reduce pattern match time.
16289 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
16290
16291 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
16292
16293 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
16294
16295 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
16296 * gdb.base/default.exp: ditto.
16297 * gdb.base/nodebug.exp: ditto.
16298 * gdb.base/printcmds.exp: ditto.
16299 * gdb.base/ptype.exp: ditto.
16300 * gdb.base/setvar.exp: ditto.
16301 * gdb.base/structs.exp: ditto.
16302 * gdb.base/setshow.c: Guard against uninitialized values of argc.
16303
16304 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
16305
16306 * configure, */configure: Rebuild with autoconf 2.12.
16307
16308 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
16309
16310 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
16311 use new i*86-pc-linux*-gnu quads.
16312 * gdb.base/corefile.exp: Ditto.
16313 * gdb.base/signals.exp: Ditto.
16314 * gdb.base/sigall.exp: Ditto.
16315 * gdb.base/interrupt.exp: Ditto.
16316
16317 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
16318 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
16319 RedHat 4.0.
16320
16321 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
16322 linux. This allows the test case to at least compile on latest
16323 linux, but still not run due to missing the threads runtime library.
16324
16325 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16326
16327 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
16328 directory to search gdb directory. Accept and step over conditional
16329 stack alignment code. Consume $prompt in failure cases.
16330 Reset timeout to $oldtimeout instead of some arbitrary value.
16331 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
16332 timeout problems with infinite stack backtraces.
16333 * gdb.base/ptype.exp (ptype struct link, union tu_link):
16334 Accept function parameters for linkfunc member.
16335
16336 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
16337
16338 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
16339 (CXXFLAGS): Remove, unreferenced.
16340 (B_OPTIONS): Add for -B options and add code to initialize with
16341 previous -B options and also add -B option to pick up cross compiled
16342 runtime.
16343 (TARGET_INCLUDES): Add for -I options and add code to initialize when
16344 doing cross compiles.
16345 (target_alias): Declare global.
16346 (xgcc): Set variable to full path of gcc in build tree. Use findfile
16347 to verify that gcc exists in build tree, and if so set CC to that
16348 gcc and to use B_OPTIONS and TARGET_INCLUDES.
16349
16350 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
16351
16352 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
16353 ptype test for anonymous union. Fixup testcase to match
16354 current gcc debug output.
16355
16356 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
16357
16358 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
16359 force argument to an unsigned long type.
16360
16361 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
16362
16363 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
16364 tests and anonymous union print/ptype tests.
16365 * gdb.base/list.exp (test_forward-search): Increase timeout by
16366 5 minutes for the "search extremely long line" case.
16367 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
16368 completely optional and that the pass/fail messages use the command as
16369 the message if that third arg is a null string.
16370 (gdb_test_exact): Arrange that a null string pattern means match a
16371 null string output rather than any output, which might include random
16372 errors.
16373 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
16374 backtrace test.
16375 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
16376 always failing and failure is now exposed by gdb.exp changes.
16377
16378 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
16379
16380 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
16381 weren't being noted.
16382
16383 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16384
16385 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
16386 * gdb.stabs/weird.exp: Remove v_comb xfails.
16387
16388 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
16389
16390 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
16391 list.exp scope.exp watchpoint.exp]
16392 Make all timeout error msgs explicitly say "(timeout)".
16393
16394 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
16395
16396 * config/monitor.exp: Increase download timeout to 1000 seconds.
16397
16398 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
16399
16400 * config/m32r.exp: Increase timeout to 120 seconds.
16401
16402 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
16403
16404 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
16405 and accept older ordering as obsolescent gcc or gdb.
16406 * gdb.c++/templates.exp: Ditto.
16407 * gdb.c++/virtfunc.exp: Ditto.
16408
16409 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
16410
16411 * gdb.base/coremaker.c: Add code to mmap some data so we
16412 can check that it ends up in the core file.
16413 * gdb.base/corefile.exp: Add test to read mmapped data
16414 from core file.
16415
16416 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
16417
16418 * config/m32r.exp: New file.
16419
16420 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
16421
16422 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
16423 that cflags can contains -gstabs, and work correctly for other tests.
16424
16425 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
16426
16427 * gdb.base/setshow.exp: New file, tests show and set.
16428 * gdb.base/setshow.c: New file, tests show and set.
16429 * gdb.base/help.exp: Add test for help set|show annotate.
16430 * gdb.base/default.exp: Add test for set|show annotate.
16431
16432 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
16433
16434 * testsuite/gdb.base/break.exp: Make backtrace from factorial
16435 errors unique.
16436 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
16437 explicitly.
16438
16439 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
16440
16441 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
16442 and width commands. This is done elsewhere.
16443 * (gdb_start): Don't call gdb_start_sim here. That's already
16444 done in gdb_load. This fixes lots of failures in default.exp.
16445
16446 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
16447
16448 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
16449 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
16450 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
16451 in the same we we treat other failures (since it may be an expected
16452 condition), rather than as an error.
16453 * gdb.base/signals.exp (test_handle_all_print): Revert back to
16454 old test format.
16455
16456 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
16457
16458 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
16459 (distclean maintainer-clean realclean): No need to remove files
16460 twice. Nuke the duplicates.
16461 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
16462 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
16463 Remove config.h along with other config files.
16464
16465 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
16466
16467 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
16468 "p func1 ()" and note that rests of tests are skipped.
16469 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
16470 setup_xfails for "print func2::coremaker_local".
16471 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
16472 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
16473 affected by the previous run test.
16474 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
16475 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
16476 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
16477 "pass int powerset tuple" and "pass modeless int powerset tuple".
16478 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
16479 "real write 4" and "real write 8".
16480 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
16481 setup_xfails for "print vs1 after tuple assign 2",
16482 "print \$i after tuple assign 2", and
16483 "print vs2 after tuple assign 2".
16484 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
16485 meaningful error message and return -1 so the caller can
16486 suppress further tests and avoid a cascade of errors.
16487
16488 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
16489
16490 * gdb.base/a1-selftest.exp: Tweak tests to account for new
16491 format for printing version.
16492 * gdb.base/default.exp: Ditto.
16493 * gdb.base/interrupt.exp: Fix problem with cascade of
16494 errors if child process dies while calling a function.
16495
16496 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
16497
16498 * Makefile.in (VPATH): Add
16499 * Makefile.in (Makefile, config.status): Fix rules so things get
16500 remade when necessary.
16501
16502 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
16503
16504 * Makefile.in (just-check): Add path to sibling expect dir
16505 to environment variable specified by RPATH_ENVVAR.
16506
16507 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
16508
16509 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
16510 (just-check): Add shared library paths for libstdc++, tk,
16511 tcl, bfd, and opcodes to the environment variable specified
16512 in RPATH_ENVVAR.
16513 * configure.in: Add support to recognize --enable-shared flag
16514 and generate correct value for RPATH_ENVVAR.
16515 * configure: Regenerated with autoconf.
16516
16517 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
16518
16519 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
16520 include all osf versions.
16521 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
16522 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
16523 when target is linux. When failing to build pthreads test
16524 executable, give more meaningful message.
16525 * gdb.threads/pthreads.c: Hpux also uses old definition of second
16526 arg for pthread_create.
16527
16528 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
16529
16530 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
16531 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
16532 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
16533 and -lpthreads (everybody else).
16534 (test_startup): Fail gracefully if threads are not supported.
16535 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
16536 "p/c array_index("abcdef",2)" when not gcc compiled.
16537 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
16538 "print func2::coremaker_local" when not gcc compiled.
16539 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
16540 "ptype on opaque struct tagname (statically)",
16541 "ptype on opaque struct tagname (dynamically) 1", and
16542 "ptype on opaque struct tagname (dynamically) 2"
16543 for not compiled with gcc.
16544 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
16545 backtrace when compiled with gcc.
16546 * lib/gdb.exp (runto_main): Return result of "runto main" rather
16547 than always return success.
16548
16549 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
16550
16551 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
16552
16553 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
16554
16555 * gdb.base/structs.exp: Undo last change.
16556
16557 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
16558
16559 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
16560 encapsulate all the steps/nexts done during self test, starting
16561 at main, and makes them less sensitive to optimization issues.
16562 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
16563 signal handler" test.
16564 * gdb.threads/pthreads.exp: Only run this for native configs.
16565 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
16566 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
16567 tests.
16568 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
16569 for "runto test_calls(void)" test.
16570
16571 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
16572
16573 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
16574 and don't expect address info in breakpoint confirmations.
16575
16576 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
16577
16578 * gdb.base/list.exp (test_forward_search): Increase timeout
16579 temporarily by 60 seconds for searching extremely long line,
16580 and then reset to old value when done. Increase expect input
16581 buffer to 10000.
16582
16583 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
16584
16585 * gdb.base/list.exp (test_forward_search): Fix to handle very
16586 long source line without overflowing expect's input buffer.
16587
16588 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
16589
16590 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
16591 "buffer_full".
16592
16593 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
16594 "buffer_full".
16595
16596 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
16597 "buffer_full".
16598
16599 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
16600 "buffer_full".
16601
16602 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
16603
16604 * configure.in (configdirs): Add gdb.threads.
16605 * configure: Regenerated with autoconf.
16606 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
16607 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
16608 * gdb.threads/configure: New, generated with autoconf.
16609
16610 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
16611
16612 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
16613
16614 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
16615
16616 * gdb.base/signals.exp (test_handle_all_print): Test separately for
16617 each signal's status in the output of "handle all print".
16618 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
16619 the \r\n sequence that immediately precedes the gdb prompt.
16620 * gdb.base/a1-selftest.exp: Save original timeout and restore
16621 after test.
16622
16623 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
16624
16625 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
16626 symbol.
16627
16628 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
16629
16630 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
16631
16632 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
16633
16634 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
16635 timeout by 60 seconds.
16636
16637 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
16638
16639 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
16640 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
16641 error return.
16642
16643 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
16644
16645 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
16646 gdb initialization, also report how long dejagnu waited. Restore
16647 old timeout before doing error return. Temporarily increase timeout
16648 by 3 minutes to allow for slow startups over heavy NFS use.
16649
16650 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
16651
16652 * lib/gdb.exp: Report timeout value for verbosity level 2.
16653 * config/gdbserver.exp: Ditto.
16654 * config/hppro.exp: Ditto.
16655 * config/mips-gdb.exp: Ditto.
16656 * config/monitor.exp: Ditto.
16657 * config/netware.exp: Ditto.
16658 * config/sim-gdb.exp: Ditto.
16659 * config/slite-gdb.exp: Ditto.
16660 * config/udi-gdb.exp: Ditto.
16661 * config/unix-gdb.exp: Ditto.
16662 * config/vx-gdb.exp: Ditto.
16663 * gdb.base/a1-selftest.exp: Ditto.
16664 * gdb.base/a2-run.exp: Ditto.
16665 * gdb.base/break.exp: Ditto.
16666 * gdb.base/corefile.exp: Ditto.
16667 * gdb.base/list.exp: Ditto.
16668 * gdb.base/recurse.exp: Ditto.
16669 * gdb.base/scope.exp: Ditto.
16670 * gdb.base/signals.exp: Ditto.
16671
16672 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
16673
16674 * gdb.threads/Makefile.in (docdir): Removed.
16675
16676 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
16677
16678 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
16679 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
16680 @srcdir@.
16681 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
16682 autoconf 2.5 or higher.
16683 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
16684
16685 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
16686
16687 * configure: Regenerated.
16688 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
16689 avoid name clashes with SunOS headers.
16690
16691 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
16692
16693 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
16694
16695 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
16696
16697 * gdb.base/callfuncs.exp: Finish last change -- make sure the
16698 prototype information ends up in the compiler info file.
16699
16700 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
16701
16702 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
16703 attempting to regenerate it. Eliminate use of a temporary file
16704 and just generate the info file directly. Source it immediately,
16705 for consistency of use.
16706 * gdb.base/corefile.exp: Ditto
16707 * gdb.base/exprs.exp: Ditto.
16708 * gdb.base/funcargs.exp: Ditto.
16709 * gdb.base/langs.exp: Ditto.
16710 * gdb.base/list.exp: Ditto.
16711 * gdb.base/mips_pro.exp: Ditto.
16712 * gdb.base/nodebug.exp: Ditto.
16713 * gdb.base/opaque.exp: Ditto.
16714 * gdb.base/ptype.exp: Ditto.
16715 * gdb.base/scope.exp: Ditto.
16716 * gdb.base/setvar.exp: Ditto.
16717 * gdb.base/signals.exp: Ditto.
16718 * gdb.base/whatis.exp: Ditto.
16719 * gdb.c++/templates.exp: Ditto.
16720 * gdb.c++/virtfunc.exp: Ditto.
16721 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
16722 whether or not to add -lstdc++ to the compile command line args.
16723
16724 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16725
16726 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
16727 it got fixed by the recent lookup_minimal_symbol_by_pc change.
16728 Increase timeout, a lot of single stepping might be needed if the
16729 target has no hardware watchpoints.
16730
16731 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
16732
16733 * gdb.base/break.exp: Ignore compiler warnings when compiling
16734 break.c.
16735 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
16736 * gdb.base/default.exp: Add h8300 xfails. Handle messages
16737 from remote-sim.
16738 * gdb.base/exprs.exp: Add h8300 xfails.
16739 * gdb.base/funcargs.exp: Likewise.
16740 * gdb.base/nodebug.exp: Likewise.
16741 * gdb.base/printcmds.exp: Likewise.
16742 * gdb.base/ptype.exp: Likewise.
16743 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
16744 h8300 xfails.
16745 * gdb.base/return.exp: Handle float/double precision problems
16746 on the h8300.
16747 * gdb.base/funcargs.c: Explicitly make last constant argument to
16748 call_after_alloca_subr an unsigned long type.
16749 * gdb.base/return.c: Include stdio.h.
16750
16751 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
16752
16753 * config/abug.exp: New file for the older Motorola Bug monitor
16754 that runs on the mvme13x series VME boards.
16755 * config/monitor.exp: Use the new config array for target settings
16756 if they exist.
16757
16758 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
16759
16760 * sim-gdb.exp: Make the SH simulator allocate less space when
16761 it is targeted.
16762
16763 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
16764
16765 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
16766 test.
16767
16768 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
16769
16770 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
16771 "rs6000-*-*" for "list function in include file" when gcc compiled.
16772 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
16773 for "p ctable1[120]".
16774 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
16775 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
16776 Remove setup_xfail for "rs6000-*-*" for
16777 "print 'scope0.c'::filelocal before run".
16778 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
16779 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
16780 since some compilers don't allow both options to be given
16781 on the same command line. Create object file and move it.
16782
16783 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
16784
16785 * gdb.base/corefile.exp: Always regenerate the core file, since
16786 we always regenerate the coremaker program. Detect special case
16787 where registers cannot be read from core file.
16788
16789 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
16790
16791 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
16792 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
16793 * gdb.c++/templates.exp: Only match on basename of file since
16794 some formats like xcoff don't encode directory information.
16795 * gdb.stabs/weird.exp: Use the right sed script for powerpc
16796 and rs6000 AIX xcoff targets.
16797 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
16798 * configure: Regenerate.
16799 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
16800 here, rather than in distclean.
16801
16802 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
16803
16804 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
16805 defined, and use it to compile the test case with -O2. The
16806 native compilation still uses no optimization.
16807 * gdb.base/mips_pro.c: Remove inline assembly code since
16808 it is compiled PIC by default, which results in assembler
16809 warnings that make the testsuite think the compilation
16810 was unsuccessful.
16811
16812 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
16813
16814 * gdb.c++/misc.exp: Add note to message for
16815 "print s.a for foo struct" that this is a known gcc 2.7.2
16816 and earlier bug.
16817
16818 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
16819
16820 * gdb.base/break.exp: Fix pattern for matching "Delete all
16821 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
16822 setup_xfail for deleting all breakpoints test. Fix various
16823 timeout messages to include "(timeout)".
16824 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
16825 for "p t_float_values2(3.14159,float_val2)".
16826 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
16827 for "continue to call2g" when gcc compiled.
16828 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
16829 "up to foo in langs.exp", "show language at foo in langs.exp",
16830 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
16831 and "show language at fsub in langs.exp".
16832 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
16833 "list line 1 in include file", "list message for lines past EOF",
16834 "list function in include file", "list list0.h:foo", and
16835 "list filename:function; nonexistant function".
16836 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
16837 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
16838 and "ptype t_char_array" to be for native cc only.
16839
16840 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
16841
16842 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
16843 setup_xfail for "print coremaker_bss", "print coremaker_ro",
16844 "print func2::coremaker_local", and "backtrace in corefile.exp".
16845
16846 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
16847
16848 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
16849 "bt in signals.exp". This problem only appears when running
16850 the testsuite, and then only intermittently.
16851
16852 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
16853
16854 * gdb.base/return.exp (return_tests): Differentiate between
16855 two tests of continuing.
16856
16857 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
16858
16859 * */Makefile.in (maintainer-clean): Remove config.log.
16860 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
16861 * gdb.c++/Makefile.in (PROGS): Add inherit.
16862 (clean): Remove *.ci.
16863
16864 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
16865
16866 * gdb.c++/misc.cc: Add test code from Mike Stump.
16867 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
16868
16869 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
16870
16871 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
16872 to "alpha-*-osf2*" and add comment.
16873 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
16874 setup_xfail for "step over execarg initialization" and
16875 "step over corearg initialization".
16876 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
16877 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
16878 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
16879 gcc compiled for "print coremaker_bss", "print coremaker_ro",
16880 "print func2::coremaker_local", and "backtrace in corefile.exp".
16881 * gdb.base/signals.exp: Build and source signals.ci.
16882 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
16883 to be for gcc only.
16884 * lib/gdb.exp: Move verbose statements outside conditionals.
16885
16886 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16887
16888 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
16889 Feb 3 procfs.c change.
16890
16891 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
16892
16893 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
16894
16895 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
16896
16897 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
16898 from dejagnu's apparent default of 10 seconds, which gives random
16899 results when running the tests over NFS on moderately loaded systems.
16900 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
16901
16902 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
16903
16904 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
16905 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
16906 result reports.
16907
16908 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
16909
16910 * configure.in (CY_AC_PATH_TCLH): Remove.
16911 * configure: Regenerate.
16912
16913 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
16914
16915 * gdb.c++/Makefile.in (clean): Add missing '{'.
16916
16917 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
16918
16919 * lib/gdb.exp: Provide a default value for noinferior.
16920
16921 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
16922 Load libgloss.exp.
16923
16924 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
16925
16926 * gdb.disasm/hppa.exp: Compile directly into an executable, use
16927 the executable, not the .o to run the tests from.
16928
16929 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
16930
16931 * gdb.base/break.exp: Don't test for program exit or exit status
16932 if $noresults if nonzero.
16933 * gdb.base/langs.exp: Likewise.
16934 * gdb.base/watchpoint.exp: Likewise.
16935
16936 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
16937 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
16938 trying to compile the testcase.
16939
16940 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
16941
16942 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
16943 * gdb.base/signals.exp (continue to handler): Likewise.
16944
16945 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
16946
16947 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
16948
16949 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
16950
16951 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
16952
16953 * gdb.base/corefile.exp: Recognize "not found" as failure
16954 when trying to determine if a core file was generated.
16955 If no core file was generate the first time, try again without
16956 the ulimit -c to work around braindamaged shells.
16957
16958 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
16959
16960 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
16961 [] tests with "test" and enclose string in quotes.
16962 * gdb.stabs/configure: Rebuild
16963
16964 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
16965
16966 Changes in sync with expect:
16967 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
16968 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
16969 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
16970 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
16971 argument to AC_REQUIRE.
16972 * configure: Regenerated.
16973
16974 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
16975
16976 * gdb.base/corefile.exp: When generating a core, discard any
16977 error messages about ulimit not found and the "core dumped"
16978 message from the shell that runs the coredumper.
16979
16980 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
16981
16982 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
16983
16984 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
16985 which sed script to run. Expect failure for v_comb test
16986 on PA targets too.
16987
16988 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
16989
16990 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
16991 "print func2::coremaker_local" and for "backtrace in corefile.exp"
16992
16993 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
16994
16995 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
16996 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
16997 "sparc-sun-solaris*" xfails for "p v_comb".
16998 * lib/gdb.exp (default_gdb_start): Fix typo.
16999 * gdb.base/corefile.exp: Allow "Core was generated by ..."
17000 messages to not include the full program name that caused
17001 the core dump since some systems (such as solaris) apparently
17002 truncate this path to about 80 characters.
17003 When generating a core file first try increasing the core file
17004 size limit to unlimited since some systems may default it to
17005 zero, and it is harmless to try it. Move the test for failing
17006 to generate a core file to where it will actually get executed.
17007 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
17008 new gdb result from g++ debug info improvements and make old
17009 pattern obsolescent. Also account for size_t differences
17010 (may be int or long).
17011 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
17012 initialization before function call is placed in the delay slot
17013 and thus appears to be skipped over by commands such as "next".
17014
17015 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
17016
17017 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
17018
17019 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
17020
17021 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
17022 input source file; fix code to compile test to deal with this
17023 convention.
17024 * gdb.c++/*.exp: Likewise.
17025
17026 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
17027
17028 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
17029 "bt in signals.exp".
17030
17031 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
17032
17033 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
17034 "step over execarg initialization" and
17035 "step over corearg initialization".
17036
17037 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
17038
17039 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
17040 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
17041
17042 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
17043
17044 From Rob Savoye (rob@poseidon.cygnus.com)
17045 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
17046 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
17047 configure.in}, gdb.disasm/{Makefile.in, configure.in},
17048 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
17049 configure.in}: Major reworking for autoconfig.
17050 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
17051 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
17052 New files.
17053 * config/unix-gdb.exp: Make GDB global.
17054 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
17055 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
17056 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
17057 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
17058 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
17059 term.exp, twice.exp, watchpoint.exp, whatis.exp},
17060 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
17061 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
17062 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
17063 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
17064 pr-8136.exp, result.exp, string.exp, tuples.exp},
17065 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
17066 to returns as necessary, arrange for test to compile own testcase
17067 executable.
17068 * lib/gdb.exp: Changes for testsuite to compile own test cases.
17069
17070 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
17071
17072 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
17073 clear_xfail at end of test which might not call either pass or fail.
17074 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
17075 "backtrace through signal handler".
17076
17077 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17078
17079 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
17080 continuing from a job control stop signal.
17081 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
17082
17083 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
17084
17085 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
17086 * gdb.base/corefile.exp: Likewise.
17087 * gdb.base/funcargs.exp: Likewise.
17088
17089 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
17090
17091 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
17092 * config/monitor.exp: Add support for setting baud rate.
17093
17094 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
17095
17096 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
17097 i*86-*-linux* xfails for "backtrace through signal handler".
17098 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
17099 "print func2::coremaker_local".
17100 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
17101 alpha-dec-osf2* xfail for
17102 "delete all breakpoints when none".
17103
17104 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
17105
17106 * gdb.base/break.exp: Change test that deletes all breakpoints
17107 when no user breakpoints are installed. A post 4.15 change
17108 causes gdb to no longer prompt in this case.
17109
17110 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
17111
17112 * gdb.base/return.exp (return_tests): Change xfail for test
17113 "correct value returned double test" to stop xfailing at
17114 Solaris 2.5. Apparently the bug has been fixed.
17115
17116 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
17117
17118 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
17119 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
17120
17121 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
17122
17123 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
17124 * gdb.disasm/hppa.s: Corresponding changes.
17125
17126 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
17127
17128 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
17129 makefile fragment.
17130 * config/mt-hpux: Deleted.
17131
17132 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
17133
17134 * Many files: When warning about suppressed tests due to a
17135 nonexistant test binary, avoid incrementing the warning count.
17136
17137 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
17138
17139 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
17140
17141 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17142
17143 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
17144 "sparc-*-solaris2*".
17145
17146 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17147
17148 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
17149 Add global and local variables and initialize them.
17150 * gdb.base/corefile.exp: Test correct mapping of corefile sections
17151 by printing variables. Remove rs6000 and powerpc xfails, BFD now
17152 extracts the file name and terminating signal from the core file.
17153 * TODO: Remove note about tests for correct mapping of corefile.
17154 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
17155 from optimizing it away.
17156 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
17157 handles common blocks.
17158
17159 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
17160
17161 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
17162 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
17163
17164 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
17165
17166 * Makefile.in (maintainer-clean): New target, synonym for
17167 realclean.
17168 * gdb.base/Makefile.in (maintainer-clean): Likewise.
17169 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
17170 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
17171 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
17172 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
17173 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
17174
17175 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
17176
17177 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
17178 xfails when not gcc compiled for "print foo::funclocal".
17179 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
17180 "print foo::funclocal at foo",
17181 "print 'scope1.c'::foo::funclocal at foo",
17182 "print foo::funclocal_bss at foo",
17183 "print 'scope1.c'::foo::funclocal_bss at foo",
17184 "print foo::funclocal_ro at foo",
17185 "print 'scope1.c'::foo::funclocal_ro at foo",
17186 "print bar::funclocal at foo" and
17187 "print 'scope1.c'::bar::funclocal at foo".
17188 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
17189 gcc compiled for "print foo::funclocal at bar".
17190 Expand all messages to ensure that they identify that
17191 the test is at bar().
17192 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
17193 gcc compiled for:
17194 "ptype on opaque struct pointer (statically)",
17195 "ptype on opaque struct tagname (statically)",
17196 "ptype on opaque struct pointer (dynamically) 1",
17197 "ptype on opaque struct tagname (dynamically) 1",
17198 "ptype on opaque struct pointer (dynamically) 2" and
17199 "ptype on opaque struct tagname (dynamically) 2
17200 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
17201 gcc compiled for:
17202 "p datalocal"
17203 "whatis datalocal",
17204 "ptype datalocal",
17205 "p bsslocal",
17206 "whatis bsslocal", and
17207 "ptype bsslocal".
17208 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
17209 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
17210 when not gcc compiled.
17211 * gdb.base/funcargs.exp (float_and_integral_args): Add
17212 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
17213 compiled.
17214 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
17215 "backtrace from call6a" when not gcc compiled.
17216 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
17217 "backtrace from call7a" when not gcc compiled.
17218 * gdb.base/callfuncs.exp (do_function_calls):
17219 Add "hppa*-*-hpux*" xfail when not gcc compiled for
17220 "p t_char_array_values(char_array_val2,char_array_val1)",
17221 "p t_char_array_values(char_array_val1,char_array_val2)",
17222 "p t_char_array_values("carray 1","carray 2")",
17223 "p t_char_array_values("carray 1",char_array_val2)",
17224 "p t_char_array_values(char_array_val1,"carray 2")",
17225 "p sum_args(1,{2})",
17226 "p sum_args(2,{2,3})",
17227 "p sum_args(3,{2,3,4})",
17228 "p sum_args(4,{2,3,4,5})"
17229 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
17230 "backtrace in corefile.exp" when not gcc compiled.
17231
17232 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17233
17234 * gdb.base/signals.exp: Rewrite `handle all print' test as
17235 a procedure. Accept blanks or TABs as whitespace, increase
17236 timeout and expect input buffer size for the large output
17237 from the command. Remove "i*86-*-bsdi2.0" xfail.
17238
17239 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17240
17241 * gdb.base/setvar.exp: Add new testcases for truncation when
17242 assigning invalid values to bitfields.
17243
17244 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
17245
17246 * gdb.base/callfuncs.exp (do_function_calls): Remove
17247 mips-sgi-irix* xfail for
17248 "call inferior func with struct - returns char *"
17249 and fix test so that an optional (unsigned char *) cast is
17250 accepted in the result.
17251
17252 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
17253
17254 * gdb.base/funcargs.exp (float_and_integral_args): Remove
17255 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
17256 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
17257 * gdb.base/signals.exp: Remove duplicate "handle all print" test
17258 that accidentally got checked in.
17259
17260 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
17261
17262 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
17263 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
17264 compiled test.
17265 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
17266 Add mips-sgi-irix5* xfail for not gcc compiled.
17267 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
17268 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
17269 "p top", "whatis top", "p middle", and "whatis middle".
17270 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
17271 "whatis signed char" for not gcc compiled.
17272 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
17273 "set variable signed char=-1 (-1)" and
17274 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
17275 * gdb.base/funcargs.exp (float_and_integral_args):
17276 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
17277 Add mips-sgi-irix* xfail when not gcc compiled for
17278 "continue to call2b".
17279 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
17280 "continue to call2g".
17281 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
17282 "backtrace from call6a"
17283 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
17284 "backtrace from call7k".
17285 Add mips-sgi-irix5* xfail when not gcc compiled for
17286 "backtrace from call7a".
17287 (localvars_after_alloca): Fix gdb_test cmds for
17288 "print * after runto ...".
17289 Remove rs6000-*-* xfails for
17290 "print i after runto localvars_after_alloca" and
17291 "print l after runto localvars_after_alloca"
17292 for all compilers.
17293 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
17294 when not compiled with gcc, for:
17295 "print signed char == (minus)",
17296 "print signed char != (minus)",
17297 "print signed char < (minus)",
17298 "print signed char > (minus)".
17299 * gdb.base/callfuncs.exp (do_function_calls):
17300 Add mips-sgi-irix* xfail, when compiled with native compiler, for
17301 "call inferior func with struct - returns char *".
17302 * gdb.base/return.exp (return_tests): Change xfail for
17303 "correct value returned double test" to include Solaris 2.4.
17304 * gdb.base/funcargs.exp (float_and_integral_args):
17305 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
17306
17307 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17308
17309 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
17310 enumeration bitfields if compiling with GNU C.
17311 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
17312 to empty' prompt.
17313
17314 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
17315
17316 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
17317 test for PRO targets.
17318
17319 * gdb.base/funcargs.exp: Avoid ever setting more than 8
17320 breakpoints in the inferior at any given time by making
17321 two groups of breakpoints for call2*, call6* and call7*
17322 tests.
17323
17324 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17325
17326 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
17327 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
17328 from optimizing it away.
17329 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
17330 "call inferior func with struct".
17331
17332 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
17333
17334 * configure.in: Only configure gdb.chill for particular targets.
17335
17336 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
17337
17338 * gdb.base/Makefile.in: Add action to .c.o transformation
17339 rule that generates a .ci file for each .o file and remove
17340 explicit .c.o rules except for callfuncs.o.
17341 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
17342 generates a .ci file for each .o file and remove explicit
17343 .cc.o rules.
17344 (clean): Remove *.tmp *.ci files.
17345 (EXECUTABLES): Remove templ-info.exp.
17346 * gdb.base/compiler.c: New file.
17347 * gdb.c++/compiler.cc: New file
17348 * gdb.base/scope.exp: Source gdb.base/scope.ci.
17349 Change rs6000-*-* xfail for
17350 "print 'scope0.c'::filelocal_ro" and
17351 "print 'scope1.c'::filelocal" and
17352 "print 'scope1.c'::filelocal_bss" and
17353 "print 'scope1.c'::filelocal_ro" and
17354 "print 'scope1.c'::foo::funclocal" and
17355 "print 'scope1.c'::foo::funclocal_ro" and
17356 "print 'scope1.c'::bar::funclocal" and
17357 "print 'scope0.c'::filelocal_ro" and
17358 "print 'scope1.c'::filelocal at foo" and
17359 "print 'scope1.c'::filelocal_bss at foo" and
17360 "print 'scope1.c'::filelocal_ro at foo" and
17361 "print 'scope1.c'::foo::funclocal at foo" and
17362 "print 'scope1.c'::foo::funclocal_bss at foo" and
17363 "print 'scope1.c'::foo::funclocal_ro at foo" and
17364 "print 'scope1.c'::bar::funclocal at foo" and
17365 "print 'scope0.c'::filelocal_ro" and
17366 "print 'scope1.c'::filelocal" and
17367 "print 'scope1.c'::filelocal_bss" and
17368 "print 'scope1.c'::filelocal_ro" and
17369 "print 'scope1.c'::foo::funclocal" and
17370 "print 'scope1.c'::foo::funclocal_bss" and
17371 "print 'scope1.c'::foo::funclocal_ro" and
17372 "print 'scope1.c'::bar::funclocal" and
17373 "print 'scope1.c'::bar::funclocal_bss"
17374 to only be xfail'd when not compiled with gcc.
17375 Add rs6000-*-* xfail for
17376 "print 'scope0.c'::filelocal_bss before run"
17377 when compiled with gcc.
17378 (test_at_main): Add rs6000-*-* xfail for
17379 "print filelocal_ro in test_at_main"
17380 when compiled with gcc.
17381 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
17382 Add rs6000-*-aix* xfail for
17383 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
17384 "ptype t_char_array", not compiled with gcc.
17385 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
17386 xfail for "list foo (in include file)" when gcc compiled.
17387 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
17388 (integral_args): Add rs6000-*-* xfail for
17389 "run to call0a" if not compiled with gcc.
17390 (unsigned_integral_args): Add rs6000-*-* xfail for
17391 "run to call1a" if not compiled with gcc.
17392 (float_and_integral_args): Add rs6000-*-* xfail for
17393 "run to call2a" if not compiled with gcc and for
17394 "continue to call2b" for any compiler.
17395 Add rs6000-*-* xfail to
17396 "print f1 after run to call2a" for gcc compiled.
17397 (discard_and_shuffle): Add rs6000-*-* xfail for
17398 "run to call6a".
17399 (shuffle_round_robin): Add rs6000-*-* xfail for
17400 "backtrace from call7a" if not compiled with gcc.
17401 Add rs6000-*-* xfail for
17402 "backtrace from call7b" if compiled with gcc.
17403 (call_after_alloca): Add rs6000-*-* xfail for
17404 "print c in call_after_alloca" and
17405 "print s in call_after_alloca" and
17406 "backtrace from call_after_alloca_subr"
17407 if not compiled with gcc.
17408 (localvars_in_indirect_call): Add rs6000-*-* xfail for
17409 "print c in localvars_in_indirect_call" and
17410 "print c in localvars_in_indirect_call" and
17411 "backtrace in indirectly called function" and
17412 "stepping into indirectly called function"
17413 if not compiled with gcc.
17414 (localvars_after_alloca): Add rs6000-*-* xfail for
17415 "print c after runto localvars_after_alloca" and
17416 "print s after runto localvars_after_alloca" and
17417 "print i after runto localvars_after_alloca" and
17418 "print l after runto localvars_after_alloca"
17419 for all compilers.
17420 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
17421 than whatis-info.exp.
17422 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
17423 than opaque-info.exp.
17424 Setup rs6000-*-* xfail for
17425 "ptype on opaque struct pointer (statically)" and
17426 "ptype on opaque struct pointer (dynamically)" when
17427 not compiled with gcc.
17428 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
17429 rather than callf-info.exp.
17430 (do_function_calls): Add clear_xfail for rs6000-*-* for
17431 "p t_float_values2(3.14159,float_val2)". Seems to work
17432 fine there, both with xlc and gcc. Need to find out what
17433 it is doing right and fix other platforms.
17434 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
17435 "call inferior func with struct - returns int",
17436 "call inferior func with struct - returns long",
17437 "call inferior func with struct - returns float",
17438 "call inferior func with struct - returns double",
17439 "call inferior func with struct - returns char *",
17440 but only if not gcc compiled (presumes xlc compiled).
17441 Change rs6000-*-* xfails for
17442 "call inferior func with struct - returns char" and
17443 " call inferior func with struct - returns short" to only
17444 xfail if not using gcc.
17445 (clean mostlyclean): Remove *.ci and *.tmp files.
17446 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
17447 than templ-info.exp.
17448 * gdb.base/langs.exp: Source gdb.base/langs.ci.
17449 Add rs6000-*-* xfail for "up to foo in langs.exp"
17450 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
17451 when not gcc compiled.
17452
17453 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17454
17455 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
17456 * gdb.base/corefile.exp: Likewise.
17457 * gdb.base/list.exp: Likewise.
17458 * gdb.base/scope.exp: Likewise.
17459 * gdb.base/siganls.exp: Likewise.
17460
17461 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
17462 compiler output.
17463 * gdb.base/whatis.exp: Likewise.
17464
17465 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
17466
17467 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
17468 failure (opcode table has been fixed to match reality).
17469
17470 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
17471
17472 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
17473 "call inferior func with struct - returns char",
17474 "call inferior func with struct - returns short"
17475
17476 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
17477 "print 'scope0.c'::filelocal at main",
17478 "print 'scope0.c'::filelocal_bss in test_at_main",
17479 "print 'scope0.c'::filelocal at foo",
17480 "print 'scope0.c'::filelocal_bss in test_at_foo",
17481 "print 'scope0.c'::filelocal at bar",
17482 "print 'scope0.c'::filelocal_bss in test_at_bar"
17483
17484 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
17485 in source file 1". This bug seems to have been fixed with both
17486 gcc and native cc (was native assembler bug?).
17487
17488 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
17489
17490 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
17491 "backtrace through signal handler" to "i*86-*-sysv4*".
17492 * gdb.base/signals.exp: Add xfail for "'next' behaved as
17493 continue" case. Add "known SVR4 bug" to fail message.
17494 Add "i*86-*-bsdi2.0" xfail for "handle all print".
17495 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
17496 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
17497 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
17498 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
17499 "up to foo in langs.exp", "show language at foo in
17500 langs.exp", "up to cppsub_ in langs.exp", "show
17501 language at cppsub_ in langs.exp", "up to fsub in
17502 langs.exp", and "show language at fsub in langs.exp".
17503 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
17504 "bactrace in corefile.exp".
17505 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
17506 "call inferior function with struct - returns float" and
17507 "call inferior function with struct - returns double".
17508
17509 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
17510
17511 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
17512 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
17513 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
17514 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
17515
17516 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
17517
17518 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
17519 (or overriden) "CHILL" macro rather then bare "gcc".
17520 Also look for ../../gcc/xgcc since that is what we will
17521 actually need, not "Makefile". Remove following assignment
17522 of CHILL to CHILL_FOR_TARGET because that results in
17523 recursive definition.
17524
17525 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
17526
17527 * gdb.base/corefile.exp: Change xfail for backtrace in
17528 corefile.exp from linuxaout to all linux.
17529 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
17530 cases where we miss the breakpoint at the signal handler
17531 for some reason. Setup xfail for linuxoldld/linuxaout and
17532 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
17533 hitting SIGURG breakpoint.
17534 * gdb.base/signals.exp: Setup xfail for "next" acting like
17535 continue to add linuxoldld. Setup xfail for all linux for
17536 "next to handler in signals_tests_1", "backtrace in
17537 signals_tests_1", "continue to func1", "pass SIGUSR1",
17538 and continue to handler".
17539
17540 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
17541
17542 * Update all FSF addresses except those in COPYING* files.
17543
17544 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
17545
17546 * gdb.base/a2-run.exp: Change messages to be more explicit about
17547 the status of args, and quote binfile in results.
17548
17549 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
17550
17551 * gdb.base/callfuncs.exp: Add tests for passing structs to
17552 inferior functions and return various types.
17553 * gdb.base/callfuncs.c: Add functions to receive a struct
17554 and return a member of the struct, in various types.
17555
17556 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17557
17558 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
17559
17560 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
17561
17562 * config/vxworks29k.exp: New file, sources vxworks.exp.
17563
17564 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17565
17566 * config/gdbremote.exp: New file. Testing framework using
17567 gdbserver.
17568
17569 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
17570
17571 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
17572 "call function when asleep" and "send end of file".
17573 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
17574 for "backtrace in corefile.exp".
17575 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
17576 for "backtrace through signal handler".
17577 * gdb.base/corefile.exp: Make sure we actually generate a core file
17578 before trying the core tests. Some systems allow the user to suppress
17579 generation of core files and default to that (linux for example).
17580 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
17581 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
17582
17583 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17584
17585 * gdb.threads: New directory with some crude multi-threaded
17586 gdb tests (step.exp and step2.exp).
17587 * config/mt-lynx (STEP_EXECUTABLE): Define.
17588 (THREADFLAGS): Define.
17589
17590 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
17591
17592 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
17593
17594 * gdb.base/signals.exp: Disable whole file for lynx until
17595 further notice.
17596
17597 * gdb.base/signals.exp: xfail test where "next" acts like
17598 "continue" for lynx.
17599
17600 * gdb.base/interrupt.exp: xfail test for calling function while
17601 inferior is asleep for lynx.
17602
17603 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
17604 than one cr-lf after each command.
17605
17606 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17607
17608 * configure.in: Reinstate setting of stabsdirs variable, fix
17609 typo in setting up configdirs for native builds.
17610
17611 * gdb.base/return.exp: Fix typo in return double test.
17612 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
17613 compiler from optimizing them away.
17614
17615 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
17616
17617 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
17618 sequences to be echo'd by gdb when using gdb_test.
17619 * gdb.chill/chexp.exp: Likewise.
17620 * gdb.fortran/exprs.exp: Likewise
17621
17622 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17623
17624 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
17625 after the inferior gdb has started.
17626
17627 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
17628 after each command.
17629 * gdb.base/funcargs.exp: Likewise.
17630 * gdb.base/gdbvars.exp: Likewise.
17631 * gdb.base/interrupt.exp: Likewise.
17632 * gdb.base/list.exp: Likewise.
17633 * gdb.base/watchpoint.exp: Likewise.
17634 * gdb.c++/demangle.exp: Likewise.
17635 * gdb.c++/inherit.exp: Likewise.
17636 * gdb.chill/chexp.exp: Likewise.
17637 * gdb.fortran/exprs.exp: Likewise.
17638
17639 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
17640 test if we can't handle IO to/from the inferior.
17641
17642 * gdb.c++/misc.exp: Always check for a program already being
17643 started after sending a "run" command to gdb.
17644
17645 * gdb.base/twice.exp: Start with a fresh gdb.
17646
17647 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
17648 only depend on gdb's expression code, not the chill runtime.
17649
17650 * gdb.base/return.c: Put return values into variables so we
17651 can have gdb print them rather than depending on the program
17652 to print them.
17653 * gdb.base/return.exp: Corresponding changes.
17654
17655 * lib/gdb.exp: Provide default value for noinferiorio.
17656 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
17657 the inferior.
17658
17659 * gdb.base/break.exp: Always check for a program already being
17660 started after sending a "run" command to gdb.
17661 (text_next_with_recursion): Don't check the output from the
17662 program's printf statement. Instead just make sure the program
17663 exited.
17664
17665 * gdb.base/commands.exp: Protect tests which need arguments with
17666 $noargs conditionals.
17667
17668 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17669
17670 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
17671 of structure member arrays to match gdb/valops.c:value_addr change.
17672
17673 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
17674
17675 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
17676 cases.
17677
17678 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
17679
17680 * configure.in (configdirs): Remove gdb.chill from default list
17681 of subdirs and then add it back in only if doing a native build.
17682 The current chill compiler does not yet work in any cross build.
17683 * Revert all signal changes from Jul 6.
17684 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
17685 for sh-hms targets, allowing these tests to link, with no other
17686 changes. Testing is suppressed by setting "nosignals" in site.exp.
17687
17688 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
17689
17690 * configure.in (signaldirs): Define and add to configdirs for all
17691 targets except some specific ones that are known to not support signals.
17692 Also clean up formatting.
17693 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
17694 (signals, sigall): Remove rules to build.
17695 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
17696 Moved to new gdb.signals directory.
17697 * gdb.signals: New test directory.
17698 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
17699 signals.c signals.exp}: New or moved files.
17700
17701 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
17702
17703 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
17704
17705 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
17706
17707 * gdb.base/return.exp: Xfail `return double' test failure
17708 on at least Solaris 2.3 and handle future/past versions on
17709 a case by case basis as appropriate. Also update message
17710 to include i*86 failures.
17711
17712 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17713
17714 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
17715
17716 * lib/gdb.exp: Fix comment which erroneously identified
17717 gdb_file_cmd as gdb_load (the 19 May change was in fact to
17718 gdb_file_cmd not gdb_load).
17719 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
17720
17721 * gdb.base/setvar.exp: Make test names consistent between pass and
17722 fail cases. Use gdb_test more.
17723
17724 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17725
17726 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
17727
17728 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17729
17730 * gdb.base/help.exp: Fix expected help string for `show commands'.
17731
17732 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
17733
17734 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
17735
17736 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
17737 of a text section.
17738
17739 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
17740
17741 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
17742 that loop eventually terminates. Fix Connection refused logic so
17743 that testsuite will expire nicely.
17744
17745 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
17746
17747 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
17748 config/rom68k.exp: New tcl glue for the appropriate monitors.
17749 These all just end up calling monitor.exp.
17750 * config/monitor.exp (gdb_target_monitor): Handle `Connection
17751 refused' by retrying. Cleanup some timeout issues.
17752 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
17753 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
17754 callers don't have to set/restore global timeout variable.
17755
17756 * The following set of changes centralizes management of the global
17757 timeout variable. This way, it can be set in one target dependent
17758 place instead of dozens of places scattered throughout the test suite.
17759 If you need to lengthen a timeout, then you should either set timeout
17760 in one of the config/{target}.exp files, or multiply it by a factor.
17761 Setting it to an absolute value is always going to lose for some
17762 targets.
17763 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
17764 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
17765 * gdb.base/funcargs.exp: Don't set timeout.
17766 * gdb.base/list.exp (test_forward_search): Only use local timeout.
17767 * gdb.base/printcmds.exp (test_print_string_constants
17768 test_print_array_constants): Don't set timeout.
17769 * gdb.base/ptype.exp: Don't set timeout.
17770 * gdb.base/recurse.exp: Don't set timeout.
17771 * gdb.base/return.exp: Don't set timeout.
17772 * gdb.base/watchpoint.exp: Don't set timeout.
17773 * gdb.c++/classes.exp (do_tests): Don't set timeout.
17774 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
17775
17776 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
17777
17778 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
17779
17780 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17781
17782 * lib/gdb.exp: Disable chill tests for irix5.
17783
17784 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17785
17786 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
17787 each test pass or fail.
17788
17789 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17790
17791 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
17792 xlc not gcc.
17793
17794 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
17795
17796 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
17797
17798 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
17799
17800 * config/est.exp: Fix copyright and comments. Remove dead code.
17801 Use targetname, serialport and baud variables instead of fixed
17802 constants.
17803 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
17804 * config/cpu32bug.exp: New file to support cpu32bug monitors.
17805
17806 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17807
17808 * gdb.base/watchpoint.exp: Don't run
17809 test_watchpoint_triggered_in_syscall for sunos.
17810
17811 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17812
17813 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
17814 they don't seem to exist. Do include stdio.h.
17815
17816 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17817
17818 * gdb.base/a1-selftest.exp: Add alpha xfail.
17819
17820 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17821
17822 * gdb.base/watchpoint.c (main): Prompt before calling read().
17823 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
17824 Revise accordingly. Remove cruft about sending "123" several
17825 times, until it gets noticed. Clean up the "print buf[0]" stuff
17826 so that it passes or fails, and waits for prompts in the usual way.
17827
17828 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17829
17830 * gdb.base/recurse.exp: Fix comment.
17831
17832 * TODO: Remove item about printing variables in nodebug.exp. Add
17833 item about enabling tests which are only run on some targets.
17834
17835 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
17836 fail, make test names unique, use new gdb_test convention
17837 regarding pattern, use gdb_test more, etc.).
17838
17839 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
17840 fail, make test names unique, etc.).
17841
17842 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17843
17844 * gdb.base/nodebug.c: Change return type of top and middle to
17845 short.
17846 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
17847 are fixed by the recent mdebugread.c changes. Allow `short ()'
17848 as type for top and middle.
17849
17850 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17851
17852 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
17853 nearly as I can tell, the whole thing was an accident in Stu's
17854 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
17855 to replace a send/expect pair with gdb_test, but ended up only
17856 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
17857 of 30 Mar 1995 took care of it, but left this vestigial comment
17858 which I am now nuking.
17859
17860 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17861
17862 * gdb.base/break.exp: Look for different line number for
17863 breakpoint at main depending on usestubs.
17864
17865 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17866
17867 * gdb.base/list.exp: Adjust some alternate expect patterns to
17868 match recent list0.c change. Add alternate expect pattern for
17869 output from `list default lines around main' for optimizing
17870 compilers.
17871
17872 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17873
17874 * lib/gdb.exp: If nosignals is not set, set it to 0.
17875
17876 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
17877
17878 * config/slite-gdb.exp: Responds to load symbol table prompt.
17879 * gdb.base/break.exp: Adjust line number, fix rerun.
17880 * gdb.base/langs0.c: Add #ifdef usestubs.
17881
17882 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
17883
17884 * gdb.base/list.exp: Adjust line contents after adding new lines in
17885 list0.c. Also fix a syntax error.
17886
17887 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
17888 * gdb.base/break.exp: ditto.
17889 * gdb.base/list.exp: ditto.
17890 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
17891 * gdb.base/run.c: ditto.
17892 * gdb.base/list0.c: ditto.
17893 * gdb.base/funcargs.c: ditto.
17894
17895 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
17896
17897 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
17898 $targetname, $serialport and $baud instead of hardwired variables.
17899 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
17900 target doesn't support signals.
17901
17902 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
17903
17904 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
17905
17906 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17907
17908 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
17909 Don't rely on the value of an auto variable before it has been
17910 initialized. Use gdb_test more.
17911
17912 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17913
17914 * lib/gdb.exp (default_gdb_version): A version number must start
17915 with a digit, but other than that contains all characters up to
17916 the first whitespace character.
17917
17918 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17919
17920 * gdb.base/commands.exp (breakpoint_command_test): New tests.
17921
17922 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17923
17924 * gdb.c++/*.exp: Warn if executable does not exist. The original
17925 reason for skipping the warning was that configure.in sometimes
17926 intentionally skipped building the executables but the tcl code
17927 had no way of knowing. That (a) was always bogus with respect to
17928 error handling, (b) is no longer true (right now there is no way
17929 to skip C++ tests).
17930
17931 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
17932
17933 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17934
17935 * gdb.base/list.exp: Add expect patterns for output from
17936 SunPRO compiled executables.
17937 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
17938 types.
17939
17940 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17941
17942 * gdb.base/break.exp (test_next_with_recursion): Accept any line
17943 number (we are already testing that the correct source line text
17944 gets printed).
17945
17946 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
17947 that is what is intended, but something needed to be done to get
17948 sunos4 native working again.
17949
17950 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
17951
17952 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
17953 apparently went with a (very) old xfail.
17954
17955 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
17956
17957 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
17958 runto_main is a proc in gdb.exp that will do 'step' for target use
17959 stubs.
17960 * gdb.base/exprs.exp: ditto.
17961 * gdb.base/interrupt.exp: ditto.
17962 * gdb.base/opaque.exp: ditto.
17963 * gdb.base/printcmds.exp: ditto.
17964 * gdb.base/ptype.exp: ditto.
17965 * gdb.base/scope.exp: ditto.
17966 * gdb.base/setvar.exp: ditto.
17967 * gdb.base/signals.exp: ditto.
17968 * gdb.base/twice.exp: ditto.
17969 * gdb.c++/classes.exp: ditto.
17970 * gdb.c++/inherit.exp: ditto.
17971 * gdb.c++/templates.exp: ditto.
17972 * gdb.base/break.exp: no run and hit main for stubs. Change line
17973 numbers for breakpoints and info breakpoint.
17974 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
17975 breakpoint().
17976 * gdb.base/callfuncs.c: ditto.
17977 * gdb.base/exprs: ditto.
17978 * gdb.base/interrupt.c: ditto.
17979 * gdb.base/opaque0.c: ditto.
17980 * gdb.base/printcmds.c: ditto.
17981 * gdb.base/ptype.c: ditto.
17982 * gdb.base/scope0.c: ditto.
17983 * gdb.base/setvar.c: ditto.
17984 * gdb.base/signals.c: ditto.
17985 * gdb.base/twice.c: ditto.
17986 * gdb.c++/misc.cc: ditto.
17987 * gdb.c++/templates.cc: ditto.
17988
17989 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17990
17991 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
17992
17993 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
17994 somewhere between `read' and `main.c'. I'm pretty sure the
17995 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
17996 and it isn't particularly useful.
17997
17998 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
17999
18000 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18001
18002 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
18003
18004 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
18005
18006 * config/mt-slite: add LIBS and -nostdlib.
18007 * config/slite-gdb.exp: add this new file to support sparclite target.
18008
18009 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
18010
18011 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
18012
18013 * gdb.base/a2-run.exp: Change argument to istarget from
18014 "*-*-vxworks" to "*-*-vxworks*".
18015 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
18016
18017 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
18018
18019 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
18020 will not runto main but do a 'step' to step out of breakpoint().
18021 * config/mt-slite: add -Dusestubs.
18022
18023 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18024
18025 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
18026 instead of just @.
18027
18028 * gdb.base/signals.exp: Add test for "handle all print".
18029 * TODO: Remove "handle all print". Also remove item about
18030 checking copyright date (I don't like the idea of a spurious FAIL
18031 based on when we run the tests).
18032
18033 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
18034 for SunOS4 (reason for failure not investigated). Remove
18035 redundant test for $binfile.
18036
18037 * gdb.base/nodebug.c (array_index): Call malloc.
18038
18039 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
18040
18041 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
18042
18043 * gdb.base/recurse.exp: Update gdb_test invocation to use new
18044 conventions and slightly simplify the matching regexp.
18045
18046 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18047
18048 * gdb.base/break.exp: Update gdb_test invocation to use new
18049 convention.
18050
18051 * lib/gdb.exp: If noargs is not set, set it to 0.
18052
18053 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
18054 tests unique.
18055
18056 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
18057
18058 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18059
18060 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
18061 one argument of type "<non-float parameter>".
18062
18063 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
18064
18065 * config/rom68k.exp: New file to support Motorola IDP board.
18066 * gdb.base/a2-run.exp: Skip this file if noargs is set.
18067 * gdb.base/break.c: Change things around so that this program
18068 doesn't depend upon args. This is necessary to make remote
18069 targets work (in general, they can't take args).
18070 * gdb.base/break.exp: Don't try to send args to program. Don't
18071 expect output. Also, replace lots of code with gdb_test.
18072
18073 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18074
18075 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
18076 printing of '\'' (which is what the comment says we are testing,
18077 even though we were not), not '''.
18078 (test_integer_literals_rejected): Test that printing ''' is an error.
18079
18080 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
18081 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
18082 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
18083 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
18084 Use gdb_test not test_print_accept.
18085 * lib/gdb.exp: Remove test_print_accept.
18086
18087 * gdb.base/signals.exp (signal_tests_1): Make pass message
18088 consistent with fail message.
18089
18090 * gdb.base/whatis.exp: Remove xfails for printing char vs.
18091 unsigned char; the bug (PR 1821) is fixed.
18092
18093 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
18094
18095 * gdb.base/scope.exp (test_at_localscopes): Call pass for
18096 successful tests--makes xfailing them work right.
18097
18098 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18099
18100 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
18101 only \r\n, not .*. The test can pass .* as the last thing in
18102 $pattern if that is what it wants. In addition to providing this
18103 flexibility, this change should speed up pattern matching in cases
18104 where the pattern already ended with .* (there were a number of
18105 them). This change also helps catch bad patterns--in the old
18106 scheme the typo "char \*" instead of "char \\*" would pass. Now
18107 it is caught.
18108 * Many .exp files: Update callers.
18109
18110 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
18111 clearer and does not spuriously match multiple ('s. Likewise for
18112 ) and *.
18113
18114 * gdb.base/nodebug.exp: Test ability to call a function and pass
18115 it a string (even with no debugging info).
18116
18117 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
18118 "p '\'", which is the same as "p ''" once tcl gets done with
18119 quoting, to "p '\\'", which I suspect is what is intended (one
18120 backslash gets sent to GDB).
18121
18122 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
18123
18124 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18125
18126 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
18127 1817) was fixed literally years ago.
18128
18129 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18130
18131 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
18132 test, it causes stepping out of call_after_alloca_subr with
18133 optimizing compilers.
18134 (localvars_in_indirect_call): Consume GDB prompt if `finish'
18135 fails.
18136
18137 * gdb.c++/templates.exp: Source templ-info.exp only if
18138 the templates executable exists.
18139
18140 * gdb.c++/misc.cc (class Contains_static_instance,
18141 class Contains_nested_static_instance),
18142 gdb.c++/classes.exp (test_static_members): Test printing of
18143 a class that contains a static instance of the class.
18144
18145 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18146
18147 * gdb.base/langs2.c (cppsub_): Don't prototype.
18148 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
18149 only, I believe).
18150
18151 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18152
18153 * lib/gdb.exp (skip_chill_tests): New procedure.
18154
18155 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
18156
18157 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
18158
18159 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
18160 each expect pattern. Cuts runtime from 12 to about 4 seconds.
18161
18162 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18163
18164 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
18165
18166 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
18167 disassemble 8, not 16, instructions for part 4.
18168
18169 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
18170 support the latter anymore.
18171
18172 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
18173 -DNO_PROTOTYPES.
18174 * gdb.base/callfuncs.c: Control use of prototypes based on
18175 NO_PROTOTYPES, not __STDC__.
18176 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
18177 t_float_values2 tests if prototypes in use.
18178
18179 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
18180 t_double_values): When checking differences against DELTA, check
18181 that difference is within the range (-DELTA,DELTA), not just
18182 (-infinity,DELTA).
18183
18184 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
18185
18186 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
18187 'file' command firts, then 'target', then 'load', this is due to gdb
18188 target set up.
18189 * config/mips-gdb.exp: Fix a couple regular exp bugs.
18190
18191 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
18192
18193 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
18194 FP load/store variants.
18195 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
18196
18197 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
18198
18199 * gdb.base/term.exp: Do not give a warning if not native, it is
18200 not an abnormal condition.
18201
18202 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
18203
18204 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
18205 t_char_array".
18206
18207 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
18208
18209 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
18210 are getting the version number.
18211
18212 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
18213 if not native, it is not an abnormal condition.
18214
18215 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18216
18217 * lib/gdb.exp: Just use "file exists", rather than undocumented
18218 dejagnu procedure "findfile".
18219
18220 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18221
18222 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
18223 (LDFLAGS): Set to -Xlinker -Ur.
18224
18225 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
18226 Removed, these values are set by lib/gdb.exp.
18227
18228 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
18229
18230 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18231
18232 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
18233 of replicating gdb startup code.
18234
18235 * config/mt-vxworks (LDFLAGS): Set to -r.
18236 (CFLAGS_FOR_TARGET): Removed.
18237
18238 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
18239 (gdb) and gdb for vxworks uses (vxgdb).
18240
18241 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
18242 executable is not in the tree and host != target, use sed and
18243 program_transform_name to determine the gdb name used by the
18244 target.
18245
18246 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
18247 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
18248
18249 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18250
18251 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
18252 floats, chars, and shorts where there are ANSI-style function
18253 definitions.
18254
18255 * gdb.base/langs.exp, gdb.base/langs*: New test.
18256 * gdb.base/Makefile.in: Build it.
18257 * TODO: Remove item about checking that C names don't get C++
18258 demangling applied; this test tests it.
18259
18260 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18261
18262 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
18263 went with the const70 xfail. The xfail went away a year ago.
18264
18265 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
18266
18267 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
18268 for hp300.
18269
18270 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
18271
18272 * gdb.base/a1-selftest.exp: Don't run on hp300.
18273
18274 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18275
18276 * Makefile.in (site.exp): Set host_alias and target_alias as well
18277 as host_triplet and target_triplet.
18278
18279 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18280
18281 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
18282
18283 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
18284 places as other ecoff systems).
18285
18286 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
18287 ultrix.
18288
18289 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18290
18291 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
18292 remove them.
18293 * gdb.base/nodebug.exp: Accept "function" in addition to "text
18294 variable and "variable" in addition to "data variable".
18295 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
18296
18297 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
18298 2.
18299 * gdb.base/list1.c (long_line): Add additional statement at start
18300 of function.
18301 * gdb.base/list.exp (test_forward_search): Update line number to
18302 reflect new statement.
18303
18304 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18305
18306 * gdb.base/signals.exp: Reinitialize searched source directories
18307 after gdb_start call.
18308
18309 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
18310
18311 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
18312 * gdb.stabs/Makefile.in: Likewise.
18313
18314 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
18315 change. Instead split the tests into smaller pieces.
18316 * gdb.disasm/hppa.s: Corresponding changes.
18317
18318 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18319
18320 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
18321 Quote ^C when passing it to stty. For some shells ^ is a pipe.
18322
18323 * gdb.base/funcargs.exp: Modify many tests so that every test
18324 either passes or fails. Make some test names unique.
18325
18326 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18327
18328 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
18329 Call stty to set interrupt character.
18330
18331 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
18332 for HP assembler versus GNU assembler based on actual behavior of
18333 $(CC), rather than assuming that $(AS) is always the GNU assembler.
18334
18335 * TODO: Suggest a few more stepping tests.
18336
18337 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
18338
18339 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
18340 restart GDB for h8300 after a continue.
18341 (return): Add pattern to match a29k-udi behavior.
18342 * gdb.base/nodebug.exp: Remove obsolete comment.
18343 * gdb.base/regs.exp: New file, testing of register displays.
18344 * gdb.base/return.exp: Fix typo in reference to $objdir.
18345 * gdb.base/whatis.exp: Always start with a fresh GDB.
18346
18347 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18348
18349 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
18350 higher, these tests generate a lot of output.
18351
18352 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18353
18354 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
18355 code following the catch silently ignored some errors; without the
18356 catch they should be thrown like any other tcl error. Also, the
18357 catch used "" instead of {} which meant all the callers who wanted
18358 to include one of the characters "[]$ had to quote it an extra time.
18359 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
18360 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
18361 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
18362 Remove extra quoting.
18363
18364 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
18365
18366 * gdb.base/commands.exp: Make test names unique; every test either
18367 passes or fails. Update some comments.
18368
18369 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
18370
18371 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18372
18373 The following fixes a FAIL caused by the fact that the alpha stabs
18374 configuration didn't use the ".if alpha" code in weird.def.
18375 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
18376 bit pointer, so the 32 bit version works even on the alpha.
18377 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
18378 Remove the stuff which allowed us to have separate versions for
18379 alpha and everything else.
18380
18381 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
18382 regexp which "info func operator\[\](" is supposed to match. Fix
18383 string to send to GDB. Note that GDB still doesn't work right. Add a
18384 new test for "info func .perator\[\](" which GDB does handle correctly.
18385
18386 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
18387
18388 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18389
18390 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
18391 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
18392 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
18393 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
18394 it makes the tests harder to understand and confuses test-o-matic.
18395 The preferred style is that each test provides a PASS or a FAIL,
18396 and has a unique message (e.g. "continue #54" not just "continue")
18397 which is the same for the pass and the fail.
18398 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
18399 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
18400 to lib/gdb.exp.
18401 * gdb.base/printcmds.exp: Use test_print_accept. Remove
18402 prt_accept which was basically the same thing. Likewise for
18403 test_print_reject and prt_reject.
18404 * lib/gdb.exp (test_print_reject): Add some more error message
18405 patterns to match from the former printcmds.exp (prt_reject).
18406 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
18407 One defect of the passcount stuff is that some of it failed to
18408 report XPASS where appropriate.
18409 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
18410 stuff before and after arg in expected pattern.
18411 (test_paddr_operator_functions): Re-do test without print_addr_of;
18412 this is the only test which seems to want extra stuff there.
18413
18414 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18415
18416 * gdb.base/nodebug.exp: Update new tests to reflect improved
18417 wording of gdb output.
18418
18419 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
18420 and "ptype" work on variables in files compiled without -g.
18421 Replaces commented out "maint print msymbol" tests.
18422
18423 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18424
18425 * gdb.base/setvar.c (dummy): Call malloc.
18426
18427 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
18428 losing with the irix4 sed.
18429
18430 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
18431 ALRM" on irix4.
18432
18433 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18434
18435 * TODO: Remove items about corefile.exp testing new exec-file and
18436 backtrace; both are now done. Add items about printing enums.
18437
18438 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18439
18440 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
18441 "get signal $thissig" test fails.
18442
18443 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
18444
18445 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18446
18447 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
18448 compiler warning with dec alpha compiler.
18449
18450 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
18451 extra \n from gdb_test call (this explains why the prompt test
18452 that I removed yesterday was there).
18453 (user_defined_command_test): Remove extra \n and prompt test.
18454
18455 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
18456 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
18457 doesn't exist.
18458 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
18459 Also remove alpha workaround, which turns out to be because
18460 SIGABRT == SIGLOST.
18461
18462 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
18463
18464 * gdb.base/help.exp: Don't test "help show".
18465
18466 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18467
18468 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
18469 "set print address" is on.
18470 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
18471 pass prompt to gdb_test; gdb_test already looks for the prompt.
18472
18473 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
18474
18475 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
18476 was a vestige of the manual TESTSTRATEGY, and the purpose of it
18477 was to make sure that gdb can read a core file. But (a) the "read
18478 the corefile" part didn't make it to a1-selftest.exp, we just
18479 delete the corefile after creating it, and (b) we test reading
18480 corefiles in corefile.exp anyway. Also, this test left around a
18481 xgdb process on Solaris.
18482
18483 * gdb.base/corefile.exp: Also test backtrace.
18484
18485 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
18486
18487 * gdb.base/commands.exp: Test a simple user defined command with
18488 arguments and if/while statements; verify the full user command is
18489 printed by "show user".
18490
18491 * gdb.base/commands.exp: Test if/while commands as part of a
18492 breakpoint command list; verify they appear in breakpoint
18493 information.
18494
18495 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18496
18497 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
18498 than by dividing by zero.
18499
18500 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
18501
18502 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
18503 performing an inferior call with watchpoints enabled.
18504 * gdb.base/watchpoint.c (main): Delete second unnecessary read
18505 call.
18506
18507 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18508
18509 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
18510 of "file" command.
18511
18512 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
18513 Add additional pattern for when "int operator int(void);" appears
18514 in a different order.
18515
18516 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18517
18518 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
18519
18520 * gdb.base/help.exp: Replace most of docstrings for "info signals"
18521 and "signal" with ".*".
18522
18523 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18524
18525 * TODO: Add note about "handle all nostop".
18526
18527 * gdb.base/{sigall.c, sigall.exp}: New test.
18528 * gdb.base/Makefile.in: Add it.
18529
18530 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
18531
18532 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
18533 when invoking GDB, suppresses any windowing interface.
18534
18535 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
18536
18537 * config/sim-gdb: New file, simulator testing support.
18538
18539 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
18540
18541 * gdb.base/interrupt.exp: Test calling func1 twice.
18542
18543 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
18544
18545 * gdb.base/list.exp (test_forward_search): Set timeout higher
18546 when we'll be getting lots of output from gdb.
18547
18548 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
18549 "init_malloc" to after the expect statement. Run it if that
18550 regexp is taken, but also for two others which happen if source
18551 cannot be found.
18552
18553 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18554
18555 * gdb.base/printcmds.exp: New test, for printing register before
18556 program is running.
18557
18558 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18559
18560 * gdb.base/list.exp: Correct some alternate expect patterns
18561 to reflect changes in list1.c.
18562
18563 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18564
18565 * TODO: Add item regarding large frames.
18566
18567 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
18568
18569 * TODO: Remove item about enabling return.exp; it
18570 is enabled. Suggest a few more "return" tests.
18571
18572 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18573
18574 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
18575 anonymous unions.
18576
18577 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18578
18579 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
18580 and pr-5646.o, so "make" is the same as "make all", not "make
18581 pr-4975.o".
18582
18583 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
18584
18585 * gdb.base/list.exp: Adjust expectations to reflect changes in
18586 list1.c.
18587 (test_forward_search): New test proc.
18588 * gdb.base/list1.c (long_line): New function, has long source line.
18589
18590 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
18591
18592 * gdb.base/a1-selftest.exp: Change initial stepping to know about
18593 additional line of code that was added.
18594
18595 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
18596
18597 * gdb.disasm/hppa.s: Break the large branching tests into smaller
18598 tests so as not to overflow expect's input buffers.
18599 * gdb.disasm/hppa.exp: Corresponding changes.
18600
18601 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18602
18603 Beginnings of template debugging tests.
18604 * gdb.c++/templ-info.cc: New file to test for template
18605 debugging capability of the compiler.
18606 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
18607 templ-info.cc.
18608 * gdb.c++/templates.cc: Add explicit template instantiations
18609 to enable compiling with -fno-implicit-templates. Add destructor
18610 and 'value' method to T5 class for template tests.
18611 * gdb.c++/templates.exp: Add testcases for printing of template
18612 types, setting breakpoints on template methods and calling a
18613 template method.
18614
18615 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
18616
18617 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
18618 branch target since some assemblers (gas-2.5) may emit a
18619 relocation for the branch instead of resolving it in the
18620 assembler.
18621
18622 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18623
18624 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
18625 through signal handler.
18626
18627 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18628
18629 * configure.in (*-*-netware): Use config/mt-netware.
18630
18631 * config/mt-netware: New file.
18632 * config/mt-i386-netware: Removed, separate configs for different
18633 netware architectures are no longer needed now that we have
18634 --with-headers.
18635
18636 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18637
18638 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
18639 by the recent changes to use ANSI C arithmetic conversions.
18640
18641 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18642
18643 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
18644 bug involving using inferior_pid to figure out whether to select a
18645 frame.
18646
18647 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
18648
18649 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
18650 match the current disassembler output.
18651
18652 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
18653
18654 * gdb.fortran/exprs.exp: Expect VOID instead of void.
18655 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
18656 types, expect "int" as type of integer values (for now).
18657
18658 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
18659
18660 * gdb.base/commands.exp: New tests for if/while commands.
18661
18662 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
18663
18664 * lib/gdb.exp (runto): Replace sub-pattern for hex value
18665 by .*, since hex values have different syntax in Chill mode.
18666
18667 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18668
18669 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
18670 linefeed from expect pattern for repeated types with indices > 9.
18671
18672 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
18673
18674 First part of Fortran test suite.
18675 * gdb.fortran: New directory.
18676 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
18677
18678 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18679
18680 * gdb.base/default.exp: Update expect pattern for load command
18681 without arguments.
18682
18683 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18684
18685 * configure.in: Change i386 to i[345]86.
18686 * gdb.base/configure.in: Likewise.
18687 * gdb.c++/configure.in: Likewise.
18688 * gdb.chill/configure.in: Likewise.
18689
18690 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
18691
18692 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
18693 patterns, since that is not a valid context for comments.
18694
18695 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
18696
18697 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
18698 repeated types and repeated types with indices > 9.
18699
18700 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
18701
18702 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
18703 2417; old bug has been fixed.
18704
18705 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
18706
18707 * gdb.base/interrupt.exp: When trying to wake up the inferior,
18708 send the newline ourselves instead of assuming gdb_test will do
18709 so when passed an empty input string.
18710
18711 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
18712 stabs testcode.
18713
18714 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18715
18716 * lib/gdb.exp (gdb_test): Don't send anything if the first
18717 argument is an empty string. This makes cases where we want to
18718 match output that is already in expect's buffers (for example,
18719 matching a breakpoint after gdb_run_cmd has been called) work
18720 reliably.
18721
18722 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18723
18724 * config/netware.exp: New file.
18725
18726 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18727
18728 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
18729 the -B and -L prefixes so we can find the debugging stub.
18730
18731 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
18732 there and we are using the gcc from the tree.
18733
18734 * gdb.base/types.c: Removed.
18735
18736 * gdb.base/configure.in: Look for makefile fragments in ../config.
18737 Recognize i386-*-netware.
18738 * gdb.c++/configure.in: Likewise.
18739
18740 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18741
18742 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
18743 the correct TCL syntax.
18744
18745 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18746
18747 * gdb.base/opaque.exp: use runto instead of messing around with
18748 breakpoints. Simplify by using gdb_test.
18749
18750 * gdb.base/bitfields.exp: restart between tests on netware targets
18751 because breakpoints aren't relocated after target death. Run
18752 processes to completion.
18753
18754 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
18755
18756 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
18757
18758 * Makefile.in: Remove extra tabs that confuse some versions
18759 of "make". Use the newly built gdb to test with by default,
18760 rather than the first one in the tester's search path.
18761
18762 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
18763
18764 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
18765
18766 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
18767 condition help.
18768
18769 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18770
18771 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
18772
18773 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
18774 running.
18775 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
18776 * gdb.base/funcargs.exp: Likewise.
18777
18778 * gdb.base/bitfields.exp: Simplify by using gdb_test.
18779 * gdb.base/funcargs.exp: Likewise.
18780
18781 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
18782 message is "".
18783
18784 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18785
18786 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
18787 return,signals,twice}.exp: Handle non-existant binaries
18788 consistantly.
18789
18790 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
18791 * gdb.base/Makefile.in: Don't try to generate a core dump, we
18792 might testing a cross development system.
18793
18794 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18795
18796 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
18797 runtest script is relative to ${srcdir}, not ${rootdir}.
18798
18799 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
18800
18801 * gdb.base/signals.exp: Allow for optionality of breakpoint
18802 address.
18803
18804 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18805
18806 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
18807
18808 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18809
18810 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
18811 for size_t definition.
18812 * gdb.c++/templates.cc: Likewise
18813
18814 * config/mt-i386-netware: New file.
18815
18816 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
18817 defined.
18818
18819 * gdb.base/Makefile.in: Added support for systems that name core
18820 files by appending "core" to the program name.
18821 * gdb.base/a1-selftest.exp: Likewise.
18822
18823 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18824
18825 * gdb.base/return.exp: Add comment and message for `return double'
18826 test failure on Sparc Solaris.
18827
18828 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
18829
18830 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
18831
18832 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18833
18834 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
18835 from optimizing them away.
18836 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
18837 patterns to include default constructors and assignment operators,
18838 to match gcc versions beyond 2.5.8. Accept any cplus demangling
18839 character in the output of the virtual base pointer.
18840
18841 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18842
18843 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
18844 expression match in print_addr_of to avoid unintented matches.
18845 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
18846 versions up to 2.5.8.
18847
18848 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18849
18850 * gdb.base/list.exp: Tweak alternate pattern for listing of an
18851 included file to run under newer versions of expect.
18852 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
18853 consecutive >'s in templates to accomodate recent cplus-dem.c change.
18854 Remove xfail for the virtual table of BDDHookV.
18855
18856 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
18857
18858 * lib/gdb.exp (string_to_regexp): Set a default result.
18859 (default_gdb_start): Fix misleading message.
18860
18861 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
18862
18863 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
18864 Remove all CC, etc definitions.
18865 * config/mt-hpux: New file.
18866 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
18867 (CFLAGS, LDFLAGS): Define.
18868 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
18869
18870 * Makefile.in (site.exp): Don't insert host_os, etc.
18871 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
18872 (distclean): Check existence of subdir.
18873 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
18874 * gdb.base/Makefile.in: General cleanup and simplification.
18875 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18876 to build executables. Use default rule to build .o files.
18877 (EXPECT, RUNTEST, CC): Fix relative pathname.
18878 (site.exp): Don't insert host_os, etc.
18879 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
18880 and/or SIGUSR1 defined.
18881 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
18882 * gdb.c++/Makefile.in: General cleanup and simplification.
18883 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18884 (CFLAGS): Remove.
18885 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
18886
18887 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
18888
18889 * gdb.base/recurse.exp: Misc changes to get tests running again
18890 after Kung's changes to the watchpoint code.
18891 * gdb.base/watchpoint.exp: Likewise.
18892
18893 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
18894
18895 * lib/gdb.exp (string_to_regexp): Convert {\} also.
18896
18897 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
18898
18899 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
18900 * lib/gdb.exp (default_gdb_start): Define.
18901 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
18902 gdb.base/funcargs.exp, gdb.base/opaque.exp,
18903 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
18904 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
18905 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
18906 Don't call gdb_target_udi in between tests.
18907
18908 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18909
18910 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
18911 (which was basically just a local version of the same thing). In
18912 addition to avoiding duplication, gdb_test_exact is faster.
18913 * lib/gdb.exp (gdb_test_exact): Fix typo.
18914
18915 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
18916 don't give an error.
18917
18918 * gdb.base/term.exp: Call delete_breakpoints before starting.
18919
18920 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
18921 (t10): Add comment.
18922
18923 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
18924
18925 Reorganization of the GDB Test Suite.
18926
18927 * gdb.base: New directory, contains all the basic tests.
18928 * gdb.c++: New directory, tests specific to C++.
18929 * gdb.chill: New directory, tests specific to Chill.
18930 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
18931 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
18932 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
18933 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
18934 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
18935 t30-31 to chill).
18936 * */gdbme.*: Rename to match appropriate expect scripts.
18937 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
18938 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
18939 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
18940 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
18941 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
18942 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
18943 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
18944 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
18945 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
18946 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
18947 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
18948 gdb.c++/virtfunc.cc: New names of C++ files.
18949 * gdb.chill/chillvars.ch: New name of Chill file.
18950 * gdb.base/configure.in, gdb.c++/configure.in,
18951 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
18952 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18953 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
18954 * configure.in (configdirs): Update to reflect directory changes.
18955 (target_abbrev): No longer define for any configuration.
18956 * Makefile.in: Cosmetic improvements to header comments.
18957
18958 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
18959
18960 Various changes to gdb.t31:
18961
18962 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
18963 * gdbme.ch: Make all key-words and predefineds be upper-case.
18964 * chillvars.exp: Expect key-words and predefinds in upper-case.
18965
18966 * chillvars.exp: Use gdb_test_exact many places.
18967 Change expected output for arrays (which now includes index labels).
18968
18969 * pr-5020.exp, gdme.ch (module PR_5020):
18970 New test, for PR-5020.
18971
18972 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
18973
18974 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
18975 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
18976
18977 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
18978
18979 * Makefile.in: Fix bit-rot in definitions of CHILL,
18980 CHILL_FOR_TARGET and Chill_LIB.
18981 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
18982 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
18983 CHILL, and CHILL_LIB.
18984
18985 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
18986
18987 * Revert the previous changes. Please see Rob's directory
18988 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
18989
18990 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
18991
18992 * Makefile.in, configure.in, config/mips-gdb.exp,
18993 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
18994 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
18995 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
18996 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
18997 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
18998 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
18999 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
19000 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
19001 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
19002 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
19003 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
19004 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
19005 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
19006 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
19007 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
19008 changes from 94Q1.
19009
19010 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
19011
19012 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
19013 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
19014 Rob's new testing fragments.
19015
19016 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
19017
19018 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
19019 lib/gdb.exp: Replace error proc calls with perror.
19020
19021 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
19022
19023 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
19024 version also, match on casted version strings, and match on
19025 gdb startup case where the line numbers might be messed up.
19026
19027 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
19028
19029 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
19030 (CFLAGS): Delete it from here.
19031
19032 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
19033
19034 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
19035
19036 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
19037
19038 * Makefile.in (RUNTEST): Default to just "runtest".
19039
19040 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19041
19042 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
19043 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
19044 the code has been restructured.
19045
19046 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19047
19048 * gdb.t00/default.exp (set write): Allow any number of \r and/or
19049 \n, not just one of each.
19050
19051 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
19052 /bin/cc gives a warning if you do.
19053
19054 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
19055
19056 * gdb.t24/demangle.exp: change expect pattern of
19057 __t10ListS_link1ZUiRCUiPT0
19058
19059 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19060
19061 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
19062 on local variables in recursive functions.
19063
19064 * gdb.t07/Makefile.in: Build the new test.
19065
19066 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19067
19068 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
19069 directly. Instead compare the return values from actual calls.
19070
19071 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
19072
19073 * Makefile.in (check): Set TCL_LIBRARY for runtest.
19074
19075 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19076
19077 * From Peter Schauer with minor modifications.
19078 * gdb.t15/return.exp (return_tests): Handle targets where "return"
19079 stops in mid-line in the caller. Add xfail for returning a float
19080 value on X86 targets.
19081
19082 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19083
19084 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
19085 to avoid expect lossage.
19086 (fmem_LRbug_tests): Likewise.
19087 * gdb.disasm/hppa.s: Corresponding changes.
19088
19089 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
19090 conditions to work with latest dejagnu/expect.
19091
19092 * gdb.t15/funcargs.exp (finish from indirect call): No longer
19093 expected to fail on the PA.
19094 (backtrace in call with trampolines): Explicitly require main
19095 to be frame #1 (no trampolines should show up in backtrace).
19096
19097 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
19098 "continue -expect".
19099 * gdb.t06/break.exp: Likewise.
19100 * gdb.t07/watchpoint.exp: Likewise.
19101 * gdb.t13/bitfields.exp: Likewise.
19102 * gdb.t15/{funcargs,return}.exp: Likewise.
19103 * gdb.stabs/weird.exp: Likewise.
19104 * config/{mips,udi}-gdb.exp: Likewise.
19105
19106 * hppa.sed: Enclose comments within a sed command to avoid
19107 losing with the old OSF1 sed.
19108
19109 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19110
19111 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
19112 sequent dynix.
19113 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
19114 * gdb.t15/funcargs.exp: Conditionally step again to really
19115 finish from marker_call_with_trampolines. Handle the case where
19116 the first step from within call_with_trampolines already steps
19117 us back to main.
19118 * gdb.t15/gdbme.c: Add comment to closing brace of
19119 call_with_trampolines for funcargs.exp.
19120
19121 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19122
19123 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
19124 Fix typo(s).
19125
19126 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19127
19128 * gdb.t07/gdbme.c: More code for watchpoint testing.
19129
19130 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
19131 "Hardware watchpoint" throughout file.
19132 (test_watchpoint_triggered_in_syscall): New test.
19133 (test_complex_watchpoint): New test.
19134
19135 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19136
19137 * gdbme.c (call_with_trampolines): New function to try and step
19138 into. Tests trampoline problems on the PA.
19139
19140 * funcargs.exp (localvars_in_indirect_call): No longer expect
19141 stepping into indirect call to fail on PAs.
19142 (test_stepping_over_trampolines): New test.
19143
19144 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19145
19146 * TODO: Add suggestions for static member function tests, and
19147 completion tests.
19148
19149 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19150
19151 * TODO: Add suggestions for "p/a" tests.
19152
19153 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
19154 (default_gdb_exit): Replace all the hair with sending "quit" to
19155 the process with a simple close.
19156
19157 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19158
19159 * TODO: Add suggestions for shared library tests.
19160
19161 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19162
19163 * TODO: Add suggestions for x/s tests.
19164
19165 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19166
19167 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
19168 "enable once", and "enable breakpoints once" with ".*".
19169
19170 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19171
19172 * TODO: Add suggestions about structure passing tests.
19173
19174 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19175
19176 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
19177 the primary1 test, use work around if __GNUC__ < 2.
19178 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
19179 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
19180 Test for bad output rather than waiting for timeout. Issue
19181 second continue only if first continue failed.
19182
19183 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
19184
19185 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
19186 operator[] test with gdb_test because the old code didn't seem to
19187 be getting the quoting right with the new dejagnu.
19188
19189 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
19190
19191 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
19192 one from the path.
19193 * Makefile.in: Use a fresh expect if there is one, use runtest
19194 from the src tree if there is one.
19195
19196 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
19197
19198 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
19199 next over recursive call. Revise the tests from that point on
19200 (which had been skipped) to match GDB's actual (correct) output.
19201
19202 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
19203 with next over a breakpoint whose condition is false.
19204
19205 * gdb.t00/help.exp: Comment out "help set print" tests just like
19206 (and for same reason as) "help set" test.
19207
19208 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19209
19210 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
19211 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
19212
19213 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19214
19215 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
19216 necessary gdb_target_udi.
19217
19218 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
19219
19220 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
19221 1838 and 2417; they are fixed.
19222
19223 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
19224 gdb.t03/ptype.exp (ptype structure, ptype union):
19225 Remove xfails; the test is looser than when the xfails were added.
19226
19227 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
19228 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
19229
19230 * gdb.t01/run.exp: Only run shell test if isnative.
19231
19232 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
19233 since "run" automatically loads if necessary. Call gdb_target_udi
19234 after the "file" since "file" kills any execution target.
19235
19236 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
19237 GDB. GDB doesn't work that way (not anymore at least) on UDI.
19238 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
19239 argument for UDI.
19240
19241 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
19242
19243 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
19244
19245 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
19246
19247 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19248
19249 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
19250 properly quoting regexps. This makes the second argument to
19251 demangle a fixed string, which matches the callers, instead of a
19252 shell-style pattern which is what the previous implementation
19253 used. Update some of the callers.
19254
19255 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19256
19257 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
19258 (comib_nullified_tests): Fix typo.
19259 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
19260 strings. No longer expected to fail.
19261
19262 * gdb.disasm/hppa.s (addib_tests): Fix typo.
19263 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
19264 strings. No longer expected to fail.
19265
19266 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
19267 string. No longer expected to fail.
19268
19269 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19270
19271 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
19272 No longer expected to fail.
19273
19274 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
19275 string. No longer expected to fail.
19276
19277 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19278
19279 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
19280 only in the names (I probably got most of them). I was even
19281 generous with some which differed in underscores in names, and
19282 probably missed a few, and I *still* was able to remove almost a
19283 third of the file with almost no impact on testsuite coverage.
19284
19285 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19286
19287 * gdb.t00/default.exp: Match udi_attach error message as well as
19288 the one from child_attach.
19289
19290 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
19291
19292 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
19293
19294 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
19295 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
19296
19297 * Move test with enums and partial symbols back to
19298 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
19299 Reverts the change of 26 May 93. Per today's change to
19300 stabs.texinfo, the behavior that weird.exp was expecting was
19301 unreasonable; what is important is that the compiler+gdb get
19302 things right, which happens with a recent gcc. Also fix the test
19303 to deal with native compilers which put out the stab gdb can't
19304 deal with.
19305
19306 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19307
19308 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
19309 in the names. The main thing these accomplish is to slow things down.
19310 Many more such duplicates surely remain.
19311
19312 * gdb.t00/help.exp: Comment out "help support" test just like
19313 (and for same reason as) "help set" test.
19314
19315 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
19316
19317 * gdb.t06/break.exp: Remove setup_xfails for
19318 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
19319 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
19320 about known bug in gcc to include up through 2.5.8.
19321 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
19322 well as "_vb$".
19323 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
19324 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
19325 with latest gcc and gdb.
19326 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
19327 well as "_vb$".
19328
19329 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19330
19331 * configure.in (hppa*-*-*): Also configure and build stabs-only
19332 tests.
19333
19334 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19335
19336 * gdb.t10/hppa.mt: A makefile fragment for the PA.
19337 * gdb.t10/configure.in (hppa*-*-*): Use it.
19338
19339 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19340
19341 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
19342
19343 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19344
19345 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
19346 versions prior to 1.13.5.
19347
19348 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19349
19350 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
19351 the prompt is at the start of a line.
19352
19353 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19354
19355 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
19356 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
19357 in the copr tests now.
19358 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
19359 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
19360 expected to fail.
19361
19362 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
19363
19364 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
19365 gdb.t31/chillvars.exp, lib/gdb.exp:
19366 Tweak to run under either version of expect.
19367 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
19368 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
19369 * gdb.t11/list.exp: Remove extraneous whitespace.
19370
19371 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19372
19373 * gdb.t16/printcmds.exp (test_print_strings): Accept
19374 "(unsigned char *) " before the string.
19375
19376 * TODO: Add notes about printing of fancy types and GDB expressions.
19377
19378 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
19379
19380 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
19381 * gdb.t06/configure.in: Don't try to compile signals test program
19382 if doing mips-idt-ecoff.
19383
19384 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
19385
19386 * Most .exp files: Tweak to run under either version of expect.
19387
19388 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19389
19390 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
19391 xfails; I'm not sure why they are failing, but not because of PR 1806.
19392
19393 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
19394
19395 * config/unix-gdb.exp: Remove gdb_unload cause it's already
19396 defined in lib/gdb.exp.
19397
19398 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19399
19400 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
19401 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
19402 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
19403 have to be typeless.
19404
19405 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19406
19407 * TODO: Add suggestion for copyright year test.
19408
19409 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
19410
19411 * configure.in (*-*-lynxos*): Add stabs tests.
19412
19413 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
19414
19415 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
19416 so insert a tab before any assembler directive in column zero.
19417
19418 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
19419 stores.
19420 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
19421 stores.
19422 (fpu_short_memory_tests): Likewise.
19423
19424 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19425
19426 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
19427 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
19428 .stabs directives in comments.
19429
19430 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19431
19432 * TODO: New file, describing tests we could write.
19433 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
19434
19435 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19436
19437 * gdb.t06/signals.exp: Add kludge to force re-sync.
19438
19439 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
19440 to xgdb instead of gdb, get out of gdb.
19441
19442 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
19443
19444 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
19445 for info.
19446
19447 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
19448
19449 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
19450 * gdb.stabs/configure.in (hppa*-*-*): Use it.
19451 * gdb.stabs/hppa.sed: New sed script for the PA.
19452
19453 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19454
19455 * gdb.stabs: Re-write weird.def and configuration to use sed
19456 instead of cpp. sed is portable and POSIX; cpp is neither.
19457
19458 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19459
19460 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
19461
19462 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19463
19464 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
19465
19466 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19467
19468 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
19469 "_vb$".
19470 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
19471 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
19472
19473 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19474
19475 * lib/gdb.exp: Comment out code which depends on non-existent
19476 `transform' procedure.
19477
19478 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
19479
19480 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
19481 * lib/gdb.exp: Transform tool name.
19482 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
19483 1.1's new error handling system.
19484
19485 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19486
19487 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
19488
19489 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19490
19491 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
19492 They made pattern matching so slow that timeouts happened on
19493 heavily loaded systems. Now any output from "show print" which
19494 gets us back to the GDB prompt is a PASS.
19495
19496 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
19497
19498 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
19499
19500 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19501
19502 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
19503
19504 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
19505 It is not from PR 3220.
19506
19507 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19508
19509 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
19510 just started failing because they depended on the order the
19511 subcommands are presented, or exact docstring text. This kind of
19512 test is a pain and has minimal benefit.
19513
19514 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19515
19516 * gdb.t09/corefile.exp: At end of test, use "core" command with
19517 no arguments.
19518
19519 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
19520
19521 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
19522 17}/Makefile.in: Make it possible to run the testsuite with Sun
19523 make and CC = cross gcc by adding explicit build rules for .o
19524 files.
19525
19526 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19527
19528 * gdb.t15/funcargs.exp: Don't put comments on same line as
19529 setup_xfail (@#$*%& tcl braindamage!).
19530
19531 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19532
19533 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
19534
19535 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
19536
19537 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
19538 * gdb.t20/inherit.exp: remove three dumplicate entries.
19539
19540 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19541
19542 * gdb.t06/break.exp: For "next over recursive call", fail on any
19543 incorrect output, not just on "factorial (value=2)".
19544
19545 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19546
19547 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
19548 working now. Add an xfail if accesing a bss variable causes
19549 a memory error if the target is not yet run.
19550
19551 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19552
19553 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
19554 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
19555 name of __st* demangling (2 strings). Did Kung really get the
19556 more than 95 others right without testing them?
19557
19558 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
19559
19560 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
19561
19562 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
19563
19564 * configure.in (configdirs): Add gdb.disasm
19565 * gdb.disasm: New directory for GDB disassembler tests.
19566 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
19567
19568 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19569
19570 * gdb.t00/help.exp: Don't test "help set".
19571
19572 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
19573 from within expect statements. None of these happen anymore and
19574 they cause regressions to be silently unnoticed.
19575
19576 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
19577 messages) about known failures with gcc cygnus-2.4.5-930417.
19578
19579 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
19580 comp-info.exp so it gets built if it doesn't exist.
19581
19582 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
19583 it is no longer used.
19584 * gdb.t13/comp-info.c: Removed.
19585
19586 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19587
19588 * gdb.t06/signals.exp: Add xfail for sun3.
19589
19590 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19591
19592 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
19593 relevant because ^C doesn't get sent but failure can be reproduced
19594 interactively).
19595
19596 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19597
19598 * gdb.stabs/alpha.mt: New configuration file for alpha.
19599 * gdb.stabs/configure.in: Use it.
19600 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
19601 sharing with alpha.mt, redefine long to word via preprocessor.
19602 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
19603 for alpha.
19604 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
19605 native cc.
19606 * gdb.t00/teststrategy.exp: Change expect string so that we
19607 consume the `(xgdb)' from the command echo and from the gdb prompt.
19608 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
19609 gdb currently compares all values as long, so this failure probably
19610 applies to any configuration where LONGEST is bigger than a target int.
19611 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
19612 with gcc.
19613 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
19614 to handle opaque pointers, gcc is.
19615 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
19616 as first argument. Include <sys/types.h> and change all operator
19617 new definitions to use size_t.
19618 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
19619 now that we use size_t.
19620
19621 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19622
19623 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
19624 a long or float array cast all array members to the same type.
19625 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
19626 with 64 bit longs.
19627 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
19628 on alpha.
19629 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
19630
19631 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19632
19633 * gdb.t24 (demangle.exp): Constructors of templates have names like
19634 vector<int>::vector(int) not vector<int>::vector<int>(int). See
19635 section 14.6 of the ARM.
19636
19637 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
19638 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
19639 accomplish little and slow down the testsuite.
19640
19641 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
19642 Accept spaces various places.
19643
19644 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19645
19646 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
19647 with watchpoint enabled.
19648
19649 * Makefile.in: Remove definition of CC and remove the second
19650 definition of CXX (the "CXX = gcc" one remains). These definitions
19651 were causing backquotes to be expanded within backquotes, which
19652 doesn't work.
19653
19654 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
19655
19656 * gdb.t17/callfuncs.exp: Add "return 0" to end.
19657
19658 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19659
19660 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
19661 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
19662 by mips cc and contains no stabs entries.
19663
19664 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
19665
19666 * config/vx-gdb.exp: Use fake device to load files rather than
19667 NFS.
19668 * lib/gdb.exp: New proc to do "file" command.
19669 * config/unix-gdb.exp: Use new "file" proc.
19670
19671 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
19672
19673 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
19674 Rework board rebooting slightly.
19675 (gdb_exit): Don't exit from the remote shell; there isn't one.
19676 * gdb.stabs/weird.exp: If a program is being debugged already,
19677 kill it.
19678 * gdb.t04/setvar.exp: Stop and restart gdb.
19679 * gdb.t05/expr.exp: Likewise.
19680 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
19681 restart gdb and reload the program.
19682 * gdb.t08/opaque.exp: Likewise.
19683 * gdb.t12/scope.exp: Likewise.
19684 * gdb.t13/bitfields.exp: Likewise.
19685 * gdb.t15/funcargs.exp: Likewise.
19686 * gdb.t20/classes.exp: Likewise.
19687 * gdb.t03/ptype.exp: Increase timeout.
19688 * gdb.t16/printcmds.exp (test_print_string_constants,
19689 test_print_array_constants): Likewise.
19690 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
19691 * gdb.t20/classes.exp (do_tests): Likewise.
19692 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
19693
19694 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
19695
19696 * gdb.stabs: Renamed *wierd* to *weird*.
19697
19698 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
19699
19700 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
19701 for timeout. Add "known gcc 2.4.5 bug" to failure message.
19702
19703 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
19704
19705 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
19706 (do_tests): Remove xfail for whatis on one_var and two_var.
19707
19708 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
19709
19710 * Makefile.in: Made cross building work better by adding
19711 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
19712
19713 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19714
19715 * gdb.t15/{return.c,return.exp,Makefile.in}:
19716 New test, currently commented out.
19717
19718 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
19719
19720 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
19721 still running and removes the leftover named socket so GDb can do
19722 clean restarts.
19723
19724 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
19725
19726 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
19727 console, not GDB.
19728 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
19729 cross testing works better with "make check"
19730 * config/unix-gdb: Use default procedures for exit and version.
19731 * config/vx-gdb.exp: Cleaned up and massaged back to working order
19732 with the newest VxWorks.
19733
19734 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19735
19736 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
19737 old form.
19738
19739 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
19740 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
19741
19742 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
19743
19744 * config/unix-gdb.exp: Remove this version of gdb_exit
19745 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
19746 Rob says he'll look at it when he gets back to testing boards.
19747
19748 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
19749
19750 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
19751 an expected fail for certain ptype commands.
19752
19753 * gdb.t20/classes.exp: Update expected results of "ptype class
19754 Base1" to account for the constructor that now appears in the type.
19755
19756 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
19757
19758 * configure.in (configdirs): Restore gdb.t04, which mysteriously
19759 disappeared from list.
19760 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
19761 "alldone" proc with call to cleanup and exit.
19762 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
19763 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
19764 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
19765 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
19766 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
19767 "alldone" proc with simple returns that suppress remaining
19768 tests. The alldone proc went away many months ago.
19769
19770 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19771
19772 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
19773
19774 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
19775
19776 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19777
19778 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
19779 as vax gdb will display them.
19780
19781 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19782
19783 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
19784 optimizers.
19785
19786 * scope.exp: Change "bad value for localval" messages so each one
19787 is unique.
19788
19789 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
19790 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
19791
19792 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
19793
19794 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19795
19796 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
19797 doesn't exist (due to optimization).
19798
19799 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19800
19801 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
19802 contains \r because the filename is long.
19803
19804 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
19805 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
19806
19807 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19808
19809 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
19810 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
19811 Ultrix.
19812 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
19813 int tests.
19814 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
19815
19816 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
19817
19818 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
19819
19820 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
19821 to match does not match the passing case but still matches the
19822 failing case.
19823
19824 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19825
19826 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
19827
19828 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
19829
19830 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
19831 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
19832 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
19833 Remove various versions of gdb_exit.
19834 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
19835 gdb_exit.
19836 * config/unix-gdb.exp: gdb_exit remains here, and should override
19837 the generic version, since it's doing a lot of wierd stuff that
19838 the other versions aren't. FIXME, fold it in, or abandon this
19839 version.
19840
19841 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19842
19843 * gdb.t24/demangle.exp: Add tests for PR 3220.
19844
19845 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19846
19847 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
19848
19849 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
19850
19851 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
19852 "i386-*-*". Works for i486 as well.
19853
19854 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
19855 bug, and expand domain of xfail to all SVR4 systems, since the
19856 actual problem is likely to be in generic SVR4 /proc support.
19857
19858 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19859
19860 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
19861
19862 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
19863
19864 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
19865 xfails for other systems. Match a missing 'Continuing.' as an
19866 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
19867
19868 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
19869 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
19870 Only issue warning for missing executables if -all option is used.
19871
19872 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
19873 file if -all option is used. It's like an unpredictable XFAIL.
19874
19875 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19876
19877 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
19878 for dynamically linked binaries.
19879
19880 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
19881
19882 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19883
19884 * gdb.t20/inherit.exp: Change message for "print tagless struct"
19885 to state that this is a known bug in old versions of g++.
19886
19887 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19888
19889 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
19890 while waiting for `Continuing'.
19891
19892 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
19893
19894 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
19895 in text, data, and bss.
19896 * gdb.t10/nodebug.c: Add local and global test variables for
19897 initialized and uninitialized data.
19898
19899 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19900
19901 * config/unix-gdb.exp (gdb_exit): Add "wait".
19902
19903 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19904
19905 * gdb.t06/signals.exp: xfail the continue from the handler for all
19906 targets.
19907
19908 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
19909 function with watchpoints enabled, the i386 call dummy starts with
19910 a call.
19911
19912 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
19913 386 bsd names its corefiles.
19914
19915 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
19916
19917 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
19918 compilers don't grok it.
19919 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
19920 with small octal ints rather than character constants, which
19921 are signed and might not fit if first promoted to int.
19922
19923 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
19924
19925 * gdb.t09/Makefile.in (clean): Remove corefile.
19926
19927 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19928
19929 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
19930
19931 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19932 and Jim Kingdon (kingdon@cygnus.com)
19933
19934 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
19935 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
19936 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
19937
19938 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19939
19940 * gdb.t17/interrupt.exp: Add xfail for hppa.
19941
19942 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19943
19944 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
19945 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
19946 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
19947 to determine signed-ness of bitfields and use the result to setup
19948 the xfail.
19949 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
19950 * gdb.t15/funcargs.exp: Use them to step until the second indirect
19951 call line is reached if necessary.
19952
19953 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19954
19955 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
19956
19957 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19958
19959 * gdb.t06/break.exp: Also test `clear' command.
19960
19961 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19962
19963 * gdb.t00/teststrategy.exp: Remove extra quote.
19964
19965 * gdb.t07/watchpoint.exp: Change xfail for calling function with
19966 watchpoint enabled to be for all non-68k machines.
19967
19968 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
19969
19970 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19971
19972 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
19973 targets use aout.mt instead of ecoff.mt as gas understands
19974 standard aout format.
19975
19976 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19977
19978 * lib/gdb.exp (runto): Don't insist that function we are running to
19979 was compiled with -g.
19980
19981 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
19982
19983 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
19984 to get back into the read system call.
19985 Accept leading newline in case where we woke it up.
19986
19987 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19988
19989 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
19990 to make the stabs test work on ecoff systems using gcc and -with-stabs.
19991 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
19992 enable ecoff configuration.
19993
19994 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19995
19996 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
19997
19998 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19999
20000 * gdb.t16/printcmds.exp: Add another printf test.
20001
20002 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
20003
20004 * configure.in: If configured -with-stabs on any target, add
20005 stabsdirs to configdirs.
20006
20007 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20008
20009 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
20010 fun" so pattern does not match the command itself.
20011
20012 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20013
20014 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
20015
20016 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20017
20018 * gdb.t17/interrupt.exp: Test for more things.
20019
20020 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20021
20022 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
20023 compiler arranges the code and line numbers.
20024
20025 * gdb.t17/interrupt.exp: Don't send \n after ^C.
20026
20027 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20028
20029 * gdb.t00/help.exp: Increase expect input buffer size.
20030
20031 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20032
20033 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
20034
20035 * gdb.t07/watchpoint.exp: Add xfail for hppa.
20036
20037 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
20038
20039 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
20040 [0-9]*, not just [0-9].
20041
20042 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20043
20044 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
20045
20046 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
20047
20048 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20049
20050 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
20051
20052 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20053
20054 * gdb.t06/signals.c: Add xfails for sun3.
20055
20056 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
20057
20058 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
20059 test_stepping tests.
20060
20061 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20062
20063 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
20064
20065 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
20066
20067 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
20068 rather than actually putting it through cpp twice.
20069
20070 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
20071
20072 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
20073
20074 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
20075 no longer needed.
20076
20077 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20078
20079 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
20080
20081 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
20082 C++ features prints as "struct", make it a pass, not an xfail.
20083
20084 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20085
20086 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
20087 Don't require VA to print as "class" rather than "struct".
20088
20089 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
20090
20091 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
20092
20093 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20094
20095 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
20096
20097 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20098
20099 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
20100 order.
20101
20102 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20103
20104 * gdb.t16/printcmds.exp: Add printf tests.
20105
20106 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
20107
20108 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
20109
20110 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
20111
20112 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
20113 pass counts, to counteract any existing or future setup_xfails.
20114
20115 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20116
20117 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
20118 {BEGIN,END}_COMMON for common block instead of STAB.
20119 * gdb.stabs/wierd.exp: Add xfail for rs6000.
20120
20121 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
20122 intp_var should be N_GSYM not N_LSYM.
20123 wierd-aout.S: Use a label for the value of the N_SO.
20124 wierd.def: Remove all backslashes.
20125 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
20126
20127 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20128
20129 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
20130 get the expected next to inheritance3.
20131
20132 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20133
20134 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
20135 now that gcc-2.4 gets it right.
20136
20137 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20138
20139 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
20140
20141 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
20142 generating comp-info.exp which works for cross-compilation.
20143
20144 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
20145
20146 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
20147 "*-*-sysv4.*".
20148
20149 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
20150
20151 * gdb.t01/run.exp: Start with a fresh gdb.
20152 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
20153 SVR4.x.
20154
20155 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
20156
20157 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
20158 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
20159 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
20160 Makefile.in (distclean, realclean): Remove gdbme.c from list of
20161 things to remove.
20162
20163 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
20164
20165 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
20166 test cases from bug reports.
20167
20168 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
20169
20170 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
20171 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
20172 avoid spurious xfails.
20173 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
20174 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
20175 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
20176
20177 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
20178
20179 * gdb.t00/teststrategy.exp: Rework to provide more useful
20180 description of each test, fix problem with systems that define
20181 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
20182 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
20183 results for "next over recursive call" so timeouts aren't taken
20184 by error.
20185
20186 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
20187
20188 * gdb.t12/scope.exp: Test printing of variables before run.
20189
20190 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
20191 printed in wrong order due to sorting.
20192
20193 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
20194
20195 * gdb.t00/teststrategy.exp: Fix expected results for printing
20196 user entered string constant. Is array of char, prints with no
20197 address.
20198
20199 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
20200 commands.
20201 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
20202 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
20203 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
20204 of struct of char arrays.
20205 * gdb.t00/radix.exp: New tests for radix commands.
20206
20207 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
20208
20209 * gdb.t16/printcmd.exp: Print a variable before running program
20210 (with xfail for AIX).
20211
20212 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
20213
20214 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
20215
20216 * gdb.t16/printcmd.exp: Don't print variables before running program.
20217
20218 * gdb.t06/break.exp: Don't require envp argument to main.
20219
20220 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
20221
20222 * gdb.t02/whatis.exp, gdb.t11/list.exp:
20223 Add xfails for rs6000.
20224
20225 * gdb.t02/whatis.exp: Change other tests not to re-test something
20226 we already tested.
20227
20228 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
20229 each type used has a variable of that type.
20230
20231 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
20232
20233 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
20234
20235 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
20236
20237 * configure.in: change srctrigger to be a file, not a directory
20238
20239 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
20240
20241 * configure.in (mips-idt-ecoff*): Added trailing '*'.
20242
20243 * gdb.t11/list.exp: Fixed a couple of typos.
20244
20245 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
20246
20247 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
20248 is fixed and PR is closed.
20249 * gdb.t16 (gdbme.c): Add simple test string variable.
20250 * gdb.t16 (printcmds.exp): Add tests with simple test string
20251 variable, primarily for boundaries on "set print elements".
20252
20253 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
20254
20255 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
20256 Make leading 0's optional and don't expect a tab in the middle
20257 of the number.
20258
20259 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
20260
20261 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
20262 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
20263 don't end command passed to gdb_test with newline.
20264
20265 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
20266 signed keyword away, don't expect signed bitfields to be signed.
20267
20268 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
20269 printing with only as many 1's as are in the field as well as printing
20270 with 32 1's (see comment).
20271
20272 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
20273
20274 * gdb.t00/default.exp: Start with a fresh gdb.
20275 * configure.in (configdirs): Remove gdb.t31 until the chill
20276 compiler works again. It no longer is able to find chillrt0
20277 since it isn't in libchill.a anymore.
20278 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
20279 wierd.o, make more modular.
20280 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
20281 spurious newlines that caused problems.
20282
20283 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20284
20285 * Move test with enums and partial symbols from gdb.t03/ptype.exp
20286 to gdb.stabs/wierd.exp since GCC has worked around the bug.
20287 gdb.stabs/wierd.{exp,def}: Many new tests.
20288
20289 * gdb.t00/default.exp: update info line for new message.
20290
20291 * gdb.t02/{whatis.exp,gdbme.c}:
20292 Test that "char *" doesn't print as "caddr_t".
20293
20294 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20295
20296 * gdb.t00/help.exp: Use .* in place of some help messages which
20297 just changed.
20298 gdb.t00/default.exp: Update "info frame" test for new message.
20299 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
20300 Remove some xfails
20301
20302 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20303
20304 * gdb.t03/{gdbme.c,ptype.exp}:
20305 Add tests for typedef'd struct and union without tags.
20306 Also check "whatis" on a variable of a typedef'd enum without a tag.
20307
20308 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
20309 PRMS 1823; the bug still exists but isn't reproduced by this test
20310 anymore), and remove rs6000 XFAIL (the bug is fixed).
20311
20312 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
20313 duplicated from whatis.exp. For those that are left, accept
20314 "long", "long int", or "int" for long variables (whatis.exp already
20315 has an XFAIL for "int", so no need to fail it here).
20316
20317 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
20318 Deal with GCC's names for types now that GDB uses the compiler's names.
20319
20320 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
20321 setup_xfail's for sunos4. If we #defined the signed keyword away,
20322 don't expect GDB to know that char it is signed.
20323
20324 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
20325
20326 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
20327
20328 * configure.in (configdirs): Add gdb.t24 for C++ tests that
20329 should work on any system, regardless of debugging format.
20330 * gdb.t21/demangle.exp: Move to gdb.t24.
20331 * gdb.t24/demangle.exp: Move from gdb.t21.
20332 * gdb.t24/{Makefile.in, configure.in}: New files.
20333
20334 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20335
20336 * configure.in: Do gdb.stabs and C++ tests only for stabs.
20337 * gdb.stabs: New directory.
20338
20339 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20340
20341 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
20342 not just "Quit anyway?".
20343
20344 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
20345
20346 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
20347 that all setup_xfails are immediately followed by clear_xfails.
20348
20349 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
20350
20351 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
20352 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
20353 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
20354 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
20355 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
20356 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
20357 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
20358 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
20359 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
20360 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
20361 gdb.t31/chillvars.exp, lib/gdb.exp:
20362 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
20363 bug-gdb@prep.ai.mit.edu.
20364
20365 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
20366
20367 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
20368 with 0.0, not integer 0.
20369
20370 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
20371
20372 * gdb.t06/break.exp: Update for "Kill the program" message change.
20373
20374 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
20375
20376 * Makefile.in (GDBFLAGS): Set to -nx.
20377 * Makefile.in (site.exp): Use GDBFLAGS.
20378
20379 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
20380
20381 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
20382 Makefiles.
20383 (check): depend on just-check.
20384 (just-check): added so that tests can be run without a noop
20385 build pass.
20386
20387 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
20388
20389 Switch to using configure's configdirs.
20390 * Makefile.in (Makefile): add configure.in dependency.
20391 (SUBDIRS): removed redundant assignment.
20392 * configure.in: switch subdirs assignment to configdirs.
20393 * gdb.t*/configure.in: new files.
20394
20395 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
20396
20397 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
20398 works.
20399
20400 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
20401
20402 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
20403 in explicit rules. Apparently this is not supported by some makes.
20404
20405 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
20406
20407 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
20408
20409 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20410
20411 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
20412 disappeared.
20413
20414 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
20415
20416 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
20417
20418 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
20419
20420 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
20421 watchpoint problem that is now fixed.
20422 * gdb.t30/chexp.exp: Remove setup_xfail for printing
20423 uninitialized convenience variables.
20424 * gdb.t31/chillvars.exp: Fix expected patterns for printing
20425 structures.
20426
20427 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20428
20429 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
20430 which causes expect to get out of sync with gdb on long output
20431 from help set.
20432 * gdb.t09/corefile.exp: Make expected pattern for core file
20433 failing signal and frame output format less sun specific.
20434
20435 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
20436
20437 * gdb.t31/chillvars.exp: Add and remove initial dummy
20438 breakpoint, so that symbol table is forced in.
20439 (Needed at least on Sunos4, though it seems not SVR4.)
20440 * gdb.t31/chillvars.exp: Update for changed output format.
20441
20442 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
20443
20444 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
20445
20446 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
20447
20448 * Makefile.in: Added --srcdir when invoking runtest, removed the
20449 need for a local config file. (optional now)
20450
20451 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
20452
20453 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
20454 failure count used to force early termination. Add some more
20455 expected failures for gnu style demangling.
20456
20457 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20458
20459 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
20460 pmi variable from gdb.t20/gdbme to get optimized away.
20461 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
20462 Check for written corefile upon timeout _and_ eof.
20463
20464 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20465
20466 * config/unix-gdb.exp: Add missing return 0.
20467
20468 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20469
20470 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
20471 test termination.
20472
20473 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
20474
20475 * configure.in (subdirs): Put back gdb.t17 which mysteriously
20476 disappeared.
20477
20478 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
20479
20480 * gdb.t10/crossload.exp: Disable the i860-elf test until such
20481 time as i860 support works.
20482
20483 * gdb.t15/funcargs.exp: Fix expected outputs to include
20484 "backtrace 100\r" rather than just "backtrace\r", to match last
20485 change.
20486
20487 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
20488
20489 * config/udi-gdb.exp (gdb_exit): Remove close command.
20490 (gdb_target_udi): New procedure to set the UDI target.
20491 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
20492 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
20493 Added waits for prompts after several question responses. Added
20494 some more responses used by a29k-amd-udi-gdb.
20495 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
20496 pass different arguments, restart UDI connection after program
20497 completion.
20498 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
20499 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
20500 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
20501 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
20502 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
20503 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
20504 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
20505 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
20506 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
20507 after program completion.
20508 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
20509 compiled with a SELECT_VECS setting.
20510 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
20511 infinite recursion.
20512
20513 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
20514 Added checks for COFF results, and made them expected failures for
20515 all targets. It would be better to make them expected failures
20516 for COFF targets only.
20517
20518 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
20519
20520 * Makefile.in: add null dvi target, don't bother to recurse
20521 through test directories for info and install-info; rename
20522 $(datadir) to be dejagnu instead of deja-gnu
20523
20524 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
20525
20526 * gdb.t31/gdbme.ch: Re-enable code that previously caused
20527 compiler to coredump.
20528 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
20529 code.
20530
20531 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
20532
20533 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
20534 coredump.
20535 * gdb.t31/chillvars.exp: Comment out tests that depend on that
20536 code.
20537
20538 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
20539
20540 * gdb.t03/ptype.exp: tests for return code from gdb_test.
20541 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
20542 which in a shell. Deletes xgdb when done.
20543 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
20544 Tests the return from the "set height" or "set width" commands.
20545 Added a few return codes where needed.
20546
20547 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
20548
20549 * Makefile.in (SUBDIRS): Add gdb.t17.
20550 * configure.in (subdirs): Add gdb.t17.
20551 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
20552 files to test gdb's calling of functions in the inferior with
20553 the correct arguments and gdb's ability to retrieve any
20554 result returned.
20555
20556 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
20557
20558 * config/unix-gdb.exp (gdb_exit): Remove close commands that
20559 may be called after gdb goes away. Previous versions of expect
20560 needed these to avoid file descriptor leaks, but they cause
20561 errors with the current revision of expect.
20562 * gdb.t00/gdbvars.exp: Use -re on expected output after
20563 setting sevenbit-strings.
20564 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
20565 to set sevenbit-strings consistent across tests.
20566 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
20567 set sevenbit-strings consistent across tests.
20568
20569 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
20570
20571 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
20572 expected output to match current "expect" expectations.
20573
20574 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
20575
20576 * gdb.t00/default.exp: Change expected output for default "source"
20577 command, to match new gdb behavior which requires a filename to
20578 source.
20579
20580 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
20581
20582 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
20583 expected fail for i486-*-* that misses the marker2 function.
20584 * gdb.t10/crossload.exp (bfddefault): Allow successful
20585 recognition of a format to pass even if no symbols are found.
20586 Explicitly catch failures where the format is not recognized
20587 or is ambiguous, and add the reason to the fail message.
20588 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
20589 the cause is and invalid target and add reason to failure message.
20590 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
20591 elf32-i386, elf32-sparc, and elf32-i860.
20592 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
20593 Set up expected failure for 'filename'::variable scope resolution,
20594 which is now apparently broken on all targets.
20595 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
20596 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
20597 gdb.t23/templates.exp: Change failure for missing binfile into
20598 just a warning.
20599 gdb.t21/demangle.exp: Change all cfront references to 'arm'
20600 references.
20601
20602 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
20603
20604 * gdb.t00/default.exp: Add expected output for default "source"
20605 command, to match new gdb behavior.
20606 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
20607
20608 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
20609
20610 * config/*-gdb.exp: returns an error, rather than exiting on
20611 internal errors.
20612
20613 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
20614
20615 * gdb.t03/gdbme.c: Add pointer to struct variable.
20616 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
20617 referencing struct members.
20618
20619 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
20620
20621 * configure.in (mips-idt-ecoff): New target.
20622 * config/mips-gdb.exp: New file for remote board using MIPS remote
20623 debugging protocol.
20624
20625 * Redid configuration scheme. Removed gdb.t*/configure.in.
20626 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
20627 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
20628 distclean targets. Built executables via .o files. Adjusted
20629 tests to account for source files in $(srcdir) rather than
20630 $(objdir).
20631 * lib/gdb.exp (runto): Don't expect () after the function name,
20632 because it may have arguments.
20633
20634 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
20635
20636 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
20637 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
20638 expected failures for mips-idt-* and mips-sgi-*.
20639 * gdb.t00/default.exp (attach): Kill process if requested.
20640 * gdb.t00/help.exp (help target core, help target): Accept a gdb
20641 that does not read core files.
20642 * gdb.t01/run.exp: Removed checks for exit status code.
20643 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
20644 it is linked in.
20645 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
20646 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
20647 appropriate, rather than doing it by hand.
20648 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
20649 execution.
20650 * gdb.t10/crossload.exp: Kill existing program if needed.
20651 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
20652 appropriate, rather than doing it by hand. Always increase
20653 timeout for this test, not just for VxWorks.
20654
20655 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
20656
20657 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
20658 of Chill STRUCT types and STRUCT values.
20659 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
20660 than "char".
20661 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
20662 struct2): New struct definitions and initializations to test
20663 simple Chill STRUCT types.
20664
20665 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
20666
20667 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
20668 the null byte at the end of strings.
20669 * gdb.t00/default.exp: Make show version insensitive to copyright
20670 date.
20671 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
20672 to avoid dependencies on target char signedness.
20673 * gdb.t16/printcmds.exp: Update expected results for explicitly
20674 unsigned char.
20675 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
20676 now work.
20677 * gdb.t21/demangle.exp: Add many more patterns for template
20678 demangling, most of them being expected failures.
20679 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
20680 string we are matching for, to match on the whole string.
20681 * gdb.t21/demangle.exp: Add many new test strings to demangle,
20682 and fix a whole bunch that had incorrect expected output but were
20683 passing anyway because of the bug in "proc demangle".
20684 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
20685 type.
20686 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
20687
20688 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
20689
20690 * gdb/testsuite: made modifications to testcases, etc., to allow
20691 them to work properly given the reorganization of deja-gnu and the
20692 relocation of the testcases from deja-gnu to a "tool" subdirectory.
20693
20694 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
20695
20696 * gdb/testsuite: Initial creation of gdb/testsuite.
20697 Migrated dejagnu testcases and support files for testing nm to
20698 gdb/testsuite from deja-gnu. These files were moved "as is"
20699 with no modifications. This migration is part of a major overhaul
20700 of dejagnu. The modifications to these testcases, etc., which
20701 will allow them to work with the new version of dejagnu will be
20702 made in a future update.
20703
20704 For additional changes see gdb.mi/ChangeLog-1999-2003.
20705 \f
20706 ;; Local Variables:
20707 ;; mode: change-log
20708 ;; left-margin: 8
20709 ;; fill-column: 74
20710 ;; version-control: never
20711 ;; End:
20712
20713 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20714 2003, 2004, 2005 Free Software Foundation, Inc.
20715 Copying and distribution of this file, with or without modification,
20716 are permitted provided the copyright notice and this notice are preserved.
This page took 0.778641 seconds and 3 git commands to generate.