* breakpoint.c (clean_up_filters): Remove.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12011-08-05 Pedro Alves <pedro@codesourcery.com>
2
3 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4 procedure.
5 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6
72011-08-05 Yao Qi <yao@codesourcery.com>
8
9 * gdb.base/callfuncs.exp: Set language after main.
10 * gdb.cp/cplusfuncs.exp: Likewise.
11 * gdb.cp/inherit.exp: Likewise.
12
132011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
14
15 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
16 * gdb.base/watch-vfork.exp: Skip on remote targets.
17
182011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
19
20 * gdb.threads/thread-find.exp: Support remote targets.
21
222011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
23
24 * gdb.base/jit.exp: Download solib_binfile to target.
25 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
26 and call dlopen without full path name.
27 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
28 dlopen without full path name.
29
302011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
31
32 * gdb.base/break-always.exp: Complete the test
33 with duplicated breakpoints and enabling/disabling them.
34
352011-08-02 Tom Tromey <tromey@redhat.com>
36
37 PR gdb/11289:
38 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
39
402011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
41
42 PR gdb/13045
43 * gdb.base/float.exp: Add new test case for PR gdb/13045
44 * gdb.base/float.c: New file.
45
462011-07-28 Phil Muldoon <pmuldoon@redhat.com>
47
48 * gdb.python/py-mi.exp: Test printers returning string hint, and
49 also not returning a value.
50 * gdb.python/py-prettyprint.c: Add testcase for above.
51 * gdb.python/py-prettyprint.py: Add test printer for above.
52
532011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
54
55 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
56 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
57 (.Ldie30) Add as field "data4".
58 (.Ldie32) Rename field "b" to "shl".
59 (abbrev4) Change for the "data4" field.
60 (abbrev5, abbrev6) Remove.
61 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
62 (p &s.shl): ... here. Add comment.
63 (p &s.data4): New.
64
652011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 Fix crash on lval_computed values.
68 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
69
702011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 * gdb.base/help.exp (help whatis): Update the expected string.
73
742011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
77 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
78 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
79 Change the expected string.
80
812011-07-26 Pedro Alves <pedro@codesourcery.com>
82
83 * gdb.base/watchpoint.exp
84 (test_disable_enable_software_watchpoint): New procedure.
85 (top level): Run it.
86
872011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
88
89 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
90 executable file "${binfile}", C++ version "${binfile}-cxx".
91 * gdb.python/py-prettyprint.exp: Likewise.
92 * gdb.python/py-symbol.exp: Likewise.
93 * gdb.python/py-type.exp: Likewise.
94 * gdb.python/py-value.exp: Likewise.
95 * gdb.python/py-template.exp (test_template_arg): Pass full executable
96 file name instead of just suffix.
97
982011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
99
100 Fix implicit pointer offsets.
101 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
102 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
103 (continue to breakpoint: continue to baz breakpoint for implptr)
104 (sanity check element 0, sanity check element 1)
105 (enter the inlined function, check element 0 for the offset)
106 (check element 1 for the offset)
107 (continue to breakpoint: ignore the second baz breakpoint): New tests.
108 (set foo breakpoint for implptr): Update the breakpoint number.
109
1102011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
111
112 * gdb.python/py-mi.exp: Use different file names for different
113 versions of the executable under test.
114 * gdb.python/py-prettyprint.exp: Likewise.
115 * gdb.python/py-symbol.exp: Likewise.
116 * gdb.python/py-template.exp: Likewise.
117 * gdb.python/py-type.exp: Likewise.
118 * gdb.python/py-value.exp: Likewise.
119
1202011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
121
122 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
123 flag after restarting GDB if necessary.
124
1252011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
126
127 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
128
1292011-07-22 Pedro Alves <pedro@codesourcery.com>
130
131 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
132 backend doesn't leave used debug registers behind.
133
1342011-07-22 Tom Tromey <tromey@redhat.com>
135
136 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
137 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
138 argument.
139 * gdb.dwarf2/typeddwarf-amd64.S: New file.
140
1412011-07-21 Matt Rice <ratmice@gmail.com>
142
143 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
144 in mostlyclean rule. Add files ending in .core.
145
1462011-07-21 Matt Rice <ratmice@gmail.com>
147
148 PR macros/12999
149 * gdb.base/info-macros.c: New test sources.
150 * gdb.base/info-macros.exp: New tests.
151
1522011-07-21 Phil Muldoon <pmuldoon@redhat.com>
153
154 * gdb.python/python.exp: Add prompt substitution tests.
155
1562011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
157
158 Fix crash if referenced CU is aged out.
159 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
160 New.
161 * gdb.dwarf2/implptr.exp: Likewise.
162
1632011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
164
165 * gdb.dwarf2/implptr.S: Rebuilt.
166 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
167 (bar): Use them for j, k, l.
168 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
169 COMPILE.
170 (print j in implptr:bar): Update for the intp typedef.
171 (print p[0].x in implptr:foo): Use more exact regex.
172
1732011-07-18 Tom Tromey <tromey@redhat.com>
174
175 * gdb.cp/static-method.exp: Add missing single quote.
176
1772011-07-18 Yao Qi <yao@codesourcery.com>
178
179 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
180 supported.
181 * gdb.mi/mi-nonstop-exit.exp: Likewise.
182 * gdb.mi/mi-nonstop.exp: Likewise.
183 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
184 * gdb.mi/mi-nsintrall.exp: Likewise.
185 * gdb.mi/mi-nsmoribund.exp: Likewise.
186 * gdb.mi/mi-nsthrexec.exp: Likewise.
187 * gdb.python/py-evthreads.exp: Likewise.
188
1892011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
190
191 Code cleanup.
192 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
193 it. Substitute it instead of test_compiler_info everywhere.
194
1952011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
196
197 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
198 remote targets as well.
199
2002011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
201
202 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
203 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
204
2052011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
206
207 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
208 a remote machine, not the host.
209 (gdb_compile_shlib): Set soname if target is remote.
210
2112011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
212
213 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
214
2152011-07-13 Matt Rice <ratmice@gmail.com>
216
217 * gdb.python/py-objfile-script-gdb.py: Renamed to
218 py-objfile-script-gdb.py.in.
219 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
220 py-objfile-script-gdb.py.
221 * gdb.python/py-objfile-script.exp: Update reference to
222 py-objfile-script-gdb.py.
223
2242011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
227 reference undefined label.
228
2292011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
230
231 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
232 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
233 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
234 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
235
2362011-07-11 Phil Muldoon <pmuldoon@redhat.com>
237
238 PR python/12438
239 * gdb.python/python.exp: Add maint set/show python print-stack
240 deprecated tests. Add set/show python print-backtrace tests.
241
2422011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
243
244 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
245 debug info.
246
2472011-07-06 Matt Rice <ratmice@gmail.com>
248
249 * gdb.python/python.exp: Update filename paths.
250 * gdb.python/py-symtab.exp: Ditto.
251
2522011-07-06 Marek Polacek <mpolacek@redhat.com>
253
254 * gdb.python/py-evthreads.exp: Add missing `$'.
255
2562011-07-06 Jie Zhang <jie.zhang@analog.com>
257
258 * config/bfin.exp: New file.
259 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
260 * gdb.asm/bfin.inc: New file.
261
2622011-07-06 Marek Polacek <mpolacek@redhat.com>
263
264 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
265 the whole output.
266
2672011-07-05 Tom Tromey <tromey@redhat.com>
268
269 * gdb.java/jprint.java (jprint.hi): New field.
270 * gdb.java/jprint.exp: Print string.
271
2722011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
273
274 * gdb.base/call-sc.c: Fix typos.
275 * gdb.base/ifelse.exp: Likewise.
276 * gdb.base/structs.c: Likewise.
277
2782011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
279
280 * gdb.base/jit-so.exp: New test.
281 * gdb.base/jit-dlmain.c: New file.
282 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
283
2842011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 * gdb.cp/m-static.exp: Call get_compiler_info.
287 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
288 * gdb.cp/pr9167.exp (p b): Likewise.
289 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
290 (test value of P in inner_m, test type of Z in inner_m): Call
291 setup_xfail for gcc <= 4.5.
292
2932011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
294
295 * gdb.cp/paren-type.cc: New files.
296 * gdb.cp/paren-type.exp: New files.
297
2982011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 Stop on first linespec terminator instead of eating what we can.
301 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
302 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
303 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
304 (break C::f()): ... this one.
305 (break C::operator()()): New test.
306 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
307 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
308 test.
309
3102011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
311
312 Fall back linespec to minimal symbols.
313 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
314 error message.
315 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
316 * gdb.cp/minsym-fallback-main.cc: New file.
317 * gdb.cp/minsym-fallback.cc: New file.
318 * gdb.cp/minsym-fallback.exp: New file.
319 * gdb.cp/minsym-fallback.h: New file.
320
3212011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 * gdb.cp/no-dmgl-verbose.cc: New file.
324 * gdb.cp/no-dmgl-verbose.exp: New file.
325
3262011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
329 __GI_.
330 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
331 (f): New function.
332 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
333 (complete p 'func<short>(): ... here.
334 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
335 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
336 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
337 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
338 Make them KFAIL gcc/49546.
339
3402011-07-01 Joel Brobecker <brobecker@adacore.com>
341
342 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
343
3442011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
345
346 Test GCC PR debug/49546.
347 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
348 (test type of F in k3_m, test value of F in k3_m): New.
349 * gdb.cp/temargs.cc (struct S3, struct K3): New.
350 (main): New variable k3. Call k3.k3_m.
351
3522011-07-01 Jean-Charles Delay <delay@adacore.com>
353
354 * gdb.ada/packed_array.exp: Fix expected outout.
355
3562011-07-01 Jean-Charles Delay <delay@adacore.com>
357
358 * gdb.ada/packed_array.exp: fixed expected output.
359
3602011-07-01 Joel Brobecker <brobecker@adacore.com>
361
362 * gdb.ada/same_enum: New testcase.
363
3642011-07-01 Joel Brobecker <brobecker@adacore.com>
365
366 * gdb.ada/ptr_typedef: New testcase.
367
3682011-07-01 Joel Brobecker <brobecker@adacore.com>
369
370 * gdb.ada/arrayptr.exp: Add ptype test.
371
3722011-07-01 Joel Brobecker <brobecker@adacore.com>
373
374 * gdb.ada/char_enum: New testcase.
375
3762011-07-01 Yao Qi <yao@codesourcery.com>
377
378 * gdb.base/dump.exp (capture_pointer_with_type): New.
379 Get value from address instead of name.
380 Start GDB once, and do `dump' and `restore'
381 tests together.
382
3832011-06-30 Jie Zhang <jie.zhang@analog.com>
384 Mike Frysinger <vapier@gentoo.org>
385
386 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
387 helper functions for getting/setting remotetimeout variable.
388 * lib/gdb.exp (gdb_load): If the target is remote, set
389 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
390 with $loadtimeout. Set $load_ok to 0 before doing the load.
391 Instead of returning, immediately, set $load_ok to 0. Call
392 set_remotetimeout with $oldremotetimeout, and then return if
393 $load_ok is 1.
394
3952011-06-30 Andrew Burgess <aburgess@broadcom.com>
396
397 * gdb.python/py-template.exp: Don't run this test if the target
398 does not support c++ tests.
399
4002011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 Fix non-only rename list for Fortran modules import.
403 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
404 tests.
405 * gdb.fortran/module.f90 (module moduse): New.
406 (program module): use moduse, test var_x, var_y and var_z.
407
4082011-06-29 Tom Tromey <tromey@redhat.com>
409
410 PR testsuite/12040:
411 * gdb.fortran/array-element.exp: Use f90, not f77.
412 * gdb.fortran/complex.exp: Use f90, not f77.
413 * gdb.fortran/derived-type.exp: Use f90, not f77.
414 * gdb.fortran/library-module.exp: Use f90, not f77.
415 * gdb.fortran/logical.exp: Use f90, not f77.
416 * gdb.fortran/module.exp: Use f90, not f77.
417 * gdb.fortran/multi-dim.exp: Use f90, not f77.
418 * gdb.fortran/subarray.exp: Use f90, not f77.
419
4202011-06-29 Tom Tromey <tromey@redhat.com>
421
422 * gdb.fortran/charset.exp: New file.
423 * gdb.fortran/charset.f90: New file.
424
4252011-06-29 Tom Tromey <tromey@redhat.com>
426
427 PR testsuite/12040:
428 * lib/future.exp: New file, mostly extracted from ada.exp.
429 Rewrote compatibility code to use rename.
430 (gdb_find_gfortran): New proc.
431 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
432 gfortran patch.
433 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
434 Move to future.exp.
435 * lib/gdb.exp: Always load future.exp.
436
4372011-06-28 Yao Qi <yao@codesourcery.com>
438
439 * gdb.cp/exception.cc: Don't include iostream.
440 (bar): Remove print statement.
441 (catcher): New.
442 (main): Remove print statements. Call function catcher.
443 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
444 Set breakpoint on catcher, and check the value of parameter.
445
4462011-06-23 Yao Qi <yao@codesourcery.com>
447
448 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
449 1.2 is disabled. KFAIL for uclinux.
450
4512011-06-23 Marek Polacek <mpolacek@redhat.com>
452
453 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
454 mi_gdb_test.
455
4562011-06-23 Marek Polacek <mpolacek@redhat.com>
457
458 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
459
4602011-06-23 Marek Polacek <mpolacek@redhat.com>
461
462 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
463
4642011-06-23 Marek Polacek <mpolacek@redhat.com>
465
466 * gdb.mi/mi2-basics.exp: Fix races. Honour the
467 `test_exec_and_symbol_mi_operatons' return value.
468 (test_mi_interpreter_selection): Use mi_gdb_test instead of
469 gdb_test_multiple.
470 (test_exec_and_symbol_mi_operatons): Likewise.
471 (test_path_specification): Likewise.
472
4732011-06-23 Yao Qi <yao@codesourcery.com>
474
475 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
476 supported.
477 * lib/gdb.exp (support_displaced_stepping): New.
478
4792011-06-23 Yao Qi <yao@codesourcery.com>
480
481 * gdb.threads/execl.exp: Skip on remote target.
482
4832011-06-21 Marek Polacek <mpolacek@redhat.com>
484
485 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
486 mi_gdb_test.
487
4882011-06-20 Marek Polacek <mpolacek@redhat.com>
489
490 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
491
4922011-06-20 Marek Polacek <mpolacek@redhat.com>
493
494 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
495 mi_gdb_test.
496
4972011-06-20 Marek Polacek <mpolacek@redhat.com>
498
499 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
500
5012011-06-14 Yao Qi <yao@codesourcery.com>
502
503 gdb/testsuite/
504 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
505
5062011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
509
5102011-06-10 Tom Tromey <tromey@redhat.com>
511
512 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
513 Add tests for pointer-to-member-function.
514 * gdb.cp/temargs.cc (S::somefunc): New function.
515 (K2): New class.
516 (main): Instantiate K2; call method.
517
5182011-06-08 Joel Brobecker <brobecker@adacore.com>
519
520 * gdb.python/py-inferior.c (f2): Make str an array rather
521 than a pointer.
522 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
523
5242011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * gdb.base/async-shell.c: New file.
527 * gdb.base/async-shell.exp: New file.
528
5292011-06-06 Pedro Alves <pedro@codesourcery.com>
530
531 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
532
5332011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
534
535 From Stephen Kitt <steve@sk2.org>
536 * gdb.base/help.exp: Adjust following some spelling corrections
537 in GDB.
538
5392011-06-01 Yao Qi <yao@codesourcery.com>
540
541 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
542
5432010-05-31 Keith Seitz <keiths@redhat.com>
544
545 PR c++/12750
546 * gdb.cp/static-method.cc: New file.
547 * gdb.cp/static-method.exp: New file.
548
5492010-05-31 Keith Seitz <keiths@redhat.com>
550
551 PR symtab/12704
552 * gdb.cp/anon-ns.cc: New file.
553 * gdb.cp/anon-ns.exp: New file.
554
5552011-05-31 Pedro Alves <pedro@codesourcery.com>
556
557 * gdb.arch/i386-dr3-watch.c: New file.
558 * gdb.arch/i386-dr3-watch.exp: New file.
559
5602011-05-30 Yao Qi <yao@codesourcery.com>
561
562 * gdb.base/callfuncs.c (t_structs_fc): New.
563 (t_structs_dc, t_structs_ldc): New.
564 (t_double_many_args):
565 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
566 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
567 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
568 * gdb.base/callfuncs.exp: Call new functions.
569
5702011-05-30 Yao Qi <yao@codesourcery.com>
571
572 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
573 Call rerun_and_prepare for each test to isolate effects.
574
5752011-05-30 Yao Qi <yao@codesourcery.com>
576
577 * gdb.base/varargs.c (find_max_float_real): New.
578 (find_max_double_real, find_max_long_double_real): New.
579 * gdb.base/varargs.exp: Call these new added functions.
580 * lib/gdb.exp (setup_kfail_for_target): New.
581
5822011-05-30 Yao Qi <yao@codesourcery.com>
583
584 * gdb.base/funcargs.c (callca, callcb, callcc): New.
585 (callcd, callce, callcf, callc1a, callc1b): New.
586 (callc2a, callc2b): New.
587 * gdb.base/funcargs.exp (complex_args): New.
588 (complex_integral_args, complex_float_integral_args): New.
589 * lib/gdb.exp (support_complex_tests): New. Determine
590 whether to run test cases on _Complex types.
591
5922011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
593
594 * gdb.threads/leader-exit.c: New file.
595 * gdb.threads/leader-exit.exp: New file.
596
5972011-05-27 Marek Polacek <mpolacek@redhat.com>
598
599 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
600
6012011-05-27 Marek Polacek <mpolacek@redhat.com>
602
603 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
604 remove the `supported' variable.
605 * gdb.mi/mi-nonstop.exp: Likewise.
606 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
607 * gdb.mi/mi-nsintrall.exp: Likewise.
608 * gdb.mi/mi-nsmoribund.exp: Likewise.
609 * gdb.mi/mi-nsthrexec.exp: Likewise.
610
6112011-05-26 Pedro Alves <pedro@codesourcery.com>
612
613 * gdb.reverse/finish-reverse-bkpt.exp: New test.
614
6152011-05-26 Pedro Alves <pedro@codesourcery.com>
616
617 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
618
6192011-05-24 Keith Seitz <keiths@redhat.com>
620
621 PR breakpoint/12803
622 * gdb.cp/cmpd-minsyms.cc (a): New method.
623 (b): New method.
624 (c): New method.
625 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
626
6272011-05-24 Pedro Alves <pedro@codesourcery.com>
628
629 * gdb.base/commands.exp (watchpoint_command_test): Check that the
630 watchpoint's command list didn't execute when the watchpoint went
631 out of scope.
632
6332011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
634
635 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
636 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
637 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
638 * gdb.arch/i386-gnu-cfi.exp: Likewise.
639 * gdb.arch/i386-permbkpt.exp: Likewise.
640 * gdb.arch/i386-prologue.exp: Likewise.
641 * gdb.arch/i386-size-overlap.exp: Likewise.
642 * gdb.arch/i386-size.exp: Likewise.
643 * gdb.arch/i386-unwind.exp: Likewise.
644 * gdb.reverse/i386-precsave.exp: Likewise.
645 * gdb.reverse/i386-reverse.exp: Likewise.
646 * gdb.reverse/i386-sse-reverse.exp: Likewise.
647 * gdb.reverse/i387-env-reverse.exp: Likewise.
648 * gdb.reverse/i387-stack-reverse.exp: Likewise.
649
6502011-05-24 Pedro Alves <pedro@codesourcery.com>
651
652 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
653 file doesn't error, using MI.
654
6552011-05-23 Tom Tromey <tromey@redhat.com>
656
657 * gdb.base/charset.exp (string_display): Add tests to assign to
658 arrays.
659 * gdb.base/charset.c (short_array, int_array, long_array): New.
660
6612011-05-20 Pedro Alves <pedro@codesourcery.com>
662
663 Cope with async mode.
664
665 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
666 into gdb_test + mi_expect_stop.
667
6682011-05-20 Pedro Alves <pedro@codesourcery.com>
669
670 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
671 (callme): Remove printf call.
672
6732011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
674
675 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
676 quote pattern to avoid problems with Cygwin/mingw expect versions.
677 * gdb.base/default.exp (show convenience): Use double
678 quote pattern for regular expressions.
679
6802011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
681
682 Fix -readnow for -gdwarf-4 unused type units.
683 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
684 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
685
6862011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.base/kill-after-signal.c: New file.
689 * gdb.base/kill-after-signal.exp: New file.
690
6912011-05-16 Pedro Alves <pedro@codesourcery.com>
692
693 * gdb.ada/start.exp: Call untested with the correct test filename.
694 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
695 test filename. Make the test's binary unique.
696 * gdb.arch/i386-signal.exp: Call untested with the correct test
697 filename.
698 * gdb.arch/i386-size-overlap.exp: Ditto.
699 * gdb.arch/Makefile.in (EXECUTABLES): Update.
700 * gdb.base/gcore-buffer-overflow.exp: Ditto.
701 * gdb.cp/call-c.exp: Ditto.
702 * gdb.mi/mi-reverse.exp: Call untested with the correct test
703 filename. Make the test's binary unique.
704 * gdb.mi/Makefile.in (EXECUTABLES): Update.
705 * gdb.python/py-mi.exp: Ditto.
706 * gdb.python/Makefile.in (EXECUTABLES): Update.
707 * gdb.reverse/i386-precsave.exp: Ditto.
708 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
709 test filename.
710 * gdb.reverse/i387-stack-reverse.exp: Ditto.
711 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
712 unique.
713 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
714 test filename.
715 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
716 * gdb.trace/tfile.exp: Ditto.
717
7182011-05-14 Yao Qi <yao@codesourcery.com>
719
720 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
721 type.
722
7232011-05-13 Doug Evans <dje@google.com>
724
725 * gdb.python/py-objfile-script.exp: New file.
726 * gdb.python/py-objfile-script.c: New file.
727 * gdb.python/py-objfile-script-gdb.py: New file.
728 * testsuite/gdb.python/py-section-script.exp: Test
729 "info auto-load-scripts".
730
7312011-05-13 Tom Tromey <tromey@redhat.com>
732
733 * gdb.dwarf2/clztest.exp: New file.
734 * gdb.dwarf2/clztest.c: New file.
735 * gdb.dwarf2/clztest.S: New file.
736
7372011-05-13 Doug Evans <dje@google.com>
738
739 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
740 String16 tests.
741
7422011-05-13 Tom Tromey <tromey@redhat.com>
743
744 * lib/gdb.exp (is_x86_like_target): New proc.
745 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
746 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
747 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
748 -nostdlib to compiler.
749 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
750 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
751 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
752 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
753 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
754
7552011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
756
757 * gdb.python/py-function.exp: Test setting a value from a function
758 which executes a command.
759
7602011-05-12 Tom Tromey <tromey@redhat.com>
761
762 * gdb.dwarf2/typeddwarf.S: New file.
763 * gdb.dwarf2/typeddwarf.c: New file.
764 * gdb.dwarf2/typeddwarf.exp: New file.
765
7662011-05-12 Marek Polacek <mpolacek@redhat.com>
767
768 * gdb.mi/mi-basics.exp: Fix races. Honour the
769 `test_exec_and_symbol_mi_operatons' return value.
770 (test_mi_interpreter_selection): Use mi_gdb_test instead of
771 gdb_test_multiple.
772 (test_exec_and_symbol_mi_operatons): Likewise.
773 (test_path_specification): Likewise.
774
7752011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
778 (gdb_touch_execfile): Remove catch wrappers. New variable time.
779 Replace `file copy' and `file rename' by `file mtime'. Twice.
780
7812011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
782
783 * gdb.base/readline-ask.c: New file.
784 * gdb.base/readline-ask.exp: New file.
785 * gdb.base/readline-ask.inputrc: New file.
786
7872011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
788
789 * gdb.cell/bt.exp: Delete breakpoints before running to signal
790 to avoid race condition.
791 * gdb.cell/coremaker.c: Use small stack size.
792 * gdb.cell/ea-standalone.exp: Use file name without path as
793 argument to c_to.
794 * gdb.cell/fork.exp: Allow other output when continuing to end.
795
7962011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
797
798 * gdb.threads/corethreads.c: New file.
799 * gdb.threads/corethreads.exp: New file.
800
8012011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
802
803 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
804 Try to compile the test using -Wl,-z,norelro first.
805 (load_core): New variable libthread_db_seen, initialize it.
806 (zeroed-threads cannot be listed): Protect it by XFAIL on
807 !$libthread_db_seen.
808
8092011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
810
811 PR 12573
812 * gdb.dwarf2/dw2-skip-prologue.S: New file.
813 * gdb.dwarf2/dw2-skip-prologue.c: New file.
814 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
815
8162011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
817
818 * gdb.cp/psymtab-parameter.cc: New file.
819 * gdb.cp/psymtab-parameter.exp: New file.
820
8212011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
822
823 Fix a race.
824 * gdb.cp/static-print-quit.exp (print c): Split to ...
825 (print c - <return>, print c - q <return>, print c - to quit):
826 ... these. Make the testfile untested on gdb-7.1.
827
8282011-5-05 Janis Johnson <janisjo@codesourcery.com>
829
830 * lib/gdb.exp (exec_target_file, exec_symbol_file,
831 gdb_rename_execfile, gdb_touch_execfile): New.
832 * gdb.base/reread.exp: Use new procs to handle multiple
833 exec files.
834
8352011-05-05 Yao Qi <yao@codesourcery.com>
836
837 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
838 (test_adr_32bit, test_pop_pc): New.
839 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
840 (test_adr_32bit, test_pop_pc): New.
841
8422011-05-04 Joseph Myers <joseph@codesourcery.com>
843
844 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
845 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
846 targets.
847 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
848 handle targets.
849
8502011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 * gdb.base/completion.exp (complete help info wat): Rename to ...
853 (complete 'help info wat'): ... here.
854 Remove all `-re ".*' and `-re "^.*' redundant regexes.
855 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
856
8572011-05-04 Pedro Alves <pedro@codesourcery.com>
858
859 * gdb.base/completion.exp: Use gdb_test_multiple instead of
860 gdb_test and explicit $gdb_prompt/timeout matches.
861
8622011-05-04 Yao Qi <yao@codesourcery.com>
863
864 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
865 and __thumb2__.
866
8672011-05-03 Marek Polacek <mpolacek@redhat.com>
868
869 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
870 in place of `gdb_test "delete breakpoints"'. This eliminates two
871 testcases.
872
8732011-05-02 Pedro Alves <pedro@codesourcery.com>
874
875 PR testsuite/12649
876 Fix races.
877
878 * gdb.base/completion.exp: Remove all sleep calls. Remove
879 unnecessary regexs. Don't explicitly expect anything after the
880 prompt. Eat the prompt if necessary.
881
8822011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
883
884 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
885 accept to show the caller line again as well as the line after.
886
8872011-04-29 Phil Muldoon <pmuldoon@redhat.com>
888
889 PR mi/12531
890
891 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
892 compile target.
893 * gdb.python/py-prettyprint.exp: Add C++ object for
894 CPLUS_FAKE_CHILD test.
895
8962011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
897
898 * gdb.base/signest.exp: New file.
899 * gdb.base/signest.c: Likewise.
900
9012011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
904 thread and breakpoint notifications.
905
9062011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
907
908 * gdb.base/fortran-sym-case.c: New file.
909 * gdb.base/fortran-sym-case.exp: New file.
910 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
911 * gdb.dwarf2/dw2-case-insensitive.c: New file.
912 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
913
9142011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
917 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
918 false #1', `if true else false #2' and `if true else false #3'.
919
9202011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
921
922 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
923 while delivering signal.
924
9252011-04-27 Vladimir Prus <vladimir@codesourcery.com>
926
927 MI breakpoint notifications.
928
929 * testsuite/gdb.mi/mi-cli.exp: Adust.
930 * testsuite/gdb.mi/mi2-cli.exp: Adust.
931 * testsuite/gdb.mi/mi-watch.exp: Adust.
932 * testsuite/gdb.mi/mi2-watch.exp: Adust.
933 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
934 notifications.
935
9362011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * gdb.base/gdbindex-stabs-dwarf.c: New file.
939 * gdb.base/gdbindex-stabs.c: New file.
940 * gdb.base/gdbindex-stabs.exp: New file.
941
9422011-04-25 Yao Qi <yao@codesourcery.com>
943
944 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
945 with /*...*/.
946 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
947
9482011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
949
950 * gdb.python/py-value.exp (test_objfiles): Name the first test
951 `py-value in file.filename'.
952
9532011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
956 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
957 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
958 !gdbserver_reconnect_p..
959 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
960
9612011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 * gdb.cp/cpcompletion.exp (complete class methods)
964 (complete class methods beginning with F): Move them above runto. New
965 comment about the runto delimiter.
966
9672011-04-20 Pedro Alves <pedro@codesourcery.com>
968
969 * gdb.base/maint.exp: Test that "maint print registers" works
970 without a running program.
971
9722011-04-20 Marek Polacek <mpolacek@redhat.com>
973
974 * gdb.base/setshow.exp: Fix racy tests.
975 ($old_gdb_prompt): New variable.
976
9772011-04-19 Tom Tromey <tromey@redhat.com>
978
979 * gdb.mi/mi-nsmoribund.exp:
980 * gdb.hp/gdb.objdbg/objdbg01.exp:
981 * gdb.base/structs.exp (test_struct_returns):
982 * gdb.base/call-sc.exp (test_scalar_returns):
983 * gdb.base/bigcore.exp: Remove duplicate words.
984
9852011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
986
987 * gdb.base/break-interp-lib.c (v, vptr): New variables.
988 * gdb.base/break-interp.exp (test_attach): New comment.
989
9902011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
991
992 * gdb.threads/gcore-thread.exp ($core0file): New variable.
993 (clear __stack_user.next, clear stack_used.next)
994 (save a zeroed-threads corefile): New test.
995 Call core_load for $core0file.
996 (zeroed-threads cannot be listed): New test.
997
9982011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
999
1000 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1001 filename.
1002 ($srcfile): Preserve the original value.
1003 ($testfile): Match it the .exp filename.
1004 ($corefile): New variable. Substitute it around.
1005 Use clean_restart.
1006 ($prev_timeout): Remove.
1007 (load_core): Move core loading into this proc.
1008 Fix restore of $timeout if load_core fails.
1009
10102011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 * gdb.base/eu-strip-infcall.c: New file.
1013 * gdb.base/eu-strip-infcall.exp: New file.
1014
10152011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1018 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1019
10202011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1021
1022 Fix Python access to inlined frames.
1023 * gdb.python/py-frame-inline.c: New file.
1024 * gdb.python/py-frame-inline.exp: New file.
1025
10262011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1027
1028 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1029 content of 's24' correctly (avoiding "optimized out").
1030 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1031
10322011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1035
10362011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1037
1038 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1039 expect a colon in watch -location output.
1040
10412011-04-13 Marek Polacek <mpolacek@redhat.com>
1042
1043 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
1044 New testcase `expect response to define backtrace'. Also remove
1045 redundant `default' block.
1046
10472011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 * gdb.python/py-prettyprint.c (struct hint_error): New.
1050 (main): New variable hint_error.
1051 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1052 "print hint_error".
1053 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1054 (register_pretty_printers): Register it.
1055
10562011-04-04 Tom Tromey <tromey@redhat.com>
1057
1058 * gdb.cp/maint.exp (test_help): Update.
1059 (test_namespace): Likewise.
1060
10612011-04-01 Joel Brobecker <brobecker@adacore.com>
1062
1063 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1064 * gdb.ada/arrayptr.exp: Add new tests.
1065
10662011-04-01 Joel Brobecker <brobecker@adacore.com>
1067
1068 * gdb.ada/mi_catch_ex: New testcase.
1069
10702011-04-01 Pedro Alves <pedro@codesourcery.com>
1071
1072 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1073 base::overload(void) method without specifying "const".
1074
10752011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1076
1077 * gdb.arch/thumb-singlestep.S: New file.
1078 * gdb.arch/thumb-singlestep.exp: Likewise.
1079
10802011-03-31 Tom Tromey <tromey@redhat.com>
1081
1082 * gdb.python/py-prettyprint.py (exception_flag): New global.
1083 (NoStringContainerPrinter._iterator.next): Check it.
1084 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1085 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1086
10872011-03-29 Tom Tromey <tromey@redhat.com>
1088
1089 * gdb.cp/anon-struct.cc: New file.
1090 * gdb.cp/anon-struct.exp: New file.
1091
10922011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 Test STT_GNU_IFUNC support.
1095 * gdb.base/gnu-ifunc-lib.c: New file.
1096 * gdb.base/gnu-ifunc.c: New file.
1097 * gdb.base/gnu-ifunc.exp: New file.
1098
10992011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 Support a ring of related breakpoints.
1102 * gdb.base/watchpoint-delete.c: New file.
1103 * gdb.base/watchpoint-delete.exp: New file.
1104
11052011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1106
1107 * gdb.ada/arrayparam.exp (print first after function call): Use
1108 explicit package name. Add a comment
1109 (print lasta after function call): Rename ...
1110 (print last after function call): ... it and use explicit package
1111 name.
1112 (print length after function call): Use explicit package name.
1113 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1114 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1115 (multiple matches for symbol i): Rename ...
1116 (multiple matches for symbol integervar): ... it.
1117 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1118 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1119
11202011-03-25 Andrew Burgess <aburgess@broadcom.com>
1121
1122 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1123 environment variable to make grep output more predictable. Move
1124 all the environment setup into gdb_init so it's done once per test
1125 case rather than each time we start gdb.
1126
11272011-03-24 Tom Tromey <tromey@redhat.com>
1128
1129 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1130 test.
1131
11322011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1135 * gdb.dwarf2/dw2-entry-value.S: New file.
1136 * gdb.dwarf2/dw2-entry-value.exp: New file.
1137
11382011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1139
1140 PR python/12183
1141
1142 * gdb.python/py-function.exp: Add GdbError tests.
1143
11442011-03-18 Pedro Alves <pedro@codesourcery.com>
1145
1146 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1147 (reglocal_test_func, statlocal_test_func): New functions.
1148 (globals_test_func): Call new functions.
1149 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1150 (gdb_collect_locals_test): New procedure.
1151 (gdb_trace_collection_test): Call new procedures.
1152
11532011-03-18 Pedro Alves <pedro@codesourcery.com>
1154
1155 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1156 (test_register, test_register_unavailable): New procedures.
1157 (gdb_unavailable_registers_test): New procedure.
1158 (gdb_trace_collection_test): Call it.
1159
11602011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1161
1162 PR python/12149
1163
1164 * gdb.python/python.exp: Add gdb.write tests.
1165
11662010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1167
1168 * gdb.python/Makefile.in: Add py-objfile.
1169 * gdb.python/py-objfile.exp: New file.
1170 * gdb.python/py-objfile.c: New file.
1171 * gdb.python/py-block.exp: Add is_valid tests.
1172 * gdb.python/py-inferior.exp: Ditto.
1173 * gdb.python/py-infthread.exp: Ditto.
1174 * gdb.python/py-symbol.exp: Ditto.
1175 * gdb.python/py-symtab.exp: Ditto.
1176
11772011-03-16 Keith Seitz <keiths@redhat.com>
1178
1179 PR c++/12273
1180 * gdb.cp/cmpd-minsyms.exp: New test.
1181 * gdb.cp/cmpd-minsyms.cc: New file.
1182
1183 PR c++/11734
1184 * gdb.cp/ovsrch.exp: New test.
1185 * gdb.cp/ovsrch.h: New file.
1186 * gdb.cp/ovsrch1.cc: New file.
1187 * gdb.cp/ovsrch2.cc: New file.
1188 * gdb.cp/ovsrch3.cc: New file.
1189 * gdb.cp/ovsrch4.cc: New file.
1190
11912011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1192
1193 PR gdb/12528
1194 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1195 * gdb.base/break-on-linker-gcd-function.exp: New test.
1196 * gdb.base/break-on-linker-gcd-function.cc: New file.
1197
11982011-03-15 Andreas Tobler <andreast@fgznet.ch>
1199
1200 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1201
12022011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1203
1204 * lib/gdb.exp (gdb_unload): Add another termination case.
1205
12062011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1207
1208 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1209 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1210 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1211 Provide a stub byte there.
1212 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1213 DW_AT_entry_pc.
1214 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1215
12162011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1217
1218 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1219 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1220 "generic ABI, auto".
1221 (altivec_abi_tests): Accept vectors returned by reference.
1222
12232010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1224
1225 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1226
12272011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1228
1229 * gdb.python/py-section-script.exp: Skip test if no Python support.
1230
12312011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1232
1233 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1234
12352011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1236
1237 * gdb.python/py-parameter.exp: Update tests to the new Python
1238 parameter API. Add "no documentation" test. Add deprecated API
1239 backward compatibility test.
1240
12412011-03-09 Tom Tromey <tromey@redhat.com>
1242
1243 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1244 gdb_continue_to_end.
1245
12462011-03-09 Mark Kettenis <kettenis@gnu.org>
1247
1248 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1249 tabs.
1250
12512011-03-09 Tom Tromey <tromey@redhat.com>
1252
1253 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1254 parentheses.
1255 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1256 $command.
1257 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1258 argument to gdb_continue_to_end.
1259 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1260 argument to gdb_continue_to_end.
1261 * gdb.cp/annota3.exp: Fix regex.
1262 * gdb.cp/annota2.exp: Fix regex.
1263 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1264 gdb_continue_to_end.
1265 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1266 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1267 gdb_continue_to_end.
1268
12692011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 * gdb.server/ext-run.exp
1272 (load new file without any gdbserver inferior): New test.
1273
12742011-03-07 Tom Tromey <tromey@redhat.com>
1275
1276 * Makefile.in (TAGS): Rewrite.
1277
12782011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1279
1280 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1281 initial commands echo. New match for `Found trace'. Anchor all the
1282 other matches. Anchor and match for `No trace frame found' the final
1283 match.
1284
12852011-03-07 Tom Tromey <tromey@redhat.com>
1286
1287 * Makefile.in (TAGS): New target.
1288
12892011-03-07 Tom Tromey <tromey@redhat.com>
1290
1291 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1292 change.
1293 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1294 change.
1295 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1296 exit message change.
1297 (skip_altivec_tests): Update for exit message change.
1298 (skip_vsx_tests): Likewise.
1299 (gdb_continue_to_end): Likewise. Add 'command' argument.
1300 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1301 * gdb.threads/tls.exp: Update for exit message change.
1302 * gdb.threads/thread-unwindonsignal.exp: Use
1303 gdb_continue_to_end.
1304 * gdb.threads/step.exp (step_it): Update for exit message change.
1305 (continue_all): Likewise.
1306 * gdb.threads/print-threads.exp (test_all_threads): Update for
1307 exit message change.
1308 * gdb.threads/interrupted-hand-call.exp: Use
1309 gdb_continue_to_end.
1310 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1311 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1312 gdb_continue_to_end.
1313 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1314 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1315 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1316 * gdb.cp/method.exp: Update for exit message change.
1317 * gdb.cp/mb-templates.exp: Update for exit message change.
1318 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1319 * gdb.cp/annota3.exp: Update for exit message change.
1320 * gdb.cp/annota2.exp: Update for exit message change.
1321 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1322 * gdb.base/term.exp: Update for exit message change.
1323 * gdb.base/step-test.exp (test_i): Update for exit message change.
1324 * gdb.base/sigstep.exp (advance): Update for exit message change.
1325 (advancei): Likewise.
1326 * gdb.base/siginfo.exp: Update for exit message change.
1327 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1328 * gdb.base/reread.exp: Use gdb_continue_to_end.
1329 * gdb.base/langs.exp: Use gdb_continue_to_end.
1330 * gdb.base/interrupt.exp: Update for exit message change.
1331 * gdb.base/gdb1555.exp: Update for exit message change.
1332 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1333 * gdb.base/ending-run.exp: Update for exit message change.
1334 * gdb.base/chng-syms.exp: Update for exit message change.
1335 * gdb.base/checkpoint.exp: Update for exit message change.
1336 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1337 gdb_continue_to_end.
1338 (test_catch_syscall_with_wrong_args): Likewise.
1339 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1340 * gdb.base/break-interp.exp (test_ld): Update for exit message
1341 change.
1342 * gdb.base/bang.exp: Update for exit message change.
1343 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1344 (do_call_attach_tests): Likewise.
1345 * gdb.base/a2-run.exp: Update for exit message change.
1346 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1347 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1348 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1349
13502011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1351
1352 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1353
13542011-03-03 Tom Tromey <tromey@redhat.com>
1355
1356 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1357 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1358 * gdb.hp/gdb.aCC/configure.ac: Remove.
1359 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1360 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1361 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1362 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1363 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1364 * gdb.hp/gdb.compat/configure.ac: Remove.
1365 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1366 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1367 * gdb.hp/gdb.defects/configure.ac: Remove.
1368 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1369 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1370 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1371 * gdb.hp/configure.ac: Remove.
1372 * gdb.hp/configure: Remove.
1373 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1374 substitution.
1375 (Makefile): Remove rule.
1376 * gdb.cell/configure.ac: Remove.
1377 * gdb.cell/configure: Remove.
1378 * gdb.stabs/Makefile.in (Makefile): Remove.
1379 (distclean): Don't remove config.status or config.log.
1380 * gdb.stabs/configure (Makefile): Remove.
1381 * gdb.stabs/configure.ac: Remove.
1382 * configure: Rebuild.
1383 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1384 Remove stabs- and cell-specific logic. Test for existence of
1385 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1386 subdirectories, gdb.cell, and and gdb.stabs.
1387 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1388
13892011-03-03 Joel Brobecker <brobecker@adacore.com>
1390
1391 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1392 end of buffer.
1393
13942011-03-02 Joel Brobecker <brobecker@adacore.com>
1395
1396 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1397 gdb_test when running a test where we expected no output back.
1398
13992011-02-28 Michael Snyder <msnyder@vmware.com>
1400
1401 * gdb.cp/overload.cc: Change initializer value to integer.
1402
14032011-02-27 Michael Snyder <msnyder@vmware.com>
1404
1405 * gdb.multi/base.exp: Add test for remove-inferiors.
1406
14072011-02-26 Joel Brobecker <brobecker@adacore.com>
1408
1409 * gdb.python/py-frame.exp: Simplify the initialization phase
1410 using prepare_for_testing.
1411
14122011-02-25 Michael Snyder <msnyder@vmware.com>
1413
1414 * gdb.multi/base.exp: Add tests for info inferiors with args.
1415
14162011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1417
1418 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1419 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1420 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1421 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1422 asmfile3. Comment the STABS (#3) file compilation. Compile
1423 everything through assembler. Provide KFAIL for symtab/12497.
1424 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1425 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1426 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1427 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1428
14292011-02-24 Michael Snyder <msnyder@vmware.com>
1430
1431 * gdb.base/break.exp: Add tests for delete breakpoints using
1432 convenience variables and value history references.
1433
14342011-02-24 Michael Snyder <msnyder@vmware.com>
1435
1436 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1437 left behind in previous check-in.
1438
14392011-02-23 Michael Snyder <msnyder@vmware.com>
1440
1441 * gdb.base/break.exp: Add tests for "info break" with arguments.
1442 * gdb.trace/infotrace.exp: Update patterns for error and help.
1443 * gdb.base/completion.exp: Update pattern.
1444 * gdb.base/ena-dis-br.exp: Update pattern.
1445 * gdb.base/help.exp: Update patterns.
1446
14472011-02-23 Michael Snyder <msnyder@vmware.com>
1448
1449 * gdb.base/memattr.exp: New test.
1450 * gdb.base/memattr.c: Test load for memattr.exp.
1451
14522011-02-22 Doug Evans <dje@google.com>
1453
1454 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1455
14562011-02-22 Michael Snyder <msnyder@vmware.com>
1457
1458 * Makefile.in: Make more clean.
1459 * gdb.ada/Makefile.in: Ditto.
1460 * gdb.arch/Makefile.in: Ditto.
1461 * gdb.asm/Makefile.in: Ditto.
1462 * gdb.base/Makefile.in: Ditto.
1463 * gdb.cp/Makefile.in: Ditto.
1464 * gdb.dwarf2/Makefile.in: Ditto.
1465 * gdb.java/Makefile.in: Ditto.
1466 * gdb.mi/Makefile.in: Ditto.
1467 * gdb.modula2/Makefile.in: Ditto.
1468 * gdb.python/Makefile.in: Ditto.
1469 * gdb.server/Makefile.in: Ditto.
1470 * gdb.stabs/Makefile.in: Ditto.
1471 * gdb.threads/Makefile.in: Ditto.
1472 * gdb.trace/Makefile.in: Ditto.
1473
14742011-02-22 Michael Snyder <msnyder@vmware.com>
1475
1476 * gdb.threads/thread-find.exp: Add tests for bad input to
1477 info threads.
1478
14792011-02-22 Joel Brobecker <brobecker@adacore.com>
1480
1481 * gdb.python/py-breakpoint.exp: Fix the expected output of
1482 one of the "maint info breakpoints" tests to accept the output
1483 generated on platforms that do not have hardware watchpoints.
1484
14852011-02-22 Joel Brobecker <brobecker@adacore.com>
1486
1487 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1488 clean_restart. Be a little stricter in the expected output
1489 for one of the tests. Fix a typo in one of the comments.
1490
14912011-02-22 Joel Brobecker <brobecker@adacore.com>
1492
1493 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1494 Delete variable binfile, no longer use. Add or modify test
1495 comments to make them unique.
1496
14972011-02-21 Michael Snyder <msnyder@vmware.com>
1498
1499 * Makefile.in: Update for make clean.
1500 * gdb.ada/Makefile.in: Ditto.
1501 * gdb.arch/Makefile.in: Ditto.
1502 * gdb.asm/Makefile.in: Ditto.
1503 * gdb.base/Makefile.in: Ditto.
1504 * gdb.cp/Makefile.in: Ditto.
1505 * gdb.dwarf2/Makefile.in: Ditto.
1506 * gdb.java/Makefile.in: Ditto.
1507 * gdb.mi/Makefile.in: Ditto.
1508 * gdb.modula2/Makefile.in: Ditto.
1509 * gdb.python/Makefile.in: Ditto.
1510 * gdb.server/Makefile.in: Ditto.
1511 * gdb.stabs/Makefile.in: Ditto.
1512 * gdb.threads/Makefile.in: Ditto.
1513 * gdb.trace/Makefile.in: Ditto.
1514
15152011-02-21 Michael Snyder <msnyder@vmware.com>
1516
1517 * gdb.threads/thread-find.exp: Update patterns for changes in
1518 output of "info threads" command.
1519
15202011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1521 Ulrich Weigand <uweigand@de.ibm.com>
1522
1523 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1524 (skip_hw_watchpoint_tests): Likewise.
1525 (skip_hw_watchpoint_multi_tests): Likewise.
1526
15272011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1528
1529 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1530 (skip_hw_watchpoint_tests): Likewise.
1531 (skip_hw_watchpoint_multi_tests): Likewise.
1532 (skip_hw_watchpoint_access_tests): Likewise.
1533
1534 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1535 * gdb.base/pr11022.exp: Likewise.
1536 * gdb.base/watch-read.exp: Likewise.
1537 * gdb.base/watch_thread_num.exp: Likewise.
1538 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1539 * gdb.base/watchpoint-hw.exp: Likewise.
1540 * gdb.base/watchpoint.exp: Likewise.
1541 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1542 * gdb.threads/watchthreads-reorder.exp: Likewise.
1543 * gdb.threads/watchthreads.exp: Likewise.
1544 * gdb.threads/watchthreads2.exp: Likewise.
1545
15462011-02-21 Joel Brobecker <brobecker@adacore.com>
1547
1548 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1549 the debugger is unable to find the array bounds.
1550
15512011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1552
1553 * gdb.cp/typedef-operator.exp: New file.
1554 * gdb.cp/typedef-operator.cc: New file.
1555
15562011-02-17 Michael Snyder <msnyder@vmware.com>
1557
1558 * gdb.threads/thread-find.exp: Fix regular expressions.
1559
15602011-02-17 Joel Brobecker <brobecker@adacore.com>
1561
1562 * gdb.ada/packed_array: Expand testcase to test printing of
1563 unconstrained packed array.
1564
15652011-02-17 Joel Brobecker <brobecker@adacore.com>
1566
1567 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1568
15692011-02-16 Pedro Alves <pedro@codesourcery.com>
1570
1571 * gdb.trace/collection.c (globalarr3): New global.
1572 (main): Initialize it before collecting, and and clear it
1573 afterwards.
1574 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1575 collecting with '{type} addr', where the addr expression is not an
1576 rvalue.
1577
15782011-02-16 Ken Werner <ken.werner@de.ibm.com>
1579
1580 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1581 a bool variable. Expect correct OpenCL names for vector types. Use the
1582 uc3 variable name instead of referring to the uchar3 built-in type.
1583 Escape the asterisk at the half pointer test.
1584
15852011-02-16 Pedro Alves <pedro@codesourcery.com>
1586
1587 * gdb.trace/collection.c (globalarr2): New global.
1588 (main): Initialize it before collecting, and and clear it
1589 afterwards.
1590 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1591 collecting overlapping memory ranges.
1592
15932011-02-15 Michael Snyder <msnyder@vmware.com>
1594
1595 * gdb.base/default.exp: Add tests for thread commands.
1596 * gdb.base/help.exp: Add tests for thread commands.
1597 * gdb.threads/thread-find.exp: New test for thread find command.
1598
15992011-02-15 Ken Werner <ken.werner@de.ibm.com>
1600
1601 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1602
16032011-02-15 Yao Qi <yao@codesourcery.com>
1604
1605 PR tdep/12352
1606 * gdb.arch/arm-disp-step.S : New test for str instruction.
1607 * gdb.arch/arm-disp-step.exp : Likewise.
1608
16092011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1610
1611 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1612 "vector_register2_vr" test strings. Test the extended floating
1613 point registers (F32~F63).
1614 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1615 IBM XL C compiler. Make the test program use a register provided
1616 by the compiler for the lxvd2x instruction.
1617
16182011-02-14 Pedro Alves <pedro@codesourcery.com>
1619
1620 * gdb.trace/unavailable.cc (class Base, class Middle, class
1621 Derived): New types.
1622 (derived_unavail, derived_partial, derived_whole): New globals.
1623 (virtual_partial): New global.
1624 (virtualp): Point at virtual_partial.
1625 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1626 related to unavailable vptr.
1627
16282011-02-14 Pedro Alves <pedro@codesourcery.com>
1629
1630 * gdb.trace/unavailable.cc (a, b, c): New globals.
1631 (main): Set and clear them.
1632 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1633 `a' and `c', and check that `b' isn't collected, although `a' and
1634 `c' are.
1635
16362011-02-14 Pedro Alves <pedro@codesourcery.com>
1637
1638 * gdb.trace/unavailable.cc (struct Virtual): New.
1639 (virtualp): New global pointer.
1640 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1641 printing a pointer to an object whose type has a vtable, with
1642 print object on.
1643
16442011-02-14 Pedro Alves <pedro@codesourcery.com>
1645
1646 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1647 value repeat handles unavailableness.
1648
16492011-02-14 Pedro Alves <pedro@codesourcery.com>
1650
1651 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1652 tests for building arrays from unavailable values, subscripting
1653 non-memory rvalue unvailable arrays, and accessing fields or
1654 baseclasses of non-lazy unavailable values,
1655 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1656 struct types.
1657 (g_smallstruct, g_smallstruct_b): New globals.
1658
16592011-02-14 Pedro Alves <pedro@codesourcery.com>
1660
1661 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1662
16632011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1666 * gdb.cp/overload-const.exp: New file.
1667 * gdb.cp/overload-const.cc: New file.
1668
16692011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1670
1671 * gdb.opencl/callfuncs.cl: New file.
1672 * gdb.opencl/callfuncs.exp: New test.
1673 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1674
16752011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1676
1677 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1678 when computing result.
1679 * gdb.arch/altivec-abi.exp: Update expected results.
1680
16812011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1682
1683 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1684 * gdb.base/jit.exp: Likewise.
1685 * gdb.base/pie-execl.exp: Likewise.
1686 * gdb.base/solib-nodir.exp: Likewise.
1687 * gdb.base/solib-overlap.exp: Likewise.
1688
16892011-02-07 Pedro Alves <pedro@codesourcery.com>
1690
1691 * gdb.trace/collection.c (global_pieces): New.
1692 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1693 New procedure.
1694 (gdb_trace_collection_test): Call it.
1695
16962011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1697
1698 * gdb.python/py-evthreads.c: New file.
1699 * gdb.python/py-evthreads.exp: New file.
1700 * gdb.python/py-events.py: New file.
1701 * gdb.python/py-events.exp: New file.
1702 * gdb.python/py-events.c: New file.
1703
17042011-02-04 David Daney <ddaney@caviumnetworks.com>
1705
1706 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1707
17082011-02-03 Andrew Burgess <aburgess@broadcom.com>
1709
1710 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1711 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1712 boundary between two compilation units.
1713
17142011-02-02 Pedro Alves <pedro@codesourcery.com>
1715
1716 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1717 (Virtual): New structs.
1718 (virtual_o, virtual_middle_b): New globals.
1719 * gdb.cp/virtbase.exp: New tests.
1720
17212011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1722
1723 * gdb.base/jit.exp: New file.
1724 * gdb.base/jit-main.c: New file.
1725 * gdb.base/jit-solib.c: New file.
1726
17272011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1728
1729 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1730 proceed to initial kernel entry point.
1731 * gdb.opencl/datatypes.exp: Likewise.
1732 * gdb.opencl/operators.exp: Likewise.
1733 * gdb.opencl/vec_comps.exp: Likewise.
1734
17352011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1736
1737 * gdb.cp/nsnested.cc: New.
1738 * gdb.cp/nsnested.exp: New.
1739 * gdb.cp/nsnoimports.exp: New.
1740 * gdb.cp/nsnoimports.cc: New.
1741
17422011-01-31 Joel Brobecker <brobecker@adacore.com>
1743
1744 * gdb.base/interact.exp: Add extra tests that verify that
1745 the value of the interactive-mode setting does not change
1746 after the script is sourced.
1747
17482011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1749
1750 * gdb.cp/noparam.exp: New file.
1751 * gdb.cp/noparam.cc: New file.
1752
17532011-01-28 Pedro Alves <pedro@codesourcery.com>
1754
1755 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1756 there's no stack or registers.
1757
17582011-01-26 Tom Tromey <tromey@redhat.com>
1759
1760 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1761 space before string output. Add test for "set print pretty off"
1762 case.
1763
17642011-01-25 Pedro Alves <pedro@codesourcery.com>
1765
1766 * gdb.base/frame-args.exp: Adjust.
1767 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1768 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1769 * gdb.dwarf2/pieces.exp: Adjust.
1770 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1771 * gdb.opt/inline-locals.exp: Adjust.
1772 * gdb.threads/fork-child-threads.exp: Adjust.
1773
17742011-01-25 Ken Werner <ken.werner@de.ibm.com>
1775
1776 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1777 OpenCL kernel function. Add a comment as marker. Add address space
1778 qualifiers for the remaining program scope variables.
1779 * gdb.opencl/datatypes.cl: Likewise.
1780 * gdb.opencl/operators.cl: Likewise.
1781 * gdb.opencl/vec_comps.cl: Likewise.
1782 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1783 Add breakpoint at the marker comment.
1784 * gdb.opencl/datatypes.exp: Likewise.
1785 * gdb.opencl/operators.exp: Likewise.
1786 * gdb.opencl/vec_comps.exp: Likewise.
1787
17882011-01-24 Pedro Alves <pedro@codesourcery.com>
1789
1790 * gdb.base/printcmds.c (some_struct): New struct and instance.
1791 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1792 procedure.
1793 <global scope>: Call it.
1794
17952011-01-21 Ken Werner <ken.werner@de.ibm.com>
1796
1797 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1798 argument to the gdb_compile_opencl_hostapp call.
1799
18002011-01-19 Yao Qi <yao@codesourcery.com>
1801
1802 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1803 positve list.
1804
18052011-01-19 Yao Qi <yao@codesourcery.com>
1806
1807 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1808 canonical form.
1809 Remove "xscale-*-*"
1810 * gdb.xml/tdesc-regs.exp: Likewise.
1811 * gdb.python/py-section-script.exp: Replace ARM target triplet
1812 with canonical form.
1813 Match arm*-*-symbianelf*.
1814 * gdb.base/dup-sect.exp: Likewise.
1815 * lib/dwarf.exp: New.
1816 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1817 dwarf2_support.
1818 * gdb.dwarf2/dup-psym.exp: Likewise.
1819 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1820 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1821 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1822 * gdb.dwarf2/dw2-basic.exp: Likewise.
1823 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1824 * gdb.dwarf2/dw2-const.exp: Likewise.
1825 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1826 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1827 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1828 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1829 * gdb.dwarf2/dw2-filename.exp: Likewise.
1830 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1831 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1832 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1833 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1834 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1835 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1836 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1837 * gdb.dwarf2/dw2-producer.exp: Likewise.
1838 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1839 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1840 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1841 * gdb.dwarf2/dw2-strp.exp: Likewise.
1842 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1843 * gdb.dwarf2/implptr.exp: Likewise.
1844 * gdb.dwarf2/mac-fileno.exp: Likewise.
1845 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1846 * gdb.dwarf2/pieces.exp: Likewise.
1847 * gdb.dwarf2/pr11465.exp: Likewise.
1848 * gdb.dwarf2/valop.exp: Likewise.
1849 * gdb.dwarf2/watch-notconst.exp: Likewise.
1850 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1851
18522011-01-19 Tom Tromey <tromey@redhat.com>
1853
1854 * gdb.python/py-infthread.exp: Add thread tests.
1855
18562011-01-14 Joel Brobecker <brobecker@adacore.com>
1857
1858 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1859
18602011-01-14 Joel Brobecker <brobecker@adacore.com>
1861
1862 * gdb.ada/widewide: New testcase.
1863
18642011-01-13 Joel Brobecker <brobecker@adacore.com>
1865
1866 * gdb.base/interact.exp: New testcase.
1867
18682011-01-12 Tom Tromey <tromey@redhat.com>
1869
1870 * gdb.mi/gdb2549.exp: Update for error message changes.
1871 * gdb.mi/mi-cli.exp: Likewise.
1872 * gdb.mi/mi-disassemble.exp: Likewise.
1873 * gdb.mi/mi-pthreads.exp: Likewise.
1874 * gdb.mi/mi-regs.exp: Likewise.
1875 * gdb.mi/mi-stack.exp: Likewise.
1876 * gdb.mi/mi-var-block.exp: Likewise.
1877 * gdb.mi/mi-var-cmd.exp: Likewise.
1878 * gdb.mi/mi2-cli.exp: Likewise.
1879 * gdb.mi/mi2-disassemble.exp: Likewise.
1880 * gdb.mi/mi2-pthreads.exp: Likewise.
1881 * gdb.mi/mi2-regs.exp: Likewise.
1882 * gdb.mi/mi2-stack.exp: Likewise.
1883 * gdb.mi/mi2-var-block.exp: Likewise.
1884 * gdb.mi/mi2-var-cmd.exp: Likewise.
1885
18862011-01-12 Andrew Burgess <aburgess@broadcom.com>
1887 Jan Kratochvil <jan.kratochvil@redhat.com>
1888
1889 PR fortran/11104 and DWARF unbound arrays detection.
1890 * gdb.fortran/multi-dim.exp: New file.
1891 * gdb.fortran/multi-dim.f90: New file.
1892
18932011-01-12 Andrew Burgess <aburgess@broadcom.com>
1894
1895 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1896 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1897 add new tests for opcode dumping.
1898
18992011-01-11 Tom Tromey <tromey@redhat.com>
1900
1901 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1902
19032010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1904
1905 Convert hardware watchpoints to use breakpoint_ops.
1906 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1907 type is not supported.
1908 * gdb.base/foll-fork.exp: Likewise.
1909 * gdb.base/foll-vfork.exp: Likewise.
1910
19112011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1912
1913 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1914 Use load_lib gdb-python.exp.
1915 * gdb.python/python.exp: Ditto.
1916 * gdb.python/py-function.exp: Ditto.
1917
19182011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1919
1920 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1921
19222011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1923
1924 * configure: Regenerate.
1925
19262011-01-06 Tom Tromey <tromey@redhat.com>
1927
1928 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1929
19302011-01-06 Joel Brobecker <brobecker@adacore.com>
1931
1932 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1933 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1934 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1935 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1936 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1937 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1938 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1939 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1940 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1941 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1942 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1943 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1944 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1945 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1946 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1947 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1948 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1949 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1950 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1951 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1952 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1953 gdb.ada/uninitialized_vars.exp,
1954 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1955 Simplify by using clean_restart.
1956
19572011-01-06 Joel Brobecker <brobecker@adacore.com>
1958
1959 Add marker to be used as anchor for inserting breakpoints.
1960 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1961 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1962 Likewise.
1963
1964 Remove uses of gdb_start_cmd.
1965 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1966 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1967
1968 Do not run testcase if testing with GDBserver.
1969 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1970 if testing with GDBserver.
1971
19722011-01-06 Joel Brobecker <brobecker@adacore.com>
1973
1974 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1975 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1976 copyright header.
1977
19782011-01-05 Joel Brobecker <brobecker@adacore.com>
1979
1980 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1981 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1982 testsuite/gdb.fortran/complex.f,
1983 testsuite/gdb.fortran/derived-type.f90,
1984 testsuite/gdb.fortran/library-module-lib.f90,
1985 testsuite/gdb.fortran/library-module-main.f90,
1986 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1987 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1988 Copyright year update.
1989
19902011-01-05 Joel Brobecker <brobecker@adacore.com>
1991
1992 * gdb.base/langs1.f: Add copyright header.
1993
19942011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1995
1996 * gdb.base/morestack.exp: New file.
1997 * gdb.base/morestack.c: New file.
1998
19992011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2000
2001 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2002
20032010-12-29 Joel Brobecker <brobecker@adacore.com>
2004
2005 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2006 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2007
20082010-12-29 Joel Brobecker <brobecker@adacore.com>
2009
2010 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2011
20122010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2013
2014 * gdb.threads/tls.exp: Fix typo.
2015
2016 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2017 * gdb.threads/execl.exp: Update.
2018
20192010-12-23 Yao Qi <yao@codesourcery.com>
2020
2021 * gdb.arch/arm-disp-step.exp: New.
2022 * gdb.arch/arm-disp-step.S: New.
2023
20242010-12-21 Tom Tromey <tromey@redhat.com>
2025
2026 * gdb.threads/execl.exp: Update.
2027 * gdb.threads/linux-dp.exp: Update.
2028 * gdb.threads/manythreads.exp: Update.
2029 * gdb.threads/tls.exp: Update.
2030
20312010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2034 (NextOverThrowDerivates) <resumebpt>: New.
2035 (resumebpt_test): New.
2036 (main): Call resumebpt_test.
2037 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2038
20392010-12-12 Stan Shebs <stan@codesourcery.com>
2040
2041 * gdb.trace/tsv.exp: Test print command on trace state variables.
2042
20432010-12-09 Tom Tromey <tromey@redhat.com>
2044
2045 * gdb.base/interp.exp: Add regression test.
2046
20472010-12-09 Tom Tromey <tromey@redhat.com>
2048
2049 * gdb.java/jnpe.java: New file.
2050 * gdb.java/jnpe.exp: New file.
2051 * gdb.cp/nextoverthrow.exp: New file.
2052 * gdb.cp/nextoverthrow.cc: New file.
2053
20542010-12-07 Doug Evans <dje@google.com>
2055
2056 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2057 of data-directory.
2058 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2059 updated.
2060 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2061
20622010-11-29 Michael Snyder <msnyder@vmware.com>
2063
2064 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2065 * gdb.base/call-sc.exp: Ditto.
2066 * gdb.base/finish.exp: Ditto.
2067 * gdb.base/return.exp: Ditto.
2068 * gdb.base/return2.exp: Ditto.
2069
20702010-11-30 Doug Evans <dje@google.com>
2071
2072 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2073 (gdb_expect_list): Fix spelling errors in comments.
2074 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2075 send_gdb/gdb_expect_list where applicable.
2076 * gdb.base/call-ar-st.exp: Ditto.
2077 * gdb.base/funcargs.exp: Ditto.
2078 * gdb.base/gcore.exp: Ditto.
2079 * gdb.base/page.exp: Ditto.
2080 * gdb.base/sigaltstack.exp: Ditto.
2081 * gdb.base/siginfo.exp: Ditto.
2082 * gdb.base/sigstep.exp: Ditto.
2083 * gdb.base/trace-commands.exp: Ditto.
2084
20852010-11-29 Doug Evans <dje@google.com>
2086
2087 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2088 printer-name;subprinter-name.
2089
20902010-11-29 Tom Tromey <tromey@redhat.com>
2091
2092 * gdb.dwarf2/implptr.exp: New file.
2093 * gdb.dwarf2/implptr.c: New file.
2094 * gdb.dwarf2/implptr.S: New file.
2095
20962010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2097
2098 PR python/12199
2099
2100 * gdb.python/py-breakpoint.exp: Test the delete method.
2101
21022010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 Fix step_resume_breakpoint unsaved during an infcall.
2105 * gdb.base/step-resume-infcall.exp: New file.
2106 * gdb.base/step-resume-infcall.c: New file.
2107
21082010-11-24 Edjunior Machado <emachado@br.ibm.com>
2109
2110 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2111
21122010-11-24 Edjunior Machado <emachado@br.ibm.com>
2113
2114 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2115 on ppc64's symbols; "finish" and "return" commands must accept to
2116 show the caller line again as well as the line after.
2117 * gdb.asm/powerpc64.inc: New file.
2118
21192010-11-23 Doug Evans <dje@google.com>
2120
2121 * lib/gdb.exp (gdb_test_sequence): New function.
2122 (gdb_expect_list): Add verbose -log call for each pattern.
2123 * gdb.base/signals.exp (test_handle_all_print): Call it.
2124 Reduce timeout increment from 6 minutes to 1 minute.
2125 * gdb.server/ext-run.exp: Call it.
2126
21272010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2128
2129 PR python/12212
2130
2131 * gdb.python/python.exp: Check that selected_thread raises an
2132 error when no inferior is loaded.
2133
21342010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2137 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2138
21392010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2140
2141 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2142 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2143
21442010-11-18 Doug Evans <dje@google.com>
2145
2146 * gdb.server/ext-run.exp: Fix intermittent failures.
2147
21482010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2149
2150 * gdb.stabs/gdb11479.exp: Use runto_main.
2151
21522010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2153
2154 * gdb.base/break-entry.exp: Skip if using a stub.
2155
21562010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2157
2158 * gdb.python/py-inferior.exp: Pack values in target endianness.
2159
21602010-11-12 Tom Tromey <tromey@redhat.com>
2161
2162 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2163 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2164 MemoryError.
2165 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2166 type.
2167 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2168 MemoryError.
2169 (test_subscript_regression): Update exception type.
2170
21712010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2172
2173 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2174 breakpoint tests.
2175
21762010-11-09 Pedro Alves <pedro@codesourcery.com>
2177
2178 * gdb.base/watchpoint.exp: Test "watch -location" with an
2179 innacessible location.
2180
21812010-11-09 Edjunior Machado <emachado@br.ibm.com>
2182 Luis Machado <luisgpm@br.ibm.com>
2183
2184 * gdb.base/maint.exp: Expect "." prefix.
2185 * gdb.base/nodebug.exp: Expect "." Likewise.
2186 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2187 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2188 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2189 POWER server processors.
2190
21912010-11-08 Edjunior Machado <emachado@br.ibm.com>
2192 Luis Machado <luisgpm@br.ibm.com>
2193
2194 * gdb.base/break-entry.exp: convert entry point for
2195 ppc64 and expect leading `.' on ppc64's symbols
2196
21972010-11-05 Doug Evans <dje@google.com>
2198
2199 * gdb.base/help.exp: Update expected output.
2200 * gdb.python/py-param.exp: Delete, contents moved to ...
2201 * gdb.python/py-parameter.exp: ... here. New file.
2202 Add test for gdb.parameter ("directories").
2203
22042010-11-05 Ken Werner <ken.werner@de.ibm.com>
2205
2206 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2207 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2208 * configure: Regenerate.
2209 * gdb.opencl/Makefile.in: New File.
2210 * gdb.opencl/datatypes.exp: Likewise.
2211 * gdb.opencl/datatypes.cl: Likewise.
2212 * gdb.opencl/operators.exp: Likewise.
2213 * gdb.opencl/operators.cl: Likewise.
2214 * gdb.opencl/vec_comps.exp: Likewise.
2215 * gdb.opencl/vec_comps.cl: Likewise.
2216 * gdb.opencl/convs_casts.exp: Likewise.
2217 * gdb.opencl/convs_casts.cl: Likewise.
2218 * lib/opencl.exp: Likewise.
2219 * lib/opencl_hostapp.c: Likewise.
2220 * lib/opencl_kernel.cl: Likewise.
2221 * lib/cl_util.c: Likewise.
2222 * lib/cl_util.c: Likewise.
2223 * gdb.base/default.exp (set language): Add "opencl" to the list of
2224 languages.
2225
22262010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2227
2228 * gdb.cp/overload.exp: Added test for inheritance overload.
2229 * gdb.cp/overload.cc: Ditto.
2230 * gdb.cp/oranking.exp: Removed releveant kfails.
2231
22322010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2233 Joel Brobecker <brobecker@adacore.com>
2234
2235 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2236 check test_compiler_info.
2237
22382010-11-03 Ken Werner <ken.werner@de.ibm.com>
2239
2240 * gdb.base/gnu_vector.exp: Adjust expect messages.
2241
22422010-11-03 Ken Werner <ken.werner@de.ibm.com>
2243
2244 * gdb.base/gnu_vector.exp: Add unary operator tests.
2245
22462010-11-03 Ken Werner <ken.werner@de.ibm.com>
2247
2248 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2249
22502010-11-02 Doug Evans <dje@google.com>
2251
2252 * gdb.python/py-pp-maint.c: New file.
2253 * gdb.python/py-pp-maint.exp: New file.
2254 * gdb.python/py-pp-maint.py: New file.
2255
22562010-11-02 Tom Tromey <tromey@redhat.com>
2257
2258 * gdb.base/default.exp: Remove "scheme" from language list.
2259
22602010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2261
2262 Revert:
2263 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2264 * gdb.threads/sigstep-threads.exp: New file.
2265 * gdb.threads/sigstep-threads.c: New file.
2266
22672010-10-20 Michael Snyder <msnyder@vmware.com>
2268
2269 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2270
22712010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2272
2273 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2274 Skip test completely if gdb,no_hardware_watchpoints.
2275
22762010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2277
2278 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2279 strict, but do not check for any particular function name within libc.
2280
22812010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2282
2283 * gdb.cp/smartp.exp: New test.
2284 * gdb.cp/smartp.cc : New test.
2285
22862010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2287
2288 * gdb.cp/converts.exp: Test pointer to bool conversion.
2289 Test pointer to long conversion.
2290 * gdb.cp/oranking.exp: Removed relevant kfail.
2291
22922010-10-18 Tom Tromey <tromey@redhat.com>
2293
2294 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2295 argument to lazy_string.
2296 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2297 (pp_ls.to_string): Use it.
2298 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2299 Add "estring2" local.
2300
23012010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 Fix s390x compatibility.
2304 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2305 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2306
23072010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2308
2309 * gdb.threads/sigstep-threads.exp: New file.
2310 * gdb.threads/sigstep-threads.c: New file.
2311
23122010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 * gdb.base/pie-execl.exp: New file.
2315 * gdb.base/pie-execl.c: New file.
2316
23172010-10-13 Doug Evans <dje@google.com>
2318 Jan Kratochvil <jan.kratochvil@redhat.com>
2319
2320 PR exp/12117
2321 * gdb.cp/ptype-cv-cp.cc: New file.
2322 * gdb.cp/ptype-cv-cp.exp: New file.
2323
23242010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2325
2326 * gdb.cp/converts.cc: New test program.
2327 * gdb.cp/converts.exp: New test.
2328 * gdb.cp/overload.exp: Added test for void* vs int*.
2329 * gdb.cp/overload.exp: Ditto.
2330 * gdb.cp/oranking.exp: Removed related kfail.
2331
23322010-10-13 Doug Evans <dje@google.com>
2333
2334 * lib/gdb-python.exp (gdb_check_python_config): New function.
2335 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2336 * gdb.python/lib-types.cc: New file.
2337 * gdb.python/lib-types.exp: New file.
2338
23392010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2340
2341 * gdb.python/py-error.exp: New file.
2342 * gdb.python/py-error.py: New file.
2343
23442010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2345
2346 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2347 gdb_test_multiple.
2348
23492010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2352 * gdb.base/prelink.exp: Likewise.
2353 * gdb.base/solib-nodir.exp: Likewise.
2354 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2355 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2356 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2357
23582010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2359
2360 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2361 for the "info files" test to avoid timeouts on slow machines.
2362
23632010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2364
2365 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2366 (main): Make openlib dummy call.
2367
23682010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2369
2370 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2371 * break-interp.exp (reach): Move the core body ...
2372 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2373 (test_ld): Provide always real argument, even to the linker. Replace
2374 dl_main by _dl_debug_state.
2375
23762010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 Fix results of prelinked PIEs on ppc*.
2379 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2380 Accept also DISPLACEMENT "PRESENT".
2381 (main): Replace "ZERO" displacements by "PRESENT".
2382
23832010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2384
2385 * gdb.cp/oranking.exp: New test.
2386 * gdb.cp/oranking.cc: New test program.
2387
23882010-10-08 Ken Werner <ken.werner@de.ibm.com>
2389
2390 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2391 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2392
23932010-10-06 Ken Werner <ken.werner@de.ibm.com>
2394
2395 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2396 lush, lynx) New constant.
2397 * gdb.base/constvars.exp: Test const array types.
2398 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2399
24002010-10-06 Doug Evans <dje@google.com>
2401
2402 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2403 of syscall staging area.
2404
24052010-10-06 Ken Werner <ken.werner@de.ibm.com>
2406
2407 * gdb.base/gnu_vector.c: Add variable c4.
2408 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2409 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2410
24112010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2412
2413 * gdb.arch/altivec-abi.exp: Fix a typo.
2414
24152010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2416
2417 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2418 to match a thread ID.
2419
24202010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2421
2422 Fix s390x testcase compatibility.
2423 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2424
24252010-10-01 Doug Evans <dje@google.com>
2426
2427 * lib/gdb-python.exp: New file.
2428 * gdb.python/py-block.exp: Use it.
2429 * gdb.python/py-breakpoint.exp: Ditto.
2430 * gdb.python/py-frame.exp: Ditto.
2431 * gdb.python/py-inferior.exp: Ditto.
2432 * gdb.python/py-param.exp: Ditto.
2433 * gdb.python/py-prettyprint.exp: Ditto.
2434 * gdb.python/py-shared.exp: Ditto.
2435 * gdb.python/py-symbol.exp: Ditto.
2436 * gdb.python/py-symtab.exp: Ditto.
2437 * gdb.python/py-type.exp: Ditto.
2438 * gdb.python/py-value.exp: Ditto.
2439 * gdb.python/python.exp: Ditto.
2440
24412010-09-30 Tom Tromey <tromey@redhat.com>
2442
2443 * gdb.base/anon.exp: New file.
2444 * gdb.base/anon.c: New file.
2445
24462010-09-30 Tom Tromey <tromey@redhat.com>
2447
2448 * gdb.base/completion.exp: Test completion through anonymous
2449 union.
2450 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2451
24522010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 Fix printing parameters of inlined functions.
2455 * gdb.dwarf2/dw2-inline-param.exp: New file.
2456 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2457 * gdb.dwarf2/dw2-inline-param.S: New file.
2458
24592010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2460
2461 PR corefiles/12071.
2462 * gdb.base/corefile.exp (quit with a process, no question: load core)
2463 (quit with a core file): New tests.
2464
24652010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2466
2467 Fix GDB crash on inferior calls with self-referencing classes.
2468 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2469 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2470 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2471
24722010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2473
2474 Fix lost siginfo_t for inferior calls.
2475 * gdb.base/siginfo-infcall.exp: New file.
2476 * gdb.base/siginfo-infcall.c: New file.
2477
24782010-09-22 Joel Brobecker <brobecker@adacore.com>
2479
2480 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2481
24822010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2483
2484 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2485 New test.
2486 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2487
24882010-09-22 Joel Brobecker <brobecker@adacore.com>
2489
2490 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2491 type of our const type.
2492
24932010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2494
2495 * gdb.cp/pr12028.cc: New.
2496 * gdb.cp/pr12028.exp: New.
2497
24982010-09-22 Joel Brobecker <brobecker@adacore.com>
2499
2500 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2501
25022010-09-16 Phil Muldoon <pmuldoon@redhat.com>
2503 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 PR mi/11407
2506 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2507 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2508 * gdb.mi/dw2-ref-missing-frame.S New File.
2509 * gdb.mi/dw2-ref-missing-frame.exp New File.
2510
25112010-09-14 Tom Tromey <tromey@redhat.com>
2512
2513 PR symtab/8399:
2514 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2515
25162010-09-14 Tom Tromey <tromey@redhat.com>
2517
2518 PR exp/11803:
2519 * gdb.threads/tls.exp: Use C++.
2520 (check_thread_local): Use K::another_thread_local.
2521 * gdb.threads/tls.c (class K): New.
2522 (another_thread_local): Now a member of K.
2523 (spin): Update. No longer K&R C.
2524
25252010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2526
2527 * gdb.cp/koenig.cc: created class for testing member lookup.
2528 * gdb.cp/koenig.exp: Added test for member lookup.
2529
25302010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 Fix false FAILs on sourcetree topdir directory containing "kill".
2533 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2534 source line matching regexp.
2535
25362010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 * gdb.python/python.exp (set height 0, collect help from uiout)
2539 (verify help to uiout): New tests.
2540
25412010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2542
2543 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2544 is_lp64_target to check 64bit target.
2545
25462010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2547
2548 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2549 (test_ld) <powerpc64-*>: New.
2550
25512010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2552
2553 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2554
25552010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2556
2557 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2558 (FunctionArg::method): New function.
2559 (empty, arg): New variables.
2560 (main): Call arg.method.
2561 * gdb.cp/templates.exp (test_template_args): New function.
2562 (do_tests): Call it.
2563
25642010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2565
2566 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2567 of "next" to proceed over pthread_exit call.
2568
25692010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2570
2571 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2572 "maint print statistics" output to prevent expect timeouts.
2573
25742010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2575
2576 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2577 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2578 (test_float_rejected): ... here.
2579 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2580 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2581 (test_float_rejected): ... here.
2582 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2583 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2584 (test_float_rejected): ... here.
2585 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2586 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2587 (test_float_rejected): ... here.
2588
25892010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2590
2591 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2592 before disabling hardware watchpoints.
2593 (test_inaccessible_watchpoint): Check that hardware watchpoints
2594 are used. Test for watchpoints on a constant address.
2595
25962010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.base/ui-redirect.exp: New file.
2599
26002010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2601 Joel Brobecker <brobecker@adacore.com>
2602
2603 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2604
26052010-08-31 Doug Evans <dje@google.com>
2606
2607 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2608
26092010-08-30 Tom Tromey <tromey@redhat.com>
2610
2611 PR python/11792:
2612 * gdb.python/py-value.exp (test_subscript_regression): Add
2613 dynamic_type test.
2614
26152010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2616
2617 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2618 instead of running to main. Do not test the main function.
2619 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2620 Add new main.
2621
26222010-08-26 Pedro Alves <pedro@codesourcery.com>
2623
2624 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2625 one test.
2626
26272010-08-24 Doug Evans <dje@google.com>
2628
2629 PR symtab/11942
2630 * gdb.dwarf2/dw4-sig-types.cc: New file.
2631 * gdb.dwarf2/dw4-sig-types.h: New file.
2632 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2633 * gdb.dwarf2/dw4-sig-types.exp: New file.
2634
26352010-08-23 Tom Tromey <tromey@redhat.com>
2636
2637 PR python/11145:
2638 * gdb.python/py-value.c (Base, Derived): New types.
2639 (base): New global.
2640 * gdb.python/py-value.exp (test_subscript_regression): Add
2641 dynamic_cast test.
2642
26432010-08-23 Tom Tromey <tromey@redhat.com>
2644
2645 PR python/10676:
2646 * gdb.python/py-type.exp (test_fields): Add tests for type
2647 equality.
2648
26492010-08-23 Tom Tromey <tromey@redhat.com>
2650
2651 PR python/11915:
2652 * gdb.python/py-type.exp (test_fields): Add tests for array.
2653
26542010-08-23 Keith Seitz <keiths@redhat.com>
2655
2656 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2657 have any children. Create a new abbrev for it.
2658 Add missing terminal sequence to .debug_abbrev.
2659
26602010-08-20 Keith Seitz <keiths@redhat.com>
2661
2662 PR symtab/11465:
2663 * gdb.dwarf2/pr11465.exp: New test.
2664 * gdb.dwarf2/pr11465.S: New file.
2665 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2666 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2667
26682010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2669
2670 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2671 registers. Update data sets with the new v2_double element in the
2672 VSX register union. Add vector_register3_vr data set for the AltiVec
2673 registers. Use gdb_test_no_output instead of send_gdb.
2674
26752010-08-19 Pedro Alves <pedro@codesourcery.com>
2676
2677 * gdb.python/py-shared.exp: New file, factored out from
2678 python.exp.
2679 * gdb.python/py-shared.c: New file.
2680 * gdb.python/py-shared-sl.c: New file.
2681 * gdb.python/python-1.c: New file.
2682 * gdb.python/python-sl.c: Delete.
2683 * gdb.python/python.c: Mention python-1.c.
2684 * gdb.python/python.exp: Move shared library tests to
2685 py-shared.exp.
2686 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2687 (MISCELLANEOUS): New.
2688 (clean mostlyclean): Also remove $MISCELLANEOUS.
2689
26902010-08-19 Doug Evans <dje@google.com>
2691
2692 PR exp/11926
2693 * gdb.base/printcmds.exp (test_float_accepted): New function.
2694 Move existing float tests there. Add tests for floats with suffixes.
2695 (test_float_rejected): New function.
2696 * gdb.java/jv-print.exp (test_float_accepted): New function.
2697 (test_float_rejected): New function.
2698 * gdb.objc/print.exp: New file.
2699 * gdb.pascal/print.exp: New file.
2700 * lib/objc.exp: New file.
2701
27022010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2703
2704 * gdb.base/default.exp (info set): Avoid full buffer error and force
2705 reading up to final gdb prompt.
2706 (show): Likewise.
2707
27082010-08-18 Tom Tromey <tromey@redhat.com>
2709
2710 PR symtab/11919:
2711 * gdb.base/completion.exp: Add test.
2712
27132010-08-18 Doug Evans <dje@google.com>
2714
2715 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2716 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2717 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2718 Simplify, early exit if runto_main fails.
2719 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2720 (set_lang_fortran): Moved to lib/fortran.exp.
2721 * gdb.fortran/types.exp: load_lib fortran.exp.
2722 (set_lang_fortran): Moved to lib/fortran.exp.
2723 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2724 * gdb.java/jprint.exp (set_lang_java): Ditto.
2725 * gdb.java/jv-exp.exp: load_lib java.exp.
2726 If set_lang_java fails, issue a warning instead of failure to be
2727 consistent with other set_lang_foo uses.
2728 (set_lang_java): Moved to lib/java.exp.
2729 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2730 If set_lang_java fails, issue a warning instead of failure to be
2731 consistent with other set_lang_foo uses.
2732 * gdb.pascal/types.exp: load_lib pascal.exp.
2733 (set_lang_pascal): Moved to lib/pascal.exp.
2734 * lib/fortran.exp: New file.
2735 * lib/java.exp (set_lang_java): New function.
2736 * lib/pascal.exp (set_lang_pascal): New function.
2737
27382010-08-18 Yao Qi <yao@codesourcery.com
2739
2740 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2741 func_nofb_start and func_loopfb_start, so that address of functions
2742 is equal to these labels on Thumb.
2743
27442010-08-18 Yao Qi <yao@codesourcery.com>
2745
2746 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2747 to reflect latest c source file.
2748
27492010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 * gdb.cp/infcall-dlopen.exp: New file.
2752 * gdb.cp/infcall-dlopen.cc: New file.
2753 * gdb.cp/infcall-dlopen-lib.cc: New file.
2754
27552010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2756 Pedro Alves <pedro@codesourcery.com>
2757
2758 PR breakpoints/11371
2759
2760 * gdb.base/watch-cond-infcall.exp: New file.
2761 * gdb.base/watch-cond-infcall.c: New file.
2762
27632010-08-16 Tom Tromey <tromey@redhat.com>
2764
2765 * gdb.base/help.exp: Update.
2766 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2767 watchpoint.
2768 (test_watch_location): New proc.
2769 (test_watchpoint_in_big_blob): Delete watchpoint.
2770 * gdb.base/watchpoint.c (func5): New function.
2771 (main): Call it.
2772
27732010-08-16 Doug Evans <dje@google.com>
2774
2775 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2776
27772010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2778
2779 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2780 tests.
2781
27822010-08-11 Ken Werner <ken.werner@de.ibm.com>
2783
2784 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2785 * gdb.base/gnu_vector.c: New File.
2786 * gdb.base/gnu_vector.exp: Likewise.
2787
27882010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2789
2790 * gdb.python/python.c: New File.
2791 * gdb.python/python-sl.c: New File.
2792 * gdb.python/python.exp: Test solib_address and decode_line
2793 * functions.
2794
27952010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2796
2797 * gdb.python/python.exp (show height, set height 10)
2798 (verify pagination beforehand, verify pagination beforehand: q)
2799 (gdb.execute does not page, verify pagination afterwards)
2800 (verify pagination afterwards: q): New.
2801
28022010-08-02 Doug Evans <dje@google.com>
2803
2804 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2805 because of an older gcc, change test2
2806 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2807 to unsupported.
2808
28092010-07-30 Kazu Hirata <kazu@codesourcery.com>
2810
2811 * gdb.base/break-always.exp: Do not expect full paths to file
2812 names.
2813 * gdb.base/commands.exp: Likewise.
2814
28152010-07-30 Doug Evans <dje@google.com>
2816
2817 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2818 xfail them when run with older gccs.
2819
2820 * lib/gdb.exp (build_executable): Forward "c++" option to
2821 get_compiler_info.
2822
2823 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2824 "python print ttype.template_argument(1)" and
2825 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2826 if using gcc 4.4 or earlier.
2827
2828 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2829 attach-to-debugger handling.
2830
28312010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2834 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2835 (main): Use copyreloc.
2836 * gdb.base/prelink.exp (split debug of executable)
2837 (.dynbss vs. .bss address shift): New tests.
2838
28392010-07-29 Pedro Alves <pedro@codesourcery.com>
2840
2841 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2842 in gdb_test_multiple.
2843
28442010-07-29 Pedro Alves <pedro@codesourcery.com>
2845
2846 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2847 environment.
2848
28492010-07-28 Tom Tromey <tromey@redhat.com>
2850
2851 PR python/11060:
2852 * gdb.python/py-type.c (Temargs): New template.
2853 (temvar): New variable.
2854 * gdb.python/py-type.exp (test_template): New proc.
2855
28562010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2857
2858 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2859 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2860
28612010-07-28 Tom Tromey <tromey@redhat.com>
2862
2863 PR c++/9946:
2864 * gdb.cp/temargs.exp: New file.
2865 * gdb.cp/temargs.cc: New file.
2866
28672010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2868
2869 * gdb.base/help.exp (help disassemble): Update the content.
2870
28712010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * gdb.threads/ia64-sigill.exp: New file.
2874 * gdb.threads/ia64-sigill.c: New file.
2875
28762010-07-27 Tom Tromey <tromey@redhat.com>
2877
2878 * gdb.opt/inline-cmds.c (ATTR): New define.
2879 (func1): Use it.
2880 (func2): Likewise.
2881 (func3): Likewise.
2882 (outer_inline1): Likewise.
2883 (outer_inline2): Likewise.
2884 * gdb.opt/inline-bt.c (ATTR): New define.
2885 (func1): Use it.
2886 (func2): Likewise.
2887 * gdb.opt/inline-locals.c (ATTR): New define.
2888 (func1): Use it.
2889 (func2): Likewise.
2890
28912010-07-27 Tom Tromey <tromey@redhat.com>
2892
2893 * gdb.stabs/gdb11479.c (hack): New function.
2894 (test): Use it.
2895 (test2): Use it.
2896 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2897 (int32_search_buf, int64_search_buf): No longer static.
2898 (x): Remove.
2899 * gdb.base/relocate.c (hack): New function.
2900
29012010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2902
2903 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2904 * gdb.python/py-value.c (func1): New function.
2905 (func2): Likewise.
2906
29072010-07-26 Corinna Vinschen <vinschen@redhat.com>
2908
2909 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2910 as not to clash with .data section.
2911
29122010-07-26 Jerome Guitton <guitton@adacore.com>
2913
2914 * gdb.base/code_elim.exp: New file.
2915 * gdb.base/code_elim1.c: New file.
2916 * gdb.base/code_elim2.c: New file.
2917
29182010-07-21 Pedro Alves <pedro@codesourcery.com>
2919
2920 PR symtab/11827
2921
2922 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2923 (some_volatile_enum): New variable.
2924 * gdb.base/printcmds.exp (test_print_enums): New.
2925 <top level>: Call it.
2926
29272010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2928
2929 * gdb.cp/fpointer.cc: New test.
2930 * gdb.cp/fpointer.exp: New test.
2931
29322010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2933
2934 * gdb.base/solib-nodir.exp: New file.
2935 * lib/gdb.exp (runto): New case for a GDB internal error.
2936
29372010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2938 Ulrich Weigand <uweigand@de.ibm.com>
2939 Tom Tromey <tromey@redhat.com>
2940
2941 * gdb.base/charset-malloc.c: New file.
2942 * gdb.base/charset.c (malloc_stub): New prototype.
2943 (main): Call it instead of malloc itself.
2944 * gdb.base/charset.exp: Use only prepare_for_testing.
2945 (binfile): Remove the variable.
2946
29472010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2948
2949 Make core files the process_stratum.
2950 * gdb.base/corefile.exp (run: load core again)
2951 (run: sanity check we see the core file, run: with core)
2952 (run: core file is cleared, attach: load core again)
2953 (attach: sanity check we see the core file, attach: with core)
2954 (attach: core file is cleared): New tests.
2955 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2956
29572010-07-14 Ken Werner <ken.werner@de.ibm.com>
2958
2959 * gdb.arch/altivec-abi.exp: New tests.
2960
29612010-07-13 Tom Tromey <tromey@redhat.com>
2962
2963 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2964 (main): Use it.
2965 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2966
29672010-07-13 Tom Tromey <tromey@redhat.com>
2968
2969 * gdb.base/label.exp: New file.
2970 * gdb.base/label.c: New file.
2971
29722010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2973 H.J. Lu <hongjiu.lu@intel.com>
2974
2975 * lib/gdb.exp (is_ilp32_target): New.
2976 (is_lp64_target): Likewise.
2977
2978 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2979 target.
2980 * gdb.arch/amd64-disp-step.exp: Likewise.
2981 * gdb.arch/amd64-dword.exp: Likewise.
2982 * gdb.arch/amd64-i386-address.exp: Likewise.
2983 * gdb.arch/amd64-word.exp: Likewise.
2984
2985 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2986 target.
2987 * gdb.arch/i386-bp_permanent.exp: Likewise.
2988 * gdb.arch/i386-byte.exp: Likewise.
2989 * gdb.arch/i386-disp-step.exp: Likewise.
2990 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2991 * gdb.arch/i386-prologue.exp: Likewise.
2992 * gdb.arch/i386-size-overlap.exp: Likewise.
2993 * gdb.arch/i386-size.exp: Likewise.
2994 * gdb.arch/i386-sse.exp: Likewise.
2995 * gdb.arch/i386-unwind.exp: Likewise.
2996 * gdb.arch/i386-word.exp: Likewise.
2997
2998 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2999 test only when building 64-bit executables. Do not hard-code
3000 -m64 option.
3001
30022010-07-07 Doug Evans <dje@google.com>
3003
3004 * lib/gdb.exp (gdb_test_list_exact): New function.
3005 * gdb.base/default.exp (show convenience): Call it, add tests for
3006 $_sdata = void, $_thread = 0.
3007
30082010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3009 Joel Brobecker <brobecker@adacore.com>
3010
3011 Fix re-run of PIE executable, PR shlibs/11776.
3012 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3013 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3014 and re-"run" of the inferior.
3015
30162010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3017 Joel Brobecker <brobecker@adacore.com>
3018
3019 Cope with missing /usr/sbin/prelink.
3020 * lib/prelink-support.exp (prelink_no):
3021 <result == 1 && $output is "no such file or directory">: New.
3022 (prelink_yes): Likewise. Return on failed prelink_no.
3023
30242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3025 Joel Brobecker <brobecker@adacore.com>
3026
3027 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3028 build_executable by build_executable_own_libs. Replace "prelink -R"
3029 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3030 change.
3031 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3032 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3033 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3034 Replace build_executable by build_executable_own_libs's function
3035 build_executable_own_libs.
3036 (prelinkNO): Create new stub to call prelink_no.
3037 (prelinkYES): Create new stub to call prelink_yes.
3038 (test_attach): Rename calls of copy to file_copy.
3039 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3040 (copy): Move to ...
3041 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3042 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3043 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3044 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3045 special flags by gdb_compile_shlib. Replace second gdb_compile by
3046 build_executable_own_libs. Replace "prelink -R" execution by a call of
3047 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3048 a second call of prelink_yes. Replace restart commands by
3049 clean_restart.
3050 (prelink): Rename to ...
3051 (seen displacement message): ... this test. Extend its expectation
3052 strictness.
3053
30542010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3055
3056 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3057 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3058 displacement message exactly once.
3059
30602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3061 Joel Brobecker <brobecker@adacore.com>
3062
3063 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3064 its restore after the <$relink_args != ""> loop. new comment.
3065
30662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3067 Joel Brobecker <brobecker@adacore.com>
3068
3069 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3070 code for it. New variable relink_args.
3071 (prelinkYES): Call prelinkNO.
3072 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3073 in such case. Move the core code to ...
3074 (test_attach_gdb): ... a new function. Send GDB command "file".
3075 Extend expected "Attaching to " string.
3076
30772010-07-02 Tom Tromey <tromey@redhat.com>
3078
3079 * gdb.base/bitops.exp: Remove extraneous "pass".
3080
30812010-07-02 Ken Werner <ken.werner@de.ibm.com>
3082
3083 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3084
30852010-07-01 Pedro Alves <pedro@codesourcery.com>
3086
3087 * gdb.base/help.exp: Adjust expected output.
3088
30892010-07-01 Pedro Alves <pedro@codesourcery.com>
3090
3091 * gdb.base/help.exp: Adjust expected output.
3092
30932010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3096 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3097 c++/11702.
3098
30992010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3100 Doug Evans <dje@google.com>
3101
3102 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3103 add .dynamic entry'.
3104
31052010-06-29 Doug Evans <dje@google.com>
3106
3107 Test PR c++/11702.
3108 * gdb.cp/m-static.exp: Add testcase.
3109 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3110
31112010-06-28 Phil Muldoon <pmuldoon@redhat.com>
3112 Tom Tromey <tromey@redhat.com>
3113 Thiago Jung Bauermann <bauerman@br.ibm.com>
3114
3115 * gdb.python/py-inferior.c: New File.
3116 * gdb.python/py-infthread.c: New File.
3117 * gdb.python/py-inferior.exp: New File.
3118 * gdb.python/py-infthread.exp: New File.
3119
31202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3121
3122 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3123 (ptype ::C::OtherFileClass typedefs): New.
3124 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3125 (C::OtherFileClass::cOtherFileClassVar2): New.
3126 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3127 cOtherFileClassVar2.
3128 (C::cOtherFileType2, C::cOtherFileVar2): New.
3129 (C::cOtherFileVar_use): use also cOtherFileVar2.
3130 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3131
31322010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3133
3134 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3135 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3136 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3137 (print ::C::cOtherFileVar)
3138 (whatis C::OtherFileClass::cOtherFileClassType)
3139 (whatis ::C::OtherFileClass::cOtherFileClassType)
3140 (print C::OtherFileClass::cOtherFileClassVar)
3141 (print ::cOtherFileClassVar)
3142 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3143 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3144 trailing content.
3145 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3146 (C::OtherFileClass::cOtherFileClassVar)
3147 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3148 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3149
31502010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3151
3152 Test PR c++/11703 and PR gdb/1448.
3153 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3154 gdb/1448.
3155
31562010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3157
3158 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3159 (main) <rtti_data>: New.
3160 * gdb.cp/virtbase.exp (print rtti_data): New.
3161
31622010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3163 Joel Brobecker <brobecker@adacore.com>
3164
3165 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3166
31672010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3170
31712010-06-28 Doug Evans <dje@google.com>
3172
3173 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3174
31752010-06-27 Doug Evans <dje@google.com>
3176
3177 * gdb.cp/m-static.exp: Update expected test output.
3178
31792010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3180
3181 * gdb.gdb/selftest.exp: Adjust expected message for
3182 capturing start-up runtime.
3183
31842010-06-25 Tom Tromey <tromey@redhat.com>
3185
3186 PR python/10808:
3187 * gdb.python/python.exp: Add new tests.
3188
31892010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3190
3191 * gdb.cp/operator.cc: Created an import loop.
3192 * gdb.cp/operator.exp: Added testcase for import loop.
3193
31942010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3195
3196 Test PR python/11407.
3197 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3198 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3199 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3200 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3201 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3202 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3203 binfile. Call gdb_compile with clean_restart twice.
3204 (func_nofb print, func_nofb backtrace, func_loopfb print)
3205 (func_loopfb backtrace): New.
3206
32072010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3208
3209 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3210 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3211 by a hand made one.
3212 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3213 i?86 requirement. Remove variables srcfile and binfile. New variable
3214 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3215
32162010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3217
3218 * gdb.cell/dwarfaddr.exp: New file.
3219 * gdb.cell/dwarfaddr.S: New file.
3220
32212010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3222
3223 Test PR 9436.
3224 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3225
32262010-06-24 Hui Zhu <teawater@gmail.com>
3227
3228 * gdb.base/eval.exp: New file.
3229
32302010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3231
3232 * gdb.cell/fork.exp: New file.
3233 * gdb.cell/fork.c: Likewise.
3234 * gdb.cell/fork-spu.c: Likewise.
3235
32362010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3237
3238 * lib/gdb.exp (banned_variables_traced): New global variable.
3239 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3240 (gdb_init): Use `trace add variable' instead of obsolete
3241 `trace variable'.
3242
32432010-06-21 Doug Evans <dje@google.com>
3244
3245 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3246
32472010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3248
3249 * gdb.arch/spu-ls.exp: New file.
3250 * gdb.arch/spu-ls.c: Likewise.
3251
32522010-06-18 Stan Shebs <stan@codesourcery.com>
3253
3254 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3255
32562010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3257
3258 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3259 * gdb.base/watch-cond.exp: Likewise.
3260 * gdb.python/py-breakpoint.exp: Likewise.
3261
32622010-06-18 Pedro Alves <pedro@codesourcery.com>
3263
3264 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3265 clean_restart, make sure every test has a distinct message, and
3266 that messages don't include the executable' full path.
3267
32682010-06-17 Doug Evans <dje@google.com>
3269
3270 * gdb.arch/i386-size.exp: Updated expected output for
3271 DISASSEMBLY_OMIT_FNAME.
3272
32732010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3274 Sergio Durigan Junior <sergiodj@redhat.com>
3275
3276 * gdb.base/watch-notconst.c: New file.
3277 * gdb.base/watch-notconst.S: New file.
3278 * gdb.base/watch-notconst2.c: New file.
3279 * gdb.base/watch-notconst2.S: New file.
3280 * gdb.base/watch-notconst.exp: New file.
3281 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3282 (func4): Add operations on `global_ptr_ptr'.
3283 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3284 routine to test watchpoints created with a constant expression.
3285 (test_inaccessible_watchpoint): Include tests for watchpoints
3286 created with a constant expression.
3287
32882010-06-14 Kevin Buettner <kevinb@redhat.com>
3289
3290 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3291 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3292 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3293 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3294 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3295 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3296 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3297 of `_start'.
3298
32992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3300
3301 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3302 not supported on the target.
3303 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3304 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3305 * gdb.mi/mi-nsintrall.exp: Likewise.
3306 * gdb.mi/mi-nsmoribund.exp: Likewise.
3307 * gdb.mi/mi-nsthrexec.exp: Likewise.
3308
33092010-06-11 Stan Shebs <stan@codesourcery.com>
3310
3311 * gdb.base/permissions.exp: New file.
3312
33132010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3314
3315 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3316 does not support ELF executable class.
3317
33182010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3319
3320 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3321
33222010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3325 (runto): Catch "The target does not support running in non-stop mode.".
3326
33272010-06-11 Michael Snyder <msnyder@vmware.com>
3328
3329 * gdb.base/setshow.exp (set language asm): Don't use
3330 gdb_test_no_output, fails on some targets.
3331
33322010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3333
3334 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3335 * gdb.cp/pr9167.exp: Likewise.
3336
33372010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3338
3339 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3340
33412010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3342
3343 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3344
33452010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3346
3347 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3348
33492010-06-11 Tom Tromey <tromey@redhat.com>
3350
3351 PR gdb/9977, PR exp/11636::
3352 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3353 (pieces_test_f6): Update expected output.
3354
33552010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 * gdb.base/moribund-step.exp: New.
3358
33592010-06-08 Michael Snyder <msnyder@vmware.com>
3360
3361 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
3362 * gdb.ada/boolean_expr.exp:
3363 * gdb.ada/frame_args.exp: Ditto.
3364 * gdb.ada/lang_switch.exp: Ditto.
3365 * gdb.ada/ptype_arith_binop.exp: Ditto.
3366 * gdb.ada/ref_param.exp: Ditto.
3367 * gdb.ada/type_coercion.exp:Ditto.
3368
3369 * gdb.asm/asm-source.exp: Ditto.
3370
3371 * gdb.base/attach.exp: Ditto.
3372 * gdb.base/bitfields2.exp: Ditto.
3373 * gdb.base/call-signal-resume.exp: Ditto.
3374 * gdb.base/callfuncs.exp: Ditto.
3375 * gdb.base/commands.exp: Ditto.
3376 * gdb.base/dbx.exp: Ditto.
3377 * gdb.base/default.exp: Ditto.
3378 * gdb.base/dump.exp: Ditto.
3379 * gdb.base/exprs.exp: Ditto.
3380 * gdb.base/freebpcmd.exp: Ditto.
3381 * gdb.base/interrupt.exp: Ditto.
3382 * gdb.base/list.exp: Ditto.
3383 * gdb.base/long_long.exp: Ditto.
3384 * gdb.base/maint.exp: Ditto.
3385 * gdb.base/ptype.exp: Ditto.
3386 * gdb.base/return.exp: Ditto.
3387 * gdb.base/setshow.exp: Ditto.
3388 * gdb.base/sigbpt.exp: Ditto.
3389 * gdb.base/sigrepeat.exp: Ditto.
3390
3391 * gdb.cp/classes.exp: Ditto.
3392
3393 * gdb.dwarf2/dw2-restore.exp: Ditto.
3394
3395 * gdb.gdb/selftest.exp: Ditto.
3396
3397 * gdb.multi/base.exp: Ditto.
3398 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3399
3400 * gdb.python/py-block.exp: Ditto.
3401 * gdb.python/py-prettyprint.exp: Ditto.
3402 * gdb.python/py-template.exp: Ditto.
3403
3404 * gdb.server/ext-attach.exp: Ditto.
3405 * gdb.server/ext-run.exp: Ditto.
3406 * gdb.server/server-mon.exp: Ditto.
3407
3408 * gdb.threads/fork-thread-pending.exp: Ditto.
3409 * gdb.threads/hand-call-in-threads.exp: Ditto.
3410 * gdb.threads/interrupted-hand-call.exp: Ditto.
3411 * gdb.threads/linux-dp.exp: Ditto.
3412 * gdb.threads/manythreads.exp: Ditto.
3413 * gdb.threads/print-threads.exp: Ditto.
3414 * gdb.threads/pthreads.exp: Ditto.
3415 * gdb.threads/schedlock.exp: Ditto.
3416 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3417 * gdb.threads/threadapply.exp: Ditto.
3418
34192010-06-08 Michael Snyder <msnyder@vmware.com>
3420
3421 * gdb.ada/exec_changed.exp:
3422 Use ".*" instead of "" as wildcard regexp.
3423
3424 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3425 * gdb.base/call-ar-st.exp: Ditto.
3426 * gdb.base/checkpoint.exp: Ditto.
3427 * gdb.base/default.exp: Ditto.
3428 * gdb.base/dump.exp: Ditto.
3429 * gdb.base/ending-run.exp: Ditto.
3430 * gdb.base/fileio.exp: Ditto.
3431 * gdb.base/miscexprs.exp: Ditto.
3432 * gdb.base/pointers.exp: Ditto.
3433 * gdb.base/readline.exp: Ditto.
3434 * gdb.base/reread.exp: Ditto.
3435 * gdb.base/restore.exp: Ditto.
3436 * gdb.base/shlib-call.exp: Ditto.
3437 * gdb.base/valgrind-db-attach.exp: Ditto.
3438 * gdb.base/volatile.exp: Ditto.
3439 * gdb.base/watchpoints.exp: Ditto.
3440
3441 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3442
3443 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3444 * gdb.python/py-value.exp: Ditto.
3445
3446 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3447 * gdb.trace/circ.exp: Ditto.
3448 * gdb.trace/collection.exp: Ditto.
3449 * gdb.trace/packetlen.exp: Ditto.
3450 * gdb.trace/passc-dyn.exp: Ditto.
3451 * gdb.trace/report.exp: Ditto.
3452 * gdb.trace/tfile.exp: Ditto.
3453 * gdb.trace/tfind.exp: Ditto.
3454 * gdb.trace/while-dyn.exp: Ditto.
3455
34562010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3457
3458 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3459
34602010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3461
3462 Test PR 10640.
3463 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3464
34652010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3466
3467 * gdb.cp/koenig.exp: Test for ADL operators.
3468 * gdb.cp/koenig.cc: Added ADL operators.
3469 * gdb.cp/operator.exp: New test.
3470 * gdb.cp/operator.cc: New test.
3471
34722010-06-04 Michael Snyder <msnyder@vmware.com>
3473
3474 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3475 * gdb.base/pending.exp: Ditto.
3476
3477 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3478
34792010-06-04 Doug Evans <dje@google.com>
3480
3481 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3482 disabled printers.
3483 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3484 (enable_lookup_function): New function.
3485
34862010-06-04 Tom Tromey <tromey@redhat.com>
3487
3488 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3489 of hash and id.
3490
34912010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3492
3493 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3494 newline.
3495 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3496 (empty verbose non-noisy clear, empty verbose noisy clear)
3497 (empty non-verbose noisy clear): Likewise.
3498
34992010-06-03 Michael Snyder <msnyder@vmware.com>
3500
3501 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3502 * gdb.base/display.exp: Ditto.
3503 * gdb.base/find.exp: Ditto.
3504 * gdb.base/ifelse.exp: Ditto.
3505 * gdb.base/multi-forks.exp: Ditto.
3506 * gdb.base/recurse.exp: Ditto.
3507 * gdb.base/setshow.exp: Ditto.
3508 * gdb.base/value-double-free.exp: Ditto.
3509 * gdb.base/watch-vfork.exp: Ditto.
3510 * gdb.base/watch_thread_num.exp: Ditto.
3511 * gdb.base/watchpoint-solib.exp: Ditto.
3512 * gdb.base/watchpoint.exp: Ditto.
3513 * gdb.base/watchpoints.exp: Ditto.
3514
3515 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3516 * gdb.cp/overload.exp: Ditto.
3517 * gdb.cp/virtfunc.exp: Ditto.
3518
3519 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3520
3521 * gdb.reverse/watch-precsave.exp:
3522 Replace gdb_test with gdb_test_no_output.
3523
3524 * gdb.threads/attach-into-signal.exp:
3525 Replace gdb_test with gdb_test_no_output.
3526 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3527 * gdb.threads/watchthreads.exp: Ditto.
3528 * gdb.threads/watchthreads2.exp: Ditto.
3529
3530 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3531 * gdb.trace/tfind.exp: Ditto.
3532
35332010-06-03 Joel Brobecker <brobecker@adacore.com>
3534
3535 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3536 successful test if message is the empty string.
3537
35382010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 * gdb.fortran/module.exp (stopped language detection): New test.
3541
35422010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3543
3544 Support DW_TAG_module as separate namespaces.
3545 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3546 gdb.fortran/library-module-lib.f90: New.
3547 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3548 (print i): Remove.
3549 (continue to breakpoint: i-is-1, print var_i value 1)
3550 (continue to breakpoint: i-is-2, print var_i value 2)
3551 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3552 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3553 (complete `modmany, complete `modmany`, complete `modmany`var)
3554 (show language, setting breakpoint at module): New tests.
3555 * gdb.fortran/module.f90 (module mod): Remove.
3556 (module mod1, module mod2, module modmany, subroutine sub1)
3557 (subroutine sub2, program module): New.
3558
35592010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3562 (print value of rUC, print value of rI, print value of UI): ... here.
3563 * gdb.cp/anon-union.exp (pass): Rename to ...
3564 (print z 2): ... here.
3565
35662010-06-02 Michael Snyder <msnyder@vmware.com>
3567
3568 * gdb.trace/actions.exp: Use gdb_test_no_output.
3569 * gdb.trace/circ.exp: Ditto.
3570 * gdb.trace/packetlen.exp: Ditto.
3571 * gdb.trace/save-trace.exp: Ditto.
3572 * gdb.trace/tracecmd.exp: Ditto.
3573 * gdb.trace/tsv.exp: Ditto.
3574
3575 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3576 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3577 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3578 * gdb.threads/manythreads.exp: Ditto.
3579 * gdb.threads/print-threads.exp: Ditto.
3580 * gdb.threads/pthreads.exp: Ditto.
3581 * gdb.threads/schedlock.exp: Ditto.
3582 * gdb.threads/staticthreads.exp: Ditto.
3583 * gdb.threads/thread-specific.exp: Ditto.
3584 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3585 * gdb.threads/threadapply.exp: Ditto.
3586 * gdb.threads/watchthreads.exp: Ditto.
3587 * gdb.threads/watchthreads2.exp: Ditto.
3588
3589 * gdb.python/py-block.exp: Use gdb_test_no_output.
3590 * gdb.python/py-prettyprint.exp: Ditto.
3591 * gdb.python/py-template.exp: Ditto.
3592 * gdb.python/py-value.exp: Ditto.
3593
3594 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3595 * gdb.reverse/watch-reverse.exp: Ditto.
3596
3597 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3598 * gdb.server/ext-run.exp: Ditto.
3599
3600 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3601 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3602 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3603 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3604 * gdb.dwarf2/dw2-producer.exp: Ditto.
3605 * gdb.dwarf2/mac-fileno.exp: Ditto.
3606
3607 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3608 * gdb.gdb/selftest.exp: Ditto.
3609
3610 * gdb.multi/base.exp: Use gdb_test_no_output.
3611
3612 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3613
36142010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3615
3616 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3617
36182010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3619
3620 * gdb.cp/class2.exp: Use gdb_test_no_output.
3621 * gdb.cp/classes.exp: Ditto.
3622 * gdb.cp/extern-c.exp: Ditto.
3623 * gdb.cp/inherit.exp: Ditto.
3624 * gdb.cp/maint.exp: Ditto.
3625 * gdb.cp/mb-inline.exp: Ditto.
3626 * gdb.cp/mb-templates.exp: Ditto.
3627 * gdb.cp/method2.exp: Ditto.
3628 * gdb.cp/misc.exp: Ditto.
3629 * gdb.cp/ovldbreak.exp: Ditto.
3630 * gdb.cp/punctuator.exp: Ditto.
3631 * gdb.cp/templates.exp: Ditto.
3632 * gdb.cp/virtbase.exp: Ditto.
3633
3634 * gdb.threads/attach-stopped.exp:
3635 Replace uses of send_gdb / gdb_expect.
3636 * gdb.threads/attachstop-mt.exp:
3637 Replace uses of send_gdb / gdb_expect.
3638 * gdb.threads/gcore-thread.exp:
3639 Replace uses of send_gdb / gdb_expect.
3640 * gdb.threads/hand-call-in-threads.exp:
3641 Replace uses of send_gdb / gdb_expect.
3642 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3643 * gdb.threads/print-threads.exp:
3644 Replace uses of send_gdb / gdb_expect.
3645 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3646 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3647 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3648
3649 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3650 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3651 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3652 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3653 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3654 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3655 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3656 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3657 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3658 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3659 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3660
36612010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3664
36652010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3666
3667 * gdb.cp/koenig.exp: Added new test case.
3668 * gdb.cp/koenig.cc: Ditto.
3669
36702010-06-01 Michael Snyder <msnyder@vmware.com>
3671
3672 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3673 * gdb.base/arrayidx.exp: Ditto.
3674 * gdb.base/attach.exp: Ditto.
3675 * gdb.base/auxv.exp: Ditto.
3676 * gdb.base/bigcre.exp: Ditto.
3677 * gdb.base/break-always.exp: Ditto.
3678 * gdb.base/break-interp.exp: Ditto.
3679 * gdb.base/break.exp: Ditto.
3680 * gdb.base/breakpoint-shadow.exp: Ditto.
3681 * gdb.base/call-ar-st.exp: Ditto.
3682 * gdb.base/call-sc.exp: Ditto.
3683 * gdb.base/call-signal-resume.exp: Ditto.
3684 * gdb.base/callfuncs.exp: Ditto.
3685 * gdb.base/catch-syscall.exp: Ditto.
3686 * gdb.base/charset.exp: Ditto.
3687 * gdb.base/code-expr.exp: Ditto.
3688 * gdb.base/commands.exp: Ditto.
3689 * gdb.base/cond-expr.exp: Ditto.
3690 * gdb.base/condbreak.exp: Ditto.
3691 * gdb.base/cursal.exp: Ditto.
3692 * gdb.base/cvexpr.exp: Ditto.
3693 * gdb.base/default.exp: Ditto.
3694 * gdb.base/del.exp: Ditto.
3695 * gdb.base/detach.exp: Ditto.
3696 * gdb.base/display.exp: Ditto.
3697 * gdb.base/ena-dis-br.exp: Ditto.
3698 * gdb.base/eval-skip.exp: Ditto.
3699 * gdb.base/foll-fork.exp: Ditto.
3700 * gdb.base/foll-vfork.exp: Ditto.
3701 * gdb.base/frame-args.exp: Ditto.
3702 * gdb.base/funcargs.exp: Ditto.
3703 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3704 * gdb.base/gdbvars.exp: Ditto.
3705 * gdb.base/help.exp: Ditto.
3706 * gdb.base/ifelse.exp: Ditto.
3707 * gdb.base/included.exp: Ditto.
3708 * gdb.base/list.exp: Ditto.
3709 * gdb.base/macscp.exp: Ditto.
3710 * gdb.base/maint.exp: Ditto.
3711 * gdb.base/multi-fork.exp: Ditto.
3712 * gdb.base/overlays.exp: Ditto.
3713 * gdb.base/page.exp: Ditto.
3714 * gdb.base/pending.exp: Ditto.
3715 * gdb.base/pointers.exp: Ditto.
3716 * gdb.base/pr11022.exp: Ditto.
3717 * gdb.base/prelink.exp: Ditto.
3718 * gdb.base/printcmds.exp: Ditto.
3719 * gdb.base/psymtab.exp: Ditto.
3720 * gdb.base/randomize.exp: Ditto.
3721 * gdb.base/relational.exp: Ditto.
3722 * gdb.base/relocate.exp: Ditto.
3723 * gdb.base/remote.exp: Ditto.
3724 * gdb.base/sepdebug.exp: Ditto.
3725 * gdb.base/set-lang-auto.exp: Ditto.
3726 * gdb.base/setshow.exp: Ditto.
3727 * gdb.base/setvar.exp: Ditto.
3728 * gdb.base/signals.exp: Ditto.
3729 * gdb.base/signull.exp: Ditto.
3730 * gdb.base/sigstep.exp: Ditto.
3731 * gdb.base/sizeof.exp: Ditto.
3732 * gdb.base/solib-disc.exp: Ditto.
3733 * gdb.base/store.exp: Ditto.
3734 * gdb.base/structs.exp: Ditto.
3735 * gdb.base/structs2.exp: Ditto.
3736 * gdb.base/subst.exp: Ditto.
3737 * gdb.base/term.exp: Ditto.
3738 * gdb.base/trace-commands.exp: Ditto.
3739 * gdb.base/unwindonsignal.exp: Ditto.
3740 * gdb.base/valgrind-db-attach.exp: Ditto.
3741 * gdb.base/varargs.exp: Ditto.
3742 * gdb.base/watch-cond.exp: Ditto.
3743 * gdb.base/watch_thread_num.exp: Ditto.
3744 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3745 * gdb.base/watchpoint.exp: Ditto.
3746 * gdb.base/whatis-exp.exp: Ditto.
3747
37482010-06-01 Michael Snyder <msnyder@vmware.com>
3749
3750 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3751 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3752 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3753 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3754 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3755 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3756 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3757 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3758 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3759 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3760 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3761 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3762 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3763 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3764 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3765
37662010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3767
3768 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3769 trailing newline.
3770 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3771 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3772 (p *args): ... here and remove excessive trailing newline.
3773
37742010-05-31 Joel Brobecker <brobecker@adacore.com>
3775
3776 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3777
37782010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 Accept the new Linux kernel "t (tracing stop)" string.
3781 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3782 Update comment.
3783 (state_wait) <T (tracing stop)>: New.
3784 (main): Update the state_wait expect string.
3785
37862010-05-28 Pedro Alves <pedro@codesourcery.com>
3787
3788 * limits.c, limits.exp: Delete files.
3789 * Makefile.in (clean mostlyclean): Adjust.
3790 * tracecmd.exp: Adjust.
3791
37922010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3793
3794 * gdb.base/tui-layout.exp: New.
3795
37962010-05-28 Michael Snyder <msnyder@vmware.com>
3797
3798 * gdb.reverse/break-precsave.exp:
3799 Replace uses of send_gdb / gdb_expect.
3800 * gdb.reverse/break-reverse.exp:
3801 Replace uses of send_gdb / gdb_expect.
3802 * gdb.reverse/consecutive-precsave.exp:
3803 Replace uses of send_gdb / gdb_expect.
3804 * gdb.reverse/consecutive-reverse.exp:
3805 Replace uses of send_gdb / gdb_expect.
3806 * gdb.reverse/finish-precsave.exp:
3807 Replace uses of send_gdb / gdb_expect.
3808 * gdb.reverse/finish-reverse.exp:
3809 Replace uses of send_gdb / gdb_expect.
3810 * gdb.reverse/i386-precsave.exp:
3811 Replace uses of send_gdb / gdb_expect.
3812 * gdb.reverse/i386-reverse.exp:
3813 Replace uses of send_gdb / gdb_expect.
3814 * gdb.reverse/i386-sse-reverse.exp:
3815 Replace uses of send_gdb / gdb_expect.
3816 * gdb.reverse/i387-env-reverse.exp:
3817 Replace uses of send_gdb / gdb_expect.
3818 * gdb.reverse/i387-stack-reverse.exp:
3819 Replace uses of send_gdb / gdb_expect.
3820 * gdb.reverse/machinestate-precsave.exp:
3821 Replace uses of send_gdb / gdb_expect.
3822 * gdb.reverse/machinestate.exp:
3823 Replace uses of send_gdb / gdb_expect.
3824 * gdb.reverse/sigall-precsave.exp:
3825 Replace uses of send_gdb / gdb_expect.
3826 * gdb.reverse/sigall-reverse.exp:
3827 Replace uses of send_gdb / gdb_expect.
3828 * gdb.reverse/solib-precsave.exp:
3829 Replace uses of send_gdb / gdb_expect.
3830 * gdb.reverse/solib-reverse.exp:
3831 Replace uses of send_gdb / gdb_expect.
3832 * gdb.reverse/step-precsave.exp:
3833 Replace uses of send_gdb / gdb_expect.
3834 * gdb.reverse/step-reverse.exp:
3835 Replace uses of send_gdb / gdb_expect.
3836 * gdb.reverse/until-precsave.exp:
3837 Replace uses of send_gdb / gdb_expect.
3838 * gdb.reverse/until-reverse.exp:
3839 Replace uses of send_gdb / gdb_expect.
3840 * gdb.reverse/watch-precsave.exp:
3841 Replace uses of send_gdb / gdb_expect.
3842 * gdb.reverse/watch-reverse.exp:
3843 Replace uses of send_gdb / gdb_expect.
3844
38452010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3846
3847 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3848 excessive newline.
3849
38502010-05-27 Michael Snyder <msnyder@vmware.com>
3851
3852 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3853 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3854 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3855 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3856 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3857 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3858 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3859 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3860 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3861 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3862 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3863 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3864 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3865 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3866 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3867 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3868 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3869 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3870 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3871
38722010-05-26 Michael Snyder <msnyder@vmware.com>
3873
3874 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3875 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3876
3877 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3878 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3879 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3880
3881 * gdb.reverse/consecutive-reverse.exp:
3882 Replace uses of send_gdb / gdb_expect.
3883 * gdb.reverse/consecutive-precsave.exp:
3884 Replace uses of send_gdb / gdb_expect.
3885
3886 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3887 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3888 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3889 * gdb.mi/mi-ns-stale-regcache.exp:
3890 Replace uses of send_gdb / gdb_expect.
3891 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3892 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3893 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3894 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3895 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3896 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3897 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3898 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3899 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3900
39012010-05-26 Michael Snyder <msnyder@vmware.com>
3902
3903 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3904
3905 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3906
3907 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3908 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3909 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3910 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3911 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3912 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3913 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3914 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3915 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3916
39172010-05-25 Tom Tromey <tromey@redhat.com>
3918
3919 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3920
39212010-05-25 Tom Tromey <tromey@redhat.com>
3922
3923 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3924 argument order.
3925 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3926 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3927 order.
3928 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3929 order.
3930 * gdb.base/call-sc.exp (setup_kfails): Remove.
3931 (setup_compiler_kfails): Remove.
3932 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3933 argument order.
3934 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3935 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3936 (advancei): Fix setup_kfail argument order.
3937 * gdb.base/radix.exp: Fix setup_kfail argument order.
3938 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3939 order.
3940 * gdb.base/structs.exp (setup_kfails): Remove.
3941 (setup_compiler_kfails): Fix setup_kfail argument order.
3942 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3943 order.
3944 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3945 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3946 setup_kfail argument order.
3947 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3948
39492010-05-25 Tom Tromey <tromey@redhat.com>
3950
3951 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3952
39532010-05-25 Michael Snyder <msnyder@vmware.com>
3954
3955 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3956 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3957 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3958 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3959 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3960 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3961 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3962 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3963 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3964 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3965 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3966 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3967 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3968 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3969 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3970 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3971 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3972 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3973 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3974 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3975 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3976 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3977 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3978 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3979 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3980 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3981 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3982 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3983 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3984 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3985 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3986 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3987 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3988 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3989 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3990 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3991 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3992 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3993 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3994 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3995 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3996 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3997 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3998 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3999 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4000 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4001 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
4002 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
4003
40042010-05-25 Doug Evans <dje@google.com>
4005
4006 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4007 gdb.string_to_argv.
4008
40092010-05-21 Tom Tromey <tromey@redhat.com>
4010
4011 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4012 Call it.
4013 * gdb.dwarf2/pieces.S: Update.
4014 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4015
40162010-05-21 Tom Tromey <tromey@redhat.com>
4017
4018 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4019 Call it.
4020 * gdb.dwarf2/pieces.c (struct C): New.
4021 (f6): New function.
4022 * gdb.dwarf2/pieces.S: Replace.
4023
40242010-05-21 Tom Tromey <tromey@redhat.com>
4025
4026 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4027 Call it.
4028
40292010-05-21 Tom Tromey <tromey@redhat.com>
4030
4031 * gdb.dwarf2.pieces.exp: New file.
4032 * gdb.dwarf2.pieces.S: New file.
4033 * gdb.dwarf2.pieces.c: New file.
4034
40352010-05-20 Pedro Alves <pedro@codesourcery.com>
4036 Joel Brobecker <brobecker@adacore.com>
4037
4038 * lib/gdb.exp (gdb_test_no_output): New function.
4039 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4040 when testing commands that should produce no output.
4041
40422010-05-17 Joel Brobecker <brobecker@adacore.com>
4043
4044 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4045 parameter that we want to watch being a constant.
4046
40472010-05-17 Joel Brobecker <brobecker@adacore.com>
4048
4049 * gdb.ada/cond_lang: New testcase.
4050
40512010-05-17 Joel Brobecker <brobecker@adacore.com>
4052
4053 * lib/gdb.exp (banned_variables): New variable/constant.
4054 (gdb_init): Add write trace on variables listed in banned_variables.
4055 (gdb_finish): Remove write traces on variables listed in
4056 banned_variables.
4057
40582010-05-17 Joel Brobecker <brobecker@adacore.com>
4059
4060 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4061 * gdb.cp/koenig.exp: Likewise.
4062
40632010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4064
4065 PR python/11482
4066
4067 * gdb.python/py-value.exp (test_value_hash): New function.
4068
40692010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4070
4071 PR exp/11530.
4072 * gdb.base/gdb11530.c: New file.
4073 * gdb.base/gdb11530.exp: New file.
4074
40752010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4078 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4079
40802010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4081
4082 * gdb.cp/koenig.exp: New test.
4083 * gdb.cp/koenig.cc: New test program.
4084
40852010-05-05 Joel Brobecker <brobecker@adacore.com>
4086
4087 Remove the use of prms_id and bug_id throughout the testsuite.
4088
40892010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4090
4091 PR exp/11349.
4092 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4093 use a reference local variable.
4094
40952010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4096
4097 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4098 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4099 variable different_dir. Move debugfile into a full directory pathname
4100 under DIFFERENT_DIR.
4101 * lib/gdb.exp (separate_debug_filename): Remove.
4102 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4103 variable debug_dir and mkdir of it. Update function comments.
4104
41052010-04-29 Pedro Alves <pedro@codesourcery.com>
4106
4107 PR gdb/11557
4108
4109 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4110 files.
4111
41122010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4113
4114 * gdb.python/py-param.exp: New File.
4115
41162010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4117
4118 * gdb.base/default.exp: Fix "set language" test.
4119
41202010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4121
4122 PR breakpoints/11531.
4123 * gdb.base/gdb11531.c: New file.
4124 * gdb.base/gdb11531.exp: New file.
4125
41262010-04-26 Tom Tromey <tromey@redhat.com>
4127
4128 * gdb.base/completion.exp: Add tests for completion and deprecated
4129 commands.
4130
41312010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4132
4133 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4134 (print /x char_array): Escape curly brackets.
4135
41362010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4137
4138 Fix deadlock on looped list of loaded shared objects.
4139 * gdb.base/solib-corrupted.exp: New.
4140
41412010-04-23 Doug Evans <dje@google.com>
4142
4143 * gdb.python/py-section-script.c: New file.
4144 * gdb.python/py-section-script.exp: New file.
4145 * gdb.python/py-section-script.py: New file.
4146
41472010-04-20 Chris Moller <cmoller@redhat.com>
4148
4149 PR 10179
4150
4151 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4152 * gdb.base/pr10179-a.c:
4153 * gdb.base/pr10179-b.c:
4154 * gdb.base/pr10179.exp: New files.
4155
41562010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 Fix crashes on dangling display expressions.
4159 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4160 is SEP.
4161 (lib_flags): Remove the "debug" keyword.
4162 (libsepdebug): New variable for iterating new loop.
4163 (save_pf_prefix): New variable wrapping the loop.
4164 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4165 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4166
41672010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4168
4169 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4170
41712010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4172
4173 PR stabs/11479.
4174 * gdb.stabs/gdb11479.exp: New file.
4175 * gdb.stabs/gdb11479.c: New file.
4176
41772010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4178
4179 * gdb.base/charset.c (Strin16, String32): New variables.
4180 * gdb.base/charset.exp (gdb_test): Test correct display
4181 of 16 or 32 bit strings.
4182
41832010-04-21 Chris Moller <cmoller@redhat.com>
4184
4185 PR 9167
4186 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4187 * gdb.cp/pr9167.cc: New file.
4188 * gdb.cp/pr9167.exp: New file.
4189
4190
41912010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4192
4193 PR pascal/11492.
4194 * gdb.pascal/gdb11492.pas: New file.
4195 * gdb.pascal/gdb11492.exp: New file.
4196
41972010-04-20 Joel Brobecker <brobecker@adacore.com>
4198
4199 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
4200
42012010-04-20 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/dyn_loc: New testcase.
4204
42052010-04-20 Chris Moller <cmoller@redhat.com>
4206
4207 PR 10867
4208
4209 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4210 * gdb.cp/pr10687.cc: New file.
4211 * gdb.cp/pr10687.exp: New file.
4212
4213
42142010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4215 Sergio Durigan Junior <sergiodj@redhat.com>
4216
4217 * gdb.fortran/logical.exp: New testcase.
4218 * gdb.fortran/logical.f90: New file.
4219
42202010-04-19 Doug Evans <dje@google.com>
4221
4222 * gdb.base/help.exp (help source): Update expected output.
4223
42242010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4225
4226 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4227 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4228 gdb_exit and return.
4229 (executable): New variable.
4230 (binfile): Use it.
4231
42322010-04-19 Pedro Alves <pedro@codesourcery.com>
4233
4234 PR breakpoints/8554.
4235
4236 * gdb.trace/save-trace.exp: Adjust.
4237
42382010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 PR corefiles/11511
4241 * gdb.arch/system-gcore.exp: New.
4242 * gdb.arch/gcore.c: Likewise.
4243
42442010-04-15 Doug Evans <dje@google.com>
4245
4246 * gdb.python/py-progspace.c: New file.
4247 * gdb.python/py-progspace.exp: New file.
4248
4249 * gdb.base/source.exp: Add tests for "source -s".
4250
42512010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4252
4253 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4254 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4255 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4256 * gdb.python/py-mi.exp: New test for to_string returning None.
4257
42582010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4259
4260 * gdb.python/py-breakpoint.c: Make result global.
4261
42622010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4263
4264 Fix non-GNU make compatibility.
4265 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4266
42672010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4268
4269 * gdb.python/py-breakpoint.exp: New File.
4270 * gdb.python/py-breakpoint.C: Ditto.
4271
42722010-04-08 Stan Shebs <stan@codesourcery.com>
4273
4274 * gdb.trace/actions.exp: Clear default-collect.
4275 * gdb.trace/save-trace.exp: Clear default-collect.
4276
42772010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4278
4279 * gdb.python/py-value: Add null string variable.
4280 (test_lazy_string): Test zero length, NULL address lazy
4281 strings.
4282
42832010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * gdb.arch/i386-avx.c: New.
4286 * gdb.arch/i386-avx.exp: Likewise.
4287
4288 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4289
42902010-04-06 Doug Evans <dje@google.com>
4291
4292 * gdb.base/source-test.gdb: New file.
4293 * gdb.base/source.exp: Test source -v.
4294
42952010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4296
4297 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4298
42992010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4300
4301 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4302 within one line, unless it is followed by a double quote.
4303 * gdb.stabs/hppa.sed: Idem.
4304 * gdb.stabs/weird.def: Add char and String constants
4305 * gdb.stabs/weird.exp: Check for correct parsing of
4306 char and string constants.
4307 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4308 in .stabs to .stabx substitution.
4309
43102010-04-05 Stan Shebs <stan@codesourcery.com>
4311
4312 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4313 constant global.
4314 * gdb.trace/tfile.exp: Try to print them.
4315
43162010-04-04 Stan Shebs <stan@codesourcery.com>
4317
4318 * gdb.base/completion.exp: Update for new "info watchpoints".
4319 * gdb.base/default.exp: Ditto.
4320 * gdb.base/help.exp: Ditto.
4321 * gdb.base/watchpoint.exp: Ditto.
4322 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
4323
43242010-04-04 Stan Shebs <stan@codesourcery.com>
4325
4326 * gdb.trace/tfile.exp: Sharpen tfind test.
4327
43282010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4329
4330 * gdb.base/break-entry.exp: New.
4331
43322010-04-02 Hui Zhu <teawater@gmail.com>
4333 Michael Snyder <msnyder@vmware.com>
4334
4335 * gdb.reverse/i386-sse-reverse.exp: New file.
4336 * gdb.reverse/i386-sse-reverse.c: New file.
4337
43382010-04-02 Pedro Alves <pedro@codesourcery.com>
4339
4340 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4341
43422010-04-01 Stan Shebs <stan@codesourcery.com>
4343
4344 * gdb.trace/actions.exp: Tweak expected output.
4345 * gdb.trace/while-stepping.exp: Tweak expected output.
4346
43472010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4350
43512010-04-01 Pedro Alves <pedro@codesourcery.com>
4352
4353 * gdb.base/commands.exp: Adjust.
4354 * gdb.cp/extern-c.exp: Adjust.
4355
43562010-04-01 Pedro Alves <pedro@codesourcery.com>
4357
4358 * gdb.trace/collection.c (local_test_func): Define a local struct,
4359 and instanciate it.
4360
43612010-04-01 Pedro Alves <pedro@codesourcery.com>
4362
4363 * gdb.trace/collection.exp (gdb_collect_args_test)
4364 (gdb_collect_argarray_test): XFAIL the tests that assume the
4365 argarray argument's elements are collected.
4366
43672010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4368
4369 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4370 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4371
43722010-03-31 Stan Shebs <stan@codesourcery.com>
4373
4374 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4375 and tracepoint conditionals.
4376 (gdb_verify_tracepoints): Delete unused return.
4377
43782010-03-26 Keith Seitz <keiths@redhat.com>
4379
4380 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4381 appear in the output before main.
4382 Remove KFAIL for gdb/2215 aka bz 9320.
4383
43842010-03-30 Doug Evans <dje@google.com>
4385
4386 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4387 by dejagnu.
4388 * gdb.arch/amd64-dword.exp: Ditto.
4389
4390 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4391 match.
4392 (break printf): Ditto.
4393
43942010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4395
4396 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4397 gcc < 4.4.
4398 * gdb.cp/shadow.exp: Ditto.
4399
44002010-03-29 Pedro Alves <pedro@codesourcery.com>
4401
4402 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4403 "tstart" is silent.
4404
44052010-03-29 Pedro Alves <pedro@codesourcery.com>
4406
4407 * gdb.trace/collection.exp (executable): New.
4408 (binfile): Use it.
4409 (fpreg, spreg, pcreg): New.
4410 (test_register): Use gdb_test_multiple. Pass /x to print.
4411 (prepare_for_trace_test): New.
4412 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4413 (gdb_collect_args_test, gdb_collect_argstruct_test)
4414 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4415 prepare_for_trace_test.
4416 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4417 fpreg, spreg and pcreg.
4418 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4419 prepare_for_trace_test.
4420 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4421 try to detect tracing support here. Don't set breakpoints at
4422 `begin' or `end' here.
4423 <global scope>: Use clean_restart. Run to main before checking
4424 for tracing support. Check for for tracing support here.
4425
44262010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4427
4428 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4429 " as $displacement" to "seen displacement message".
4430
44312010-03-28 Pedro Alves <pedro@codesourcery.com>
4432
4433 * gdb.trace/while-dyn.exp (executable): New variable.
4434 (binfile): Use it.
4435 (test_while_stepping): New function. Move most tests here. Call
4436 it once for each of the while-stepping, stepping and ws aliases.
4437
44382010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4439
4440 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4441 that do not provide the tagless_struct type name at all.
4442 (test_print_anon_union): Do not check value of uninitialized
4443 union member. Do not use cp_test_ptype_class, so we can accept
4444 "long" as well as "long int".
4445
44462010-03-26 Pedro Alves <pedro@codesourcery.com>
4447
4448 * gdb.trace/tfile.c (tohex, bin2hex): New.
4449 (write_error_trace_file): Hexify error description.
4450
44512010-03-25 Stan Shebs <stan@codesourcery.com>
4452
4453 * gdb.trace/tfile.c: Generate an additional trace file, improve
4454 portability.
4455 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4456 files in a better way.
4457
44582010-03-25 Keith Seitz <keiths@redhat.com>
4459
4460 * gdb.java/jprint.exp: XFAIL printing of static class members
4461 because of GCC debuginfo problem.
4462
44632010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4464
4465 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4466
44672010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4468
4469 * gdb.base/completion.exp: Allow long instead of long int.
4470 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4471 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4472 variable p.
4473 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4474 * gdb.base/pointers.exp: Allow long instead of long int.
4475 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4476 * gdb.base/step-line.exp: Allow a directory before the source file name.
4477
44782010-03-24 Tom Tromey <tromey@redhat.com>
4479
4480 PR breakpoints/9352:
4481 * gdb.base/default.exp: Update.
4482 * gdb.base/commands.exp: Update.
4483 * gdb.cp/extern-c.exp: Test setting commands on multiple
4484 breakpoints at once.
4485
44862010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4487
4488 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4489 if gdb,nosignals.
4490 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4491 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4492 exited".
4493
44942010-03-24 Stan Shebs <stan@codesourcery.com>
4495
4496 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4497
44982010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4499
4500 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4501 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4502 argument. Handle "short" and "long".
4503 (Top level): Pass overprototyped output for old_fptr and xptr.
4504
45052010-03-23 Pedro Alves <pedro@codesourcery.com>
4506
4507 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4508 format strings and add casts to avoid compiler warnings.
4509
45102010-03-23 Vladimir Prus <vladimir@codesourcery.com>
4511
4512 * lib/trace-support.exp (gdb_trace_setactions):
4513 Don't expect whitespace after ">" prompt.
4514 * gdb.trace/actions.exp: Adjust for output changes.
4515 * gdb.trace/while-stepping.exp: Likewise.
4516
45172010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4518
4519 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4520 and r157645).
4521
45222010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4523
4524 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4525 New.
4526
45272010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4528
4529 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4530 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4531
45322010-03-19 Stan Shebs <stan@codesourcery.com>
4533
4534 * gdb.trace/ax.exp: New file.
4535
45362010-03-19 Doug Evans <dje@google.com>
4537
4538 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4539 output from gcc.
4540
4541 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4542 named /usr/sbin/prelink<foo>.
4543
45442010-03-18 Stan Shebs <stan@codesourcery.com>
4545
4546 * gdb.trace/circ.exp: Test circular-trace-buffer.
4547 * gdb.trace/tfile.exp: Update tstatus test.
4548
45492010-03-18 Joel Brobecker <brobecker@adacore.com>
4550
4551 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4552 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4553
45542010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4555
4556 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4557
45582010-03-18 Pedro Alves <pedro@codesourcery.com>
4559
4560 * gdb.base/default.exp: Adjust the expected output of the finish
4561 and until commands when the inferior is not being run.
4562
45632010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4564
4565 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4566 * gdb.cp/nsusing.exp: Ditto.
4567
45682010-03-15 Tom Tromey <tromey@redhat.com>
4569
4570 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4571 * gdb.cp/userdef.cc (operator==): New function.
4572 (main): New locals mem1, mem2.
4573
45742010-03-15 Jie Zhang <jie@codesourcery.com>
4575
4576 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4577 Declare and use new loadtimeout variable.
4578
45792010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4580
4581 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4582 Use gdb_load later.
4583
45842010-03-14 Pedro Alves <pedro@codesourcery.com>
4585
4586 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4587 literal. Add missing endlines to prints to stderr.
4588
45892010-03-12 Tom Tromey <tromey@redhat.com>
4590
4591 PR c++/9708:
4592 * gdb.cp/m-static.exp: Add regression test.
4593 * gdb.cp/m-static.cc (method): New method.
4594 (main): Call it.
4595
45962010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4597
4598 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4599 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4600
46012010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4602
4603 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4604
46052010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4606
4607 * lib/gdb.exp (skip_stl_tests): New.
4608 (gdb_compile): Symbian needs -ldl.
4609 (shlib_target_file): New.
4610 (shlib_symbol_file): New.
4611 (gdb_load_shlibs): Use shlib_target_file.
4612 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4613 * gdb.cp/exception.exp: Use skip_stl_tests.
4614 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4615 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4616 * gdb.cp/mb-templates.exp: Ditto.
4617 * gdb.base/commands.exp: Relax regexes.
4618 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4619 shlib_target_file and shlib_symbol_file.
4620 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4621 sections.
4622 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4623 * gdb.base/solib-disc.exp: Use
4624 shlib_target_file and shlib_symbol_file.
4625 * gdb.base/unload.exp: Don't skip on symbian. Use
4626 shlib_target_file and shlib_symbol_file.
4627 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4628
46292010-03-12 Pedro Alves <pedro@codesourcery.com>
4630
4631 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4632 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4633 Issue a tfind end before looking for a tracepoint frame.
4634 * gdb.trace/tfind.exp: Adjust tstatus output.
4635 Adjust disassembly output.
4636 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4637
46382010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4639
4640 * gdb.base/break-interp.exp: Create new displacement parameter value
4641 for the test_ld calls.
4642 (reach): New parameter displacement, verify its content. New push of
4643 pf_prefix "reach-$func:". Import global expect_out.
4644 (test_core): New parameter displacement, verify its content. New push
4645 of pf_prefix "core:". New command "set verbose on". Import global
4646 expect_out.
4647 (test_attach): New parameter displacement, verify its content. New
4648 push of pf_prefix "attach:". New command "set verbose on". Import
4649 global expect_out.
4650 (test_ld): New parameter displacement, pass it to the reach, test_core
4651 and test_attach calls and verify its content in the "ld.so exit" test.
4652 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4653 (prelink): Update expected text, use gdb_test.
4654
46552010-03-10 Doug Evans <dje@google.com>
4656
4657 * gdb.base/checkpoint.exp: Fix comment.
4658 Lengthen timeout while doing >600 checkpoints test.
4659 Rename duplicate "kill all one" test to keep test names unique.
4660
46612010-03-10 Pedro Alves <pedro@codesourcery.com>
4662
4663 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4664
46652010-03-08 Keith Seitz <keiths@redhat.com>
4666
4667 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4668 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4669 (dm_type_long): New function.
4670 (dm_type_unsigned_short): New function.
4671 (dm_type_unsigned_long): New function.
4672 (myint): New typedef.
4673 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4674 long, unsigned shor and long, operator char*, and typedef.
4675 (test_lookup_operator_functions): Add operator char* test.
4676 (test_paddr_operator_functions): Likewise.
4677 (test_paddr_overloaded_functions): Use probe values for
4678 short, long, and unsigned short and long.
4679 (test_paddr_hairy_functions): If the demangler probe detected
4680 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4681 demangler.
4682 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4683 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4684 and "print null_pmf".
4685 Add test "ptype a.*pmf".
4686 * gdb.cp/overload.exp: Allow optional "int" to appear with
4687 "short" and "long".
4688 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4689 long expect value for men_overload1arg.
4690 Allow "int" to appear with "short" and "long".
4691 When testing "info break", add argument for main (void).
4692 Also allow "int" to appear with "short" and "long".
4693 Ditto with "unsigned" and "long long".
4694 * gdb.java/jmain.exp: Do not enclose methods names in single
4695 quotes.
4696 * gdb.java/jmisc.exp: Likewise.
4697 * gdb.java/jprint.exp: Likewise.
4698 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4699
4700 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4701 * gdb.cp/exception.exp (backtrace after first throw)
4702 (backtrace after second throw): Allow a namespace before __cxa_throw.
4703 (backtrace after first catch, backtrace after second catch): Allow
4704 a namespace before __cxa_begin_catch.
4705
4706 * gdb.cp/cpexprs.exp: New file.
4707 * gdb.cp/cpexprs.cc: New file.
4708
4709 From Daniel Jacobowitz <dan@codesourcery.com>
4710 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4711 to use string_to_regexp.
4712 (ctor, dtor): New functions. Use them to match constructor
4713 and destructor function types.
4714 (Top level): Use runto_main.
4715
47162010-03-05 Tom Tromey <tromey@redhat.com>
4717
4718 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4719 gdb.target_charset.
4720 (pp_ns.to_string): Likewise.
4721
47222010-03-04 Keith Seitz <keiths@redhat.com>
4723
4724 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4725 can be quoted. Test that both the filename and function/line
4726 portions can be quoted at the same time.
4727
47282010-03-04 Pedro Alves <pedro@codesourcery.com>
4729
4730 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4731
47322010-03-03 Doug Evans <dje@google.com>
4733
4734 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4735 libc contains libpthread.
4736
4737 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4738 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4739 of gdb_compile. Add another pattern to match android backtrace.
4740
47412010-03-03 Tom Tromey <tromey@redhat.com>
4742
4743 PR gdb/11345:
4744 * gdb.base/printcmds.exp (test_printf): Add test.
4745
47462010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * gdb.arch/amd64-byte.exp: New.
4749 * gdb.arch/amd64-dword.exp: Likewise.
4750 * gdb.arch/amd64-pseudo.c: Likewise.
4751 * gdb.arch/amd64-word.exp: Likewise.
4752 * gdb.arch/i386-byte.exp: Likewise.
4753 * gdb.arch/i386-pseudo.c: Likewise.
4754 * gdb.arch/i386-word.exp: Likewise.
4755
47562010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4757
4758 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4759 types. Add structreg, bitfields, and flags registers.
4760 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4761 registers.
4762
47632010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4766 (load_description): Set architecture if defined.
4767
47682010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4769
4770 * gdb.python/py-frame.exp: Add read_var block tests.
4771 * gdb.python/py-frame.c (block): New function.
4772
47732010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4774 Daniel Jacobowitz <dan@codesourcery.com>
4775
4776 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4777
47782010-02-25 David S. Miller <davem@davemloft.net>
4779
4780 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4781 fix logic for setting all_syscalls_numbers.
4782
47832010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4784
4785 * Makefile.in: Add py-block and py-symbol.
4786 * gdb.python/py-symbol.exp: New File.
4787 * gdb.python/py-symtab.exp: New File.
4788 * gdb.python/py-block.exp: New File.
4789 * gdb.python/py-symbol.c: New File.
4790 * gdb.python/py-block.c: New File.
4791
47922010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4793
4794 PR python/11314
4795 * lib/gdb.exp (skip_python_tests): New function.
4796 * gdb.python/py-cmd.exp: Use skip_python_tests.
4797 * gdb.python/py-frame.exp: Likewise.
4798 * gdb.python/py-function.exp: Likewise.
4799 * gdb.python/py-prettyprint.exp: Likewise.
4800 * gdb.python/py-template.exp: Likewise.
4801 * gdb.python/py-type.exp: Likewise.
4802 * gdb.python/py-value.exp: Likewise.
4803
48042010-02-22 Pedro Alves <pedro@codesourcery.com>
4805
4806 PR9605
4807
4808 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4809
48102010-02-19 Tom Tromey <tromey@redhat.com>
4811
4812 PR c++/8693, PR c++/9496:
4813 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4814 regression tests.
4815
48162010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 Fix compatibility with m68k as.
4819 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4820 Use only /* comments */.
4821
48222010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4823
4824 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4825 * configure: Regenerate.
4826
48272010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4828
4829 * gdb.python/py-type.exp: Check for Python support.
4830
48312010-02-17 Pedro Alves <pedro@codesourcery.com>
4832
4833 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4834 `regsub' syntax available.
4835
48362010-02-17 Pedro Alves <pedro@codesourcery.com>
4837
4838 * gdb.base/shmain.c (main): Remove printf call.
4839 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4840 * gdb.base/unload.c (main): Make format of fprintf a string
4841 literal. Add missing endlines to prints to stderr.
4842 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4843
48442010-02-17 Tom Tromey <tromey@redhat.com>
4845
4846 * gdb.java/jprint.java (jprint.props): New field.
4847 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4848
48492010-02-17 Pedro Alves <pedro@codesourcery.com>
4850
4851 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4852 available.
4853
48542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4855
4856 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4857 creation to support remote host testing.
4858
48592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4860
4861 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4862 Recognize "command not found".
4863
48642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4865
4866 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4867 single-stepping.
4868
48692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4870
4871 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4872 if arguments are not supported.
4873
48742010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4875
4876 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4877 be const or non-const.
4878
48792010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4880
4881 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4882 mi_send_resuming_command to send -exec-continue.
4883
48842010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4885
4886 * gdb.base/list.exp (test_list_filename_and_function): Add test
4887 with single quotes.
4888 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4889 matching.
4890 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4891 Add KFAIL'd tests for PR gdb/11289.
4892
48932010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4894
4895 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4896
48972010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4898
4899 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4900 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4901 a temporary directory.
4902
49032010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4904
4905 * gdb.base/charset.exp: Use a single regular expression to match
4906 show host-charset and show target-charset output.
4907
49082010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4911 "Illegal process-id" expect string more exact.
4912 (attach to digits-starting nonsense is prohibited): New.
4913
49142010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4915
4916 * gdb.base/prelink.exp (set verbose on): New.
4917
49182010-02-12 Tomas Holmberg <th@virtutech.com>
4919
4920 * mi-reverse.exp: New file. Test for reverse option to the
4921 following MI commands: exec-continue, exec-finish, exec-next,
4922 exec-step, exec-next-instruction, exec-step-instruction.
4923
49242010-02-09 Joel Brobecker <brobecker@adacore.com>
4925
4926 * gdb.ada/ptype_tagged_param: New testcase.
4927
49282010-02-08 Tom Tromey <tromey@redhat.com>
4929
4930 PR c++/8017:
4931 * gdb.cp/overload.exp: Add tests.
4932 * gdb.cp/overload.cc (struct K): New.
4933 (namespace N): New.
4934 (main): Call new functions.
4935 (K::staticoverload): Define.
4936
49372010-02-08 Chris Moller <moller@mollerware.com>
4938
4939 PR gdb/10728
4940 * gdb.cp/pr10728-x.h: New file.
4941 * gdb.cp/pr10728-x.cc: New file.
4942 * gdb.cp/pr10728-y.cc: New file.
4943 * gdb.cp/pr10728.exp: New file.
4944 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4945
49462010-02-08 Chris Moller <moller@mollerware.com>
4947
4948 PR gdb/9067
4949 * gdb.cp/pr9067.exp: New
4950 * gdb.cp/pr9067.cc: New
4951 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4952
49532010-02-08 Joel Brobecker <brobecker@adacore.com>
4954
4955 * lib/gdb.exp (gdb_test_timeout): New global variable.
4956 Set it to timeout if not already set.
4957 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4958
49592010-02-05 Doug Evans <dje@google.com>
4960
4961 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4962 user.
4963
49642010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4965
4966 PR c++/7935:
4967 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4968
49692010-02-04 Tom Tromey <tromey@redhat.com>
4970
4971 * gdb.cp/virtbase.exp: Make test case names unique.
4972
49732010-02-02 Tom Tromey <tromey@redhat.com>
4974
4975 * gdb.cp/virtbase.exp: Add regression tests.
4976 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4977 (main): Instantiate RHC.
4978
49792010-02-02 Tom Tromey <tromey@redhat.com>
4980
4981 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4982 type-printing change.
4983
49842010-02-02 Tom Tromey <tromey@redhat.com>
4985
4986 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4987 * gdb.cp/virtbase.cc: New file.
4988 * gdb.cp/virtbase.exp: New file.
4989 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4990
49912010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4992
4993 PR libc/11214:
4994 * gdb.threads/current-lwp-dead.c: Include features.h.
4995 (HAS_NOMMU): New.
4996 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4997
49982010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4999
5000 * gdb.base/symbol-without-target_section.exp,
5001 gdb.base/symbol-without-target_section.c: New.
5002
50032010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5004
5005 * gdb.base/bigcore.exp: Reset increased timeout.
5006 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5007
50082010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5009
5010 * gdb.base/gcore.exp (capture_command_output): Use
5011 gdb_test_multiple.
5012
50132010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5014
5015 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5016 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5017 (Top level): Call it.
5018
50192010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5020
5021 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5022
50232010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5024
5025 * gdb.base/call-strs.exp, gdb.base/default.exp,
5026 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5027 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5028 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5029 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5030 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5031 * gdb.base/ending-run.exp: Correct restore of timeout.
5032 * gdb.base/page.exp: Remove unnecessary timeout setting.
5033
50342010-01-29 Joel Brobecker <brobecker@adacore.com>
5035
5036 * gdb.ada/rec_return: New testcase.
5037
50382010-01-29 Joel Brobecker <brobecker@adacore.com>
5039
5040 * gdb.ada/call_pn: New testcase.
5041
50422010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5043
5044 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5045 (Top level): Use it to resume.
5046 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5047 the Thumb mode displaced stepping error as unsupported.
5048
50492010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5050
5051 * gdb.cp/nsusing.exp: Added more tests.
5052 * gdb.cp/nsrecurs.exp: Ditto.
5053 * gdb.cp/nsusing.cc: Added test functions.
5054 * gdb.cp/nsrecurs.cc: Ditto.
5055
50562010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5057
5058 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5059 absolute directory pathnames in gdb.sum file.
5060
50612010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5062
5063 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5064 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5065
50662010-01-26 Tom Tromey <tromey@redhat.com>
5067
5068 PR exp/7643:
5069 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5070 setup_kfail.
5071
50722010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5073
5074 * gdb.cp/nsrecurs.exp: New test.
5075 * gdb.cp/nsrecurs.cc: New test program.
5076 * gdb.cp/nsstress.exp: New test.
5077 * gdb.cp/nsstress.cc: New test program.
5078 * gdb.cp/nsdecl.exp: New test.
5079 * gdb.cp/nsdecl.cc: New test program.
5080
50812010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5082
5083 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5084 imported into file scope.
5085 Marked test as xfail.
5086 * gdb.cp/namespace-using.cc (marker5): New function.
5087 * gdb.cp/shadow.exp: New test.
5088 * gdb.cp/shadow.cc: New test program.
5089 * gdb.cp/nsimport.exp: New test.
5090 * gdb.cp/nsimport.cc: New test program.
5091
50922010-01-25 Tom Tromey <tromey@redhat.com>
5093
5094 PR gdb/11049:
5095 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5096 with "set print null-stop on".
5097
50982010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5099
5100 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5101 Adjust it for DISASSEMBLY_OMIT_FNAME.
5102
51032010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5104
5105 PR symtab/11199:
5106 * gdb.dwarf2/member-ptr-forwardref.exp,
5107 gdb.dwarf2/member-ptr-forwardref.S: New.
5108
51092010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5110
5111 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5112 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5113 thread1_tid_mutex. Remove gdbstop_mutex handling.
5114 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5115 thread2_tid_mutex. Remove gdbstop_mutex handling.
5116 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5117 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5118 pthread_cond_wait conditionalizations by while loops.
5119
51202010-01-20 Tom Tromey <tromey@redhat.com>
5121
5122 PR backtrace/10770:
5123 * gdb.dwarf2/pr10770.exp: New file.
5124 * gdb.dwarf2/pr10770.c: New file.
5125 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5126
51272010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5128
5129 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5130 that target was removed, and the test always runs native anyway.
5131
51322010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5133
5134 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5135 gdb.base/watchpoint-cond-gone-stripped.c: New.
5136
51372010-01-19 Tom Tromey <tromey@redhat.com>
5138
5139 PR c++/8000:
5140 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5141 existing tests.
5142 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5143 (main): Use AAA::SomeEnum.
5144
51452010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5148 (test_ignore_count): Declare line_callme_body global.
5149 (run to breakpoint with ignore count): Use line_callme_body.
5150 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5151 (set line_main_hello, set line_main_return): Reindent.
5152 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5153 New.
5154 (continue to callee4): Use line_callee4_body.
5155 (check *stopped from CLI command): Use line_callee4_next.
5156 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5157 (set line_main_hello, set line_main_return): Reindent.
5158 (set line_callee4_head, set line_callee4_body): New.
5159 (continue to callee4): Use line_callee4_body.
5160
51612010-01-18 Tom Tromey <tromey@redhat.com>
5162
5163 PR c++/9680:
5164 * gdb.cp/casts.cc: Add new classes and variables.
5165 * gdb.cp/casts.exp: Test new operators.
5166
51672010-01-18 Tom Tromey <tromey@redhat.com>
5168 Thiago Jung Bauermann <bauerman@br.ibm.com>
5169
5170 * gdb.python/source2.py: New file.
5171 * gdb.python/source1: New file.
5172 * gdb.python/python.exp: Test "source" command.
5173
51742010-01-15 Stan Shebs <stan@codesourcery.com>
5175
5176 * gdb.trace/tfile.c: New file.
5177 * gdb.trace/tfile.exp: New file.
5178
51792010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5180
5181 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5182
51832010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5184
5185 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5186
51872010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5190 (libfunc): New parameter action. Implement also selectable "sleep".
5191 * gdb.base/break-interp-main.c: Include assert.h.
5192 (libfunc): New parameter action.
5193 (main): New parameters argc and argv. Assert argc. Pass argv.
5194 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5195 (test_attach): New proc.
5196 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5197 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5198
51992010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5200
5201 * gdb.base/break-interp.exp (test_core): New proc.
5202 (test_ld): Call it.
5203
52042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5205
5206 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5207 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5208 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5209 and gdb_compile_shlib. Use new -Wl compiler options.
5210 (dl bt, main bt): New tests.
5211
52122010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5213
5214 Support PIEs with no symfile_objfile.
5215 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5216 (test_ld): New parameter trynosym.
5217 (test_ld <$trynosym>): New block.
5218
52192010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5220
5221 * gdb.base/break-interp.exp: New file.
5222
52232010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5224
5225 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5226 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5227 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5228 test.
5229 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5230 * gdb.python/py-mi.exp: Add lazy string test.
5231
52322010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5233
5234 * lib/mi-support.exp (mi_check_thread_states): Handle
5235 core number in thread listing.
5236
52372010-01-12 Joel Brobecker <brobecker@adacore.com>
5238
5239 * gdb.base/maint.exp: Adjust the expected output for the
5240 "maint print type" test. Use gdb_test_multiple instead of
5241 gdb_sent/gdb_expect.
5242
52432010-01-11 Doug Evans <dje@google.com>
5244
5245 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5246 from gdbserver_download. All callers updated.
5247
5248 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5249
52502010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5251
5252 Implement binary numbers parsing.
5253 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5254 (test_integer_literals_rejected): New binary tests.
5255
52562010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5257
5258 * gdb.cell/configure: Regenerate.
5259
52602010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 * gdb.base/corefile.exp: Move the core finding block out and call it as
5263 core_find, new variable $corefile, replace corefile by $corefile and
5264 [file tail $corefile] for usage vs. test names resp.
5265 * lib/gdb.exp (core_find): Move it as a new function here. New
5266 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5267 $destcore. Return "" on error.
5268
52692010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5270
5271 Workaround PR binutils/10802.
5272 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5273 (twice).
5274
52752010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5276
5277 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5278
52792010-01-08 Joel Brobecker <brobecker@adacore.com>
5280
5281 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5282 call, to avoid interruption.
5283
52842010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5285
5286 * gdb.stabs/weird.def (args93): New.
5287
52882010-01-07 Doug Evans <dje@google.com>
5289
5290 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5291
52922010-01-07 Tom Tromey <tromey@redhat.com>
5293
5294 * gdb.base/source.exp: Use correct line number.
5295
52962010-01-05 Stan Shebs <stan@codesourcery.com>
5297
5298 * gdb.trace/tracecmd.exp: Test ftrace.
5299
53002010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5301
5302 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5303
53042010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5307 "uint_for_mi_testing".
5308
53092010-01-01 Joel Brobecker <brobecker@adacore.com>
5310
5311 Test indented comment in file being sourced.
5312 * gdb.base/commands.exp: Test indented comment in file being sourced.
5313
53142010-01-01 Joel Brobecker <brobecker@adacore.com>
5315
5316 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5317 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5318 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5319 notice.
5320
53212010-01-01 Joel Brobecker <brobecker@adacore.com>
5322
5323 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5324 notice.
5325
53262010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5327
5328 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5329 missing $after_stopped and comma (,) expectation.
5330
53312009-12-31 Stan Shebs <stan@codesourcery.com>
5332
5333 * gdb.trace/actions.exp: Test teval action.
5334
53352009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5336
5337 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5338 (top level): Call test_watchpoint_in_big_blob.
5339 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5340 watchpoints.
5341 (func3): Write to buf.
5342
53432009-12-29 Stan Shebs <stan@codesourcery.com>
5344
5345 * gdb.trace/actions.exp: Test default-collect.
5346
53472009-12-28 Stan Shebs <stan@codesourcery.com>
5348
5349 * gdb.trace/tsv.exp: New file.
5350 * gdb.base/completion.exp: Update ambiguous info output.
5351
53522009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5353
5354 * gdb.base/find.c (main): Reference search buffers.
5355 * gdb.base/included.c (main): Reference integer.
5356 * gdb.base/ptype.c (charfoo): Declare.
5357 (intfoo): Call charfoo.
5358 * gdb.base/scope0.c (useitp): New function.
5359 (usestatics): Use useitp.
5360 (useit): Add a type for val.
5361 * gdb.base/scope1.c (useit1): Take a pointer argument.
5362 (usestatics1): Update calls to useit1.
5363 * gdb.cp/call-c.cc: Declare foo.
5364 (main): Call foo.
5365 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5366 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5367 (main): Call C::ensureRefs and ensureOtherRefs.
5368 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5369 variables.
5370 (ensureOtherRefs): New function.
5371 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5372 * gdb.cp/templates.cc (main): Call t5i.value.
5373
53742009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5375
5376 Fix compatibility with G++-4.5.
5377 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5378 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5379 (uncaught return): Remove.
5380
53812009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5382 Phil Muldoon <pmuldoon@redhat.com>
5383
5384 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5385 (bp_location13, bp_location14, bp_location17, bp_location18)
5386 (marker3_proto, marker4_proto): New variables.
5387 (breakpoint info): Update output.
5388 (run until breakpoint at marker3, run until breakpoint at marker4): New
5389 tests.
5390
53912009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5392
5393 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5394 Replace the printf call of Y by provided "y-set-1" label. New block
5395 for the second shared library.
5396 * gdb.base/unload.exp: Compile also the second library, call
5397 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5398 (single pending breakpoint info): Rename to ...
5399 (pending breakpoint info before run): ... this extended test.
5400 (libfile2, libname2, libsrcfile2, libsrc2)
5401 (lib_sl2): New variables.
5402 (exec_opts): Set also SHLIB_NAME2.
5403 (pending breakpoint info on first run at shrfunc1)
5404 (pending breakpoint info on second run at shrfunc1)
5405 (pending breakpoint info on second run at shrfunc2)
5406 (print y from libfile, print y from libfile2): New tests.
5407 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5408 * gdb.base/unloadshr2.c: New.
5409
54102009-12-22 Hui Zhu <teawater@gmail.com>
5411
5412 * gdb.reverse/sigall-reverse.exp: Adjust.
5413
54142009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5415
5416 PR gdb/10884
5417
5418 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5419 (main): Call do_bitfield_tests.
5420 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
5421
54222009-12-20 Joel Brobecker <brobecker@adacore.com>
5423
5424 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5425 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5426 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5427 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5428 gdb.modula2/unbounded1.c: Update copyright header.
5429
54302009-12-10 Chris Moller <moller@mollerware.com>
5431
5432 PR gdb/9399
5433 * gdb.cp/virtfunc2.exp: New tests
5434 * gdb.cp/virtfunc2.cc: New tests
5435 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5436
54372009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5438
5439 * gdb.reverse/i387-env-reverse.c: New file.
5440 * gdb.reverse/i387-env-reverse.exp: New file.
5441 * gdb.reverse/i387-stack-reverse.c: New file.
5442 * gdb.reverse/i387-stack-reverse.exp: New file.
5443
54442009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5445
5446 * gdb.python/py-type.exp (test_range): New test.
5447
54482009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5449
5450 PR python/10805
5451
5452 * gdb.python/py-type.exp: New file.
5453 * gdb.python/py-type.c: New file.
5454 * Makefile.in: Add py-type.
5455
54562009-12-03 Tom Tromey <tromey@redhat.com>
5457
5458 * gdb.python/py-value.exp (test_parse_and_eval): New
5459 function.
5460
54612009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5462
5463 PR gdb/11022
5464
5465 * gdb.base/pr11022.exp: New test.
5466 * gdb.base/pr11022.c: New test.
5467
54682009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 Fix spurious false FAILs.
5471 * gdb.base/structs.c (chartest): New.
5472 (main): Fill-in chartest.
5473 * gdb.base/structs.exp (anychar_re, first): New.
5474 (start_structs_test): Import global anychar_re and first.
5475 New gdb_test call "set print elements 300; ${testfile}"
5476 (start_structs_test <$first>): New block.
5477 (any): Import global anychar_re. New variable ac. Use ${ac}.
5478
54792009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5480
5481 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5482
54832009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5486 Force $srcfile file.
5487 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5488
54892009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5490
5491 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5492 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5493 * gdb.threads/watchthreads-reorder.exp: Likewise.
5494
54952009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5496
5497 PR gdb/8704
5498
5499 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5500 "if", and "thread". Correct matching in the previous test.
5501
55022009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5503
5504 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5505
55062009-11-23 Michael Snyder <msnyder@vmware.com>
5507
5508 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5509 * gdb.reverse-watch-precsave.exp: Ditto.
5510
55112009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5512
5513 * gdb.asm/asm-source.exp: Adjust.
5514 * gdb.base/help.exp: Adjust.
5515
55162009-11-22 Pedro Alves <pedro@codesourcery.com>
5517
5518 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5519 (do_syscall_tests_without_xml): Set data-directory to
5520 /the/path/to/nowhere.
5521
55222009-11-21 Pedro Alves <pedro@codesourcery.com>
5523
5524 * gdb.threads/local-watch-wrong-thread.c,
5525 gdb.threads/local-watch-wrong-thread.exp: New files.
5526
55272009-11-21 Pedro Alves <pedro@codesourcery.com>
5528
5529 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5530 assume new `regsub' syntax available.
5531
55322009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 * gdb.base/watchpoint-hw-hit-once.exp,
5535 gdb.base/watchpoint-hw-hit-once.c: New.
5536
55372009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5538
5539 * gdb.threads/watchthreads-reorder.exp,
5540 gdb.threads/watchthreads-reorder.c: New.
5541
55422009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5543
5544 * gdb.xml/tdesc-regs.exp: Use for m68k.
5545
55462009-11-15 Pedro Alves <pedro@codesourcery.com>
5547
5548 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5549
55502009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5551
5552 * lib/gdb.exp (current_target_name): New procedure.
5553 (gdb_wrapper_target): New variable.
5554 (gdb_wrapper_init): Set gdb_wrapper_target.
5555 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5556 wrapper.
5557
55582009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5559
5560 * gdb.base/remote.exp: Delete the slowest load test.
5561 Do not load with fixed packet sizes.
5562
55632009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5564
5565 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5566
55672009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5568
5569 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5570 srcfile when setting a breakpoint.
5571
55722009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5573
5574 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5575 macros.
5576
55772009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5578
5579 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5580 to be in memory.
5581 * gdb.base/display.c (force_mem): New.
5582 (do_loops): Use it. Add breakpoint comments.
5583 (do_vars): Add a breakpoint comment.
5584 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5585 line numbers.
5586
55872009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5588
5589 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5590 instead of a bare "run".
5591
55922009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5593
5594 * gdb.python/py-prettyprint.exp: Adjust.
5595
55962009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5597
5598 * lib/cell.exp (skip_cell_tests): Clean up test files before
5599 returning.
5600
56012009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5602
5603 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5604 and the breakpoint menu. Do not call perror if a prompt is seen.
5605 Consume the following GDB prompt.
5606 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5607 * gdb.cp/namespace.exp: Use gdb_test.
5608 * gdb.cp/templates.exp: Use gdb_test.
5609 (test_template_breakpoints): Use gdb_test_multiple.
5610
56112009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5612
5613 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5614 (marker4): Reference values.
5615
56162009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5617
5618 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5619 is missing.
5620
56212009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5622
5623 * gdb.base/break.c (need_malloc): New.
5624 * gdb.base/constvars.c (main): Reference crass and crisp.
5625 * gdb.base/gdb1821.c (main): Reference bar.
5626 * gdb.cp/gdb1355.cc (main): Reference s1.
5627 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5628 (main): Call them.
5629 * gdb.cp/hang2.cc (dummy2): Define.
5630 * gdb.cp/hang3.cc (dummy3): Define.
5631 * gdb.cp/m-data.cc (main): Reference shadow.
5632
56332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5634 Nathan Froyd <froydnj@codesourcery.com>
5635
5636 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5637 remote host.
5638
56392009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5640
5641 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5642 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5643 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5644 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5645 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5646 * gdb.dwarf2/dw2-producer.exp: Likewise.
5647 * gdb.dwarf2/mac-fileno.exp: Likewise.
5648 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5649 py-prettyprint.py to the remote host.
5650 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5651
56522009-11-11 Keith Seitz <keiths@redhat.com>
5653
5654 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5655 use it instead of "Foo".
5656 * gdb.cp/classes.exp (do_tests): Add a test to access
5657 a method through a typedef'd class name.
5658
56592009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5660
5661 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5662 exponents.
5663 * gdb.base/pointers.exp: Likewise.
5664 * gdb.cp/ref-types.exp: Likewise.
5665
56662009-11-11 Keith Seitz <keiths@redhat.com>
5667
5668 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5669 new[] and delete[].
5670 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5671 "void".
5672 (probe_demangler): Remove all single-quoting of
5673 method and variable names.
5674 (info_func_regexp): Remove the word "void" from any
5675 occurrence of "(void)".
5676 (print_addr_2): Remove all single-quoting of
5677 method names.
5678 (print_addr_2_kfail): Likewise.
5679 (print_addr): Single-quote C function names before
5680 passing to print_addr_2.
5681 (test_paddr_operator_functions): Remove single-quoting
5682 for method names.
5683 Add tests for operator new[] and operator delete[].
5684
56852009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5686
5687 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5688
56892009-11-09 Keith Seitz <keiths@redhat.com>
5690
5691 * gdb.cp/overload.exp: Add tests for resolving overloaded
5692 methods in expression parsing/evaluation.
5693
56942009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5695
5696 * lib/gdb.exp (default_gdb_version): Use --version instead of
5697 --command.
5698
56992009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5700
5701 * lib/gdb.exp (gdb_compile_test): New.
5702 (skip_ada_tests, skip_java_tests): New.
5703 (gdb_compile): Use gdb_compile_test for f77.
5704 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5705 * lib/java.exp (compile_java_from_source): Remove runtests check,
5706 use gdb_compile_test to record result.
5707 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5708 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5709 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5710 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5711 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5712 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5713 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5714 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5715 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5716 adjust gdb_compile invocations.
5717
57182009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5719
5720 * Makefile.in (abs_builddir): New.
5721 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5722 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5723 `$(abs_builddir)/site.exp'.
5724
57252009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5726
5727 * config/m68k-emc.exp, lib/emc-support.exp,
5728 gdb.trace/gdb_c_test.c: Delete.
5729 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5730 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5731 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5732 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5733 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5734 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5735 casing for m68k-*-elf.
5736
57372009-11-03 Pedro Alves <pedro@codesourcery.com>
5738
5739 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5740 * gdb.arch/i386-prologue.exp: Likewise.
5741 * gdb.arch/i386-unwind.exp: Likewise.
5742
57432009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5744
5745 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5746
57472009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5748
5749 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5750
57512009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5752
5753 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5754
57552009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5756
5757 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5758
57592009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5760
5761 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5762 * gdb.base/sepdebug2.c: New file.
5763
57642009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5765
5766 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5767 the modified warnings for catch syscall. Verify if GDB was compiled
5768 with support for lib expat, and choose which tests to run depending
5769 on this.
5770
57712009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5772
5773 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5774 that composite commands are parsed OK. And also test
5775 that breakpoint commands do work.
5776
57772009-10-23 Michael Snyder <msnyder@vmware.com>
5778
5779 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5780 to allow for new disassembly style.
5781
57822009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5783
5784 * gdb.asm/asm-source.exp: Adjust.
5785
57862009-10-22 Michael Snyder <msnyder@vmware.com>
5787
5788 * gdb.reverse/break-precsave.exp: New test.
5789 * gdb.reverse/consecutive-precsave.exp: Ditto.
5790 * gdb.reverse/finish-precsave.exp: Ditto.
5791 * gdb.reverse/i386-precsave.exp: Ditto.
5792 * gdb.reverse/machinestate-precsave.exp: Ditto.
5793 * gdb.reverse/sigall-precsave.exp: Ditto.
5794 * gdb.reverse/solilb-precsave.exp: Ditto.
5795 * gdb.reverse/step-precsave.exp: Ditto.
5796 * gdb.reverse/until-precsave.exp: Ditto.
5797 * gdb.reverse/watch-precsave.exp: Ditto.
5798
57992009-10-22 Michael Snyder <msnyder@vmware.com>
5800
5801 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5802 for gdb_expect. Adjust one test's expect strings for the new
5803 format of disassemble.
5804 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5805 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5806 gdb_test_multiple.
5807 * gdb.reverse/step-reverse.exp: Delete 'return'.
5808 * gdb.reverse/until-reverse.exp: Delete blank lines.
5809 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5810
58112009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5812
5813 * gdb.base/consecutive.exp: Adjust.
5814 * gdb.base/display.exp: Likewise.
5815 * gdb.base/pc-fp.exp: Likewise.
5816 * gdb.base/sigbpt.exp: Likewise.
5817
58182009-10-19 Michael Snyder <msnyder@vmware.com>
5819
5820 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5821 * gdb.reverse/finish-reverse.c: Ditto.
5822 * gdb.reverse/sigall-reverse.c: Ditto.
5823 * gdb.reverse/solib-reverse.c: Ditto.
5824 * gdb.reverse/step-reverse.c: Ditto.
5825 * gdb.reverse/watch-reverse.c: Ditto.
5826
58272009-10-19 Pedro Alves <pedro@codesourcery.com>
5828 Stan Shebs <stan@codesourcery.com>
5829
5830 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5831 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5832 "Executing new program".
5833 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5834 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5835 left listed after having been killed.
5836 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5837 * gdb.base/maint.exp: Adjust test.
5838
5839 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5840 * gdb.multi/Makefile.in: New.
5841 * gdb.multi/base.exp: New.
5842 * gdb.multi/goodbye.c: New.
5843 * gdb.multi/hangout.c: New.
5844 * gdb.multi/hello.c: New.
5845 * gdb.multi/bkpt-multi-exec.c: New.
5846 * gdb.multi/bkpt-multi-exec.exp: New.
5847 * gdb.multi/crashme.c: New.
5848
58492009-10-13 Tristan Gingold <gingold@adacore.com>
5850
5851 * gdb.base/sepdebug.exp: Check debug info are found.
5852
58532009-10-08 Pedro Alves <pedro@codesourcery.com>
5854
5855 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5856 bits.
5857
58582009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5859
5860 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5861
58622009-10-07 Joel Brobecker <brobecker@adacore.com>
5863
5864 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5865 of the comments.
5866
58672009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5868
5869 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5870 * gdb.base/annota3.exp: Idem.
5871 * gdb.base/maint.exp: Idem.
5872
58732009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5874
5875 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5876 to default.
5877
58782009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5879
5880 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5881 mingw and cygwin targets.
5882
58832009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5884 Pedro Alves <pedro@codesourcery.com>
5885
5886 * lib/gdb.exp (gdb_compile): Avoid adding
5887 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5888
58892009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5890
5891 * gdb.base/shr1.c: Use %p in format string.
5892 * gdb.base/unload.c: Avoid warning in fprintf.
5893 * gdb.base/watchpoint-solib.c: Idem.
5894
58952009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5896
5897 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5898 long type.
5899 (test_unlink): Correct printf string.
5900 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5901 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5902
59032009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5904
5905 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5906 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5907 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5908
59092009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5910
5911 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5912 * gdb.objc/nondebug.exp: Likewise.
5913
59142009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5915
5916 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5917 target_info setting.
5918
5919 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5920 that detect new threads during "info threads".
5921
59222009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5923
5924 * gdb.threads/manythreads.c (main): Increase thread stack size
5925 to 2*PTHREAD_STACK_MIN.
5926 * gdb.threads/multi-create.c (main): Likewise.
5927 (create_function): Likewise.
5928
59292009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5930
5931 * gdb.base/dump.exp: Pass difference of pointer types instead
5932 of integer types as offset to restore in intarr3.srec case.
5933
59342009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5935
5936 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5937
59382009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5939
5940 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5941
59422009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5943
5944 New test for two watchpoints, with disabling of
5945 the first inserted.
5946 * testsuite/gdb.base/watchpoints.c: New file.
5947 * testsuite/gdb.base/watchpoints.exp: New file.
5948
59492009-09-25 Tom Tromey <tromey@redhat.com>
5950
5951 * gdb.base/charset.exp: Test utf-16 strings with Python.
5952
59532009-09-25 Tom Tromey <tromey@redhat.com>
5954
5955 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5956 UCS-4.
5957 * gdb.base/charset.c (utf_32_string): Rename.
5958 (init_utf32): Rename.
5959 (main): Update.
5960
59612009-09-22 Tom Tromey <tromey@redhat.com>
5962
5963 * gdb.python/py-function.exp: Add regression tests.
5964
59652009-09-21 Keith Seitz <keiths@redhat.com>
5966
5967 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5968 with invalid operator.
5969
59702009-09-21 Keith Seitz <keiths@redhat.com>
5971
5972 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5973 and destructor using typedef name of class.
5974 * gdb.cp/classes.cc (class Base1): Add a destructor.
5975 (base1): New typedef.
5976 (use_methods): Instanitate an object of type base1.
5977 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5978 (do_tests): Call test_template_typedef.
5979 * gdb.cp/templates.cc (Baz::~Baz): New method.
5980 (intBazOne): New typedef.
5981 (main): Instantiate intBazOne.
5982
59832009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5984
5985 PR python/10633
5986
5987 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5988 Function.
5989 (run_lang_tests): Add print elements test.
5990
59912009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5992
5993 * gdb.python/py-value.exp (test_subscript_regression): New
5994 function. Test for invalid subscripts.
5995 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5996 (ptr_ref): New function.
5997
59982009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5999
6000 * gdb.base/default.exp: Fix "show convenience".
6001
60022009-09-15 Tom Tromey <tromey@redhat.com>
6003
6004 * lib/mi-support.exp (mi_create_varobj): Update.
6005 (mi_create_floating_varobj): Likewise.
6006 (mi_create_dynamic_varobj): New proc.
6007 (mi_varobj_update): Update.
6008 (mi_varobj_update_with_type_change): Likewise.
6009 (mi_varobj_update_kv_helper): New proc.
6010 (mi_varobj_update_dynamic_helper): Rewrite.
6011 (mi_varobj_update_dynamic): New proc.
6012 (mi_list_varobj_children): Update.
6013 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6014 * gdb.python/python-prettyprint.py (pp_outer): New class.
6015 (pp_nullstr): Likewise.
6016 (lookup_function): Register new printers.
6017 * gdb.python/python-prettyprint.c (struct substruct): New type.
6018 (struct outerstruct): Likewise.
6019 (substruct_test): New function.
6020 (struct nullstr): New type.
6021 (string_1, string_2): New globals.
6022 (main): Add new tests.
6023 * gdb.python/python-mi.exp: Added regression tests.
6024 * gdb.mi/mi2-var-display.exp: Update.
6025 * gdb.mi/mi2-var-cmd.exp: Update.
6026 * gdb.mi/mi2-var-child.exp: Update.
6027 * gdb.mi/mi2-var-block.exp: Update.
6028 * gdb.mi/mi-var-invalidate.exp: Update.
6029 * gdb.mi/mi-var-display.exp: Update.
6030 * gdb.mi/mi-var-cmd.exp: Update.
6031 * gdb.mi/mi-var-child.exp: Update.
6032 * gdb.mi/mi-var-block.exp: Update.
6033 * gdb.mi/mi-break.exp: Update.
6034 * gdb.mi/gdb701.exp: Update.
6035
60362009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6037
6038 * Makefile.in: Inclusion of catch-syscall object.
6039 * gdb.base/catch-syscall.c: New file.
6040 * gdb.base/catch-syscall.exp: New file.
6041
60422009-09-12 Michael Snyder <msnyder@vmware.com>
6043
6044 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6045 that can support reverse debuggnig.
6046
60472009-09-11 Tom Tromey <tromey@redhat.com>
6048
6049 * gdb.dwarf2/valop.S: New file.
6050 * gdb.dwarf2/valop.exp: New file.
6051
60522009-09-11 Mark Kettenis <kettenis@gnu.org>
6053
6054 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6055
60562009-09-10 Doug Evans <dje@google.com>
6057
6058 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6059 Add $gdb_prompt to second breakpoint regexp.
6060
60612009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6062
6063 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6064 names, add missing ones.
6065 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6066 * gdb.python/py-frame.c: Rename from python-frame.c.
6067 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6068 testfile name.
6069 * gdb.python/py-function.exp: Rename from python-function.exp.
6070 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6071 testfile name.
6072 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6073 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6074 Adjust testfile name.
6075 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6076 * gdb.python/py-template.cc: Rename from python-template.cc.
6077 * gdb.python/py-template.exp: Rename from python-template.exp.
6078 Adjust testfile name.
6079 * gdb.python/py-value.c: Rename from python-value.c.
6080 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6081 testfile name.
6082
60832009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6084
6085 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6086 $bpt2address.
6087 (Second breakpoint address is valid on ia64)
6088 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6089
60902009-09-03 Joseph Myers <joseph@codesourcery.com>
6091
6092 * gdb.base/ending-run.exp: Restrict regular expression matching
6093 line number to require closing brace following.
6094
60952009-09-03 Doug Evans <dje@google.com>
6096
6097 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6098
60992009-09-02 Tom Tromey <tromey@redhat.com>
6100
6101 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6102
61032009-09-02 Tom Tromey <tromey@redhat.com>
6104
6105 * gdb.dwarf2/callframecfa.exp: New file.
6106 * gdb.dwarf2/callframecfa.S: New file.
6107
61082009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6109
6110 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6111 gdb.base/solib-overlap-main.c: New.
6112
61132009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6114
6115 PR gdb/10565
6116
6117 * gdb.base/bitfields.c (struct container, container): New.
6118 (main): Initialize it and call break5.
6119 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6120
61212009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6124 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6125
61262009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6127
6128 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6129
61302009-08-26 Michael Snyder <msnyder@vmware.com>
6131
6132 * gdb.base/i386-reverse.c: New file.
6133 * gdb.base/i386-reverse.exp: New file.
6134 * gdb.base/Makefile.in: Add new files to be removed.
6135
61362009-08-26 Joseph Myers <joseph@codesourcery.com>
6137
6138 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6139 environment-pwd for remote host.
6140 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6141
61422009-08-24 Keith Seitz <keiths@redhat.com>
6143
6144 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6145 Add two new C++ completer tests which limit the output to a
6146 given class.
6147
61482009-08-24 Michael Snyder <msnyder@vmware.com>
6149
6150 * gdb.base/del.exp: Fix typo in comment.
6151 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6152
61532009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6154
6155 * configure: Regenerate.
6156 * gdb.hp/configure: Likewise.
6157 * gdb.hp/gdb.aCC/configure: Likewise.
6158 * gdb.hp/gdb.base-hp/configure: Likewise.
6159 * gdb.hp/gdb.compat/configure: Likewise.
6160 * gdb.hp/gdb.defects/configure: Likewise.
6161 * gdb.hp/gdb.objdbg/configure: Likewise.
6162 * gdb.stabs/configure: Likewise.
6163
61642009-08-19 Doug Evans <dje@google.com>
6165
6166 * gdb.base/gdbvars.c: New file.
6167 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6168
61692009-08-14 Pedro Alves <pedro@codesourcery.com>
6170
6171 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6172 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6173
61742009-08-13 Pedro Alves <pedro@codesourcery.com>
6175
6176 * gdb.base/default.exp: Adjust "set language test": it's now an
6177 enum command. Larger help string moved to "help set language".
6178 * gdb.base/help.exp: Adjust "help set language" expected output,
6179 now lists all known languages.
6180
61812009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6182
6183 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6184 all frame arguments.
6185 * gdb.arch/altivec-regs.exp: Likewise.
6186
61872009-08-07 Tom Tromey <tromey@redhat.com>
6188
6189 * gdb.base/setshow.exp: Add tests for changes to set language, set
6190 check range, and set check type.
6191
61922009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6193
6194 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6195 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
6196 Call it.
6197
61982009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6199
6200 * configure.ac: Run gdb.cell tests when appropriate.
6201 * configure: Regenerate.
6202 * lib/cell.exp: New file.
6203 * gdb.cell: New directory.
6204 * gdb.cell/configure.ac: New file.
6205 * gdb.cell/configure: New file.
6206 * gdb.cell/Makefile.in: New file.
6207 * gdb.cell/arch.exp: New file.
6208 * gdb.cell/break.c: New file.
6209 * gdb.cell/break.exp: New file.
6210 * gdb.cell/break-spu.c: New file.
6211 * gdb.cell/bt.c: New file.
6212 * gdb.cell/bt2-spu.c: New file.
6213 * gdb.cell/bt-spu.c: New file.
6214 * gdb.cell/bt.exp: New file.
6215 * gdb.cell/coremaker.c: New file.
6216 * gdb.cell/coremaker-spu.c: New file.
6217 * gdb.cell/core.exp: New file.
6218 * gdb.cell/gcore.exp: New file.
6219 * gdb.cell/data.c: New file.
6220 * gdb.cell/data.exp: New file.
6221 * gdb.cell/data-spu.c: New file.
6222 * gdb.cell/ea-cache.exp: New file.
6223 * gdb.cell/ea-cache.c: New file.
6224 * gdb.cell/ea-cache-spu.c: New file.
6225 * gdb.cell/ea-standalone.c: New file.
6226 * gdb.cell/ea-standalone.exp: New file.
6227 * gdb.cell/ea-test.c: New file.
6228 * gdb.cell/ea-test.exp: New file.
6229 * gdb.cell/f-regs.exp: New file.
6230 * gdb.cell/mem-access.c: New file.
6231 * gdb.cell/mem-access.exp: New file.
6232 * gdb.cell/mem-access-spu.c: New file.
6233 * gdb.cell/ptype.exp: New file.
6234 * gdb.cell/registers.exp: New file.
6235 * gdb.cell/size.c: New file.
6236 * gdb.cell/sizeof.exp: New file.
6237 * gdb.cell/size-spu.c: New file.
6238 * gdb.cell/solib.exp: New file.
6239 * gdb.cell/solib-symbol.exp: New file.
6240
62412009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6242
6243 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6244
62452009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6246
6247 * gdb.base/float.exp: Handle VFP registers.
6248
62492009-07-14 Michael Snyder <msnyder@vmware.com>
6250
6251 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6252 to bring gdb to the beginning of the calling line.
6253
6254 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6255 confusing the i386 epilogue unwinder.
6256
62572009-07-14 Stan Shebs <stan@codesourcery.com>
6258
6259 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6260
62612009-07-14 Michael Snyder <msnyder@vmware.com>
6262
6263 * gdb.reverse/step-reverse.exp (stepi into function call):
6264 Call instruction may not be first instruction in the line.
6265 (reverse stepi from a function call): Used wrong line number.
6266
62672009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6270
62712009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6272
6273 Fix gdb.base/macscp.exp when using custom inputrc.
6274 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6275 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6276 env(TERM) set.
6277 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6278 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6279
62802009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6281
6282 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6283 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6284 Change the compilation target to match the testcase name.
6285 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6286 testcase name.
6287 * a2-run.exp: Use for setup prepare_for_testing. Change the
6288 compilation target to match the testcase name.
6289 * gdb.base/commands.exp: Likewise.
6290 * gdb.base/finish.exp: Likewise.
6291 * gdb.base/float.exp: Likewise.
6292 * gdb.base/info-target.exp: Likewise.
6293 * gdb.base/relational.exp: Likewise.
6294 * gdb.base/term.exp: Likewise.
6295 * gdb.base/until.exp: Likewise.
6296 * gdb.base/volatile.exp: Likewise.
6297 * gdb.base/whatis-exp.exp: Likewise.
6298
62992009-07-11 Hui Zhu <teawater@gmail.com>
6300
6301 * gdb.base/help.exp (disassemble): Update expected help text.
6302
63032009-07-09 Tom Tromey <tromey@redhat.com>
6304
6305 * lib/gdb.exp: Handle TRANSCRIPT.
6306 (remote_spawn, remote_close, send_gdb): New procs.
6307
63082009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6309
6310 * gdb.python/python-prettyprint.c: Add counted null string
6311 structure.
6312 * gdb.python/python-prettyprint.exp: Print null string. Test for
6313 embedded nulls.
6314 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6315 * gdb.python/python-value.exp (test_value_in_inferior): Add
6316 variable length string fetch tests.
6317 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6318
63192009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6320
6321 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6322
63232009-07-07 Tom Tromey <tromey@redhat.com>
6324
6325 * gdb.base/call-rt-st.exp: Update for change to escape output.
6326 * gdb.base/callfuncs.exp: Likewise.
6327 * gdb.base/charset.exp: Likewise.
6328 * gdb.base/constvars.exp: Likewise.
6329 * gdb.base/long_long.exp: Likewise.
6330 * gdb.base/pointers.exp: Likewise.
6331 * gdb.base/printcmds.exp: Likewise.
6332 * gdb.base/setvar.exp: Likewise.
6333 * gdb.base/store.exp: Likewise.
6334 * gdb.cp/ref-types.exp: Likewise.
6335 * gdb.mi/mi-var-child.exp: Likewise.
6336 * gdb.mi/mi-var-display.exp: Likewise.
6337 * gdb.mi/mi2-var-display.exp: Likewise.
6338 * gdb.base/charset.exp: Test octal escape sequence length.
6339 Update for change to escape output.
6340
63412009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6342
6343 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6344
63452009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6346
6347 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6348
63492009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6350
6351 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6352 gdbserver increasing $portnum if "Can't bind address" has been seen.
6353
63542009-07-05 Pedro Alves <pedro@codesourcery.com>
6355
6356 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6357 mingw32ce.
6358
63592009-07-05 Pedro Alves <pedro@codesourcery.com>
6360
6361 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6362 VFP format.
6363
63642009-07-02 Pedro Alves <pedro@codesourcery.com>
6365
6366 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6367 linux. Adjust to use "inferior", "info inferiors", "detach
6368 inferior" and "kill inferior" instead of "restart", "info fork",
6369 "detach fork" and "delete fork".
6370 * gdb.base/ending-run.exp: Spell out "info".
6371 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6372 the "kill" command.
6373
63742009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6375
6376 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6377 change to prefix TLS offset in hex with 0x.
6378
63792009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6380
6381 * gdb.base/default.exp: Update test case for "x" changes.
6382
63832009-07-01 Tristan Gingold <gingold@adacore.com>
6384
6385 * gdb.base/bigcore.exp: Make darwin untested.
6386
63872009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6388
6389 * gdb.base/completion.exp (directory completion): Create the directory.
6390 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6391 escapeuniquesub.
6392 (directory completion 2): Expect now ${escapeuniquesub}.
6393 (Glob remaining of directory test): Remove one excessive newline.
6394 Expect the real output.
6395
63962009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6397
6398 Fix `make check//%' target after `make check' has been ran.
6399 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6400 a mkdir call.
6401 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6402 (%/.dir): Remove.
6403
64042009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6405
6406 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6407 the expected result record.
6408
64092009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 Remove racy FAILs relying just on the timeouts.
6412 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6413 (annotation_level 2): Remove racy FAILs.
6414
64152009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6416
6417 gdb/10275
6418 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6419
64202009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6421
6422 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6423
64242009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6425
6426 * gdb.mi/mi-stack.exp: Testing symbolic options
6427 to -stack-list-locals and -stack-list-arguments.
6428
64292009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6430
6431 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6432
64332009-06-29 Tom Tromey <tromey@redhat.com>
6434
6435 * dg-extract-results.sh: New file.
6436 * Makefile.in (FORCE_PARALLEL): New variable.
6437 (CHECK_TARGET): New conditional variable.
6438 (check): Use CHECK_TARGET.
6439 (DO_RUNTEST): New variable.
6440 (check-single): New target.
6441 (TEST_DIRS): New variable.
6442 (TEST_TARGETS): Likewise.
6443 (check-parallel): New target.
6444 (check-gdb.%): New pattern.
6445 (BASE1_FILES): New variable.
6446 (BASE2_FILES): Likewise.
6447 (check-gdb.base%): New pattern.
6448 (%/.dir): New pattern.
6449 * configure: Rebuild.
6450 * aclocal.m4 (AM_CONDITIONAL): New defun.
6451 * configure.ac: Check whether user is using GNU make.
6452 (GMAKE): New conditional.
6453
64542009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6455
6456 * gdb.cp/namespace-nested-import.cc: New test.
6457 * gdb.cp/namespace-nested-import.exp: New test.
6458
64592009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6460
6461 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6462 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6463 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6464 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6465 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6466 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6467 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6468 gdb.opt/inline-markers.c: New files.
6469 * lib/gdb.exp (skip_inline_frame_tests): New function.
6470 (skip_inline_var_tests): New function.
6471
64722009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6473
6474 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6475 backtrace.
6476
64772009-06-27 Michael Snyder <msnyder@vmware.com>
6478
6479 * gdb.reverse: New directory.
6480 * gdb.reverse/break-reverse.c: New test.
6481 * gdb.reverse/break-reverse.exp: New test.
6482 * gdb.reverse/consecutive-reverse.c: New test.
6483 * gdb.reverse/consecutive-reverse.exp: New test.
6484 * gdb.reverse/finish-reverse.c: New test.
6485 * gdb.reverse/finish-reverse.exp: New test.
6486 * gdb.reverse/machinestate.c: New test.
6487 * gdb.reverse/ms1.c: New test.
6488 * gdb.reverse/machinestate.exp: New test.
6489 * gdb.reverse/Makefile.in: New file.
6490 * gdb.reverse/shr2.c: New test.
6491 * gdb.reverse/solib-reverse.c: New test.
6492 * gdb.reverse/solib-reverse.exp: New test.
6493 * gdb.reverse/step-reverse.c: New test.
6494 * gdb.reverse/step-reverse.exp: New test.
6495 * gdb.reverse/until-reverse.c: New test.
6496 * gdb.reverse/ur1.c: New test.
6497 * gdb.reverse/until-reverse.exp: New test.
6498 * gdb.reverse/watch-reverse.c: New test.
6499 * gdb.reverse/watch-reverse.exp: New test.
6500 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6501 * configure: Regenerate.
6502
65032009-06-26 Doug Evans <dje@google.com>
6504
6505 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6506
65072009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6508
6509 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6510 windows problem for 'file delete $binfile'.
6511
65122009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6513
6514 * gdb.cp/namespace-using.exp: New test.
6515 * gdb.cp/namespace-using.cc: New test.
6516
65172009-05-20 Joel Brobecker <brobecker@adacore.com>
6518
6519 * gdb.ada/variant_record_packed_array: New testcase.
6520
65212009-06-23 Tom Tromey <tromey@redhat.com>
6522
6523 * gdb.base/charset.exp (test_combination): Regression test.
6524 * gdb.base/charset.c (my_wchar_t): New typedef.
6525 (myvar): New global.
6526 (main): Set myvar.
6527
65282009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6529
6530 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6531 target.
6532
65332009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6534
6535 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6536
65372009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6538
6539 * gdb.mi/gdb680.exp: Update test for error message.
6540
65412009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6542
6543 * gdb.base/annota1.exp: Allow multiple occurrences of the
6544 frames-invalid annotation.
6545 * gdb.cp/annota2.exp: Likewise.
6546
65472009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6548
6549 * gdb.cp/gdb2495.cc: New file.
6550 * gdb.cp/gdb2495.exp: New file.
6551
65522009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6553
6554 Report error on GDB crash during runto.
6555 * lib/gdb.exp (runto <eof>): New.
6556
65572009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6558
6559 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6560 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6561 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6562 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6563 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6564 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6565 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6566 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6567 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6568 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6569 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6570 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6571 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6572 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6573 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6574 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6575 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6576 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6577 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6578 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6579 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6580 gdb.trace/passcount.exp, gdb.trace/report.exp,
6581 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6582 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6583 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6584 executable.
6585
65862009-06-07 Pedro Alves <pedro@codesourcery.com>
6587
6588 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6589 defined before referencing it.
6590
65912009-06-03 Doug Evans <dje@google.com>
6592
6593 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6594 * gdb.arch/i386-see.c: Ditto.
6595
65962009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6597
6598 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6599 (check_macro): Return 1 if undefined.
6600 If first test fails, check if macro debug information is available,
6601 and report unsupported test if no macro information is found.
6602
66032009-05-29 Doug Evans <dje@google.com>
6604
6605 * gdb.threads/hand-call-in-threads.exp: New.
6606 * gdb.threads/hand-call-in-threads.c: New.
6607
66082009-05-29 Michael Snyder <msnyder@vmware.com>
6609
6610 * gdb.base/break-always.exp: Change "1" to "on".
6611 Add confirmation check.
6612
66132009-05-28 Pedro Alves <pedro@codesourcery.com>
6614
6615 * gdb.threads/threxit-hop-specific.c: New.
6616 * gdb.threads/threxit-hop-specific.exp: New.
6617 * gdb.threads/thread-execl.c: New.
6618 * gdb.threads/thread-execl.exp: New.
6619
66202009-05-27 Tom Tromey <tromey@redhat.com>
6621 Thiago Jung Bauermann <bauerman@br.ibm.com>
6622
6623 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6624 (mi_child_regexp): Likewise.
6625 (mi_list_varobj_children_range): Likewise.
6626 (mi_get_features): Likewise.
6627 (mi_list_varobj_children): Rewrite.
6628 * gdb.python/python-mi.exp: New file.
6629
66302009-05-27 Tom Tromey <tromey@redhat.com>
6631 Thiago Jung Bauermann <bauerman@br.ibm.com>
6632 Phil Muldoon <pmuldoon@redhat.com>
6633 Paul Pluzhnikov <ppluzhnikov@google.com>
6634
6635 * gdb.python/python-prettyprint.exp: New file.
6636 * gdb.python/python-prettyprint.c: New file.
6637 * gdb.python/python-prettyprint.py: New file.
6638 * gdb.base/display.exp: print/r is now valid.
6639
66402009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6641 Tom Tromey <tromey@redhat.com>
6642 Pedro Alves <pedro@codesourcery.com>
6643 Paul Pluzhnikov <ppluzhnikov@google.com>
6644
6645 * gdb.python/python-template.exp: New file.
6646 * gdb.python/python-template.cc: New file.
6647 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6648 tests.
6649 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6650 Call it.
6651 (test_value_after_death): New proc.
6652 * gdb.python/python-value.c (PTR): New typedef.
6653 (main): New variable 'x'.
6654
66552009-05-27 Tom Tromey <tromey@redhat.com>
6656
6657 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6658 tests.
6659 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6660 Call it.
6661
66622009-05-27 Pedro Alves <pedro@codesourcery.com>
6663
6664 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6665
66662009-05-24 Pedro Alves <pedro@codesourcery.com>
6667
6668 * gdb.threads/fork-thread-pending.c: New.
6669 * gdb.threads/fork-thread-pending.exp: New.
6670
66712009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6672
6673 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6674 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6675
66762009-05-18 Jon Beniston <jon@beniston.com>
6677
6678 * gdb.asm/asm-source.exp: Add lm32 target.
6679
66802009-05-17 Pedro Alves <pedro@codesourcery.com>
6681
6682 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6683 `gdb_get_line_number'. Call `callee' in both parent and child.
6684 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6685 `gdb_get_line_number' instead of hardcoding line numbers.
6686 (catch_fork_unpatch_child): New procedure to test detaching
6687 breakpoints from child fork.
6688 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6689 hardcoding line numbers.
6690 (do_fork_tests): Run `catch_fork_unpatch_child'.
6691
66922009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6693
6694 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6695 of structure type enters or leaves the scope, it
6696 is reported by -var-update.
6697
66982009-05-11 Doug Evans <dje@sebabeach.org>
6699
6700 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6701 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6702 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6703
67042009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6705
6706 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6707
67082009-04-30 Doug Evans <dje@google.com>
6709
6710 * gdb.threads/watchthreads2.exp: New testcase.
6711 * gdb.threads/watchthreads2.c: New testcase.
6712
67132009-04-29 Doug Evans <dje@google.com>
6714
6715 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6716 * gdb.cp/mb-ctor.cc: Ditto.
6717 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6718 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6719 * gdb.cp/mb-inline1.cc: Call it.
6720 * gdb.cp/mb-inline2.cc: Ditto.
6721 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6722 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6723
67242009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6725
6726 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6727 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6728 Replace all uses of `decimal' by `nonzero'.
6729 (info macro FROM_COMMANDLINE): New test.
6730
67312009-04-27 Tom Tromey <tromey@redhat.com>
6732
6733 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6734
67352009-04-27 Doug Evans <dje@google.com>
6736
6737 * gdb.threads/watchthreads.c (main): Initialize args before starting
6738 the threads. Plus formatting cleanup.
6739 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6740 biased scheduling of one thread.
6741
67422009-04-27 Jerome Guitton <guitton@adacore.com>
6743
6744 * gdb.cp/templates.cc (GetMax): New template.
6745 (main): Declare two instances of GetMax.
6746 * gdb.cp/templates.exp: Add new test.
6747
67482009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6749
6750 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6751
67522009-04-22 Joseph Myers <joseph@codesourcery.com>
6753
6754 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6755
67562009-04-15 Tom Tromey <tromey@redhat.com>
6757
6758 * gdb.base/charset.exp: Add regression test.
6759
67602009-04-14 Joel Brobecker <brobecker@adacore.com>
6761
6762 * gdb.base/exe-lock.exp: New testcase.
6763
67642009-04-13 Tom Tromey <tromey@redhat.com>
6765
6766 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6767 operator on Frame.
6768
67692009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6770
6771 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6772 * gdb.server/ext-attach.exp: Likewise.
6773
67742009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6775
6776 Eliminate some sleep usage.
6777
6778 * gdb.mi/basics.c (do_nothing): New.
6779 (main): Use do_nothing instead of printf, so that
6780 not to introduce race condition between output of
6781 inferiour and output of gdb. Do not use sleep as it
6782 is not generally available on embedded targets.
6783
67842009-04-02 Pedro Alves <pedro@codesourcery.com>
6785
6786 * gdb.server/ext-attach.exp: Expect an optional process id after
6787 "Detached from remote process".
6788
67892009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6790
6791 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6792 gdb.dwarf2/dw2-unresolved.exp: New.
6793
67942009-04-02 Pedro Alves <pedro@codesourcery.com>
6795
6796 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6797 mi_run_to_main.
6798
67992009-04-02 Pedro Alves <pedro@codesourcery.com>
6800
6801 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6802 mi_run_to_main. Skip thread exit test on remote targets.
6803 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6804 mi_run_to_main.
6805 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6806 mi_run_to_main.
6807 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6808 when expecting ^connected. Detect when the target doesn't support
6809 non-stop mode.
6810 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6811 supported. Return -1 on error, 0 on success.
6812 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6813 (mi_runto): Return mi_runto_helper's result explicitly.
6814
68152009-04-01 Pedro Alves <pedro@codesourcery.com>
6816
6817 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6818
68192009-04-01 Tom Tromey <tromey@redhat.com>
6820
6821 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6822 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6823 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6824 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6825
68262009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6827 Jan Kratochvil <jan.kratochvil@redhat.com>
6828
6829 PR gdb/931
6830 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6831 output.
6832 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6833 for gdb/931.
6834 * dw2-strp.S (DW_AT_language): Change to C++.
6835 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6836
68372009-03-31 Joel Brobecker <brobecker@adacore.com>
6838
6839 * gdb.ada/tasks: New testcase.
6840
68412009-03-30 Stan Shebs <stan@codesourcery.com>
6842
6843 * gdb.trace/actions.exp: Update to match new info trace format.
6844 * gdb.trace/deltrace.exp: Ditto.
6845 * gdb.trace/infotrace.exp: Ditto.
6846 * gdb.trace/passcount.exp: Ditto.
6847 * gdb.trace/save-trace.exp: Ditto.
6848 * gdb.trace/while-stepping.exp: Ditto.
6849 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6850
68512009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6852
6853 * gdb.python/python-frame.c: New file.
6854 * gdb.python/python-frame.exp: New file.
6855
68562009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6857
6858 * gdb.python/python-value.exp: Add tests for the address
6859 attribute.
6860
68612009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6862
6863 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6864
68652009-03-26 Doug Evans <dje@google.com>
6866
6867 * gdb.mi/mi-nonstop-exit.exp: New file.
6868 * gdb.mi/non-stop-exit.c: New file.
6869
68702009-03-26 Tom Tromey <tromey@redhat.com>
6871
6872 Update for change to prologue skipping:
6873 * gdb.mi/mi2-simplerun.exp: Update.
6874 * gdb.mi/mi2-break.exp: Update.
6875 * gdb.mi/mi-simplerun.exp: Update.
6876 * gdb.mi/mi-break.exp: Update.
6877 * gdb.base/ending-run.exp: Update.
6878
68792009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6880
6881 * gdb.python/python-value.exp (test_value_in_inferior): Test
6882 gdb.Value.is_optimized_out attribute.
6883
68842009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6885
6886 * gdb.dwarf2/dw2-noloc-main.c: New file.
6887 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6888 (.text): Remove.
6889 (.data): New.
6890 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6891 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6892 (DW_TAG_subprogram func_cu1, noloc): Remove.
6893 (main): New.
6894 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6895 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6896 (file_symbols): New procedure.
6897
68982009-03-25 Tom Tromey <tromey@redhat.com>
6899
6900 * gdb.base/charset.exp (valid_target_charset): New proc.
6901 Use it to skip tests on invalid charsets.
6902
69032009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6904
6905 * gdb.base/completion.exp: Add a test for directory completion.
6906
69072009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 Fix a racy FAIL.
6910 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6911 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6912
69132009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6914
6915 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6916 * gdb.python/python-function.exp: Add test for function returning
6917 a GDB value.
6918
69192009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6920
6921 * gdb.python/python-function.exp: New file.
6922
69232009-03-20 Tom Tromey <tromey@redhat.com>
6924
6925 * gdb.base/store.exp: Update for change to escape output.
6926 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6927 to escape output.
6928 * gdb.base/pointers.exp: Update for change to escape output.
6929 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6930 to escape output.
6931 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6932 escape output.
6933 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6934 to escape output.
6935 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6936 escape output.
6937 * gdb.base/setvar.exp: Update for change to escape output.
6938 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6939 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6940 to escape output.
6941 (test_print_string_constants): Likewise.
6942 * gdb.base/charset.exp (valid_host_charset): Check size of
6943 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6944 cases. Handle "auto"-related output.
6945 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6946 (uvar, Uvar): New globals.
6947
69482009-03-19 Jerome Guitton <guitton@adacore.com>
6949
6950 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6951 deltas.
6952 * gdb.ada/fixed_points.exp: Ditto.
6953
69542009-03-18 Pedro Alves <pedro@codesourcery.com>
6955
6956 * return-nodebug.c: Don't include stdio.h.
6957 (init): Delete.
6958 (func): Delete definition and provide extern declaration.
6959 (t): New.
6960 (main): Don't call printf. Call func and store its result in t.
6961 * return-nodebug1.c: New.
6962 * return-nodebug.exp: Don't expect stdio output. Instead, print
6963 the global variable t. Drop printf formatters and cast types from
6964 foreach loop. Don't use prepare_for_testing. Compile
6965 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6966 define FORMAT or CAST.
6967
69682009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6969
6970 * gdb.base/solib-display.exp: Disable test for remote targers.
6971
69722009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6973
6974 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6975
69762009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6977
6978 Fix a racy FAIL.
6979 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6980 code from `follow parent, print pids'.
6981 (`follow child, print pids', `follow parent, print pids'): Call it.
6982 Replace `gdb_test "break..."' by gdb_breakpoint.
6983
69842009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6985
6986 * gdb.mi/mi-cli.exp: Adjust for output difference in
6987 sync and async modes.
6988
69892009-03-12 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6992 that was checked in by mistake. Remove loading of ada.exp, since
6993 this is not necessary in this case.
6994
69952009-03-12 Joel Brobecker <brobecker@adacore.com>
6996
6997 * gdb.ada/ptype_arith_binop.exp: New testcase.
6998
69992009-03-12 Joel Brobecker <brobecker@adacore.com>
7000
7001 * gdb.ada/mod_from_name: New testcase.
7002
70032009-03-12 Joel Brobecker <brobecker@adacore.com>
7004
7005 * gdb.ada/tick_last_segv: New testcase.
7006
70072009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7008
7009 * gdb.mi/mi-cli.exp: Remove debug print.
7010
70112009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7012
7013 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7014 include the token in ^running and frame info in *stopped.
7015
70162009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7017
7018 * solib-display.exp: New file.
7019 * solib-display-main.c: New file.
7020 * solib-display-lib.c: New file.
7021
70222009-03-05 Pedro Alves <pedro@codesourcery.com>
7023
7024 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7025
70262009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7027
7028 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7029 (list_and_check_macro): Use more specific test name.
7030 (next to definition): Make the test names unique.
7031
70322009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7033
7034 * gdb.pascal/floats.exp: Accept approximate results everywhere.
7035
70362009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7037
7038 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7039 notifications.
7040 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7041 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7042 * lib/mi-support.exp (library_loaded_re): New.
7043 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7044
70452009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7046
7047 * gdb.gdb/observer.exp: Use test_notification observer, not
7048 normal_stop, everywhere.
7049 (test_normal_stop_notifications): Rename to...
7050 (test_notifications): ...this.
7051 (test_observer_normal_stop): Rename to...
7052 (test_observer): ...this.
7053
70542009-02-16 Doug Evans <dje@google.com>
7055
7056 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7057 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7058 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7059 (test_prefixed_syscall,test_int3): New tests.
7060 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7061 (test_prefixed_syscall,test_int3): New tests.
7062
70632009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7064
7065 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7066 (mi_expect_interrupt): Likewise.
7067 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7068 response.
7069
70702009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7071
7072 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7073 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7074 Replace calls to get_valueofx by get_hexadecimal_valueof.
7075
70762009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7077
7078 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7079 (get_integer_valueof): New procedure.
7080 (get_sizeof): Use new get_integer_value_of.
7081 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7082 by get_integer_valueof.
7083
70842009-02-13 Tom Tromey <tromey@redhat.com>
7085
7086 * gdb.base/remote.exp (get_sizeof): Remove.
7087 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7088 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7089 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7090 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7091 (get_sizeof): Likewise.
7092
70932009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7094
7095 PR fortran/9806
7096 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7097
70982009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7099
7100 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7101
71022009-02-06 Pedro Alves <pedro@codesourcery.com>
7103
7104 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7105
71062009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7107
7108 * gdb.python/python-cmd.exp: New file.
7109
71102009-02-06 Tristan Gingold <gingold@adacore.com>
7111
7112 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7113
71142009-02-05 Tristan Gingold <gingold@adacore.com>
7115
7116 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7117 pointer is dereferenced and use this signal name in regexp.
7118 * gdb.base/signull.exp: Ditto.
7119 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7120 * gdb.base/signull.c (main): Ditto.
7121
71222009-02-04 Tom Tromey <tromey@redhat.com>
7123 Thiago Jung Bauermann <bauerman@br.ibm.com>
7124
7125 * gdb.python/python-value.exp: Use `gdb.history' instead of
7126 `gdb.value_from_history'.
7127 (test_value_numeric_ops): Add test for conversion of enum constant.
7128 * gdb.python/python-value.c (enum e): New type.
7129 (evalue): New global.
7130 (main): Use argv.
7131
71322009-02-04 Jerome Guitton <guitton@adacore.com>
7133
7134 * gdb.ada/uninitialized_vars: New test program.
7135 * gdb.ada/uninitialized_vars.exp: New testcase.
7136
71372009-02-02 Tom Tromey <tromey@redhat.com>
7138
7139 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7140 * gdb.cp/pr2489.cc: Rename...
7141 * gdb.cp/pr9594.cc: ... to this.
7142
71432009-02-02 Tom Tromey <tromey@redhat.com>
7144
7145 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7146 * gdb.cp/pr2489.cc: New file.
7147 * gdb.cp/cpcompletion.exp: New file.
7148
71492009-02-02 Tom Tromey <tromey@redhat.com>
7150
7151 PR exp/9059:
7152 * gdb.cp/call-c.exp: Add regression test.
7153 * gdb.cp/call-c.cc (FooHandle): New typedef.
7154 (main): New variable 'handle'.
7155
71562009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7157
7158 * lib/mi-support.exp (et_mi_thread_list)
7159 (check_mi_and_console_threads): Adjust for current thread in
7160 -thread-list-ids output.
7161
71622009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7163
7164 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7165 Call it.
7166
71672009-01-28 Doug Evans <dje@google.com>
7168
7169 * gdb.arch/amd64-disp-step.S: New file.
7170 * gdb.arch/amd64-disp-step.exp: New file.
7171 * gdb.arch/i386-disp-step.S: New file.
7172 * gdb.arch/i386-disp-step.exp: New file.
7173
71742009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7175
7176 * gdb.base/find.exp: Set newline variable
7177 using quotes instead of braces to fix cygwin failures.
7178
71792009-01-23 Pedro Alves <pedro@codesourcery.com>
7180
7181 * gdb.base/radix.exp: Add tests to ensure that that set
7182 input-radix 0 and set output-radix 0 are really rejected.
7183
71842009-01-23 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7187 copyright years.
7188
71892009-01-23 Pedro Alves <pedro@codesourcery.com>
7190
7191 PR gdb/9664:
7192 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7193
71942009-01-22 Pedro Alves <pedro@codesourcery.com>
7195
7196 PR c++/9631:
7197 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7198
71992009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7200
7201 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7202 binfile definition to fix Windows OS failure.
7203
72042009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7205
7206 PR gdb/9346
7207 * gdb.base/interrupt.c (sigint_handler): New.
7208 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7209 on error.
7210 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7211 Test "signal SIGINT".
7212
72132009-01-19 Doug Evans <dje@google.com>
7214
7215 * gdb.base/break.exp: Update expected gdb output.
7216 * gdb.base/sepdebug.exp: Ditto.
7217 * gdb.mi/mi-syn-frame.exp: Ditto.
7218 * gdb.mi/mi2-syn-frame.exp: Ditto.
7219 * gdb.base/call-signal-resume.exp: New file.
7220 * gdb.base/call-signals.c: New file.
7221 * gdb.base/unwindonsignal.exp: New file.
7222 * gdb.base/unwindonsignal.c: New file.
7223 * gdb.threads/interrupted-hand-call.exp: New file.
7224 * gdb.threads/interrupted-hand-call.c: New file.
7225 * gdb.threads/thread-unwindonsignal.exp: New file.
7226
72272009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7228
7229 * gdb.base/define.exp: Test defining and hooking prefix commands.
7230 * gdb.python/python.exp: Update test for "show user" output.
7231
72322009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7233
7234 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7235 now the output exactly, using less wildcards. Expect also the output
7236 of gfortran-4.3. Update for the f-valprint.c modification from
7237 2008-04-22.
7238 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7239 Remove gdb_test test names where matching the command.
7240
72412009-01-01 Pedro Alves <pedro@codesourcery.com>
7242
7243 PR breakpoints/9681:
7244 * gdb.base/watchpoint.exp: Add regression test.
7245
72462008-12-31 Pedro Alves <pedro@codesourcery.com>
7247
7248 * gdb.threads/attach-into-signal.exp: Don't use
7249 gdb_suppress_entire_file.
7250 * gdb.threads/attach-stopped.exp: Ditto.
7251 * gdb.threads/attachstop-mt.exp: Ditto.
7252
72532008-12-31 Pedro Alves <pedro@codesourcery.com>
7254
7255 PR gdb/8812:
7256 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7257
72582008-12-29 Pedro Alves <pedro@codesourcery.com>
7259
7260 PR gdb/7536:
7261 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7262 and unsupported output radices are really rejected.
7263
72642008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7265
7266 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7267
72682008-12-22 Tom Tromey <tromey@redhat.com>
7269
7270 * gdb.cp/punctuator.exp: New file.
7271
72722008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7273
7274 * gdb.base/completion.exp (Completing non-existing component): New test.
7275
72762008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7277
7278 Fix for PR gdb/8648.
7279 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7280 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7281 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7282 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7283
72842008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7287
72882008-12-16 Christophe Lyon <christophe.lyon@st.com>
7289
7290 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7291 compiler actually generate code at the expected line number.
7292
72932008-12-15 Jie Zhang <jie.zhang@analog.com>
7294
7295 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7296
72972008-12-12 Tom Tromey <tromey@redhat.com>
7298
7299 * gdb.base/commands.exp (redefine_hook_test): New proc.
7300 Call it.
7301
73022008-12-11 Tom Tromey <tromey@redhat.com>
7303
7304 * gdb.base/macscp.exp: New regression test.
7305
73062008-12-11 Tom Tromey <tromey@redhat.com>
7307
7308 * gdb.base/macscp.exp: Print "address.addr".
7309 * gdb.base/macscp1.c (struct outer): New struct.
7310 (address): New global.
7311
73122008-12-09 Tom Tromey <tromey@redhat.com>
7313
7314 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7315 Call it.
7316
73172008-12-04 Doug Evans <dje@google.com>
7318
7319 * gdb.server/ext-run.exp: Relax regexp for init program.
7320
73212008-12-03 Tristan Gingold <gingold@adacore.com>
7322
7323 * gdb.base/macscp.exp: Generate an object file during compilation
7324 to work around Darwin dsymutil limitations.
7325
73262008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7327
7328 Test resolving external references to TLS variables.
7329 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7330 FILE2_THREAD_LOCAL.
7331 (testfile2, srcfile2): New variables.
7332 * gdb.threads/tls.c (file2_thread_local)
7333 (function_referencing_file2_thread_local): New.
7334 * gdb.threads/tls2.c: New file.
7335
73362008-11-28 Joel Brobecker <brobecker@adacore.com>
7337
7338 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
7339 rather than integer, as integer might not be big enough when
7340 on 64bit targets.
7341
73422008-11-27 Jerome Guitton <guitton@adacore.com>
7343
7344 * gdb.cp/formatted-ref.exp: Add equality test.
7345 * gdb.ada/formatted_ref.exp: Ditto.
7346
73472008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7350 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7351
73522008-11-20 Andreas Schwab <schwab@suse.de>
7353
7354 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7355 matching syscall entry point.
7356 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7357 (tcatch_vfork_then_child_follow): Likewise. Finish through
7358 vfork even if we stopped at the syscall trampoline.
7359
73602008-11-20 Doug Evans <dje@google.com>
7361
7362 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7363
73642008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7365
7366 * gdb.arch/ppc-dfp.exp: New file.
7367 * gdb.arch/ppc-dfp.c: New file.
7368
73692008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7370
7371 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
7372
73732008-11-17 Doug Evans <dje@google.com>
7374
7375 * gdb.mi/mi-syn-frame.exp: Update expected output.
7376 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7377
73782008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7379
7380 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
7381 "thread N" results in =thread-selected.
7382 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7383 (mi_send_resuming_command_raw): Be prepared for
7384 =thread-selected.
7385
73862008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7387
7388 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7389 * lib/mi-support.exp: Likewise.
7390
73912008-11-16 Joel Brobecker <brobecker@adacore.com>
7392
7393 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7394 commands from the expected output for "help catch".
7395
73962008-11-15 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.ada/int_deref.exp: New testcase.
7399
74002008-11-14 Nick Roberts <nickrob@snap.net.nz>
7401
7402 * gdb.mi/gdb2549.exp: New file.
7403
74042008-11-11 Doug Evans <dje@google.com>
7405
7406 * gdb.base/callexit.exp: New file.
7407 * gdb.base/callexit.c: New file.
7408
74092008-11-10 Doug Evans <dje@google.com>
7410
7411 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7412 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7413 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7414 (default_gdb_start,default_gdb_exit): Ditto.
7415 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7416 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7417 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7418 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7419 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7420 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7421
74222008-11-03 Andreas Schwab <schwab@suse.de>
7423
7424 * gdb.base/hashline2.exp: Fix typo.
7425 * gdb.base/hashline3.exp: Likewise.
7426
74272008-10-30 Tom Tromey <tromey@redhat.com>
7428
7429 * gdb.base/pointers.exp: Add test.
7430 * gdb.base/pointers.c (k, S): New typedefs.
7431 (instance): New global.
7432
74332008-10-30 Andreas Schwab <schwab@suse.de>
7434
7435 * gdb.base/args.exp: Add tests for newlines.
7436
74372008-10-30 Joel Brobecker <brobecker@adacore.com>
7438
7439 gdb.base/foll-exec.exp: Update the expected output of a couple
7440 of "info breakpoints" tests.
7441
74422008-10-28 Tom Tromey <tromey@redhat.com>
7443
7444 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7445
74462008-10-24 Pedro Alves <pedro@codesourcery.com>
7447
7448 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7449 gdb_start_cmd.
7450 Use runto_main before any test that requires execution.
7451
74522008-10-23 Pedro Alves <pedro@codesourcery.com>
7453
7454 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7455 instead of SIGINT.
7456
74572008-10-22 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.base/completion.exp: Update expected output following
7460 the addition of the "info tasks" command.
7461
74622008-10-22 Tom Tromey <tromey@redhat.com>
7463
7464 * gdb.base/exprs.exp (test_expr): Add test for string
7465 concatenation.
7466
74672008-10-19 Pedro Alves <pedro@codesourcery.com>
7468
7469 * configure.ac: Output gdb.python/Makefile.
7470 * configure: Regenerate.
7471 * gdb.python/Makefile.in: New.
7472
74732008-10-16 Joel Brobecker <brobecker@adacore.com>
7474
7475 * gdb.base/foll-fork.exp: Adjust the expected output to match
7476 the new description for fork/vfork catchpoints in the "info
7477 breakpoints" output.
7478
74792008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7480
7481 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7482
74832008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7484
7485 * gdb.python/python-value.c: New file.
7486 * gdb.python/python-value.exp: New file.
7487
74882008-10-15 Pedro Alves <pedro@codesourcery.com>
7489
7490 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7491
74922008-10-15 Denis Pilat <denis.pilat@st.com>
7493
7494 * gdb.cp/mb-ctor.exp: Fix a typo.
7495
74962008-10-09 Tom Tromey <tromey@redhat.com>
7497
7498 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7499 'fprintf' and 'stderr'.
7500
75012008-10-07 Joel Brobecker <brobecker@adacore.com>
7502
7503 * gdb.ada/ref_tick_size.exp: New testcase.
7504
75052008-10-06 Doug Evans <dje@google.com>
7506
7507 * gdb.dwarf2/dw2-cu-size.exp: New file.
7508 * gdb.dwarf2/dw2-cu-size.S: New file.
7509
7510 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7511 .Ltype_int for clarity.
7512
75132008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7514
7515 PR gdb/2384:
7516 * gdb.cp/gdb2384.exp: Extended to test more cases.
7517 * gdb.cp/gdb2384.cc: Likewise.
7518 * gdb.cp/gdb2384-base.h: Likewise.
7519 * gdb.cp/gdb2384-base.cc: Likewise.
7520
75212008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 * gdb.base/maint.exp (maint print type): Remove printing
7524 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7525
75262008-09-30 Tom Tromey <tromey@redhat.com>
7527
7528 * gdb.base/macscp.exp: Add completion tests.
7529 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7530 (TWENTY_THREE): Likewise.
7531 (FORTY_EIGHT): Likewise.
7532
75332008-09-30 Tom Tromey <tromey@redhat.com>
7534
7535 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7536 everywhere.
7537 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7538
75392008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7540
7541 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7542 testcase is derived from. Fix racy dependency on an expected PID
7543 number. No longer support the testcase on Linux kernel 2.4.x.
7544
75452008-09-27 Tom Tromey <tromey@redhat.com>
7546
7547 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7548 and varargs.
7549
75502008-09-22 Pedro Alves <pedro@codesourcery.com>
7551
7552 * lib/mi-support.exp (mi_expect_interrupt): New.
7553 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7554 from gdb.mi/mi-nonstop.exp.
7555 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7556 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7557 lib/mi-support.exp.
7558 Use mi_check_thread_states throughout. Avoid ".*" and do not
7559 require an anchor after -exec-run.
7560
75612008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7562
7563 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7564 stop is pending. Avoid ".*" when two stops are pending.
7565 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7566 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7567 newlines in fullnames.
7568 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7569 (mi_expect_stop): Update comments. Only anchor in sync mode.
7570 Do not match newlines.
7571 (mi_send_resuming_command_raw): Always return status.
7572 (mi_get_stop_line): Do not match more than one line by accident.
7573 Only anchor in sync mode.
7574 (mi_run_inline_test): If -exec-next fails, give up.
7575
75762008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7577
7578 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7579 on SPU.
7580
75812008-09-10 Joel Brobecker <brobecker@adacore.com>
7582
7583 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7584
75852008-09-10 Joel Brobecker <brobecker@adacore.com>
7586
7587 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7588 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7589 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7590 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7591 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7592 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7593 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7594 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7595 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7596 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7597 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7598 Include the "= " sequence in the expected output of print tests.
7599
76002008-09-10 Joel Brobecker <brobecker@adacore.com>
7601
7602 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7603 description for boolean types.
7604
76052008-09-09 Pedro Alves <pedro@codesourcery.com>
7606
7607 * gdb.base/hook-stop-continue.c: New.
7608 * gdb.base/hook-stop-continue.exp: New.
7609
76102008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7611
7612 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7613
76142008-09-08 Jerome Guitton <guitton@adacore.com>
7615
7616 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7617 (stack_check_probe_2, stack_check_probe_loop_1)
7618 (stack_check_probe_loop_2): New functions.
7619 (main): Add call to these new functions.
7620 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7621 functions, check that the breakpoint is inserted at the appropriate
7622 location.
7623 (insert_breakpoint): Slightly refine this procedure so that it can
7624 be called several times in the test.
7625
76262008-09-08 Jerome Guitton <guitton@adacore.com>
7627
7628 * gdb.base/stack-checking.c: New file.
7629 * gdb.base/stack-checking.exp: New file.
7630
76312008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7632
7633 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7634 * gdb.arch/altivec-regs.exp: Likewise.
7635 * gdb.arch/vsx-regs.exp: Likewise.
7636
76372008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7638
7639 * gdb.arch/ppc-fp.exp: New file.
7640 * gdb.arch/ppc-fp.c: New file.
7641
76422008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7643
7644 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7645 lest gcc-4.3.1 optimizes the whole thing away.
7646
76472008-09-04 Michael Snyder <msnyder@vmware.com>
7648
7649 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7650 as "at" (for non-debug functions such as _start).
7651
76522008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7653
7654 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7655 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7656 software watchpoints.
7657 * gdb.base/watch_thread_num.exp: Likewise.
7658
76592008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7660
7661 * gdb.arch/i386-bp_permanent.exp: New test.
7662
76632008-08-24 Tom Tromey <tromey@redhat.com>
7664
7665 * gdb.base/maint.exp: Update "maint print type".
7666
76672008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7668
7669 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7670 support. Adjust the order of "*running" notifications.
7671 * gdb.mi/non-stop.c: Don't cast from int to void* and
7672 back.
7673
76742008-08-20 Mark Kettenis <kettenis@gnu.org>
7675
7676 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7677 expect to find it in the "info frame" output.
7678
76792008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7680
7681 * gdb.base/interp.exp: Always consume both prompts.
7682
76832008-08-20 Pedro Alves <pedro@codesourcery.com>
7684
7685 * gdb.base/pending.exp: Test pending breakpoints without symbols
7686 loaded.
7687
76882008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7689
7690 * lib/mi-support.exp (mi_expect_stop): Produce
7691 more details on failures.
7692 * gdb.mi/mi-nonstop.exp: New.
7693 * gdb.mi/non-stop.c: New.
7694
76952008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7696
7697 * gdb.mi/mi-async.exp: Use 'set target-async'.
7698 * lib/mi-support.exp: Use 'set/show target-async'.
7699
77002008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7701
7702 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7703
77042008-08-17 Tom Tromey <tromey@redhat.com>
7705
7706 * gdb.base/help.exp (help catch): Rewrite.
7707
77082008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7709
7710 * gdb.base/define.exp: Test indented command documentation.
7711 * gdb.python/python.exp: Test indented multi-line command.
7712
77132008-08-15 Luis Machado <luisgpm@br.ibm.com>
7714
7715 * testsuite/gdb.arch/vsx-regs.c: New source file.
7716 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7717 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7718
77192008-08-14 Tom Tromey <tromey@redhat.com>
7720
7721 * gdb.base/macscp.exp: Add regression test for "macro define" or
7722 "macro undef" with no arguments.
7723
77242008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7725
7726 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7727
77282008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7729
7730 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7731
77322008-08-06 Tom Tromey <tromey@redhat.com>
7733
7734 * gdb.python/python.exp: New file.
7735
77362008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7737
7738 Fix for PR gdb/1543.
7739 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7740 $LOCATION.
7741 (location): New variable.
7742 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7743 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7744 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7745 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7746 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7747 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7748 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7749 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7750 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7751 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7752 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7753 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7754 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7755 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7756 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7757 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7758 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7759 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7760 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7761 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7762 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7763 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7764 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7765 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7766 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7767 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7768 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7769 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7770 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7771 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7772 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7773 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7774 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7775 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7776 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7777 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7778 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7779 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7780 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7781 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7782 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7783 gdb.base/type-opaque.exp, gdb.base/until.exp,
7784 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7785 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7786 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7787 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7788 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7789 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7790 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7791 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7792 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7793 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7794 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7795 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7796 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7797 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7798 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7799 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7800 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7801 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7802 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7803 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7804 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7805 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7806 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7807 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7808 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7809 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7810 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7811 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7812 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7813 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7814 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7815 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7816 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7817 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7818 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7819 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7820 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7821 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7822 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7823 to bug-gdb@prep.ai.mit.edu .
7824
78252008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7826
7827 * lib/mi-support.exp (mi_load_shlibs): New.
7828 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7829
78302008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7831
7832 * lib/mi-support.exp (get_mi_thread_list)
7833 (check_mi_and_console_threads): New, moved from ...
7834 * gdb.mi/mi-pthread.exp: ...here.
7835 * gdb.mi/gdb669.exp (get_mi_thread_list)
7836 (check_mi_and_console_threads): Delete.
7837 * gdb.mi/mi2-pthread.exp: Likewise.
7838
78392008-07-28 Tom Tromey <tromey@redhat.com>
7840
7841 * Makefile.in (just-check): Remove. Move body to...
7842 (check): ... here.
7843
78442008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7845
7846 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7847 Add a test for duplicated SIGINTs.
7848
78492008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7850
7851 * gdb.threads/schedlock.exp (get_args): Update to work for any
7852 value of NUM.
7853 (Top level): Report the number of threads that did not resume.
7854
78552008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7856
7857 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7858
78592008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7860
7861 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7862 non-MI prompt.
7863
78642008-07-26 Tom Tromey <tromey@redhat.com>
7865
7866 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7867 (function_struct, function_struct_ptr): New globals.
7868 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7869 function pointer in a struct.
7870
78712008-07-26 Tom Tromey <tromey@redhat.com>
7872
7873 * gdb.base/macscp.exp: Add test for macro lexing bug.
7874
78752008-07-18 Tom Tromey <tromey@redhat.com>
7876
7877 * gdb.base/macscp.exp: Add macro tests.
7878
78792008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7880
7881 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7882
78832008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7884
7885 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7886
78872008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7888
7889 * gdb.cp/class2.exp: fix for failure on spu-elf
7890
78912008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7892
7893 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7894
78952008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7896
7897 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7898
78992008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7900
7901 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7902
79032008-07-11 Kevin Buettner <kevinb@redhat.com>
7904
7905 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7906 of regexp to account for changes made to GDB in the printing of
7907 byte vectors.
7908
79092008-07-11 Tom Tromey <tromey@redhat.com>
7910
7911 * gdb.base/completion.exp: Add 'help' completion test.
7912
79132008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7916
79172008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7920
79212008-07-09 Pedro Alves <pedro@codesourcery.com>
7922
7923 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7924
79252008-07-09 Pedro Alves <pedro@codesourcery.com>
7926
7927 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7928
79292008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7930
7931 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7932
79332008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7934
7935 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7936 previous commit. Add a comment.
7937
79382008-06-28 Pedro Alves <pedro@codesourcery.com>
7939
7940 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7941
79422008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7943
7944 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7945
79462008-06-27 Pedro Alves <pedro@codesourcery.com>
7947
7948 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7949 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7950 compiling an executable, link in an object that forces unbuffered
7951 output.
7952 * lib/set_unbuffered_mode.c: New file.
7953
79542008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7955
7956 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7957
79582008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7959
7960 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7961 mi_expect_stop.
7962 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7963 Demand that *running is output.
7964 (detect_async): Perform checking every time.
7965 (mi_send_resuming_command): Extract everything into...
7966 (mi_send_resuming_command_raw): ...this.
7967 (mi_expect_stop): Don't accept any output before *stopped.
7968
79692008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7970
7971 Robustify mi-simplerun.
7972 * gdb.mi/basics.c (main): Add a call to sleep.
7973 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7974 * gdb.mi/mi2-cli.exp: Likewise.
7975 * gdb.mi/mi-break.exp: Likewise.
7976
79772008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7978
7979 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7980
79812008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7982
7983 * gdb.mi/mi-console.exp: Adjust.
7984 * gdb.mi/mi-syn-frame.exp: Adjust.
7985 * gdb.mi/mi2-console.exp: Adjust.
7986 * gdb.mi/mi2-syn-frame.exp: Adjust.
7987 * lib/mi-support.exp (mi_run_cmd): Adjust.
7988 (mi_send_resuming_command): Adjust.
7989
79902008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7991
7992 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7993 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7994 testing of stopped.
7995 * gdb.mi/mi2-syn-frame.exp: Likewise.
7996 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7997 (async, detect_async): New.
7998 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7999 depending on if we're running in sync or async mode.
8000
80012008-06-09 Tom Tromey <tromey@redhat.com>
8002
8003 * gdb.base/completion.exp: New tests for field name completion
8004 with spaces, and field name completion with '->'.
8005
80062008-06-06 Tom Tromey <tromey@redhat.com>
8007
8008 * gdb.base/break1.c (struct some_struct): New struct.
8009 (values): New global.
8010 * gdb.base/completion.exp: Add field name completion test.
8011
80122008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8013
8014 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8015 to pointer.
8016 * gdb.cp/call-c.cc: Likewise.
8017
80182008-06-06 Nick Roberts <nickrob@snap.net.nz>
8019
8020 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8021 annotation.
8022
80232008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8024 Pedro Alves <pedro@codesourcery.com>
8025
8026 * gdb.threads/execl.c, gdb.threads/execl1.c,
8027 gdb.threads/execl.exp: New tests.
8028
80292008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8030 Daniel Jacobowitz <dan@codesourcery.com>
8031
8032 * gdb.cp/exception.exp: Activate test, make it work with pending
8033 catchpoints.
8034
80352008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8036
8037 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8038
80392008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8040
8041 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8042 now printed.
8043 * gdb.mi/mi2-var-cmd.exp: Likewise.
8044
80452008-05-27 Andreas Schwab <schwab@suse.de>
8046
8047 * gdb.base/frame-args.exp: Handle arguments that are optimized
8048 out.
8049
80502008-05-26 Luis Machado <luisgpm@br.ibm.com>
8051
8052 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8053 quiet for ppc32 and group options into a single variable.
8054
80552008-05-23 Joel Brobecker <brobecker@adacore.com>
8056
8057 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8058 of zero-size elements.
8059 * gdb.ada/null_array.exp: Test printing this new array.
8060
80612008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8062
8063 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8064
80652008-05-21 Joel Brobecker <brobecker@adacore.com>
8066
8067 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8068 of the "finish" command.
8069
80702008-05-21 Nick Roberts <nickrob@snap.net.nz>
8071
8072 * gdb.base/annota1.exp: Test for new annotation.
8073
80742008-05-16 Pedro Alves <pedro@codesourcery.com>
8075
8076 * gdb.base/fixsection.exp: New file.
8077 * gdb.base/fixsection0.c: New file.
8078 * gdb.base/fixsection1.c: New file.
8079
80802008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8081
8082 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8083 * gdb.base/annota3.exp: Likewise.
8084
80852008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8086
8087 * gdb.base/watch_thread_num.exp: Don't run tests that require
8088 watchpoints if the target doesn't support them.
8089
80902008-05-12 Doug Evans <dje@google.com>
8091
8092 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8093
80942008-05-09 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/assign_1.exp: New testcase.
8097
80982008-05-09 Doug Evans <dje@google.com>
8099
8100 * gdb.base/find.exp: New file.
8101 * gdb.base/find.c: New file.
8102
81032008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8104
8105 * gdb.base/commands.exp (watchpoint_command_test): Handle
8106 gdb,no_hardware_watchpoints.
8107 * gdb.base/float.exp: Allow ARM targets without floating point.
8108 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8109
81102008-05-06 Jerome Guitton <guitton@adacore.com>
8111 Joel Brobecker <brobecker@adacore.com>
8112
8113 * gdb.ada/lang_switch: New test program.
8114 * gdb.ada/lang_switch.exp: New testcase.
8115
81162008-05-05 Doug Evans <dje@google.com>
8117
8118 * gdb.base/help.exp (disassemble): Update expected help text.
8119
81202008-05-04 Pedro Alves <pedro@codesourcery.com>
8121
8122 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8123
81242008-05-04 Pedro Alves <pedro@codesourcery.com>
8125
8126 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8127 different times.
8128
81292008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8130
8131 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8132 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8133 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8134 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8135
81362008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8137
8138 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8139 notification to appear.
8140
81412008-05-04 Daniel Jacobowitz <dan@debian.org>
8142
8143 * gdb.base/fullname.c: New file.
8144 * gdb.base/fullname.exp: New file.
8145 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8146
81472008-05-03 Pedro Alves <pedro@codesourcery.com>
8148
8149 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8150 expressions with macros.
8151
81522008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8153
8154 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8155
81562008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8157
8158 * gdb.base/completion.exp: Handle lack of other symbols beginning
8159 with "a".
8160
8161 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8162
81632008-05-02 Jim Blandy <jimb@codesourcery.com>
8164
8165 * gdb.asm/asmsrc1.s: Add scratch space.
8166
81672008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8168 Daniel Jacobowitz <dan@codesourcery.com>
8169
8170 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8171 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8172 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8173
81742007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8175
8176 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8177
81782008-05-01 Joel Brobecker <brobecker@adacore.com>
8179
8180 * gdb.base/info-target.exp: New testcase.
8181
81822008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8183
8184 * gdb.cp/hang.exp: Use .cc instead of .C.
8185 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8186 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8187
81882008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8189
8190 * gdb.base/gdb1250.exp: Remove perror.
8191 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8192
81932008-04-30 Pedro Alves <pedro@codesourcery.com>
8194
8195 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8196 .2byte.
8197
81982008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8199
8200 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8201 (maybe_kfail): New.
8202
82032008-04-25 Pedro Alves <pedro@codesourcery.com>
8204
8205 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8206
82072008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8208
8209 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8210 * gdb.mi/mi2-syn-frame.exp: Likewise.
8211 * lib/mi-support.exp: Likewise.
8212
82132008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8214
8215 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8216 to specify regexp for the location to stop at.
8217 * gdb.base/break-always.c: New.
8218 * gdb.base/break-always.exp: New.
8219
82202008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8221
8222 * lib/mi-support.exp (mi_runto_helper): Adjust
8223 for the original-location field.
8224 (mi_create_breakpoint, mi_list_breakpoints): New.
8225 * gdb.mi/mi-break.exp: Adjust.
8226 * gdb.mi/mi2-break.exp: Adjust.
8227 * gdb.mi/mi-pending.exp: Adjust.
8228 * gdb.mi/mi-simplerun.exp: Adjust.
8229 * gdb.mi/mi2-simplerun.exp: Adjust.
8230 * gdb.mi/mi-syn-frame.exp: Adjust.
8231 * gdb.mi/mi2-syn-frame.exp: Adjust.
8232 * gdb.mi/mi-until.exp: Adjust.
8233 * gdb.mi/mi2-until.exp: Adjust.
8234 * gdb.mi/mi-var-display.exp: Adjust.
8235 * gdb.mi/mi2-var-display.exp: Adjust.
8236 * gdb.mi/mi-watch.exp: Adjust.
8237 * gdb.mi/mi2-watch.exp: Adjust.
8238
82392008-04-23 Paolo Bonzini <bonzini@gnu.org>
8240
8241 * aclocal.m4: Add override.m4.
8242 * configure: Regenerate.
8243
82442008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8245
8246 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8247 '-var-update --all-values' reports new value even the type
8248 of a variable object has changed.
8249
82502008-04-18 Craig Silverstein <csilvers@google.com>
8251
8252 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8253 files.
8254
82552008-04-18 Joel Brobecker <brobecker@adacore.com>
8256
8257 * gdb.ada/atomic_enum: New test program.
8258 * gdb.ada/atomic_enum.exp: New testcase.
8259
82602008-04-17 Doug Evans <dje@google.com>
8261
8262 * gdb.opt/Makefile.in: Fix whitespace.
8263
82642008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8265
8266 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8267
82682008-04-17 Doug Evans <dje@google.com>
8269
8270 * gdb.base/hashline1.exp: New testcase.
8271 * gdb.base/hashline2.exp: New testcase.
8272 * gdb.base/hashline2.exp: New testcase.
8273
82742008-04-17 Pedro Alves <pedro@codesourcery.com>
8275
8276 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8277
82782008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8279
8280 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8281 temporary breakpoint to match "Temporary breakpoint".
8282 * gdb.base/break.exp (delete_breakpoints): Likewise.
8283 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8284 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8285 * gdb.base/display.exp: Likewise.
8286 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8287 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8288 * gdb.base/restore.exp (restore_tests): Likewise.
8289 * gdb.base/sepdebug.exp: Likewise.
8290 * gdb.base/watchpoint.exp: Likewise.
8291 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8292 * gdb.mi/mi-pending.exp: Likewise.
8293 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8294 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8295 * gdb.mi/mi-var-cmd.exp: Likewise.
8296 * gdb.mi/mi-var-display.exp: Likewise.
8297 * gdb.mi/mi2-cli.exp: Likewise.
8298 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8299 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8300 * gdb.mi/mi2-var-display.exp: Likewise.
8301 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8302 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8303 new "disp" field.
8304 (mi_expect_stop): Move after_reason argument to be really after
8305 reason. This is to support fix for PR2424.
8306
83072008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8308
8309 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8310
83112008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8312
8313 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
8314 field. Add more floating varobj tests.
8315 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
8316 field.
8317 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8318 (main): Call do_at_tests.
8319 * lib/mi-support.exp (mi_create_floating_varobj)
8320 (mi_varobj_update_with_type_change): New.
8321
83222008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8323
8324 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8325 option of -var-evaluate-expression.
8326 * gdb.mi/mi2-var-display.exp: Likewise.
8327
83282008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8329
8330 Introduce test setup helpers.
8331 * lib/gdb.exp (build_executable, clean_restart)
8332 (prepare_for_testing): New.
8333 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8334 * gdb.base/return.exp: Likewise.
8335 * gdb.base/ending-run.exp: Likewise.
8336
83372008-04-07 Nick Roberts <nickrob@snap.net.nz>
8338
8339 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8340 Interface (MI) responses.
8341
83422008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8343
8344 * gdb.cp/breakpoint.cc: New code to test conditions involving
8345 member variables.
8346 * gdb.cp/breakpoint.exp: Test condition involving member
8347 variables.
8348
83492008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8350
8351 * lib/mi-support.exp (mi_expect_stop): New.
8352 (mi_run_cmd): Change the
8353 token. Use mi_send_resuming_command, use
8354 mi_expect_stop.
8355 (mi_execute_to_helper): Rename to mi_execute_to.
8356 (mi_send_resuming_command): Add more error patterns.
8357 (mi_wait_for_stop): Renamed to...
8358 (mi_get_stop_line): ...this.
8359 (mi_run_inline_test): Adjust.
8360
8361 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8362 * gdb.mi/mi-console.exp: Likewise.
8363 * gdb.mi/mi-pending.exp: Likewise.
8364 * gdb.mi/mi-simplerun.exp: Likewise.
8365 * gdb.mi/mi-stack.exp: Likewise.
8366 * gdb.mi/mi-stepi.exp: Likewise.
8367 * gdb.mi/mi-syn-frame.exp: Add comment.
8368 * gdb.mi/mi-until.exp: Likewise.
8369 * gdb.mi/mi-var-display.exp: Likewise.
8370 * gdb.mi/mi-watch.exp: Likewise.
8371 * gdb.mi/mi2-cli.exp: Likewise.
8372 * gdb.mi/mi2-console.exp: Likewise.
8373 * gdb.mi/mi2-simplerun.exp: Likewise.
8374 * gdb.mi/mi2-stack.exp: Likewise.
8375 * gdb.mi/mi2-stepi.exp: Likewise.
8376 * gdb.mi/mi2-until.exp: Likewise.
8377 * gdb.mi/mi2-var-display.exp: Likewise.
8378 * gdb.mi/mi2-watch.exp: Likewise.
8379
83802008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8381
8382 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8383
8384 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8385
83862008-04-04 Pedro Alves <pedro@codesourcery.com>
8387
8388 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8389 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8390 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8391 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8392 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8393 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8394 expect an mi error duplicated in stderr.
8395
83962008-04-03 Joel Brobecker <brobecker@adacore.com>
8397
8398 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8399 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8400 Add a couple of tests that verify the behavior when the new setting
8401 is set to "cancel" and "all".
8402 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8403 "ask" before we start the testing.
8404
84052008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8406
8407 * gdb.cp/casts.cc: Add class reference variables.
8408 * gdb.cp/casts.exp: New test cases for up/down casting references.
8409
84102008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8411
8412 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8413 instead of beginning to make an extra test pass.
8414 * gdb.mi/mi2-var-display.exp: Likewise.
8415
84162008-03-31 Maciej W. Rozycki <macro@mips.com>
8417
8418 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8419
84202008-03-31 Markus Deuling <deuling@de.ibm.com>
8421 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8422
8423 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8424 value. Add xfail for older kernels.
8425
84262008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8427
8428 Bring mi-support in line with gdb.exp.
8429 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8430 (mi_gdb_start): New function.
8431
84322008-03-28 Maciej W. Rozycki <macro@mips.com>
8433
8434 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8435
84362008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8437
8438 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8439 * gdb.mi/mi2-var-display.exp: Likewise.
8440
84412008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8442
8443 * lib/mi-support.exp (mi_create_varobj_checked): New.
8444 (mi_list_varobj_children): Allow to check for a
8445 value.
8446 (mi_list_array_varobj_children): New.
8447
8448 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8449 and mi_list_varobj_children, as opposed to hardcoding
8450 expected strings.
8451 * gdb.mi/gdb701.exp: Likewise.
8452 * gdb.mi/gdb792.exp: Likewise.
8453 * gdb.mi/mi-var-block.exp: Likewise.
8454 * gdb.mi/mi-var-cmd.exp: Likewise.
8455 * gdb.mi/mi-var-invalidate.exp: Likewise.
8456 * gdb.mi/mi2-var-block.exp: Likewise.
8457 * gdb.mi/mi2-var-child.exp: Likewise.
8458 * gdb.mi/mi2-var-cmd.exp: Likewise.
8459 * gdb.mi/mi2-var-display.exp: Likewise.
8460
84612008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8462
8463 Fix random false FAILs on i386.
8464 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8465
84662008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8467
8468 PR gdb/544
8469 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8470
84712008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8472
8473 PR gdb/544
8474 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8475
84762008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8477
8478 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8479 fixed PR gdb/544.
8480
84812008-03-21 Pedro Alves <pedro@codesourcery.com>
8482
8483 * gdb.threads/fork-child-threads.exp: Test next over fork.
8484
84852008-03-21 Chris Demetriou <cgd@google.com>
8486
8487 * gdb.base/break.exp (rbreak junk): New test for rbreak
8488 "Junk at end of arguments" issue.
8489
84902008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8491
8492 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8493 *& to work on created array elements.
8494 (Top level): Test print $pc with a file. Test string operations
8495 without a target.
8496 * gdb.base/ptype.exp: Do not expect *& to work on created array
8497 elements.
8498
84992008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8502 gdb.threads/staticthreads.exp: Update exit query.
8503
85042008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8505
8506 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8507
85082008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8509
8510 * gdb.base/watchpoint.c (global_ptr, func4): New.
8511 (main): Call func4.
8512 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8513 (test_inaccessible_watchpoint): New.
8514
85152008-02-29 Maciej W. Rozycki <macro@mips.com>
8516
8517 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8518 select the largest.
8519
85202008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8521
8522 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8523 frames-invalid annotations.
8524
85252008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8526
8527 * gdb.base/assign.exp: avoid same output for different tests.
8528
85292008-02-27 Doug Evans <dje@google.com>
8530
8531 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8532 for bug 1738.
8533 (breakpoint_to_handler_entry): Ditto.
8534
85352008-02-27 Joel Brobecker <brobecker@adacore.com>
8536
8537 * gdb.base/ending-run.exp: Use the first line of code inside
8538 function body to test breakpoints.
8539 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8540 location where the breakpoint is inserted when using the line
8541 where a function is declared. Fix typo in the description of
8542 one of the tests.
8543 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8544
85452008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8546
8547 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
8548 tests.
8549
85502008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8551
8552 * gdb.base/args.exp: avoid same output for tests
8553 with single quotes.
8554
85552008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8556
8557 * gdb.base/annota1.exp: Adjust for 'info break'
8558 format changes.
8559 * gdb.base/annota3.exp: Likewise.
8560 * gdb.base/break.exp: Likewise.
8561 * gdb.base/condbreak.exp: Likewise.
8562 * gdb.base/pending.exp: Likewise.
8563 * gdb.base/sepdebug.exp: Likewise.
8564 * gdb.base/unload.exp: Likewise.
8565 * gdb.cp/ovldbreak.exp: Likewise.
8566 * gdb.mi/mi-pending.exp: Likewise.
8567
85682008-02-07 Doug Evans <dje@google.com>
8569
8570 * gdb.cp/mb-inline.exp: New.
8571 * gdb.cp/mb-inline.h: New.
8572 * gdb.cp/mb-inline1.cc: New.
8573 * gdb.cp/mb-inline2.cc: New.
8574
85752008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8576
8577 * gdb.pascal/floats.pas: New test program.
8578 * gdb.pascal/floats.exp: New testcase.
8579
85802008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8581
8582 * gdb.base/callfuncs.c (t_float_many_args): New function.
8583 (t_double_many_args): New function.
8584 * gdb.base/callfuncs.exp: Add tests for exceeding float
8585 and double parameters passed through the stack.
8586
85872008-02-05 Joel Brobecker <brobecker@adacore.com>
8588
8589 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8590 gdb.ada/complete/foo.adb: New files.
8591 * gdb.ada/complete.exp: New testcase.
8592
85932008-02-03 Doug Evans <dje@google.com>
8594
8595 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8596
8597 * gdb.cp/gdb2384.exp: New file.
8598 * gdb.cp/gdb2384.cc: New file.
8599 * gdb.cp/gdb2384-base.h: New file.
8600 * gdb.cp/gdb2384-base.cc: New file.
8601
86022008-02-02 Doug Evans <dje@google.com>
8603
8604 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8605
86062007-02-01 Joel Brobecker <brobecker@adacore.com>
8607
8608 * gdb.ada/sym_print_name: New test program.
8609 * gdb.ada/sym_print_name.exp: New testcase.
8610
86112007-02-01 Joel Brobecker <brobecker@adacore.com>
8612
8613 * gdb.ada/nested/hello.adb: New file.
8614 * gdb.ada/nested.exp: New testcase.
8615 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8616
86172008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8618
8619 * gdb.mi/basic.c (return_1): New function.
8620 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8621 don't cause future evaluations of function to report
8622 creation of internal breakpoints.
8623
86242008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8625
8626 * gdb.mi/mi-break.exp (test_error): New.
8627 Call it.
8628
86292008-01-31 Luis Machado <luisgpm@br.ibm.com>
8630
8631 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8632 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8633
86342008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8635
8636 * gdb.pascal/integers.pas: New test program.
8637 * gdb.pascal/integers.exp: New testcase.
8638
86392008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8640
8641 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8642
86432008-01-30 Luis Machado <luisgpm@br.ibm.com>
8644
8645 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8646 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8647
86482008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8649
8650 * gdb.ada/formatted_ref: New test program.
8651 * gdb.ada/formatted_ref.exp: New testcase.
8652
8653 * gdb.cp/formatted-ref.cc: New file.
8654 * gdb.cp/formatted-ref.exp: New testcase.
8655
86562008-01-30 Joel Brobecker <brobecker@adacore.com>
8657
8658 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8659
86602008-01-30 Nick Roberts <nickrob@snap.net.nz>
8661
8662 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8663 (test_file_list_exec_source_file): Update to new macro-info field.
8664
86652008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8666
8667 * gdb.ada/exprs: New test program.
8668 * gdb.ada/exprs.exp: New testcase.
8669
86702008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8671
8672 * dfp-test.c (DELTA, DELTA_B): New definitions.
8673 (double_val1, double_val2, double_val3, double_val4, double_val5,
8674 double_val6, double_val7, double_val8, double_val9, double_val10,
8675 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8676 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8677 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8678 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8679 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8680 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8681 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8682 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8683 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8684 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8685 dec128_val16): New global variables.
8686 (decimal_dec128_align): New function.
8687 (decimal_mixed): Likewise.
8688 (decimal_many_args_dec32): Likewise.
8689 (decimal_many_args_dec64): Likewise.
8690 (decimal_many_args_dec128): Likewise.
8691 (decimal_many_args_mixed): Likewise.
8692 * dfp-test.exp: Add tests calling new inferior functions.
8693
86942008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8695
8696 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8697 gdb.server/ext-run.exp: New files.
8698 * lib/gdbserver-support.exp (gdbserver_download): New.
8699 (gdbserver_start): New. Update gdbserver expected
8700 output.
8701 (gdbserver_spawn): Use them.
8702 (gdbserver_start_extended): New.
8703
87042008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8705
8706 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8707 Run on GNU/Linux.
8708 (do_exec_tests): Check for systems which do not support catchpoints.
8709 Do not match START.
8710 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8711 Run on GNU/Linux. Enable verbose output.
8712 (check_fork_catchpoints): New.
8713 (explicit_fork_child_follow, catch_fork_child_follow)
8714 (tcatch_fork_parent_follow): Update expected messages.
8715 (do_fork_tests): Use check_fork_catchpoints.
8716 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8717 Run on GNU/Linux. Enable verbose output.
8718 (check_vfork_catchpoints): New.
8719 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8720 expected messages.
8721 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8722
87232008-01-29 Jim Blandy <jimb@red-bean.com>
8724
8725 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8726 host' errors.
8727 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8728
87292008-01-29 Jim Blandy <jimb@red-bean.com>
8730
8731 * gdb.threads/sigthread.c: Use barriers to ensure that
8732 child_thread and child_thread_two are always initialized before we
8733 start to use them.
8734
87352008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8736
8737 * gdb.base/watchpoint-solib.exp: New.
8738 * gdb.base/watchpoint-solib.c: New.
8739 * gdb.base/watchpoint-solib-shr.c: New.
8740
87412008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8742
8743 * gdb.base/gdb1056.exp: Add unsigned integer test.
8744
87452008-01-28 Doug Evans <dje@google.com>
8746
8747 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8748
87492008-01-27 Jim Blandy <jimb@codesourcery.com>
8750
8751 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8752
8753 * gdb.base/expand-psymtabs.exp: Doc fix.
8754
87552008-01-26 Mark Kettenis <kettenis@gnu.org>
8756
8757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8758
87592008-01-24 Nick Roberts <nickrob@snap.net.nz>
8760
8761 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8762 -var-set-format.
8763
87642008-01-23 Chris Demetriou <cgd@google.com>
8765
8766 * gdb.threads/thread_events.c: New testcase source file.
8767 * gdb.threads/thread_events.exp: New testcase expect file.
8768
87692008-01-23 Nick Roberts <nickrob@snap.net.nz>
8770
8771 * lib/gdb.exp: Add the variable octal.
8772
8773 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8774 -var-set-format.
8775
87762008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8777 Vladimir Prus <vladimir@codesourcery.com>
8778
8779 * gdb.base/float.exp: Allow missing floating point for m68k and
8780 PowerPC.
8781
87822008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8783
8784 * gdb.mi/basics.c: Setup for testing breakpoints
8785 ignore count.
8786 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8787 * gdb.mi/mi-cli.exp: Adjust.
8788 * gdb.mi/mi2-cli.exp: Adjust.
8789
87902008-01-17 Pedro Alves <pedro@codesourcery.com>
8791
8792 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8793 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8794 with dummy_ptr's address.
8795 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8796 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8797 all targets.
8798 * gdb.mi/mi2-var-child.exp: Likewise.
8799
88002008-01-09 Joel Brobecker <brobecker@adacore.com>
8801
8802 * gdb.ada/null_array: New test program.
8803 * gdb.ada/null_array.exp: New testcase.
8804
88052008-01-09 Luis Machado <luisgpm@br.ibm.com>
8806
8807 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8808 with required float modifiers.
8809
88102008-01-08 Joel Brobecker <brobecker@adacore.com>
8811
8812 * gdb.ada/funcall_param: New test program.
8813 * gdb.ada/funcall_param.exp: New testcase.
8814
88152008-01-08 Joel Brobecker <brobecker@adacore.com>
8816
8817 * gdb.ada/arrayparam: New test program.
8818 * gdb.ada/arrayparam.exp: New testcase.
8819
88202008-01-08 Joel Brobecker <brobecker@adacore.com>
8821
8822 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8823 landed. Should also fix random failures in the test following it.
8824
88252008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8826
8827 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8828 for expressions with decimal float values.
8829 (test_dfp_conversions): New function to test casts to and from
8830 decimal float types.
8831 Call test_dfp_conversions.
8832 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8833 elements.
8834 (main): Initialize ds.float4 and ds.double8 elements.
8835 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8836 string to new error message.
8837 (d64_set_tests): Likewise.
8838 (d128_set_tests): Likewise.
8839 Add tests for expressions with decimal float variables. Add tests for
8840 conversions to and from decimal float types.
8841
88422008-01-05 Joel Brobecker <brobecker@adacore.com>
8843
8844 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8845 * gdb.ada/packed_tagged.exp: New testcase.
8846
88472008-01-04 Joel Brobecker <brobecker@adacore.com>
8848
8849 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8850 gdb.ada/homonym/homonym_main.adb: New files.
8851 * gdb.ada/homonym.exp: New testcase.
8852
88532008-01-04 Joel Brobecker <brobecker@adacore.com>
8854
8855 * gdb.ada/packed_array.exp: Add testing of references to
8856 a packed array.
8857
88582008-01-04 Joel Brobecker <brobecker@adacore.com>
8859
8860 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8861 New files.
8862 * gdb.ada/type_coercion.exp: New testcase.
8863
88642008-01-04 Joel Brobecker <brobecker@adacore.com>
8865
8866 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8867 gdb.ada/tagged/foo.adb: New file.
8868 * gdb.ada/tagged.exp: New testcase.
8869
88702008-01-04 Joel Brobecker <brobecker@adacore.com>
8871
8872 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8873 gdb.ada/ptype_field/foo.adb: New files.
8874 * gdb.ada/ptype_field.exp: New testcase.
8875
88762008-01-03 Joel Brobecker <brobecker@adacore.com>
8877
8878 * gdb.ada/print_pc.exp: New testcase.
8879
88802008-01-03 Joel Brobecker <brobecker@adacore.com>
8881
8882 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8883 gdb.ada/taft_type/p.adb: New files.
8884 * gdb.ada/taft_type.exp: New testcase.
8885
88862008-01-03 Joel Brobecker <brobecker@adacore.com>
8887
8888 * gdb.ada/array_bounds/bar.adb: New file.
8889 * gdb.ada/array_bounds.exp: New testcase.
8890
88912008-01-03 Joel Brobecker <brobecker@adacore.com>
8892
8893 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8894 gdb.ada/arrayptr/foo.adb: New files.
8895 * gdb.ada/arrayptr.exp: New testcase.
8896
88972008-01-03 Joel Brobecker <brobecker@adacore.com>
8898
8899 * gdb.base/set-lang-auto.exp: New testcase.
8900
89012008-01-03 Joel Brobecker <brobecker@adacore.com>
8902
8903 * gdb.ada/fun_addr/foo.adb: New file.
8904 * gdb.ada/fun_addr.exp: New testcase.
8905
89062008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8907
8908 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8909 New files
8910
89112008-01-02 Joel Brobecker <brobecker@adacore.com>
8912
8913 * array_subscript_addr/p.adb: New file.
8914 * array_subscript_addr.exp: New testcase.
8915
89162008-01-02 Joel Brobecker <brobecker@adacore.com>
8917
8918 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8919 New files.
8920 * gdb.ada/str_cmp_ref.exp: New testcase.
8921
89222008-01-01 Joel Brobecker <brobecker@adacore.com>
8923
8924 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8925 gdb.ada/fun_in_declare/foo.adb: New files.
8926 * gdb.ada/fun_in_declare.exp: New testcase.
8927
89282008-01-01 Joel Brobecker <brobecker@adacore.com>
8929
8930 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8931 gdb.ada/ref_param/pck.ads: New files.
8932 * gdb.ada/ref_param.exp: New testcase.
8933
89342008-01-01 Joel Brobecker <brobecker@adacore.com>
8935
8936 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8937 gdb.ada/interface/foo.adb: New files.
8938 * gdb.ada/interface.exp: New testcase.
8939
89402007-12-31 Jim Blandy <jimb@codesourcery.com>
8941
8942 * gdb.base/multi-forks.exp: Consume all output from child
8943 processes before proceeding to next test.
8944
89452007-12-29 Jim Blandy <jimb@codesourcery.com>
8946
8947 * configure: Regenerated.
8948
89492007-12-27 Joel Brobecker <brobecker@adacore.com>
8950
8951 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8952 gdb.ada/fixed_cmp/fixed.adb: New files.
8953 * gdb.ada/fixed_cmp.exp: New testcase.
8954
89552007-12-27 Joel Brobecker <brobecker@adacore.com>
8956
8957 * gdb.ada/boolean_expr.exp: New testcase.
8958
89592007-12-26 Jim Blandy <jimb@codesourcery.com>
8960
8961 * gdb.base/multi-forks.exp: Doc fix.
8962
89632007-12-26 Joel Brobecker <brobecker@adacore.com>
8964
8965 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8966 * gdb.ada/char_param.exp: Do not compile our test program with
8967 -gnata, this is unnecessary.
8968 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8969
89702007-12-24 Joel Brobecker <brobecker@adacore.com>
8971
8972 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8973 gdb.ada/print_chars/foo.adb: New files.
8974 * gdb.ada/print_chars.exp: New testcase.
8975
89762007-12-24 Joel Brobecker <brobecker@adacore.com>
8977
8978 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8979 gdb.ada/char_param/foo.adb: New files.
8980 * gdb.ada/char_param.exp: New testcase.
8981
89822007-12-22 Jim Blandy <jimb@codesourcery.com>
8983
8984 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8985 hard-coding source line numbers into the test.
8986 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8987 gdb_get_line_number to find.
8988
89892007-12-22 Joel Brobecker <brobecker@adacore.com>
8990
8991 * gdb.base/ptype.c (highest): New struct type.
8992 (the_highest): New variable of that type.
8993 (main): Add dummy assignment to a field of variable the_highest.
8994 * gdb.base/ptype.exp: Test type printing of our new variable.
8995
89962007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8997
8998 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8999 and record first explicitly generated thread number.
9000 Use that thread number for thread specific watchpoint test.
9001 Add iteration number to repetitive tests.
9002
90032007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9004 Jim Blandy <jimb@codesourcery.com>
9005
9006 * gdb.base/expand-psymtabs.c: New testcase
9007 source file.
9008 * gdb.base/expand-psymtabs.exp: New testcase
9009 expect file.
9010
90112007-12-17 Luis Machado <luisgpm@br.ibm.com>
9012
9013 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9014 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9015
90162007-12-17 Joel Brobecker <brobecker@adacore.com>
9017
9018 * gdb.ada/frame_args/foo.adb: New file.
9019 * gdb.ada/frame_args/pck.ads: New file.
9020 * gdb.ada/frame_args/pck.adb: New file.
9021 * gdb.ada/frame_args.exp: New testcase.
9022
90232007-12-17 Joel Brobecker <brobecker@adacore.com>
9024
9025 * gdb.base/frame-args.c: New file.
9026 * gdb.base/frame-args.exp: New testcase.
9027
90282007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
9029 Joseph Myers <joseph@codesourcery.com>
9030
9031 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9032
90332007-12-14 Vladimir Prus <vladimir@codesourcery.com>
9034
9035 * gdb.mi/mi-pending.exp: New.
9036 * gdb.mi/mi-pending.c: New.
9037 * gdb.mi/mi-pendshr.c: New.
9038
90392007-12-06 Jim Blandy <jimb@codesourcery.com>
9040
9041 * gdb.base/default.exp: Update expected output for 'info catch'.
9042
90432007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9046 must be set to binary.
9047
90482007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9049
9050 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9051
90522007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9053
9054 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9055 gdb.mi/mi-file-transfer.exp: New.
9056
90572007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9058
9059 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9060
90612007-11-22 Maciej W. Rozycki <macro@mips.com>
9062
9063 * gdb.trace/backtrace.exp: Fix a typo.
9064 * gdb.trace/circ.exp: Likewise.
9065 * gdb.trace/collection.exp: Likewise.
9066 * gdb.trace/limits.exp: Likewise.
9067 * gdb.trace/report.exp: Likewise.
9068 * gdb.trace/tfind.exp: Likewise.
9069 * gdb.trace/while-dyn.exp: Likewise.
9070
90712007-11-21 Nick Roberts <nickrob@snap.net.nz>
9072
9073 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9074 objects of pointers that can't be dereferenced are now
9075 "noneditable".
9076
90772007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9078
9079 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9080 (target_cpu): Remove.
9081
90822007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9083
9084 * gdb.base/ending-run.exp: Expect the list of cleared
9085 breakpoint to come in natural order, not the reversed one.
9086
90872007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9088
9089 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9090 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
9091
90922007-11-05 Luis Machado <luisgpm@br.ibm.com>
9093
9094 * gdb.base/printcmds.exp: New function
9095 test_printf_with_dfp.
9096
90972007-11-02 Doug Evans <dje@google.com>
9098
9099 * gdb.disasm/t01_mov.s: Remove carriage returns.
9100 * gdb.disasm/t02_mova.s: Ditto.
9101 * gdb.disasm/t03_add.s: Ditto.
9102 * gdb.disasm/t04_sub.s: Ditto.
9103 * gdb.disasm/t05_cmp.s: Ditto.
9104 * gdb.disasm/t06_ari2.s: Ditto.
9105 * gdb.disasm/t07_ari3.s: Ditto.
9106 * gdb.disasm/t08_or.s: Ditto.
9107 * gdb.disasm/t09_xor.s: Ditto.
9108 * gdb.disasm/t10_and.s: Ditto.
9109 * gdb.disasm/t11_logs.s: Ditto.
9110 * gdb.disasm/t12_bit.s: Ditto.
9111 * gdb.disasm/t13_otr.s: Ditto.
9112
91132007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9114
9115 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9116
91172007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9118
9119 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9120 provide DFP support.
9121
91222007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9123
9124 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9125 Test "set powerpc vector-abi". Skip auto-detection tests for old
9126 toolchains.
9127
91282007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9129
9130 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9131 with [string compare].
9132
91332007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9134
9135 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9136 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9137
91382007-10-25 Luis Machado <luisgpm@br.ibm.com>
9139
9140 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9141 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9142 * gdb.opt/Makefile.in: New makefile.
9143 * Makefile.in: Create new directory "gdb.opt".
9144 * configure.ac: Add "gdb.opt" directory.
9145 * configure: Regenerated.
9146
91472007-10-25 Doug Evans <dje@google.com>
9148
9149 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9150 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9151
91522007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
9153 Thiago Jung Bauermann <bauerman@br.ibm.com>
9154
9155 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9156 Floating Point expressions.
9157 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9158 Floating Point variables.
9159 * gdb.base/dfp-test.c: new file containing program with Decimal
9160 Floating variables, used by gdb.base/dfp-test.exp.
9161
91622007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9163
9164 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9165
91662007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9167
9168 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9169 compiling test case with GCC.
9170 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9171
91722007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9173
9174 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9175 format changes.
9176
91772007-10-18 Michael Snyder <msnyder@specifix.com>
9178
9179 * gdb.base/dbx.exp: Add missing "-re " operator.
9180
91812007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9182
9183 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9184 * configure.ac: Removed trailing spaces after backslash.
9185 * gdb.modula2: New directory.
9186 * gdb.modula2/Makefile.in: New file.
9187 * gdb.modula2/unbounded-array.exp: New file.
9188 * gdb.modula2/unbounded1.c: New file.
9189
91902007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9191
9192 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9193
91942007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
9195
9196 * gdb.base/sigstep.c (main): Add checks for
9197 return values for setitimer call.
9198 Call setitimer again with itimer = ITIMER_REAL
9199 if first call to setitimer fails.
9200
92012007-10-11 Kazu Hirata <kazu@codesourcery.com>
9202
9203 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9204 of $timeout.
9205
92062007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9207
9208 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9209
92102007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
9211
9212 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9213 of gdb_expect call, to avoid interruption.
9214
92152007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9216
9217 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9218 (v_unsigned_long_long, v_long_long_array)
9219 (v_signed_long_long_array, v_unsigned_long_long_array)
9220 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9221 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9222 [!NO_LONG_LONG]: New.
9223 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9224 v_long_long_member.
9225
9226 (v_long_long_func, v_signed_long_long_func)
9227 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9228 (main) [!NO_LONG_LONG]: Initialize long long variants.
9229
9230 * gdb.base/whatis.exp: If board file requests no_long_long, build
9231 test with NO_LONG_LONG defined. Test long long, signed long long,
9232 and unsigned long long variants but only if board file doesn't
9233 disable it.
9234
92352007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
9236 Daniel Jacobowitz <dan@codesourcery.com>
9237
9238 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9239 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9240 * configure: Regenerated.
9241 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9242 gdb.pascal/types.exp, lib/pascal.exp: New files.
9243
92442007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9245
9246 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9247 call.
9248 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9249 to return to the call.
9250 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9251 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9252 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9253 * gdb.mi/mi-until.exp (test_until): Likewise.
9254 * gdb.mi/mi2-until.exp (test_until): Likewise.
9255
92562007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9257
9258 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9259 two-char array.
9260 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9261
92622007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9263
9264 * gdb.threads/watchthreads.c (thread_function): Sleep between
9265 iterations.
9266 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9267 at once for S/390. Generate matching fails and passes.
9268
92692007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9270
9271 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9272 the 'struct_declarations' variable to zeros.
9273
92742007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9275
9276 * gdb.cp/mb-ctor.cc: New.
9277 * gdb.cp/mb-ctor.exp: New.
9278 * gdb.cp/mb-templates.cc: New.
9279 * gdb.cp/mb-templates.exp: New.
9280
92812007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9282
9283 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9284
92852007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9286
9287 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9288 targets.
9289 * configure: Regenerate.
9290
92912007-09-23 Vladimir Prus <vladimir@codesourcery.com>
9292
9293 * gdb.base/annota1.exp: Adjust for 'info break'
9294 format changes.
9295 * gdb.base/annota3.exp: Likewise.
9296 * gdb.base/break.exp: Likewise.
9297 * gdb.base/condbreak.exp: Likewise.
9298 * gdb.base/pending.exp: Likewise.
9299 * gdb.base/sepdebug.exp: Likewise.
9300 * gdb.base/unload.exp: Likewise.
9301 * gdb.base/ovldbreak.exp: Likewise.
9302
93032007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9304
9305 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9306 messages.
9307 * gdb.base/chng-syms.exp: Likewise.
9308 * gdb.base/unload.exp: Likewise.
9309
93102007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9311
9312 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9313
93142007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9315
9316 * schedlock.c (NUM): Change to 1.
9317 (main): Use args[0] for the main thread.
9318 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9319 regardless of the number of threads.
9320
93212007-09-14 Maciej W. Rozycki <macro@mips.com>
9322
9323 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9324 type down.
9325 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9326 test.
9327 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9328 watchpoint type down.
9329 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9330 test.
9331
93322007-09-14 Maciej W. Rozycki <macro@mips.com>
9333
9334 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9335 Move all the tests here and run them twice, once using software
9336 watchpoints and once using hardware watchpoints.
9337 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9338
93392007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9340
9341 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9342 test.
9343
93442007-09-10 Mark Kettenis <kettenis@gnu.org>
9345
9346 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9347 build-id.
9348
9349 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9350 know about $ORIGIN. Calculate output dir from $dest instead of
9351 using ${objdir}/{$subdir}.
9352
93532007-09-09 Mark Kettenis <kettenis@gnu.org>
9354
9355 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9356 gcore, before continuing with the test.
9357
93582007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9359
9360 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9361 * gdb.mi/mi-watch.exp: Likewise.
9362
93632007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9364 Jim Blandy <jimb@codesourcery.com>
9365
9366 * gdb.arch/i386-sse.exp: Do not expect character constants.
9367 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9368 * gdb.base/display.exp: Allow print/s.
9369 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9370 and unsigned char array changes.
9371
93722007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9373
9374 * gdb.base/display.exp: Add tests for printf %p.
9375
93762007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9377
9378 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9379 the dll name to unicode.
9380
93812007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9382
9383 * gdb.base/default.exp (show version): Update the version text.
9384 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9385
93862007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9387
9388 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9389 New files.
9390
93912007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 * lib/gdb.exp (build_id_debug_filename_get): New function.
9394 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9395 Remove the generate DEBUG file for the future testcase runs.
9396 New testcase for the NT_GNU_BUILD_ID retrieval.
9397 Move the final testing step to ...
9398 (test_different_dir): ... a new function.
9399 New parameter XFAIL to XFAIL all the tests performed.
9400 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9401 New parameter TYPE to PF_PREFIX all the tests performed.
9402
94032007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9404
9405 * gdb.mi/mi-var-cp.cc (path_expression): New
9406 function.
9407 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9408
94092007-08-27 Markus Deuling <deuling@de.ibm.com>
9410
9411 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9412 to fit into SPU Local Store memory.
9413
94142007-08-23 Joel Brobecker <brobecker@adacore.com>
9415
9416 * gdb.base/default.exp: Adjust the expected output of "info
9417 warranty" after the switch to GPLv3.
9418
94192007-08-23 Joel Brobecker <brobecker@adacore.com>
9420
9421 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9422 to 30000 (from 20000).
9423
94242007-08-23 Joel Brobecker <brobecker@adacore.com>
9425
9426 Switch the license of all .exp files to GPLv3.
9427 Switch the license of all .f and .f90 files to GPLv3.
9428 Switch the license of all .s and .S files to GPLv3.
9429
94302007-08-23 Joel Brobecker <brobecker@adacore.com>
9431
9432 * configure.ac: Switch license to GPLv3.
9433
94342007-08-23 Joel Brobecker <brobecker@adacore.com>
9435
9436 Switch the licensing to GPLv3 for all .ads and .adb files.
9437
94382007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9439
9440 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9441 and t_int_double.
9442 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9443
94442007-08-17 Joel Brobecker <brobecker@adacore.com>
9445
9446 * gdb.base/step-line.c: Switch license to GPL version 3, and
9447 update copyright year.
9448 * gdb.base/step-line.inp: Likewise.
9449
94502007-08-17 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9453 changes inside gdb1555.c.
9454 * gdb.base/pending.exp: Likewise.
9455
94562007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9457
9458 * config/default.exp: New file.
9459
94602007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9461
9462 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9463 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9464
94652007-07-30 Maciej W. Rozycki <macro@mips.com>
9466
9467 * gdb.base/dump.exp: Force the correct endianness for binary
9468 formats not carrying this information.
9469
94702007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9471
9472 * gdb.threads/staticthreads.exp: Match .*sem_post.
9473
94742007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9475
9476 * gdb.base/readline.exp (operate_and_get_next): Match the final
9477 prompt.
9478
94792007-07-23 Kevin Buettner <kevinb@redhat.com>
9480
9481 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9482 to restarting SID.
9483
94842007-07-18 Kevin Buettner <kevinb@redhat.com>
9485
9486 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9487 prior to `gdb_start'.
9488
94892007-07-18 Kevin Buettner <kevinb@redhat.com>
9490
9491 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9492 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9493 Remove call to gdb_unload.
9494
94952007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9496 Daniel Jacobowitz <dan@codesourcery.com>
9497
9498 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9499 for __WIN32__.
9500 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9501 * gdb.base/unload.exp: Use shared library test routines.
9502
95032007-07-03 Markus Deuling <deuling@de.ibm.com>
9504
9505 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9506 * gdb.base/solib-symbol-lib.c: Likewise.
9507 * gdb.base/solib-symbol-main.c: Likewise.
9508
95092007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9510
9511 * config/gdbserver.exp (gdb_reconnect): New.
9512 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9513 gdb.base/solib-disc.exp: New files.
9514 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9515 remote debugging".
9516 (gdb_compile): Add shlib_load flag.
9517 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9518 port.
9519 (gdbserver_reconnect): New.
9520
95212007-07-01 Nick Roberts <nickrob@snap.net.nz>
9522 Daniel Jacobowitz <dan@codesourcery.com>
9523
9524 * gdb.base/annota3.exp: Test for if construct.
9525
95262007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9527
9528 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9529
95302007-06-21 Chris Dearman <chris@mips.com>
9531 Maciej W. Rozycki <macro@mips.com>
9532
9533 * gdb.base/display.exp: Allow a newline after display/i.
9534 * gdb.base/pc-fp.exp: Likewise.
9535 * gdb.base/sigbpt.exp: Likewise.
9536
95372007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9538
9539 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9540 required features to be included.
9541
95422007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9543
9544 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9545 in info threads output.
9546
95472007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9548 Markus Deuling <deuling@de.ibm.com>
9549
9550 * gdb.arch/spu-info.exp: New testcase.
9551 * gdb.arch/spu-info.c: New file.
9552
95532007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9554
9555 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9556 tpcs_offset. Restore lr after the call.
9557 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9558
95592007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9560
9561 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9562 (gdbserver_run): Kill any running gdbserver.
9563 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9564
95652007-05-17 Maciej W. Rozycki <macro@mips.com>
9566
9567 * gdb.base/sigbpt.exp: Preset segv_addr.
9568
95692007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9570
9571 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9572 (gdb_compile_shlib): Likewise.
9573 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9574 (default_gdb_init): Clear cleanfiles.
9575 (gdb_finish): Delete recorded cleanfiles.
9576 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9577
9578 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9579 Do not use isnative.
9580 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9581 gdb.base/so-impl-ld.exp: Likewise.
9582 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9583 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9584 gdb_compile.
9585
95862007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9587
9588 * config/unknown.exp: Remove.
9589
95902007-05-15 Markus Deuling <deuling@de.ibm.com>
9591
9592 * gdb.base/info-proc.exp: Check is_remote.
9593
95942007-05-14 Markus Deuling <deuling@de.ibm.com>
9595
9596 * gdb.base/gcore.exp: Initialize variable core_supported.
9597
95982007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9599
9600 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9601
96022007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9603
9604 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9605 * gdb.threads/print-threads.exp (test_all_threads): Allow
9606 negative and hexadecimal thread IDs.
9607
96082007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9609
9610 * gdb.java/jprint.java (public): Avoid invalid call to static
9611 method.
9612
96132007-05-14 Denis Pilat <denis.pilat@st.com>
9614
9615 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9616 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9617 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9618 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9619 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9620
96212007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9622
9623 * gdb.base/overlays.exp: Add support for targets with only code
9624 overlay support, not data overlay. Support spu-*-* target in
9625 this mode.
9626 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9627 * gdb.base/spu.ld: New file.
9628
96292007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9630
9631 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9632
96332007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9634
9635 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9636
96372007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9638
9639 * gdb.java/jmain.exp: Handle demangled names with and without method
9640 signatures.
9641
96422007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9643
9644 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9645 (have_a_very_merry_interrupt): Remove calls to puts.
9646 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9647 inferior output.
9648 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9649 test names.
9650
96512007-04-29 Markus Deuling <deuling@de.ibm.com>
9652 Daniel Jacobowitz <dan@codesourcery.com>
9653
9654 * gdb.base/auxv.exp (core_works): Also check is_remote.
9655 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9656
96572007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9658
9659 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9660 message, not the undefined 'module' variable.
9661 * gdb.base/siginfo.exp: Likewise.
9662 * gdb.base/sigstep.exp: Likewise.
9663 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9664 serialport.
9665 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9666
96672007-04-25 Corinna Vinschen <vinschen@redhat.com>
9668
9669 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9670 target sim fails. Return 0 otherwise.
9671 (gdb_load): Return prematurely if gdb_target_sim fails.
9672
96732007-04-16 Denis Pilat <denis.pilat@st.com>
9674
9675 * gdb.base/setshow.exp: Reset height after having set it to 100.
9676
96772007-04-16 Denis Pilat <denis.pilat@st.com>
9678
9679 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9680
96812007-04-16 Denis Pilat <denis.pilat@st.com>
9682
9683 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9684
96852007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9686
9687 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9688 tests. Run the frozen varobjs test.
9689 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9690 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9691
96922007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9693
9694 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9695 gdb.base/type-opaque.exp: New files.
9696
96972007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9698
9699 * gdb.mi/mi-var-child.c
9700 (do_children_tests): User char[2] instead of
9701 char so that automatic printing of pointers to char
9702 don't give unpredicable result.
9703 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9704 local variables.
9705 * gdb.mi/mi-var-child.exp: Step to right line
9706 of do_children_tests.
9707 * gdb.mi/mi2-var-child.exp: Likewise.
9708 * gdb.mi/mi-var-cmd.exp: Step to right line of
9709 do_locals_tests.
9710 (do_children_tests): User char[2] instead of
9711 char so that automatic printing of pointers to char
9712 don't give unpredicable result.
9713 * gdb.mi/mi2-var-cmd.exp: Likewise.
9714 * lib/mi-support.exp (mi_continue_to_line):
9715 Pass test name to mi_wait_for_stop.
9716
97172007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9718
9719 * gdb.asm/asm-source.exp: Remove d10v case.
9720 * lib/gdb.exp (skip_cplus_tests): Likewise.
9721 * gdb.asm/d10v.inc: Deleted.
9722
97232007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9724
9725 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9726
97272007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9728
9729 * config/netware.exp: Delete file.
9730
97312007-03-29 Joel Brobecker <brobecker@adacore.com>
9732
9733 * gdb.dwarf2/dw2-noloc.S: New file.
9734 * gdb.dwarf2/dw2-noloc.exp: New file.
9735
97362007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9737
9738 * gdb.cp/method2.cc: New test.
9739 * gdb.cp/method2.exp: New test.
9740 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9741
97422007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9743
9744 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9745
97462007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9747
9748 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9749
97502007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9751
9752 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9753 (gdb_load): Delete, replace with...
9754 (gdb_reload): ...this.
9755 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9756 * gdb.server/server-mon.exp: Likewise.
9757 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9758 (gdb_start_cmd): New.
9759 (gdb_file_cmd): Save the last loaded file.
9760 (gdb_reload): New.
9761 (gdb_gnu_strip_debug): Use transform.
9762 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9763 support here. Use new $last_loaded_file. Check mtime.
9764 (gdb_target_cmd): Handle ObjC failure case.
9765 (infer_host_exec): Delete.
9766 (gdbserver_load): Rename to...
9767 (gdbserver_run): ...this. Simplify.
9768 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9769 (mi_gdb_load): Move most contents to a new function...
9770 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9771 (mi_run_cmd): Use mi_gdb_target_load.
9772 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9773 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9774 Use gdb_run_cmd.
9775 * gdb.base/charsign.exp: Remove incorrect comment.
9776 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9777 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9778 gdb.base/start.exp: Use gdb_start_cmd.
9779
97802007-03-23 Nigel Stephens <nigel@mips.com>
9781 Maciej W. Rozycki <macro@mips.com>
9782
9783 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9784 * gdb.base/signull.exp: Similarly.
9785
97862007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9787
9788 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9789 messages available to test cases (like chng-sym.exp).
9790
97912007-03-14 Andreas Schwab <schwab@suse.de>
9792
9793 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9794 format changes.
9795
97962007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9797
9798 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9799 (optimized_1): New.
9800 (main): Call optimized_1.
9801 (gdb2029): Correct typos. Call gdb2029_marker.
9802 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9803 for gdb2029.
9804
98052007-03-12 Mark Kettenis <kettenis@gnu.org>
9806
9807 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9808 as tabs. Remove redundant test pattern.
9809
98102007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9811
9812 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9813 for /a format output.
9814
98152007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9816
9817 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9818 collect output incrementally.
9819
98202007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9821
9822 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9823 for -var-create lpcharacter test.
9824 * gdb.mi/mi2-var-cmd.exp: Likewise.
9825
98262007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9827
9828 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9829 pass on targets where address zero is readable.
9830
98312007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9832
9833 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9834 just a single architecture.
9835
98362007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9837
9838 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9839 (fetch_all_registers): New function, uses gdb_test_multiple and
9840 exp_continue to fetch inferior output line-by-line.
9841 Replace all uses of do_get_all_registers by fetch_all_registers.
9842
98432007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9844
9845 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9846 in target_info.
9847
98482007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9849
9850 * gdb.threads/manythreads.exp: Use $message string for
9851 consistancy; add a default (timeout) case.
9852
98532007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9854
9855 * gdb.base/watchpoint.exp: Fix truncated comment.
9856
98572007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9858
9859 * Makefile.in: Remove spurious single-quotes from sed command.
9860
98612007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9862
9863 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9864 func.
9865 * gdb.mi/mi2-var-cmd.exp: Likewise.
9866
98672007-02-27 Joel Brobecker <brobecker@adacore.com>
9868
9869 * gdb.dwarf2/dw2-producer.S: New file.
9870 * gdb.dwarf2/dw2-producer.exp: New testcase.
9871
98722007-02-27 Nick Roberts <nickrob@snap.net.nz>
9873
9874 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9875 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9876 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9877 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9878 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9879 Revert tests to use mi_gdb_test and include value field in output
9880 of -var-create.
9881
98822007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9883
9884 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9885
98862007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9887
9888 * gdb.base/maint.exp: Remove full paths from test names.
9889 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9890 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9891
98922007-02-27 Joel Brobecker <brobecker@adacore.com>
9893
9894 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9895
98962007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9897
9898 * gdb.server/server-mon.exp: New test.
9899
99002007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9901
9902 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9903
99042007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9905
9906 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9907 register capitalization.
9908
99092007-02-13 Denis Pilat <denis.pilat@st.com>
9910
9911 * gdb.mi/mi-var-invalidate.exp: New file.
9912
99132007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9914
9915 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9916
99172007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9918
9919 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9920
99212007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9922
9923 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9924 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9925
99262007-02-08 Nick Roberts <nickrob@snap.net.nz>
9927
9928 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9929 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9930 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9931 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9932 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9933 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9934 Update tests to include value field in output of -var-create.
9935
99362007-02-08 Andreas Schwab <schwab@suse.de>
9937
9938 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9939
99402007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9941
9942 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9943 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9944
99452007-02-02 Denis Pilat <denis.pilat@st.com>
9946
9947 * gdb.threads/threadapply.exp: check that frame is not changed by
9948 the thread apply all command.
9949
99502007-01-31 Andreas Schwab <schwab@suse.de>
9951
9952 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9953
9954 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9955 in the dwarf sections.
9956 * gdb.dwarf2/mac-fileno.S: Likewise.
9957
9958 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9959 bspstore register on ia64.
9960
99612007-01-29 Andreas Schwab <schwab@suse.de>
9962
9963 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9964 "frame-begin" annotation.
9965
9966 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9967 number of "frames-invalid" annotations.
9968
99692007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9970
9971 * gdb.base/commands.exp: Call if_commands_test.
9972 (gdb_test_no_prompt, if_commands_test): New.
9973
99742007-01-28 Mark Kettenis <kettenis@gnu.org>
9975
9976 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9977
99782007-01-27 Andreas Schwab <schwab@suse.de>
9979
9980 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9981 .short/.int/.quad in the dwarf sections.
9982 * gdb.dwarf2/dw2-intercu.S: Likewise.
9983 * gdb.dwarf2/dw2-intermix.S: Likewise.
9984
99852007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9986
9987 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9988 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9989 array.
9990 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9991 * gdb.base/setvar.exp: Likewise.
9992
99932007-01-26 Andreas Schwab <schwab@suse.de>
9994
9995 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9996 test.
9997
9998 * gdb.base/multi-forks.exp ("restart $i"): Also match
9999 __kernel_syscall_via_break.
10000
100012007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10002
10003 * lib/mi-support.exp (mi_delete_varobj): New.
10004 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10005 testcase.
10006 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10007 (main): Call the above.
10008 (reference_update_test, base_in_reference_test)
10009 (reference_to_pointer): Delete the created varobjs.
10010
100112007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10012
10013 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10014 * configure: Regenerated.
10015 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10016 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10017 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10018 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10019 * lib/gdb.exp (gdb_skip_xml_test): New function.
10020
100212007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10022
10023 * gdb.base/sigrepeat.exp: Correct error message.
10024
100252007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10026 Daniel Jacobowitz <dan@codesourcery.com>
10027
10028 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10029 gdb.arch/i386-gnu-cfi-asm.S: New files.
10030
100312007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10032
10033 * lib/gdb.exp: Abort on missing `site.exp'.
10034
100352007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10036 Daniel Jacobowitz <dan@codesourcery.com>
10037
10038 * gdb.base/included.c, gdb.base/included.exp,
10039 gdb.base/included.h: New files.
10040
100412007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10042
10043 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10044 (maximize_rlimit): Reduce limits on 64-bit systems.
10045
100462007-01-19 Mark Kettenis <kettenis@gnu.org>
10047
10048 From Marcus Deuling <deuling@de.ibm.com>:
10049 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10050 every case.
10051
100522007-01-13 Nick Roberts <nickrob@snap.net.nz>
10053
10054 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10055 (test_path_specification): Use objdir instead of srcdir to always
10056 get an absolute filename.
10057
100582007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10059
10060 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10061
100622007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10063
10064 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10065 Make sure the variable we're using is in scope.
10066 (reference_to_pointer): Likewise.
10067
100682007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10069
10070 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10071 has no debug information.
10072
100732007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10074
10075 * gdb.base/annota1.exp: Remove extra send_gdb.
10076
100772007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10078
10079 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10080
100812007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10082
10083 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10084
100852007-01-08 Nick Roberts <nickrob@snap.net.nz>
10086 Daniel Jacobowitz <dan@codesourcery.com>
10087
10088 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10089 lcharacter or linteger change. Correct duplicated test name.
10090 * gdb.mi/mi2-var-cmd.exp: Likewise.
10091
100922007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10093
10094 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10095
100962007-01-05 Joel Brobecker <brobecker@adacore.com>
10097
10098 * gdb.base/nofield.c: New file.
10099 * gdb.base/nofield.exp: New testcase.
10100
101012007-01-05 Nick Roberts <nickrob@snap.net.nz>
10102
10103 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10104
10105 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10106 test.
10107
101082007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10109
10110 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10111
101122007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10113
10114 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10115 when continuing.
10116
101172007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10118
10119 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10120 Expect ".exe" extension.
10121
101222007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10123
10124 * gdb.base/charset.exp: Add explicit filename to break.
10125 * gdb.base/dbx.exp: Add explicit filename to breaks.
10126
101272007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10128
10129 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10130 * gdb.mi/mi2-file.exp: Likewise.
10131
101322007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10133
10134 Implement specification of MI tests as comments
10135 in C and C++ sources.
10136 * lib/mi-support.exp (mi_autotest_data): New variable.
10137 (mi_autotest_source): New variable.
10138 (count_newlines, mi_prepare_inline_tests)
10139 (mi_get_inline_test, mi_continue_to_line)
10140 (mi_run_inline_test, mi_tbreak)
10141 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10142 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10143 Run inline tests.
10144 * gdb.mi/mi-var-cp.cc: Define tests here.
10145
101462007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10147
10148 Simplify usage of mi_continue_to.
10149 * lib/mi-support.exp (mi_runto_helper): Renamed
10150 from mi_runto, added new parameter 'run_or_continue'.
10151 (mi_runto): Use mi_runto_helper.
10152 (mi_continue_to): Accept just function name as parameter.
10153 Use mi_runto_helper.
10154 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10155 * gdb.mi/mi2-var-cmd.exp: Likewise.
10156
101572006-01-04 Joel Brobecker <brobecker@adacore.com>
10158
10159 Make this testcase a bit more realistic. The current code
10160 is too simplistic, and allows the compiler to optimize out
10161 some of the entities we need for this testcase.
10162 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10163 (Do_Nothing): Add extra parameter.
10164 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10165 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10166 by using a variable of type Void_Star.
10167
101682006-01-04 Joel Brobecker <brobecker@adacore.com>
10169
10170 * gdb.ada/catch_ex/foo.adb: New file.
10171 * gdb.ada/catch_ex.exp: New testcase.
10172
101732007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10174
10175 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10176 pass --image-base to linker.
10177
101782007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10179 Daniel Jacobowitz <dan@codesourcery.com>
10180
10181 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10182 secondary prompts.
10183
101842007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10185
10186 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10187 output. Test the types of members and member pointers.
10188 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10189 gdb/2092.
10190 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10191 statement. Enable for GCC. Update expected output for some tests
10192 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10193 layout.
10194 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10195 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10196 (Diamond::vget_base): New.
10197 (main): Add new tests.
10198 * gdb.cp/printmethod.exp: Update expected output for member functions.
10199 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10200 print pEe->D::vg().
10201
102022007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10203
10204 * gdb.threads/tls.exp: Allow stops in sem_post.
10205
102062006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10207
10208 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10209 * gdb.base/annota3.exp: Likewise.
10210 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10211 again (instead of timing out).
10212 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10213 GCC bug 26475.
10214 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10215 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10216 test from jmisc1.exp.
10217 * gdb.java/jmisc1.exp: Delete.
10218 * gdb.java/jprint.exp: Adjust to work with method signatures including
10219 return types.
10220 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10221 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10222 * lib/java.exp (compile_java_from_source): Pass the correct type
10223 to target_compile.
10224
102252006-12-31 Joel Brobecker <brobecker@adacore.com>
10226
10227 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10228 (stack_align_edx): New function.
10229 (stack_align_eax): New function.
10230 (main): Add calls to stack_align_edx and stack_align_eax.
10231 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10232 Add testing for the cases where the register used during a stack
10233 realignment is edx. Same for eax.
10234
102352006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10236
10237 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10238 and generic PE targets.
10239
102402006-12-29 Joel Brobecker <brobecker@adacore.com>
10241
10242 * gdb.ada/array_return.exp: Update copyright date list.
10243
102442006-12-27 Joel Brobecker <brobecker@adacore.com>
10245
10246 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10247 (Create_Small_Float_Vector): New function.
10248 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10249 function body.
10250 * gdb.ada/array_return/p.adb: Use new type and function from
10251 package Pck.
10252 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10253 able to print the value returned by a function returning an
10254 array of float.
10255
102562006-12-20 Joel Brobecker <brobecker@adacore.com>
10257
10258 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10259 The associated tests should be PASSing.
10260
102612006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10262
10263 Test for base in references.
10264 * gdb.mi/mi-var-cp.cc: Add test code.
10265 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10266 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10267 * gdb.mi/mi2-watch.exp: Likewise.
10268 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10269 (mi_list_varobj_children): New function.
10270
102712006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10272
10273 * lib/mi-support.exp
10274 (mi_runto): Accept "()" after function name.
10275 (mi_create_varobj): New function.
10276 (mi_varobj_update): New function.
10277 (mi_Check_varobj_value): New function.
10278 * gdb.mi/mi-var-cp.exp: New file.
10279 * gdb.mi/mi-var-cp.cc: New file.
10280
102812006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10282
10283 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10284 gdb.base/weaklib2.c: New files.
10285
102862006-11-29 Nathan Sidwell <nathan@codesourcery.com>
10287
10288 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10289 info. Adjust test names.
10290
10291 * gdb.base/break.c (main): Move position of malloc.
10292 * gdb.base/break.exp: Revert mistaken checkin.
10293
102942006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10295
10296 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10297 assignement of arrays and function pointers.
10298 * gdb.mi/var-cmd.c: Add declaration necessary for above
10299 tests.
10300
103012006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10302
10303 * gdb.base/break.c (main): Call malloc.
10304
10305 * gdb.threads/linux-dp.exp: Read thread table before and after
10306 creating each philosopher and verify it.
10307
103082006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10309 Paul Brook <paul@codesourcery.com>
10310 Daniel Jacobowitz <dan@codesourcery.com>
10311
10312 * gdb.base/ending-run.exp: Flatten expect script stepping out of
10313 main to remove duplication. Add start function of the form
10314 '_*start[1-9]*'. Add RVDS start function.
10315
103162006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10317
10318 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10319
103202006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10321
10322 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10323 * gdb.asm/spu.inc: New file.
10324 * gdb.base/term.exp: Disable if [target_info exists noargs].
10325 * gdb.gdb/complaints.exp: Disable if ![isnative].
10326 * gdb.gdb/selftest.exp: Likewise.
10327 * gdb.gdb/observer.exp: Likewise.
10328 * gdb.gdb/xfullpath.exp: Likewise.
10329 * gdb.base/attach.exp: Disable on SPU target.
10330 * gdb.cp/bs145503.exp: Likewise.
10331 * gdb.cp/exception.exp: Likewise.
10332 * gdb.cp/userdef.exp: Likewise.
10333
103342006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10335
10336 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10337
103382006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10339
10340 * gdb.base/completion.exp: Fix completion tests for
10341 'info' and 'info '.
10342 * gdb.base/help.exp (help_test_raw, test_class_help)
10343 (test_prefix_command_help): Move...
10344 * lib/gdb.exp: Here.
10345 * gdb.base/main.exp: Adjust.
10346 * gdb.cp/maint.exp: Adjust.
10347 * gdb.trace/tracecmd.exp: Use test_help_class.
10348
103492006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10350
10351 * gdb.stabs/weird.exp (print_weird_var): Use
10352 gdb_test_multiple instead of gdb_expect.
10353
103542006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10355
10356 * gdb.base/help.exp (help_test_raw): New.
10357 (test_class_help): New.
10358 (test_prefix_command_help): New.
10359 Adjust testcases.
10360
103612006-11-09 Christophe Lyon <christophe.lyon@st.com>
10362
10363 * gdb.base/constvars.c (main): Write to crass and crips, so that
10364 they are allocated by the compiler.
10365
103662006-10-27 Andreas Schwab <schwab@suse.de>
10367
10368 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10369 "detach-fork".
10370
103712006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10372
10373 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10374 of patterns.
10375
103762006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10377
10378 * gdb.base/sepdebug.exp: Remove debug format test.
10379 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10380 Handle no-symtab.
10381 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10382
103832006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10384
10385 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10386 int to pointer or pointer to int.
10387 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10388
103892006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10390
10391 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10392
103932006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10394
10395 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10396
103972006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10398
10399 PR c++/2116
10400 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10401
104022006-10-06 Joel Brobecker <brobecker@adacore.com>
10403
10404 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10405 the corresponding bug has been fixed in GDB (PR/2018).
10406
104072006-10-06 Joel Brobecker <brobecker@adacore.com>
10408
10409 * gdb.base/subst.exp: New testcase.
10410
104112006-10-06 Joel Brobecker <brobecker@adacore.com>
10412
10413 * gdb.ada/array_return/pck.ads: Add copyright notice.
10414 * gdb.ada/array_return/pck.adb: Likewise.
10415 * gdb.ada/array_return/p.adb: Likewise.
10416 * gdb.ada/exec_changed/first.adb: Likewise.
10417 * gdb.ada/exec_changed/second.adb: Likewise.
10418
104192006-10-06 Joel Brobecker <brobecker@adacore.com>
10420
10421 * gdb.ada/watch_arg/watch.adb: New file.
10422 * gdb.ada/watch_arg.exp: New testcase.
10423
104242006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10425
10426 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
10427 via string_to_regexp.
10428 * gdb.mi/mi2-basics.exp: Likewise.
10429
104302006-09-20 Michael Snyder <michael.snyder@palmsource.com>
10431
10432 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10433 Remove unused / obsolete files.
10434
104352006-09-19 Nick Roberts <nickrob@snap.net.nz>
10436
10437 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10438
104392006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10440
10441 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10442 HIGH_FRAME argument to -stack-list-arguments can be larger than
10443 the number of frames.
10444
104452006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10446
10447 * gdb.base/args.c (main): Add breakpoint marker.
10448 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10449 really test empty arguments.
10450 (args_load): Delete.
10451 (args_test): New.
10452
104532006-09-13 Nick Roberts <nickrob@snap.net.nz>
10454
10455 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
10456 check for one file.
10457
104582006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10459
10460 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10461 HIGH_FRAME argument to -stack-list-locals can be larger than
10462 the number of frames.
10463
104642006-08-18 Fred Fish <fnf@specifix.com>
10465
10466 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10467 '$' in front of skip_vmx_tests_saved when setting that.
10468
104692006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10470
10471 * gdb.base/trace-commands.exp: New file.
10472
104732006-08-10 Joel Brobecker <brobecker@adacore.com>
10474 Daniel Jacobowitz <dan@codesourcery.com>
10475
10476 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10477 expected output of the backtrace commands.
10478
104792006-08-09 Joel Brobecker <brobecker@adacore.com>
10480
10481 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10482 untested followed by return combination.
10483 * gdb.arch/altivec-regs.exp: Likewise.
10484 * gdb.arch/e500-abi.exp: Likewise.
10485 * gdb.arch/e500-regs.exp: Likewise.
10486 * gdb.arch/gdb1291.exp: Likewise.
10487 * gdb.arch/gdb1431.exp: Likewise.
10488 * gdb.arch/gdb1558.exp: Likewise.
10489 * gdb.arch/i386-prologue.exp: Likewise.
10490 * gdb.arch/i386-unwind.exp: Likewise.
10491 * gdb.asm/asm-source.exp: Likewise.
10492 * gdb.base/a2-run.exp: Likewise.
10493 * gdb.base/advance.exp: Likewise.
10494 * gdb.base/all-bin.exp: Likewise.
10495 * gdb.base/annota1.exp: Likewise.
10496 * gdb.base/annota3.exp: Likewise.
10497 * gdb.base/args.exp: Likewise.
10498 * gdb.base/arithmet.exp: Likewise.
10499 * gdb.base/assign.exp: Likewise.
10500 * gdb.base/async.exp: Likewise.
10501 * gdb.base/attach.exp: Likewise.
10502 * gdb.base/bang.exp: Likewise.
10503 * gdb.base/bigcore.exp: Likewise.
10504 * gdb.base/bitfields.exp: Likewise.
10505 * gdb.base/bitfields2.exp: Likewise.
10506 * gdb.base/break.exp: Likewise.
10507 * gdb.base/call-sc.exp: Likewise.
10508 * gdb.base/call-strs.exp: Likewise.
10509 * gdb.base/callfuncs.exp: Likewise.
10510 * gdb.base/checkpoint.exp: Likewise.
10511 * gdb.base/chng-syms.exp: Likewise.
10512 * gdb.base/code-expr.exp: Likewise.
10513 * gdb.base/commands.exp: Likewise.
10514 * gdb.base/completion.exp: Likewise.
10515 * gdb.base/cond-expr.exp: Likewise.
10516 * gdb.base/condbreak.exp: Likewise.
10517 * gdb.base/consecutive.exp: Likewise.
10518 * gdb.base/constvars.exp: Likewise.
10519 * gdb.base/corefile.exp: Likewise.
10520 * gdb.base/cvexpr.exp: Likewise.
10521 * gdb.base/dbx.exp: Likewise.
10522 * gdb.base/define.exp: Likewise.
10523 * gdb.base/detach.exp: Likewise.
10524 * gdb.base/display.exp: Likewise.
10525 * gdb.base/dump.exp: Likewise.
10526 * gdb.base/ena-dis-br.exp: Likewise.
10527 * gdb.base/ending-run.exp: Likewise.
10528 * gdb.base/environ.exp: Likewise.
10529 * gdb.base/eval-skip.exp: Likewise.
10530 * gdb.base/exprs.exp: Likewise.
10531 * gdb.base/fileio.exp: Likewise.
10532 * gdb.base/finish.exp: Likewise.
10533 * gdb.base/float.exp: Likewise.
10534 * gdb.base/foll-exec.exp: Likewise.
10535 * gdb.base/foll-fork.exp: Likewise.
10536 * gdb.base/foll-vfork.exp: Likewise.
10537 * gdb.base/freebpcmd.exp: Likewise.
10538 * gdb.base/funcargs.exp: Likewise.
10539 * gdb.base/gcore.exp: Likewise.
10540 * gdb.base/gdb1090.exp: Likewise.
10541 * gdb.base/gdb1250.exp: Likewise.
10542 * gdb.base/huge.exp: Likewise.
10543 * gdb.base/info-proc.exp: Likewise.
10544 * gdb.base/interrupt.exp: Likewise.
10545 * gdb.base/jump.exp: Likewise.
10546 * gdb.base/langs.exp: Likewise.
10547 * gdb.base/lineinc.exp: Likewise.
10548 * gdb.base/list.exp: Likewise.
10549 * gdb.base/logical.exp: Likewise.
10550 * gdb.base/long_long.exp: Likewise.
10551 * gdb.base/macscp.exp: Likewise.
10552 * gdb.base/maint.exp: Likewise.
10553 * gdb.base/mips_pro.exp: Likewise.
10554 * gdb.base/miscexprs.exp: Likewise.
10555 * gdb.base/multi-forks.exp: Likewise.
10556 * gdb.base/opaque.exp: Likewise.
10557 * gdb.base/overlays.exp: Likewise.
10558 * gdb.base/pc-fp.exp: Likewise.
10559 * gdb.base/pointers.exp: Likewise.
10560 * gdb.base/printcmds.exp: Likewise.
10561 * gdb.base/psymtab.exp: Likewise.
10562 * gdb.base/ptype.exp: Likewise.
10563 * gdb.base/recurse.exp: Likewise.
10564 * gdb.base/relational.exp: Likewise.
10565 * gdb.base/relocate.exp: Likewise.
10566 * gdb.base/remote.exp: Likewise.
10567 * gdb.base/reread.exp: Likewise.
10568 * gdb.base/restore.exp: Likewise.
10569 * gdb.base/return.exp: Likewise.
10570 * gdb.base/return2.exp: Likewise.
10571 * gdb.base/scope.exp: Likewise.
10572 * gdb.base/sect-cmd.exp: Likewise.
10573 * gdb.base/sep.exp: Likewise.
10574 * gdb.base/sepdebug.exp: Likewise.
10575 * gdb.base/setshow.exp: Likewise.
10576 * gdb.base/setvar.exp: Likewise.
10577 * gdb.base/sigall.exp: Likewise.
10578 * gdb.base/sigbpt.exp: Likewise.
10579 * gdb.base/signals.exp: Likewise.
10580 * gdb.base/signull.exp: Likewise.
10581 * gdb.base/sizeof.exp: Likewise.
10582 * gdb.base/solib.exp: Likewise.
10583 * gdb.base/step-line.exp: Likewise.
10584 * gdb.base/step-test.exp: Likewise.
10585 * gdb.base/structs.exp: Likewise.
10586 * gdb.base/structs2.exp: Likewise.
10587 * gdb.base/term.exp: Likewise.
10588 * gdb.base/twice.exp: Likewise.
10589 * gdb.base/until.exp: Likewise.
10590 * gdb.base/varargs.exp: Likewise.
10591 * gdb.base/volatile.exp: Likewise.
10592 * gdb.base/watchpoint.exp: Likewise.
10593 * gdb.base/whatis-exp.exp: Likewise.
10594 * gdb.base/whatis.exp: Likewise.
10595 * gdb.cp/ambiguous.exp: Likewise.
10596 * gdb.cp/annota2.exp: Likewise.
10597 * gdb.cp/annota3.exp: Likewise.
10598 * gdb.cp/bool.exp: Likewise.
10599 * gdb.cp/breakpoint.exp: Likewise.
10600 * gdb.cp/casts.exp: Likewise.
10601 * gdb.cp/class2.exp: Likewise.
10602 * gdb.cp/classes.exp: Likewise.
10603 * gdb.cp/cplusfuncs.exp: Likewise.
10604 * gdb.cp/ctti.exp: Likewise.
10605 * gdb.cp/derivation.exp: Likewise.
10606 * gdb.cp/exception.exp: Likewise.
10607 * gdb.cp/gdb1355.exp: Likewise.
10608 * gdb.cp/hang.exp: Likewise.
10609 * gdb.cp/inherit.exp: Likewise.
10610 * gdb.cp/local.exp: Likewise.
10611 * gdb.cp/m-data.exp: Likewise.
10612 * gdb.cp/m-static.exp: Likewise.
10613 * gdb.cp/member-ptr.exp: Likewise.
10614 * gdb.cp/method.exp: Likewise.
10615 * gdb.cp/misc.exp: Likewise.
10616 * gdb.cp/namespace.exp: Likewise.
10617 * gdb.cp/overload.exp: Likewise.
10618 * gdb.cp/ovldbreak.exp: Likewise.
10619 * gdb.cp/pr-1023.exp: Likewise.
10620 * gdb.cp/pr-1210.exp: Likewise.
10621 * gdb.cp/pr-574.exp: Likewise.
10622 * gdb.cp/printmethod.exp: Likewise.
10623 * gdb.cp/psmang.exp: Likewise.
10624 * gdb.cp/ref-params.exp: Likewise.
10625 * gdb.cp/ref-types.exp: Likewise.
10626 * gdb.cp/rtti.exp: Likewise.
10627 * gdb.cp/templates.exp: Likewise.
10628 * gdb.cp/try_catch.exp: Likewise.
10629 * gdb.cp/userdef.exp: Likewise.
10630 * gdb.cp/virtfunc.exp: Likewise.
10631 * gdb.disasm/am33.exp: Likewise.
10632 * gdb.disasm/h8300s.exp: Likewise.
10633 * gdb.disasm/mn10300.exp: Likewise.
10634 * gdb.disasm/sh3.exp: Likewise.
10635 * gdb.disasm/t01_mov.exp: Likewise.
10636 * gdb.disasm/t02_mova.exp: Likewise.
10637 * gdb.disasm/t03_add.exp: Likewise.
10638 * gdb.disasm/t04_sub.exp: Likewise.
10639 * gdb.disasm/t05_cmp.exp: Likewise.
10640 * gdb.disasm/t06_ari2.exp: Likewise.
10641 * gdb.disasm/t07_ari3.exp: Likewise.
10642 * gdb.disasm/t08_or.exp: Likewise.
10643 * gdb.disasm/t09_xor.exp: Likewise.
10644 * gdb.disasm/t10_and.exp: Likewise.
10645 * gdb.disasm/t11_logs.exp: Likewise.
10646 * gdb.disasm/t12_bit.exp: Likewise.
10647 * gdb.disasm/t13_otr.exp: Likewise.
10648 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10649 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10650 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10651 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10652 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10653 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10654 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10655 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10656 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10657 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10658 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10659 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10660 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10661 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10662 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10663 * gdb.mi/gdb701.exp: Likewise.
10664 * gdb.mi/gdb792.exp: Likewise.
10665 * gdb.mi/mi-basics.exp: Likewise.
10666 * gdb.mi/mi-break.exp: Likewise.
10667 * gdb.mi/mi-cli.exp: Likewise.
10668 * gdb.mi/mi-console.exp: Likewise.
10669 * gdb.mi/mi-disassemble.exp: Likewise.
10670 * gdb.mi/mi-eval.exp: Likewise.
10671 * gdb.mi/mi-file.exp: Likewise.
10672 * gdb.mi/mi-read-memory.exp: Likewise.
10673 * gdb.mi/mi-regs.exp: Likewise.
10674 * gdb.mi/mi-return.exp: Likewise.
10675 * gdb.mi/mi-simplerun.exp: Likewise.
10676 * gdb.mi/mi-stack.exp: Likewise.
10677 * gdb.mi/mi-stepi.exp: Likewise.
10678 * gdb.mi/mi-syn-frame.exp: Likewise.
10679 * gdb.mi/mi-until.exp: Likewise.
10680 * gdb.mi/mi-var-block.exp: Likewise.
10681 * gdb.mi/mi-var-child.exp: Likewise.
10682 * gdb.mi/mi-var-cmd.exp: Likewise.
10683 * gdb.mi/mi-var-display.exp: Likewise.
10684 * gdb.mi/mi-watch.exp: Likewise.
10685 * gdb.mi/mi2-basics.exp: Likewise.
10686 * gdb.mi/mi2-break.exp: Likewise.
10687 * gdb.mi/mi2-cli.exp: Likewise.
10688 * gdb.mi/mi2-console.exp: Likewise.
10689 * gdb.mi/mi2-disassemble.exp: Likewise.
10690 * gdb.mi/mi2-eval.exp: Likewise.
10691 * gdb.mi/mi2-file.exp: Likewise.
10692 * gdb.mi/mi2-read-memory.exp: Likewise.
10693 * gdb.mi/mi2-regs.exp: Likewise.
10694 * gdb.mi/mi2-return.exp: Likewise.
10695 * gdb.mi/mi2-simplerun.exp: Likewise.
10696 * gdb.mi/mi2-stack.exp: Likewise.
10697 * gdb.mi/mi2-stepi.exp: Likewise.
10698 * gdb.mi/mi2-syn-frame.exp: Likewise.
10699 * gdb.mi/mi2-until.exp: Likewise.
10700 * gdb.mi/mi2-var-block.exp: Likewise.
10701 * gdb.mi/mi2-var-child.exp: Likewise.
10702 * gdb.mi/mi2-var-cmd.exp: Likewise.
10703 * gdb.mi/mi2-var-display.exp: Likewise.
10704 * gdb.mi/mi2-watch.exp: Likewise.
10705 * gdb.stabs/exclfwd.exp: Likewise.
10706 * gdb.stabs/weird.exp: Likewise.
10707 * gdb.threads/gcore-thread.exp: Likewise.
10708 * gdb.trace/actions.exp: Likewise.
10709 * gdb.trace/backtrace.exp: Likewise.
10710 * gdb.trace/circ.exp: Likewise.
10711 * gdb.trace/collection.exp: Likewise.
10712 * gdb.trace/deltrace.exp: Likewise.
10713 * gdb.trace/infotrace.exp: Likewise.
10714 * gdb.trace/limits.exp: Likewise.
10715 * gdb.trace/packetlen.exp: Likewise.
10716 * gdb.trace/passc-dyn.exp: Likewise.
10717 * gdb.trace/passcount.exp: Likewise.
10718 * gdb.trace/report.exp: Likewise.
10719 * gdb.trace/save-trace.exp: Likewise.
10720 * gdb.trace/tfind.exp: Likewise.
10721 * gdb.trace/tracecmd.exp: Likewise.
10722 * gdb.trace/while-dyn.exp: Likewise.
10723 * gdb.trace/while-stepping.exp: Likewise.
10724
107252006-08-08 Joel Brobecker <brobecker@adacore.com>
10726
10727 * gdb.base/step-bt.c: New file.
10728 * gdb.base/step-bt.exp: New testcase.
10729
107302006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10731
10732 * config/monitor.exp (gdb_load): Remove support for obsolete
10733 download-write-size.
10734 * gdb.base/remote.exp: Likewise. Update all callers of
10735 gdb_timed_load.
10736
107372006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10738
10739 * cursal.exp: Pass binfile to gdb_load.
10740
107412006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10742
10743 * gdb.base/cursal.exp: Add "" to gdb_load call.
10744
107452006-07-29 Mark Kettenis <kettenis@gnu.org>
10746
10747 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10748 NetBSD/ELF targets.
10749
107502006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10751
10752 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10753 operator*.
10754
107552006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10756
10757 * gdb.base/completion.exp: Update for change in "file" behavior.
10758 * gdb.stabs/weird.exp: Likewise.
10759 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10760 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10761
107622006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10763
10764 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10765 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10766
107672006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10768
10769 * gdb.base/default.exp: Update source command error message.
10770 * gdb.base/help.exp: Update 'help source' message.
10771
107722006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10773
10774 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10775 test.
10776
107772006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10778
10779 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10780
107812006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10782
10783 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10784
107852006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10786
10787 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10788
107892006-07-17 Mark Kettenis <kettenis@gnu.org>
10790
10791 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10792 *-*-openbsd* from targets for wich we expect ARM FPA floating
10793 point format.
10794
107952006-07-17 Nick Roberts <nickrob@snap.net.nz>
10796
10797 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10798
107992006-07-17 Mark Kettenis <kettenis@gnu.org>
10800
10801 * gdb.base/annota3.exp: Expect frame-begin annotation.
10802
108032006-07-14 Joel Brobecker <brobecker@adacore.com>
10804
10805 * gdb.base/help.exp: Adjust "help unset" test to accept
10806 any list of unset commands.
10807
108082006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10809 Daniel Jacobowitz <dan@codesourcery.com>
10810
10811 * gdb.cp/ref-params.exp: New test.
10812 * gdb.cp/ref-params.cc: New source file.
10813 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10814
108152006-07-08 Mark Kettenis <kettenis@gnu.org>
10816
10817 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10818 spaces/tabs in regular expressions since they might not be there.
10819
108202006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10821
10822 * gdb.base/ifelse.exp: New file.
10823
108242006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10825
10826 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10827 line.
10828 * gdb.base/huge.exp: Loop over compilation to find a size that
10829 is acceptable.
10830 * gdb.base/remote.exp: Correct expected strings.
10831 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10832
108332006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10834
10835 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10836
108372006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10838
10839 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10840 native.
10841
108422006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10843
10844 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10845 enable stabs testing.
10846
108472006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10848
10849 * gdb.base/auxv.exp: Intercept undefined command messages before
10850 gdb_test_multiple does.
10851
108522006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10853
10854 * Makefile.in (host_alias): Remove.
10855 (target_alias): Use @target_noncanonical@.
10856 (site.exp): Don't set host_alias.
10857 * aclocal.m4: Remove contents. Include acx.m4.
10858 * configure: Regenerated.
10859 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10860
108612006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10862
10863 * lib/gdb.exp (gdb_load_cmd): New.
10864
10865 * gdb.base/fileio.c: Add system(NULL) test.
10866 * gdb.base/fileio.exp: Check it.
10867
10868 * gdb.base/break.c: Add 10a breakpoint at }
10869 * gdb.base/break.exp: Add test for breakpoint at }
10870 * gdb.cp/anon-union.cc: Add code at end of function.
10871 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10872 * gdb.mi/var-cmd.c: Add code at end of function.
10873 * gdb.mi/mi-var-display.exp: Adjust end of next.
10874 * gdb.mi/mi2-var-display.exp: Likewise.
10875 * gdb.base/fileio.c: Add stop function and insert calls at
10876 stopping places.
10877 * gdb.base/fileio.exp: Breakpoint stop function and remove
10878 explicit line number references.
10879
108802006-05-19 Joel Brobecker <brobecker@adacore.com>
10881
10882 * gdb.base/del.exp (test_delete_alias): New function.
10883 Now check that both "del" and "d" work as aliases for "delete".
10884
108852006-05-18 Fred Fish <fnf@specifix.com>
10886
10887 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10888 required. Check for spurious output after program exits normally.
10889
108902006-05-17 Fred Fish <fnf@specifix.com>
10891
10892 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10893 gdb_load, so it works in the simulator.
10894
108952006-05-11 Fred Fish <fnf@specifix.com>
10896
10897 * gdb.base/bang.exp: Ignore unexpected output between the
10898 "program exited normally" and the gdb prompt, as many other
10899 tests do.
10900
109012006-05-07 Mark Kettenis <kettenis@gnu.org>
10902
10903 * gdb.base/help.exp: Make "delete checkpoint" part option for
10904 "help d" and "help delete" tests.
10905
109062006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10907
10908 * gdb.mi/mi-basics.exp: Add missing serial number to
10909 expected output in some mi_gdb_test statements.
10910 * gdb.mi/mi2-basics.exp: Likewise.
10911
109122006-05-05 Joel Brobecker <brobecker@adacore.com>
10913
10914 * gdb.base/del.c: New file.
10915 * gdb.base/del.exp: New testcase.
10916
109172006-05-05 David S. Miller <davem@sunset.davemloft.net>
10918
10919 * gdb.base/break.exp: Do not assume a breakpoint on
10920 main will actually be in $srcfile when optimizing.
10921 * gdb.base/savedregs.exp: Do not require that the dummy
10922 frame location match up to a symbol and source file location.
10923 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10924 will get printed without a mi_cmd_data_list_register_values prefix.
10925 (*-data-list-register-*): Correct regular expressions to expect the new
10926 pseudo d? floating point registers.
10927 * gdb.mi/mi2-regs.exp: Likewise.
10928
109292006-05-05 Christophe Lyon <christophe.lyon@st.com>
10930
10931 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10932 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10933 is allocated by the compiler.
10934 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10935 anons, e, anone to force their allocation by the compiler.
10936
109372006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10938
10939 * gdb.base/help.exp: Update expected text for help d and
10940 help delete.
10941
109422006-05-02 Mark Kettenis <kettenis@gnu.org>
10943
10944 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10945 NetBSD/ELF targets.
10946
109472006-04-30 Mark Kettenis <kettenis@gnu.org>
10948
10949 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10950 single-step breakpoint fails; make this a KFAIL on
10951 sparc*-*-openbsd*.
10952 * gdb.base/siginfo.exp: Likewise.
10953 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10954
109552006-04-26 Michael Snyder <msnyder@redhat.com>
10956
10957 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10958 which may have to consume output from other forks.
10959 Add tests to make sure that "delete fork" succeeded.
10960
109612006-04-20 Michael Snyder <msnyder@redhat.com>
10962
10963 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10964 Add support for the Renesas M32C and M16C.
10965
10966 * gdb.asm/asm-source.exp: Add m32c target.
10967 * gdb.asm/m32c.inc: Support for m32c target.
10968
109692006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10970
10971 * gdb.base/commands.exp (recursive_source_test): New test.
10972
109732006-04-04 David S. Miller <davem@sunset.davemloft.net>
10974
10975 * gdb.base/float.exp: Add pattern for sparc targets.
10976
109772006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10978
10979 * gdb.base/commands.exp (stray_arg0_test): New test.
10980
109812006-03-30 Paul Brook <paul@codesourcery.com>
10982
10983 * gdb.mi/mi-until.exp: kfail broken until command.
10984 * gdb.mi/mi2-until.exp: Ditto.
10985
109862006-03-27 Nick Roberts <nickrob@snap.net.nz>
10987
10988 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10989
109902006-03-08 Alexandre Oliva <aoliva@redhat.com>
10991
10992 * gdb.base/prelink.exp: Anchor tested-for regular expression
10993 on gdb prompt.
10994
109952006-03-07 Paul Brook <paul@codesourcery.com>
10996
10997 * gdb.base/assign.exp: Correct fail message.
10998
109992006-03-07 Paul Brook <paul@codesourcery.com>
11000
11001 * lib/compiler.c: Extract armcc version number.
11002 * lib/compiler.cc: Ditto.
11003
110042006-03-07 Paul Brook <paul@codesourcery.com>
11005
11006 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11007 additional_flags=-w.
11008 * gdb.arch/altivec-regs.exp: Ditto.
11009 * gdb.arch/e500-abi.exp: Ditto.
11010 * gdb.arch/e500-regs.exp: Ditto.
11011 * gdb.base/all-bin.exp: Ditto.
11012 * gdb.base/annota1.exp: Ditto.
11013 * gdb.base/annota3.exp: Ditto.
11014 * gdb.base/args.exp: Ditto.
11015 * gdb.base/arithmet.exp: Ditto.
11016 * gdb.base/assign.exp: Ditto.
11017 * gdb.base/async.exp: Ditto.
11018 * gdb.base/bang.exp: Ditto.
11019 * gdb.base/break.exp: Ditto.
11020 * gdb.base/call-rt-st.exp: Ditto.
11021 * gdb.base/completion.exp: Ditto.
11022 * gdb.base/cond-expr.exp: Ditto.
11023 * gdb.base/condbreak.exp: Ditto.
11024 * gdb.base/consecutive.exp: Ditto.
11025 * gdb.base/define.exp: Ditto.
11026 * gdb.base/display.exp: Ditto.
11027 * gdb.base/ena-dis-br.exp: Ditto.
11028 * gdb.base/environ.exp: Ditto.
11029 * gdb.base/eval-skip.exp: Ditto.
11030 * gdb.base/info-proc.exp: Ditto.
11031 * gdb.base/jump.exp: Ditto.
11032 * gdb.base/logical.exp: Ditto.
11033 * gdb.base/long_long.exp: Ditto.
11034 * gdb.base/maint.exp: Ditto.
11035 * gdb.base/miscexprs.exp: Ditto.
11036 * gdb.base/pc-fp.exp: Ditto.
11037 * gdb.base/pointers.exp: Ditto.
11038 * gdb.base/relational.exp: Ditto.
11039 * gdb.base/reread.exp: Ditto.
11040 * gdb.base/sect-cmd.exp: Ditto.
11041 * gdb.base/sep.exp: Ditto.
11042 * gdb.base/sepdebug.exp: Ditto.
11043 * gdb.base/until.exp: Ditto.
11044 * gdb.base/whatis-exp.exp: Ditto.
11045 * gdb.cp/annota2.exp: Ditto.
11046 * gdb.cp/annota3.exp: Ditto.
11047 * gdb.trace/actions.exp: Ditto.
11048 * gdb.trace/backtrace.exp: Ditto.
11049 * gdb.trace/circ.exp: Ditto.
11050 * gdb.trace/collection.exp: Ditto.
11051 * gdb.trace/deltrace.exp: Ditto.
11052 * gdb.trace/infotrace.exp: Ditto.
11053 * gdb.trace/limits.exp: Ditto.
11054 * gdb.trace/packetlen.exp: Ditto.
11055 * gdb.trace/passc-dyn.exp: Ditto.
11056 * gdb.trace/passcount.exp: Ditto.
11057 * gdb.trace/report.exp: Ditto.
11058 * gdb.trace/save-trace.exp: Ditto.
11059 * gdb.trace/tfind.exp: Ditto.
11060 * gdb.trace/tracecmd.exp: Ditto.
11061 * gdb.trace/while-dyn.exp: Ditto.
11062 * gdb.trace/while-stepping.exp: Ditto.
11063 * lib/gdb.exp: Ditto.
11064 (gdb_compile): Handle nowarning option.
11065
110662006-03-07 Alexandre Oliva <aoliva@redhat.com>
11067
11068 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11069 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11070 Rename executable to prelinkt. Don't re-prelink if we didn't
11071 get a core file. Test prelink -u exit status to tell whether
11072 prelinking failed. Use gdb_test_multiple.
11073
110742006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11075
11076 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11077 (do_tests): Call it.
11078
110792006-02-28 Alexandre Oliva <aoliva@redhat.com>
11080
11081 * gdb.base/prelink.exp: New test.
11082 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11083
110842006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11085
11086 * gdb.fortran/derived-type.f90: New file.
11087 * gdb.fortran/derived-type.exp: New testcase.
11088
110892006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11090
11091 * gdb.base/default.exp: Allow ';' as a directory separator.
11092
110932006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11094
11095 * gdb.base/help.exp (help add-symbol-file): Update.
11096
110972006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11098
11099 * gdb.base/help.exp (help load): Update expected results.
11100
111012006-02-19 Fred Fish <fnf@specifix.com>
11102
11103 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11104 specifix hex value as part of results.
11105 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
11106
111072006-02-16 Fred Fish <fnf@specifix.com>
11108
11109 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11110 ushort_addr, and slong_addr, so the typedefs are not optimized
11111 away.
11112 * gdb.base/whatis.exp: Add tests using type name for struct type,
11113 union type, enum type, and typedef.
11114
111152006-02-13 Mark Kettenis <kettenis@gnu.org>
11116
11117 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11118
111192006-02-13 Jim Blandy <jimb@redhat.com>
11120
11121 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11122 case where it takes two "next" commands to skip past the init
11123 call.
11124
111252006-02-12 Fred Fish <fnf@specifix.com>
11126
11127 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11128 to handle cases where it takes two "next" commands to skip
11129 past the init call.
11130
111312006-02-07 Joel Brobecker <brobecker@adacore.com>
11132
11133 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11134 on hppa32 targets.
11135
111362006-02-06 Vladimir Prus <ghost@cs.msu.su>
11137
11138 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11139 field.
11140
111412006-01-29 Mark Kettenis <kettenis@gnu.org>
11142
11143 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11144
111452006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11148 files.
11149
111502006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11151
11152 * gdb.cp/maint.exp: Set complaints to a positive value.
11153
111542006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11155
11156 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11157 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11158 function name.
11159
111602006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11161
11162 * gdb.base/checkpoint.c: Update copyright notice. Include
11163 <stdlib.h>.
11164
111652006-01-04 Jim Blandy <jimb@redhat.com>
11166
11167 * gdb.asm/asm-source.exp: Independently provide default values for
11168 asm-flags and debug-flags. Use 'string equal' to do the
11169 comparison, not the implicit expr's '==' operator. Remove
11170 now-unneeded assignments to asm-flags. In h8300 case, place
11171 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11172
111732006-01-04 Michael Snyder <msnyder@redhat.com>
11174
11175 * gdb.base/checkpoint.c: New file.
11176 * gdb.base/checkpoint.exp: New file.
11177 * gdb.base/multi-fork.c: New file.
11178 * gdb.base/multi-fork.exp: New file.
11179 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11180
111812006-01-04 Fred Fish <fnf@specifix.com>
11182
11183 * gdb.base/ptype.c (foo): Add typedef.
11184 (intfoo): Add function.
11185 * gdb.base/ptype1.c: New file.
11186 * gdb.base/ptype.exp: Handle compilation and linking with two
11187 source files. Test that proper type for "foo" is found based
11188 on source context rather than first match found in symtabs.
11189
111902005-12-28 Mark Kettenis <kettenis@gnu.org>
11191
11192 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11193 * gdb.asm/openbsd.inc: Indent commands.
11194
111952005-12-26 Mark Kettenis <kettenis@gnu.org>
11196
11197 * gdb.base/freebpcmd.exp: Increase timeout.
11198
11199 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11200
112012005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11202
11203 * gdb.base/default.exp: Update check for "show version".
11204
112052005-12-09 Randolph Chung <tausq@debian.org>
11206
11207 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11208 * gdb.asm/pa64.inc: New file.
11209
112102005-12-09 Randolph Chung <tausq@debian.org>
11211
11212 * gdb.asm/common.inc: Indent commands.
11213 * gdb.asm/asmsrc1.s: Likewise.
11214 * gdb.asm/asmsrc2.s: Likewise.
11215
112162005-12-09 Randolph Chung <tausq@debian.org>
11217
11218 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11219 (get_addr_of_sym): Remove duplicate print.
11220 (gen_core): xfail hppa*-*-hpux*, update expected output.
11221 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11222 * gdb.arch/pa64-nullify.s: New file.
11223
112242005-12-09 Randolph Chung <tausq@debian.org>
11225
11226 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11227
112282005-12-07 Christophe Lyon <christophe.lyon@st.com>
11229
11230 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11231 code generation for these functions.
11232 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11233 error message.
11234
112352005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11236
11237 * gdb.base/help.exp (help b, help br, help bre, help brea)
11238 (help break): Update the expected message.
11239
112402005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11241
11242 * gdb.asm/m68hc11.inc: Setup the data section.
11243 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11244 script for this test.
11245 (m6812-*-*): Likewise.
11246
112472005-11-09 Randolph Chung <tausq@debian.org>
11248
11249 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11250
112512005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11252
11253 * gdb.base/break.exp: Fix a comment typo.
11254
112552005-11-03 Jim Blandy <jimb@redhat.com>
11256
11257 Checked in by Elena Zannoni <ezannoni@redhat.com>
11258
11259 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
11260
112612005-11-02 Corinna Vinschen <vinschen@redhat.com>
11262
11263 * gdb.arch/gdb1558.c: Include stdio.h.
11264
112652005-10-31 Mark Kettenis <kettenis@gnu.org>
11266
11267 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11268
112692005-10-31 Mark Kettenis <kettenis@gnu.org>
11270
11271 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11272
112732005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11274
11275 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11276 vscr" tests to better match output.
11277
112782005-10-12 Jim Blandy <jimb@redhat.com>
11279
11280 * gdb.base/structs.exp (any): New function.
11281 (test_struct_returns): Don't make any assumptions at all about
11282 what value the function returns when GDB can't set the return
11283 value.
11284
112852005-10-09 Joel Brobecker <brobecker@adacore.com>
11286
11287 * gdb.ada/arrayidx/p.adb: New file.
11288 * gdb.ada/arrayidx.exp: New testcase
11289
112902005-10-09 Joel Brobecker <brobecker@adacore.com>
11291
11292 * gdb.ada/array_return/pck.ads: New file.
11293 * gdb.ada/array_return/pck.adb: New file.
11294 * gdb.ada/array_return/p.adb: New file.
11295 * gdb.ada/array_return.exp: New testcase.
11296
112972005-10-03 Joel Brobecker <brobecker@adacore.com>
11298
11299 * gdb.base/arrayidx.c: New file.
11300 * gdb.base/arrayidx.exp: New testcase.
11301
113022005-09-29 Nick Roberts <nickrob@snap.net.nz>
11303
11304 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11305 frames-invalid and breakpoints-invalid are no longer generated
11306 with level 3 so don't expect them in the output.
11307
113082005-09-27 Bob Rossi <bob@brasko.net>
11309
11310 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
11311 from test. Escape the | in mi_gdb_test call.
11312 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11313 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11314 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11315 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11316 expected regex's in mi_gdb_test calls.
11317 * lib/mi-support.exp: Remove arbitrary .* from tests.
11318 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11319 Fully anchor GDB/MI expected results in mi_gdb_test.
11320 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11321 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11322
113232005-09-26 Paul Brook <paul@codesourcery.com>
11324
11325 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11326
113272005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11328
11329 * bfp-test.c: New file.
11330 * bfp-test.exp: New testcase.
11331
113322005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11333
11334 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11335 of subarray and substring variable.
11336 * gdb.fortran/subarray.f: New source file for the test of subarray
11337 and substring variable evaluation.
11338 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11339 of string constant.
11340
113412005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11342
11343 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11344 copyright dates.
11345
113462005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11347
11348 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11349 powerpc altivec' test with an almost identical 'info vector' test.
11350
113512005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11352
11353 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11354 vscr" tests to match output.
11355
113562005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11357
11358 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11359 output.
11360
113612005-09-11 Bob Rossi <bob@brasko.net>
11362
11363 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11364 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11365 commands that return an MI output command and an asyncronous MI output
11366 command.
11367 * gdb.mi/mi-console.exp: Ditto.
11368
113692005-09-11 Bob Rossi <bob@brasko.net>
11370
11371 * gdb.mi/mi-var-child.c: Include <string.h>.
11372
113732005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11374
11375 * killed.exp: Correct gdb_expect syntax.
11376
113772005-08-09 Corinna Vinschen <vinschen@redhat.com>
11378
11379 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11380
113812005-08-02 Bob Rossi <bob@brasko.net>
11382
11383 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11384 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11385 Change tests to inferior-tty-set/show.
11386 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11387 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11388 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11389 inferior. Use mi_gdb_test to get GDB and Inferior output.
11390 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11391 descriptor.
11392 (mi_inferior_tty_name): Add inferior PTY file name.
11393 (mi_gdb_start): Add INFERIOR_PTY parameter.
11394 (mi_gdb_test): Add IPATTERN parameter.
11395
113962005-08-02 Bob Rossi <bob@brasko.net>
11397
11398 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11399 parameter to mi_gdb_test.
11400 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11401
114022005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11403
11404 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11405 struct_declarations.
11406 * gdb.mi/mi-var-child.exp: Step over the initialization of
11407 struct_declarations.
11408
114092005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11410
11411 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11412 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11413 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11414 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11415 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11416 file.
11417
114182005-07-27 Nick Roberts <nickrob@snap.net.nz>
11419
11420 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11421 (do_children_tests): Assign values to the extra elements.
11422
11423 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11424 them for tests for "-var-update --no-values" and
11425 "-var-update --all-values".
11426 Add test for "-var-list-children --simple-values".
11427
11428 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11429
11430 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11431 "-stack-list-locals --simple-values" Improve doc strings and
11432 comments.
11433
114342005-07-18 Mark Kettenis <kettenis@gnu.org>
11435
11436 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11437 *-*-openbsd*.
11438 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11439
11440 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11441 sigaltsatck'.
11442
114432005-07-14 Bob Rossi <bob@brasko.net>
11444
11445 * gdb.base/default.exp (tty): Changed output of command.
11446 * gdb.base/help.exp (help tty): Ditto.
11447
114482005-07-12 Mark Kettenis <kettenis@gnu.org>
11449
11450 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11451
114522005-07-10 Mark Kettenis <kettenis@gnu.org>
11453
11454 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11455 -stack-select-frame without arguments.
11456 (test_stack_frame_listing): Add test for newly implemented command
11457 -stack-info-frame.
11458
114592005-07-06 Bob Rossi <bob@brasko.net>
11460
11461 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11462 command.
11463 (Copyright): Update copyright.
11464
114652005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11466
11467 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11468 tests to evaluate exponentiation expression.
11469
114702005-06-29 Andreas Schwab <schwab@suse.de>
11471
11472 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11473 main to avoid warnings.
11474
11475 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11476
114772005-06-20 Nick Roberts <nickrob@snap.net.nz>
11478
11479 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11480 -stack-select-frame without arguments.
11481 (test_stack_frame_listing): Add test for newly implemented command
11482 -stack-info-frame.
11483
114842005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11485
11486 * gdb.fortran/array-element.f: New file.
11487 * gdb.fortran/array-element.exp: New testcase.
11488
114892005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11490
11491 * gdb.base/bigcore.exp: Correct checks for systems which can
11492 not dump a large core file.
11493
114942005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11495
11496 * gdb.base/relocate.c: Add a copyright notice.
11497 (dummy): Remove.
11498 * gdb.base/relocate.exp: Test printing the values of variables
11499 from a relocatable file.
11500
115012005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11502
11503 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11504 excess MI output after an error.
11505
115062005-05-29 Joel Brobecker <brobecker@adacore.com>
11507
11508 * gdb.arch/alpha-step.c: New file.
11509 * gdb.arch/alpha-step.exp: New testcase.
11510
115112005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11512 Dennis Brueni <dennis@slickedit.com>
11513
11514 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11515 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11516 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11517 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11518 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11519 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11520 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11521
115222005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11523 Wu Zhou <woodzltc@cn.ibm.com>
11524
11525 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11526 IBM's xlc compiler.
11527 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11528 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11529
115302005-05-13 Jim Blandy <jimb@redhat.com>
11531
11532 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11533 calling gdb_suppress_entire_file.
11534 * gdb.base/charset.exp: Same.
11535 * gdb.base/call-rt-st.exp: Same.
11536
115372005-05-05 Bob Rossi <bob_rossi@cox.net>
11538
11539 * lib/gdb.exp (fullname_syntax): Added global regex.
11540 (fullname_syntax_POSIX): Ditto.
11541 (fullname_syntax_UNC): Ditto.
11542 (fullname_syntax_DOS_CASE): Ditto.
11543 (fullname_syntax_DOS): Ditto.
11544 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11545 fullname_syntax variable to scope and use it.
11546 (test_file_list_exec_source_files): Ditto.
11547 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11548
115492005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11550
11551 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11552
115532004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11554
11555 * lib/gdb.exp (skip_altivec_tests): New function, based on
11556 check_vmx_hw_available from the GCC testsuite.
11557 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11558 * lib/gdb.arch/altivec-regs.exp: Likewise.
11559
115602005-05-02 Jim Blandy <jimb@redhat.com>
11561
11562 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11563 calling gdb_suppress_entire_file.
11564
115652005-04-30 Randolph Chung <tausq@debian.org>
11566
11567 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11568 Slightly relax "sem_post" name checking.
11569
115702005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11571
11572 * gdb.base/unload.exp: Use new shared library infrastructure.
11573
115742005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11575
11576 * gdb.base/so-impl-ld.exp: Use new shared library
11577 infrastructure.
11578
115792005-04-29 Corinna Vinschen <vinschen@redhat.com>
11580
11581 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11582 * gdb.asm/h8300.inc: New file.
11583
115842005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11585
11586 * gdb.base/shlib-call.exp: Change to use new shared library
11587 infrastructure.
11588
115892005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11590
11591 * gdb.base/pending.exp: Change to use new shared library
11592 infrastructure.
11593
115942005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11595
11596 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11597 use test_compiler_info instead of gcc_compiled, and update copyright.
11598
115992005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11600
11601 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11602 shared objects being adjusted and update copyright years.
11603
116042005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11605
11606 * ChangeLog: Correct some 2003-01-13 dates.
11607 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11608 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11609 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11610 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11611 gdb.trace/tfind.exp: Update copyright years.
11612
116132005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11614 Daniel Jacobowitz <dan@codesourcery.com>
11615
11616 * lib/gdb.exp (gdb_compile): Handle shlib=.
11617 (gdb_compile_shlib): New function.
11618
116192005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11620
11621 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11622
116232005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11624
11625 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11626 gdb.server.
11627 * configure.ac: Likewise.
11628 * configure: Regenerated.
11629 * gdb.gdbserver/Makefile.in: Moved to...
11630 * gdb.server/Makefile.in: ... here.
11631 * gdb.gdbserver/server.c: Moved to...
11632 * gdb.server/server.c: ... here.
11633 * gdb.gdbserver/server-run.exp: Moved to...
11634 * gdb.server/server-run.exp: ... here.
11635
116362005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11637
11638 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11639 * configure.ac: Create gdb.gdbserver/Makefile.
11640 * configure: Regenerated.
11641 * lib/gdbserver-support.exp: New file, derived from
11642 config/gdbserver.exp.
11643 * config/gdbserver.exp: Use gdbserver-support.exp.
11644 * gdb.gdbserver/Makefile.in: New file.
11645 * gdb.gdbserver/server.c: New file.
11646 * gdb.gdbserver/server-run.exp: New file.
11647
116482005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11649
11650 * lib/gdb.exp (test_compiler_info): Return compiler_info
11651 if no arguments are given.
11652
116532005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11654
11655 * gdb.arch/altivec-abi.exp: Check for compiler and set
11656 use altivec' flag accordingly.
11657 * gdb.arch/altivec-regs.exp: Likewise.
11658
116592005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11660
11661 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11662
116632005-03-27 Andreas Schwab <schwab@suse.de>
11664
11665 * gdb.base/bigcore.c (main): Add missing mode argument in open
11666 call.
11667
116682005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11669
11670 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11671 downloads.
11672 * config/gdbserver.exp (gdb_load): Likewise.
11673
116742005-03-14 Paul Brook <paul@codesourcery.com>
11675
11676 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11677 targets.
11678
116792005-03-09 Joel Brobecker <brobecker@adacore.com>
11680
11681 * gdb.dwarf2/dup-psym.S: New file.
11682 * gdb.dwarf2/dup-psym.exp: New testcase.
11683
116842005-03-09 Joel Brobecker <brobecker@adacore.com>
11685
11686 * gdb.ada/exec_changed/first.adb: New file.
11687 * gdb.ada/exec_changed/second.adb: New file.
11688 * gdb.ada/exec_changed.exp: New testcase.
11689
116902005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11691
11692 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11693 (A2): New class.
11694 (main): Test operator+.
11695 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11696 breakpoint test.
11697
11698 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11699 * gdb.base/signull.exp: Disable if gdb,nosignals.
11700 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11701 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11702 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11703 * gdb.mi/mi2-console.exp: Likewise.
11704 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11705 continue output at start.
11706 (gdb_collect_locals_test): Robustify regexp.
11707 * gdb.trace/passc-dyn.exp: Fix comment typo.
11708 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11709
117102005-03-08 Corinna Vinschen <vinschen@redhat.com>
11711
11712 * gdb.asm/asm-source.exp: Add iq2000 case.
11713 * gdb.asm/iq2000.inc: New file.
11714
117152005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11716
11717 * gdb.base/command.exp: Change hardcoded value to regular expression.
11718 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11719
117202005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11721
11722 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11723 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11724 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11725 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11726 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11727
117282005-03-05 Mark Kettenis <kettenis@gnu.org>
11729
11730 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11731 changes.
11732
117332004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11734
11735 * lib/compiler.c: Add test for IBM's xlc compiler.
11736 * lib/compiler.cc: Likewise.
11737
117382004-02-24 Joel Brobecker <brobecker@adacore.com>
11739
11740 * gdb.ada/fixed_points.exp: Create compilation object directory
11741 before running the test.
11742 * gdb.ada/null_record.exp: Likewise.
11743 * gdb.ada/packed_array.exp: Likewise.
11744 * gdb.ada/start.exp: Likewise.
11745
117462005-02-15 Joel Brobecker <brobecker@adacore.com>
11747
11748 * gdb.ada/packed_array/pa.adb: New file.
11749 * gdb.ada/packed_array.exp: New testcase.
11750
117512005-02-10 Mark Kettenis <kettenis@gnu.org>
11752
11753 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11754 files.
11755
11756 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11757 on *-*-openbsd*. Correctly match whitespace in regukar
11758 expressions.
11759
117602005-02-10 Daniel Jacobowitz <dan@debian.org>
11761
11762 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11763 PR exp/1821
11764 * gdb.base/gdb1821.c: New test file.
11765 * gdb.base/gdb1821.exp: New test file.
11766
117672005-02-09 Joel Brobecker <brobecker@adacore.com>
11768
11769 * gdb.base/start.c: New file.
11770 * gdb.base/start.exp: New testcase.
11771
117722005-02-09 Joel Brobecker <brobecker@adacore.com>
11773
11774 * gdb.ada/start/dummy.adb: New file.
11775 * gdb.ada/start.exp: New testcase.
11776
117772005-02-09 Corinna Vinschen <vinschen@redhat.com>
11778
11779 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11780 for printing symbols and statistics.
11781 Add test for using relative pathnames in "maint print msymbols" test.
11782 Mark "maint info sections DATA" XFAIL on Cygwin.
11783 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11784 tests.
11785
117862005-02-09 Andreas Schwab <schwab@suse.de>
11787
11788 Committed by Andrew Cagney <cagney@gnu.org>
11789 * gdb.base/remotetimeout.exp: New file.
11790
117912005-02-07 Mark Kettenis <kettenis@gnu.org>
11792
11793 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11794
117952005-02-03 Joel Brobecker <brobecker@adacore.com>
11796
11797 * gdb.ada/gnat_ada.gpr: New file.
11798 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11799 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11800 * configure.ac: No longer generate gnat_ada.gpr.
11801 * configure: Regenerate.
11802 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11803 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11804 * gdb.ada/null_record/bar.ads: Likewise.
11805 * gdb.ada/null_record/bar.adb: Likewise.
11806 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11807 * gdb.ada/null_record.exp (testdir): New variable.
11808 (testfile): executable is now in testdir subdirectory.
11809 (srcfile): Use full path to the main compilation unit.
11810 * gdb.ada/fixed_points.exp: Same changes as above.
11811
118122005-02-03 Nick Roberts <nickrob@snap.net.nz>
11813
11814 * gdb.base/interp.exp: New test.
11815
118162005-01-24 Andrew Cagney <cagney@gnu.org>
11817
11818 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11819
118202005-01-19 Andrew Cagney <cagney@gnu.org>
11821
11822 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11823 configure.ac not configure.in.
11824
11825 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11826 of powerpc*-*-*.
11827 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11828 * gdb.base/list.exp (test_list_function)
11829 (test_list_filename_and_function): Ditto.
11830 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11831
118322005-01-16 Andrew Cagney <cagney@gnu.org>
11833
11834 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11835
11836 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11837
118382005-01-14 Andrew Cagney <cagney@gnu.org>
11839
11840 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11841 * gdb.mi/mi2-var-cmd.exp: Ditto.
11842
118432005-01-10 Corinna Vinschen <vinschen@redhat.com>
11844
11845 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11846
118472005-01-07 Andrew Cagney <cagney@gnu.org>
11848
11849 * configure.ac: Rename configure.in, require autoconf 2.59.
11850 * configure: Re-generate.
11851 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11852 * gdb.stabs/configure: Re-generate.
11853 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11854 * gdb.hp/configure: Re-generate.
11855 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11856 autoconf 2.59.
11857 * gdb.hp/gdb.objdbg/configure: Re-generate.
11858 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11859 autoconf 2.59.
11860 * gdb.hp/gdb.defects/configure: Re-generate.
11861 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11862 autoconf 2.59.
11863 * gdb.hp/gdb.compat/configure: Re-generate.
11864 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11865 autoconf 2.59.
11866 * gdb.hp/gdb.base-hp/configure: Re-generate.
11867 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11868 autoconf 2.59.
11869 * gdb.hp/gdb.aCC/configure: Re-generate.
11870
118712004-12-15 Jim Blandy <jimb@redhat.com>
11872
11873 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11874 under NPTL when there is debugging info available for libpthread.
11875
118762004-12-13 Jerome Guitton <guitton@gnat.com>
11877
11878 * gdb.ada/fixed_points.c: New file.
11879 * gdb.ada/fixed_points.exp: New file.
11880
118812004-12-03 Randolph Chung <tausq@debian.org>
11882
11883 * gdb.arch/pa-nullify.exp: New file.
11884 * gdb.arch/pa-nullify.s: New file.
11885
118862004-11-30 Randolph Chung <tausq@debian.org>
11887
11888 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11889 instead of "tbug". Fix regexp to work properly with gdb_test.
11890
118912004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11892
11893 * gdb.base/bitfields2.exp: New test.
11894 * gdb.base/bitfields2.c: New file.
11895
118962004-11-28 Richard Earnshaw <rearnsha@arm.com>
11897
11898 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11899
119002004-11-16 Randolph Chung <tausq@debian.org>
11901
11902 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11903
119042004-11-14 Daniel Jacobowitz <dan@debian.org>
11905
11906 * gdb.threads/threadapply.exp: Correct "macro details" test.
11907
119082004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11909
11910 * gdb.threads/threadapply.exp: New test.
11911 * gdb.threads/threadapply.c: New file.
11912
119132004-11-07 Mark Kettenis <kettenis@gnu.org>
11914
11915 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11916 frames.
11917
119182004-11-05 Felix Lee <felix+log1@specifixinc.com>
11919
11920 * gdb.base/cursal.exp: New file.
11921 * gdb.base/cursal.c: New file.
11922
119232004-11-03 Andrew Cagney <cagney@gnu.org>
11924
11925 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11926
119272004-10-30 Mark Kettenis <kettenis@gnu.org>
11928
11929 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11930 NetBSD/ELF targets.
11931
119322004-10-29 Joel Brobecker <brobecker@gnat.com>
11933
11934 * gdb.threads/bp_in_thread.c: New file, copied from
11935 pthread_cond_wait.c.
11936 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11937 file, rather than reusing the .c file from another testcase.
11938
119392004-10-20 Joel Brobecker <brobecker@gnat.com>
11940
11941 * gdb.ada/null_record.exp: Check where we stopped after
11942 sending the start command, instead of where the associated
11943 temporary breakpoint was inserted.
11944
119452004-10-14 Andrew Cagney <cagney@gnu.org>
11946
11947 * gdb.mi/gdb701.c (main): Return 0.
11948
119492004-10-13 Daniel Jacobowitz <dan@debian.org>
11950
11951 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11952
119532004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11954
11955 * gdb.threads/schedlock.c: Add comment markers to use to find
11956 line numbers.
11957 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11958 comments.
11959 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11960 breakpoint lines.
11961
119622004-10-12 Daniel Jacobowitz <dan@debian.org>
11963
11964 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11965
119662004-10-12 Daniel Jacobowitz <dan@debian.org>
11967
11968 * configure.in: Add gdb.dwarf2.
11969 * configure: Regenerated.
11970 * Makefile.in: Add gdb.dwarf2.
11971 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11972 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11973 gdb.dwarf2/file1.txt: New files.
11974
119752004-10-11 Orjan Friberg <orjanf@axis.com>
11976
11977 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11978 of "run", since the latter doesn't work with remote targets. Adjust
11979 the breakpoint numbering accordingly.
11980 * gdb.threads/pthread_cond_wait.exp: Ditto.
11981
119822004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11983
11984 * gdb.base/overlays.exp: Update copyright years.
11985
119862004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11987
11988 * gdb.base/overlays.exp: Disable if target is Linux.
11989
119902004-10-06 Felix Lee <felix+log1@specifixinc.com>
11991
11992 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11993
119942004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11995
11996 * gdb.asm/asm-source.exp: Add m32r-linux target.
11997 * gdb.asm/m32r-linux.inc: New file.
11998
119992004-09-24 Andrew Cagney <cagney@redhat.com>
12000 David Anderson <anderson@redhat.com>
12001
12002 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12003 command fails, assume things will work.
12004 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12005 (_GNU_SOURCE): Define.
12006 (print_unsigned, print_hex): Change parameter to "long long".
12007 (print_byte_count): New function, use to print byte counts.
12008 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12009 O_LARGEFILE.
12010 (main): Compute an upper bound on a corefile in max_core_size.
12011 Limit memory chunk size to max_core_size. Limit total memory
12012 allocated to max_core_size.
12013
120142004-09-23 Andrew Cagney <cagney@gnu.org>
12015
12016 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12017 from a separate process with code that creates a corefile by
12018 making the inferior dump core.
12019
120202004-09-23 Mark Kettenis <kettenis@gnu.org>
12021
12022 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12023 block.
12024
120252004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12026
12027 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12028 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12029 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12030 Likewise.
12031
120322004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12033
12034 * gdb.java/jprint.exp: New test case for java inferior call.
12035 * gdb.java/jprint.java: Ditto.
12036
120372004-09-15 Joel Brobecker <brobecker@gnat.com>
12038
12039 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12040
120412004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12042
12043 * gdb.threads/killed.c: Include <stdlib.h>.
12044 * gdb.threads/pthreads.c: Likewise.
12045
120462004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12047
12048 * gdb.threads/killed.c: Add copyright notice.
12049
120502004-09-10 Jason Molenda (jmolenda@apple.com)
12051
12052 * gdb.base/define.exp: Two new tests to verify zero space chars
12053 after 'if' and 'while' commands in a user-defined command is correctly
12054 parsed.
12055
120562004-09-08 Andrew Cagney <cagney@gnu.org>
12057
12058 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12059 delivery test with duplicate at end of file.
12060
120612004-09-06 Mark Kettenis <kettenis@jive.nl>
12062
12063 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12064
120652004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12066
12067 * config/hppro.exp: Removed.
12068
120692004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12070
12071 * config/sparclet.exp: Removed.
12072
120732004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12074
12075 * config/udi.exp: Removed.
12076
120772004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12078
12079 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12080 of "exp_continue".
12081 (advancei): Likewise.
12082
120832004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12084
12085 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12086
120872004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12088
12089 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
12090 to check for nodebug in executable.
12091 * gdb.gdb/observer.exp (setup_test): Likewise.
12092 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12093 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12094
120952004-09-01 Andrew Cagney <cagney@gnu.org>
12096
12097 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12098 files.
12099
121002004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12101
12102 * gdb.base/unload.exp: Fix expected warning message to match
12103 latest format.
12104
121052004-09-01 Corinna Vinschen <vinschen@redhat.com>
12106
12107 * gdb.base/call-rt-st.exp: Fix typos.
12108
121092004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12110
12111 * gdb.threads/thread_check.exp: New testcase.
12112 * gdb.threads/thread_check.c: New testcase.
12113
121142004-08-31 Andrew Cagney <cagney@gnu.org>
12115
12116 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12117 (skip_to_handler_entry): New procedures. Test stepping into a
12118 handler when the breakpoint is at the handler's entry point.
12119
121202004-08-30 Andrew Cagney <cagney@gnu.org>
12121
12122 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12123 gdb/1757.
12124
121252004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12126
12127 With code from Manoj Iyer <manjo@austin.ibm.com>:
12128 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12129 return value. Add an arm for "no debugging symbols found".
12130 Change a stray "error" to "perror".
12131 (gdb_run_cmd): Adapt to new return value.
12132 * gdb.base/remote.exp: Adapt to new return value.
12133 * gdb.gdb/complaints.exp: Likewise.
12134 * gdb.gdb/observer.exp: Likewise.
12135 * gdb.gdb/selftest.exp: Likewise.
12136 * gdb.gdb/xfullpath.exp: Likewise.
12137
121382004-08-27 Joel Brobecker <brobecker@gnat.com>
12139
12140 * gdb.threads/bp_in_thread.exp: New testcase.
12141
121422004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12143
12144 Fix PR testsuite/1735.
12145 * gdb.threads/schedlock.c (thread_function): Add a cast
12146 to suppress a gcc warning.
12147 * gdb.threads/thread-specific.c (thread_function): Likewise.
12148
121492004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12150
12151 * gdb.base/unload.c: Include <stdlib.h>.
12152
121532004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12154
12155 From Paul Gilliam <pgilliam@us.ibm.com>:
12156 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12157 synchronized after the "return".
12158
121592004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12160
12161 * gdb.mi/basics.c: Include <stdio.h>.
12162 * gdb.mi/pthreads.c: Include <stdlib.h>.
12163 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12164
121652004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12166
12167 * gdb.threads/schedlock.c: Add copyright notice.
12168
121692004-08-25 Andrew Cagney <cagney@gnu.org>
12170
12171 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12172 (skip_over_handler, breakpoint_over_hander): New test procedures.
12173 (advance, advancei): Add a proper prefix, do not use
12174 rerun_to_main.
12175 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12176
121772004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12178
12179 * gdb.mi/basics.c: Add copyright notice.
12180 * gdb.mi/var-cmd.c: Add copyright notice.
12181
121822004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12183
12184 * lib/gdb.exp: Remove signed_keyword_not_used.
12185 * lib/compiler.c: Likewise.
12186 * lib/compiler.cc: Likewise.
12187
121882004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12189
12190 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12191 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12192
121932004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12194
12195 * gdb.base/whatis.c: Add copyright notice.
12196
121972004-08-20 Mark Kettenis <kettenis@gnu.org>
12198
12199 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12200 it to skip the breakpoints encoded in the inline assembly.
12201
122022004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12203
12204 * Makefile.in: Add gdb.fortran.
12205
122062004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12207
12208 * gdb.base/call-sc.exp (test_scalar_returns):
12209 Fix cut-and-paste glitch in "Make fun return now".
12210
122112004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12212
12213 * configure.in: Add gdb.fortran.
12214 * configure: Regenerate.
12215 * gdb.fortran/Makefile.in: New file.
12216 * lib/gdb.exp (skip_fortran_tests): New procedure.
12217
122182004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12219
12220 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12221 reference to bug-gnu@prep.ai.mit.edu.
12222 * gdb.mi/mi-var-child.exp: Likewise.
12223 * gdb.mi/mi-var-cmd.exp: Likewise.
12224 * gdb.mi/mi-var-display.exp: Likewise.
12225 * gdb.mi/mi2-var-block.exp: Likewise.
12226 * gdb.mi/mi2-var-child.exp: Likewise.
12227 * gdb.mi/mi2-var-cmd.exp: Likewise.
12228 * gdb.mi/mi2-var-display.exp: Likewise.
12229
122302004-08-15 Mark Kettenis <kettenis@gnu.org>
12231
12232 * gdb.base/unload.c (main): Make local variable msg const.
12233
122342004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12235
12236 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12237 to bug-gnu@prep.ai.mit.edu.
12238 * gdb.mi/mi-disassemble.exp: Likewise.
12239 * gdb.mi/mi-eval.exp: Likewise.
12240 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12241 default line number.
12242 * gdb.mi/mi-return.exp: Likewise.
12243 * gdb.mi/mi-simplerun.exp: Likewise.
12244 * gdb.mi/mi-stack.exp: Likewise.
12245 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12246 number with explicit range test.
12247 * gdb.mi/mi-watch.exp: Likewise.
12248 * gdb.mi/mi2-break.exp: Likewise.
12249 * gdb.mi/mi2-cli.exp: Likewise.
12250 * gdb.mi/mi2-disassemble.exp: Likewise.
12251 * gdb.mi/mi2-eval.exp: Likewise.
12252 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12253 default line number.
12254 * gdb.mi/mi2-return.exp: Likewise.
12255 * gdb.mi/mi2-simplerun.exp: Likewise.
12256 * gdb.mi/mi2-stack.exp: Likewise.
12257 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12258 number with explicit range test.
12259 * gdb.mi/mi2-watch.exp: Likewise.
12260
122612004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12262
12263 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12264 * gdb.cp/m-static.exp: Likewise.
12265 * gdb.cp/rtti.exp: Likewise.
12266
122672004-08-14 Mark Kettenis <kettenis@gnu.org>
12268
12269 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12270
122712004-08-14 Eli Zaretskii <eliz@gnu.org>
12272
12273 * ChangeLog: Prefix Local Variables with semi-colons and indent
12274 the reference to older ChangeLog files, to fix fontification in
12275 Emacs.
12276
122772004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12278
12279 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12280 * gdb.mi/mi2-break.exp: Likewise.
12281
122822004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12283
12284 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12285
122862004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12287
12288 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12289
122902004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12291
12292 * gdb.cp/classes.exp: Remove unused declarations. Just let
12293 test names default instead of providing special names. Remove
12294 extraneous demangler test.
12295
122962004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12297
12298 * gdb.base/unload.exp: New test for breakpoints in dynamically
12299 loaded libraries.
12300 * gdb.base/unload.c: Ditto.
12301 * gdb.base/unloadshr.c: Ditto.
12302
123032004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12304
12305 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12306 cp_test_ptype_class.
12307 (test_enums): Likewise.
12308
123092004-08-10 Andrew Cagney <cagney@gnu.org>
12310
12311 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12312 files.
12313
123142004-08-10 Andrew Cagney <cagney@gnu.org>
12315
12316 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12317 init_malloc call.
12318
123192004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12320
12321 * ChangeLog: Add copyright notice. The notice is copied
12322 from emacs 21.3 top level ChangeLog.
12323
123242004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * lib/cp-support.exp: New file.
12327 * lib/cp-support.exp (cp_test_type_class): New function.
12328 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12329 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12330 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12331 cp_test_ptype_class.
12332
123332004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12334
12335 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12336 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12337 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12338 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12339 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12340 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12341 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12342 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12343 gdb.mi/mi2-watch.exp: Update copyright years.
12344
123452004-08-09 Mark Kettenis <kettenis@gnu.org>
12346
12347 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12348
123492004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12350
12351 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12352 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12353 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12354 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12355 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12356 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12357 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12358 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12359 gdb.mi/mi-watch.exp: Update copyright years.
12360
123612004-08-08 Daniel Jacobowitz <dan@debian.org>
12362
12363 PR gdb/1738
12364 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12365 from a breakpoint with a pending signal.
12366
123672004-08-08 Daniel Jacobowitz <dan@debian.org>
12368
12369 PR gdb/1736
12370 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12371 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12372 the prompt.
12373 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12374
123752004-08-08 Daniel Jacobowitz <dan@debian.org>
12376
12377 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12378
123792004-08-08 Daniel Jacobowitz <dan@debian.org>
12380
12381 PR gdb/1736
12382 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12383 for i?86-*-linux*.
12384
123852004-08-08 Daniel Jacobowitz <dan@debian.org>
12386
12387 * gdb.arch/i386-prologue.exp: Compile without debug information.
12388
123892004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12390
12391 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12392 rather than asking gdb to search.
12393
123942004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.base/gcore.c: Include <string.h>.
12397
123982004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12399
12400 * gdb.base/gcore.c: Add copyright notice.
12401
124022004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12403
12404 * gdb.base/freebpcmd.c: Include <stdio.h>.
12405 * gdb.base/long_long.c: Include <string.h>.
12406 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12407 * gdb.base/siginfo.c: Include <string.h>.
12408 * gdb.base/sigstep.c: Include <string.h>.
12409
124102004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12411
12412 * gdb.base/complex.c: Include <stdlib.h>.
12413
124142004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12415
12416 * gdb.base/complex.c: Add copyright notice.
12417
124182004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12419
12420 * gdb.base/charset.c: Include <stdlib.h>.
12421
124222004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12423
12424 * gdb.base/auxv.c: Include <stdlib.h>.
12425
124262004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12427
12428 * gdb.base/auxv.c: Add copyright notice.
12429
124302004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12431
12432 * gdb.base/coremaker.c: Add copyright notice.
12433 * gdb.base/coremaker2.c: Add copyright notice.
12434
124352004-08-04 Andrew Cagney <cagney@gnu.org>
12436
12437 * gdb.base/store.exp: Update copyright.
12438 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12439 names, do not import gdb_prompt.
12440
124412004-08-01 Andrew Cagney <cagney@gnu.org>
12442
12443 Fix PR testsuite/1729.
12444 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12445 not use capture_value with value 4.
12446 (capture_value): Add optional test name parameter.
12447 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12448 the prefix, pass to capture_value.
12449
124502004-08-01 Mark Kettenis <kettenis@gnu.org>
12451
12452 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12453 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12454 (main): Call new function.
12455
124562004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12457
12458 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12459
124602004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12461
12462 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12463
124642004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12465
12466 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
12467 Accept more values of vtbl pointer. Remove some messages
12468 about "obsolete gcc or gdb".
12469
124702004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12471
12472 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12473
124742004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12475
12476 * gdb.base/asm-source.exp: Properly convert target board
12477 debug flags from gcc format to binutils format.
12478
124792004-07-28 Mark Kettenis <kettenis@gnu.org>
12480
12481 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12482 gdb1718". PR backtrace/1718 partially fixed.
12483
124842004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12485
12486 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12487
124882004-07-26 Nick Clifton <nickc@redhat.com>
12489
12490 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12491 good default value for a specific architecture is available then
12492 set it to that value. Otherwise default to the -gstabs switch.
12493 Remove the -g... switches from the asm-flags variable. Allow the
12494 target board info to override the value if it wants to. Pass the
12495 switch on the assembler command line.
12496
124972004-07-23 Mark Kettenis <kettenis@gnu.org>
12498
12499 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12500 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12501 (main): Call new function.
12502
125032004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 Test for PR exp/1715.
12506 * gdb.base/radix.exp: Refactor common procedures. Make all
12507 test names unique. Change XFAIL to KFAIL.
12508
125092004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12510
12511 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12512 * gdb.ada/gnat_ada.gin: ... to here.
12513 * configure.in: Use gnat_ada.gin.
12514 * configure: Regenerate.
12515
125162004-07-20 Andrew Cagney <cagney@gnu.org>
12517
12518 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12519 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12520 XFAILs. Clean up test messages and comments. Check backtraces.
12521 Delete re-sync code.
12522
125232004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12524
12525 Fix PR cli/740.
12526 * gdb.base/annota1.exp: Honor gdb,nosignals.
12527 * gdb.base/annota3.exp: Likewise.
12528
125292004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12530
12531 * lib/java.exp: Update copyright notice.
12532
125332004-07-19 Andrew Cagney <cagney@gnu.org>
12534
12535 * gdb.base/selftest.exp: Copy file from here ...
12536 * gdb.gdb/selftest.exp: ... to here.
12537
125382004-07-16 Andrew Cagney <cagney@redhat.com>
12539
12540 * lib/insight-support.exp: Delete file.
12541 * lib/java.exp (java_init): Fix copyright.
12542
125432004-07-16 Andrew Cagney <cagney@gnu.org>
12544
12545 * gdb.base/restore.c: Append "prologue" to comments marking the a
12546 function's prologue.
12547 * gdb.base/restore.exp: Update copyright, re-indent.
12548 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12549 callerN" prefix where needed. Update patterns that match a
12550 function's prologue.
12551
125522004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12553
12554 * gdb.base/restore.c: Add copyright notice.
12555
125562004-07-16 Andrew Cagney <cagney@gnu.org>
12557
12558 * gdb.base/logical.exp: Update copyright.
12559 (evaluate): New procedure. Use to re-implement tests using
12560 several tables.
12561
125622004-07-14 Martin Hunt <hunt@redhat.com>
12563
12564 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12565 which fixes some problems where init.tcl was not found.
12566
125672004-07-13 Andrew Cagney <cagney@gnu.org>
12568
12569 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12570 (check_sizeof, check_valueof): Do not include the output in the
12571 test name. Use gdb_test.
12572 (get_valueof): Use gdb_test_multiple.
12573
12574 * gdb.base/step-test.exp: Update copyright. Use
12575 gdb_test_multiple. Ensure that test names do not include
12576 architecture dependent output.
12577
12578 * gdb.gdb/observer.exp: Update copyright.
12579 (setup_test): Use gdb_test_multiple.
12580 (attach_first_observer, attach_second_observer)
12581 (attach_third_observer, detach_first_observer)
12582 (detach_second_observer, detach_third_observer)
12583 (reset_counters, check_counters): Make $message a prefix.
12584 (test_normal_stop_notifications): Add "args" parameter - a list of
12585 init functions to be called. Make $message a prefix,
12586 (test_observer_normal_stop): Change the message prefixes so that
12587 they are unique, pass the attach / detach procedures to
12588 test_normal_stop_notifications.
12589
12590 * gdb.base/signull.exp (test_segv): Prefix all tests with
12591 "${name}". Clean up test messages.
12592
12593 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12594
12595 * gdb.base/ena-dis-br.exp: Update copyright.
12596 (break_at): New function. Replace send_gdb with gdb_test,
12597 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12598 ignore count, not stopped at bpt", with KFAIL.
12599
126002004-07-13 Corinna Vinschen <vinschen@redhat.com>
12601
12602 * gdb.base/attach.exp: Remove cleanupfile handling.
12603
126042004-07-12 Andrew Cagney <cagney@gnu.org>
12605
12606 * gdb.base/annota1.exp: Cleanup corefile test name.
12607 * gdb.base/annota3.exp: Ditto.
12608
126092004-07-12 Andrew Cagney <cagney@gnu.org>
12610
12611 * gdb.base/signals.exp: Clean up copyright, re-indent.
12612
12613 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12614 gdb_test and gdb_test_multiple.
12615
126162004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12617
12618 * gdb.java/jmain.exp: Fix expected line number for main to
12619 break at. Set XFAIL for break at main test since gcj does not
12620 provide line number info for first statement in main.
12621
126222004-07-08 Andrew Cagney <cagney@gnu.org>
12623
12624 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12625
12626 * gdb.base/sigbpt.exp: Make the common part of each test name a
12627 prefix instead of suffix.
12628
126292004-07-07 Bob Rossi <bob_rossi@cox.net>
12630
12631 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12632 test from test_tbreak_creation_and_listing to
12633 test_file_list_exec_source_file
12634 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12635 Changed name of test from test_tbreak_creation_and_listing to
12636 test_file_list_exec_source_file
12637
126382004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12639
12640 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12641 the jmisc() constructor instead of <init>.
12642 * gdb.java/jmisc1.exp: Ditto.
12643
126442004-07-07 Andrew Cagney <cagney@gnu.org>
12645
12646 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12647 corrupting the PC.
12648
126492004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12650
12651 * gdb.cp/templates.exp: Accept whitespace change in demangler
12652 output.
12653
126542004-07-06 Andrew Cagney <cagney@gnu.org>
12655
12656 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12657
126582004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12659
12660 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12661 * lib/compiler.cc: Likewise.
12662
126632004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12664
12665 * lib/compiler.cc: Work around string preprocessing problem
12666 with old hp c++ compiler.
12667 * lib/compiler.c: Likewise.
12668
126692004-06-29 Corinna Vinschen <vinschen@redhat.com>
12670
12671 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12672 directives to conditionalize symbol prefixing.
12673 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12674 additional_flags handling. Add underscore prefix for Cygwin.
12675 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12676 conditionalize symbol prefixing.
12677 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12678 additional_flags handling. Add underscore prefix for Cygwin.
12679
126802004-06-29 Corinna Vinschen <vinschen@redhat.com>
12681
12682 * gdb.base/bigcore.exp: Skip test on Cygwin.
12683
126842004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12685
12686 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12687 formats for "info register". Use gdb_test_multiple. Fix
12688 the "invalid register" test.
12689
126902004-06-28 Corinna Vinschen <vinschen@redhat.com>
12691
12692 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12693 PID for Cygwin. Add Cygwin specific strings to check for in some
12694 tests.
12695 (do_attach_tests): Add a test for user interaction when attaching
12696 to a process with no matching symbol table already loaded.
12697
126982004-06-26 Andrew Cagney <cagney@gnu.org>
12699
12700 Test PR java/1567 and PR java/1565.
12701 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12702 * gdb.java/jmisc2.exp: Delete file.
12703
127042004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12705
12706 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12707
127082004-06-25 Corinna Vinschen <vinschen@redhat.com>
12709
12710 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12711 attach process.
12712
127132004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12714
12715 * gdb.cp/pr-1553.exp: Remove.
12716
127172004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12718
12719 * gdb.cp/pr-1553.cc: Remove.
12720 * gdb.cp/pr-1553.exp: Disable this test.
12721
127222004-06-20 Jim Blandy <jimb@redhat.com>
12723
12724 Fix PR testsuite/1680.
12725 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12726 regular expressions.
12727
127282004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12729
12730 Fix PR testsuite/1679.
12731 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12732 Issue an UNSUPPORTED result instead.
12733
127342004-06-18 Jim Blandy <jimb@redhat.com>
12735
12736 * gdb.base/charset.exp: Only send a control-C if we see a new
12737 prompt and incomplete command.
12738
127392004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12740
12741 * gdb.cp/pr-574.cc: Add copyright notice.
12742
127432004-06-17 Jim Blandy <jimb@redhat.com>
12744
12745 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12746 cases where the regexp has no groups; this grabs random text from
12747 the previous test suite, whatever that was.
12748
127492004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12750
12751 * gdb.cp/printmethod.cc: Add copyright notice.
12752
127532004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12754
12755 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12756
127572004-06-16 Andrew Cagney <cagney@gnu.org>
12758
12759 * gdb.base/signull.c: Update copyright. Include <string.h>.
12760 (bowler): Replace data_pointer with data_read
12761 and data_write cases. Add code_descriptor case.
12762 (zero, desc): New array and pointer.
12763 (data, code): Change to simple pointers.
12764 * gdb.base/signull.exp: Fix probe pattern matching a function
12765 descriptor SIGSEGV. Replace data_pointer with data_read and
12766 data_write tests.
12767
127682004-06-16 Andrew Cagney <cagney@gnu.org>
12769
12770 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12771
127722004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12773
12774 * gdb.base/long_long.c: Add copyright notice.
12775
127762004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12777
12778 * gdb.base/long_long.exp: Remove reference to
12779 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12780 to gdb_breakpoint and gdb_continue_to_breakpoint.
12781
127822004-06-14 Jim Blandy <jimb@redhat.com>
12783
12784 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12785 endian case.
12786
127872004-06-14 Andrew Cagney <cagney@gnu.org>
12788
12789 * gdb.base/gcore.exp (capture_command_output): Delete the always
12790 passing tests containing inferior values.
12791 * gdb.base/ending-run.exp: Do not include the breakpoint address
12792 in the test message. Update copyright.
12793 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12794 size in the test name, use gdb_test_multiple. Update copyright.
12795
127962004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12797
12798 * gdb.cp/ref-types.cc: Add copyright notice.
12799
128002004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12801
12802 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12803 hp_aCC_compiler.
12804 * lib/compiler.cc: Likewise.
12805 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12806 'set' commands. Log diagnostics for other lines. Set
12807 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12808
128092004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12810
12811 * gdb.cp/try_catch.cc: Add copyright notice.
12812
128132004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12814
12815 * gdb.cp/userdef.cc: Add copyright notice.
12816
128172004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12818
12819 * gdb.cp/virtfunc.cc: Add copyright notice.
12820
128212004-06-11 Randolph Chung <tausq@debian.org>
12822
12823 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12824 problem.
12825
128262004-06-10 Andrew Cagney <cagney@gnu.org>
12827
12828 * lib/compiler.cc, lib/compiler.c: Append either
12829 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12830 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12831 instead of gcc-3-3.
12832
128332004-06-09 Andrew Cagney <cagney@gnu.org>
12834
12835 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12836 gdb/1455, bug is specific to "long long" and "double".
12837
12838 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12839 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12840 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12841 fixed.
12842
128432004-06-09 Andrew Cagney <cagney@gnu.org>
12844
12845 * gdb.base/structs.exp (test_struct_returns): Replace
12846 "return_value_unknown" and "finish_value_unknown" by
12847 "return_value_known" and "finish_value_known". Instead of
12848 "return_value_unknown" iff "finish_value_unknown", check
12849 "return_value_known" implies "finish_value_known".
12850
128512004-06-08 Martin Hunt <hunt@redhat.com>
12852
12853 * gdb.base/float.exp: Add pattern for mips targets.
12854
128552004-06-08 Randolph Chung <tausq@debian.org>
12856
12857 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12858 message for unknown architectures more clear.
12859
128602004-06-08 Joel Brobecker <brobecker@gnat.com>
12861
12862 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12863 start the execution of the program.
12864
128652004-06-07 Jim Blandy <jimb@redhat.com>
12866
12867 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12868 * gdb.arch/i386-cpuid.h: New helper file.
12869
128702004-06-07 Randolph Chung <tausq@debian.org>
12871
12872 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12873 has started.
12874
128752004-06-04 Roland McGrath <roland@redhat.com>
12876
12877 Fix PR gdb/1647.
12878 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12879 differently to be robust to output buffering differences.
12880
128812004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12882
12883 * gdb.threads/pthreads.exp: Update copyright years.
12884 (check_control_c): Change asynchronous 'after' to synchronous.
12885
128862004-06-04 Roland McGrath <roland@redhat.com>
12887
12888 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12889 next gdb prompt.
12890
128912004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12892
12893 Fix PR gdb/1636.
12894 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12895 calls to synchronous.
12896
128972004-05-26 Jim Blandy <jimb@redhat.com>
12898
12899 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12900
129012004-05-24 Randolph Chung <tausq@debian.org>
12902
12903 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12904 * gdb.asm/pa.inc: New file.
12905
129062004-05-22 Mark Kettenis <kettenis@gnu.org>
12907
12908 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12909
129102004-05-21 Joel Brobecker <brobecker@gnat.com>
12911 Daniel Jacobowitz <drow@mvista.com>
12912
12913 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12914 GDB prompt.
12915
129162004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12917
12918 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12919 setjmp/longjmp. Use sigaction instead of signal.
12920
129212004-05-19 J. Brobecker <brobecker@gnat.com>
12922 Michael Snyder <msnyder@redhat.com>
12923
12924 * gdb.threads/pthread_cond_wait.c: New file.
12925 * gdb.threads/pthread_cond_wait.exp: New testcase.
12926
129272004-05-13 Andrew Cagney <cagney@redhat.com>
12928
12929 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12930 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12931
129322004-05-11 Andrew Cagney <cagney@redhat.com>
12933
12934 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12935 fixed but revealed gdb/1639.
12936
129372004-05-10 Andrew Cagney <cagney@redhat.com>
12938
12939 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12940 func1" and "next to 2nd alarm", kernel bug avoided.
12941
129422004-05-10 Daniel Jacobowitz <dan@debian.org>
12943
12944 PR external/1568
12945 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12946 XFAIL if it is smaller than bytes_allocated.
12947 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12948 (main): Make chunks_allocated unsigned. Correct comment.
12949
129502004-05-07 Joel Brobecker <brobecker@gnat.com>
12951
12952 * gdb.arch/powerpc-aix-prologue.c: New file.
12953 * gdb.arch/powerpc-aix-prologue.exp: New file.
12954
129552004-05-07 Jim Blandy <jimb@redhat.com>
12956
12957 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12958 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12959
129602004-05-06 Joel Brobecker <brobecker@gnat.com>
12961
12962 * gdb.base/sep.exp: No longer setup_kfail when the program was
12963 built with dwarf2.
12964
129652004-05-05 Jim Ingham <jingham@apple.com>
12966
12967 * gdb.base/pending.exp: Make sure pending breakpoints
12968 preserve the ignore count.
12969
129702004-04-27 Jerome Guitton <guitton@gnat.com>
12971
12972 * i386-prologue.exp: Add testcase for jump instruction as first
12973 instruction of the real code.
12974 * i386-prologue.c (jump_at_beginning): New function.
12975
129762004-04-28 Mark Kettenis <kettenis@gnu.org>
12977
12978 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12979 x86_64-*-*.
12980
129812004-04-28 Mark Kettenis <kettenis@gnu.org>
12982
12983 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12984 i*86-*-*.
12985
129862004-04-25 Mark Kettenis <kettenis@gnu.org>
12987
12988 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12989 expression that checks the return type.
12990
129912004-04-23 Andrew Cagney <cagney@redhat.com>
12992
12993 * gdb.base/call-sc.exp: New test of scalar call/return values.
12994 * gdb.base/call-sc.c: Ditto.
12995
129962004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12997
12998 * gdb.threads/manythreads.c: Reduce thread stack size.
12999
130002004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13001
13002 * gdb.threads/manythreads.c: Add copyright notice.
13003
130042004-04-23 Andrew Cagney <cagney@redhat.com>
13005
13006 * gdb.base/siginfo.exp: Better handle step out of signal.
13007 * gdb.base/sigstep.exp: Ditto.
13008
130092004-04-22 Jeff Johnston <jjohnstn@redhat.com>
13010 Daniel Jacobowitz <drow@mvista.com>
13011
13012 * gdb.threads/manythreads.c: New testcase.
13013 * gdb.threads/manythreads.exp: Ditto.
13014
130152004-04-22 Jim Blandy <jimb@redhat.com>
13016
13017 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13018 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13019
130202004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13021
13022 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13023
130242004-04-21 Andrew Cagney <cagney@redhat.com>
13025
13026 * gdb.base/sigstep.c: New file.
13027 * gdb.base/sigstep.exp: New file.
13028
130292004-04-16 Joel Brobecker <brobecker@gnat.com>
13030
13031 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13032 call to observer_notify_normal_stop.
13033
130342004-04-15 Andrew Cagney <cagney@redhat.com>
13035
13036 * gdb.base/siginfo.c: New file.
13037 * gdb.base/siginfo.exp: New file.
13038
130392004-04-12 J. Brobecker <brobecker@gnat.com>
13040
13041 * gdb.base/sep.exp: Fix typo in comment.
13042
130432004-04-12 J. Brobecker <brobecker@gnat.com>
13044
13045 * gdb.base/sep.c: New file.
13046 * gdb.base/sep-proc.c: New file.
13047 * gdb.base/sep.exp: New testcase.
13048
130492004-04-09 Mark Kettenis <kettenis@gnu.org>
13050
13051 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13052 support.
13053
130542004-04-05 Andrew Cagney <cagney@redhat.com>
13055
13056 * gdb.base/sigaltstack.c: New file.
13057 * gdb.base/sigaltstack.exp: New file.
13058
130592004-04-04 Joel Brobecker <brobecker@gnat.com>
13060
13061 * gdb.base/foll-fork.exp: Update the expected output for
13062 "help set follow-fork-mode", to match a change that was made
13063 to the help of this variable on 2004-01-13.
13064
130652004-04-01 Joel Brobecker <brobecker@gnat.com>
13066
13067 * lib/ada.exp: Add copyright notice.
13068 * bar.ads: Likewise.
13069 * bar.adb: Likewise.
13070 * null_record.adb: Likewise.
13071 * null_record.exp: Likewise.
13072 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13073
130742004-04-01 Joel Brobecker <brobecker@gnat.com>
13075
13076 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13077 * configure: Regenerate.
13078
130792004-04-01 Joel Brobecker <brobecker@gnat.com>
13080
13081 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13082 to build the application. Remove the message printed when in
13083 verbose mode, redundant with the UNSUPPORTED message above.
13084
130852004-03-31 Joel Brobecker <brobecker@gnat.com>
13086
13087 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13088 * gdb.ada (null_record.exp): New testcase.
13089
130902004-03-31 Joel Brobecker <brobecker@gnat.com>
13091
13092 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13093
130942004-03-31 Joel Brobecker <brobecker@gnat.com>
13095
13096 * gdb.ada: New subdirectory.
13097 * gdb.ada/Makefile.in: New file.
13098 * gdb.ada/gnat_ada.gpr.in: New file.
13099
131002004-03-31 Joel Brobecker <brobecker@gnat.com>
13101
13102 * lib/ada.exp: New file.
13103
131042004-03-24 Daniel Jacobowitz <drow@mvista.com>
13105
13106 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13107 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13108
131092004-03-22 Andrew Cagney <cagney@redhat.com>
13110
13111 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13112 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13113 Problem identified by Ulrich Weigand.
13114
131152004-03-17 David Carlton <carlton@kealia.com>
13116
13117 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13118 PR c++/826.
13119
131202004-03-16 Roland McGrath <roland@redhat.com>
13121
13122 * gdb.base/auxv.exp: New file.
13123 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13124
131252004-03-12 David Carlton <carlton@kealia.com>
13126
13127 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13128 * gdb.cp/pr-1553.cc: Ditto.
13129 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13130 pass branch.
13131
131322004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13133
13134 * gdb.cp/templates.exp: Accept more template types.
13135
131362004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13137
13138 From Corinna Vinschen with modifications.
13139 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13140 local variable obj_with_enum.
13141 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13142 results with obj_with_enum.
13143
131442004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13145
13146 * gdb.cp/classes.cc: New file, copied from misc.cc.
13147 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13148
131492004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13150
13151 * gdb.cp/misc.cc: Add copyright notice.
13152
131532004-03-05 David Carlton <carlton@kealia.com>
13154
13155 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13156 * gdb.cp/rtti.h: Update copyright.
13157 (namespace n2::n3): New.
13158 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13159 (n2::n3::func3): New.
13160 (main): Call n2::n3::func3.
13161 * gdb.cp/rtti2.cc: Update copyright.
13162 (n2::create3): New.
13163
131642004-03-04 Mark Kettenis <kettenis@gnu.org>
13165
13166 * gdb.asm/openbsd.inc: Fix typo.
13167
131682004-03-03 Fred Fish <fnf@redhat.com>
13169
13170 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13171 "val" instead of unused "size". Update copyright year.
13172
131732004-02-29 Daniel Jacobowitz <drow@mvista.com>
13174
13175 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13176 to use unsigned char.
13177 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13178 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13179
131802004-02-29 Daniel Jacobowitz <drow@mvista.com>
13181
13182 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13183 line of output.
13184
131852004-02-28 Daniel Jacobowitz <drow@mvista.com>
13186
13187 * gdb.base/relocate.c (dummy): Initialize.
13188
131892004-02-28 Daniel Jacobowitz <drow@mvista.com>
13190
13191 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13192 a breakpoint at exit.
13193
131942004-02-27 Fred Fish <fnf@redhat.com>
13195
13196 * gdb.base/chng-syms.exp: Add expect condition to match failing
13197 case that isn't a timeout.
13198
131992004-02-27 Andrew Cagney <cagney@redhat.com>
13200
13201 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13202 support.
13203
132042004-02-26 Fred Fish <fnf@redhat.com>
13205
13206 * gdb.arch/gdb1431.c: Remove.
13207 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13208 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13209 of "until" incorrectly.
13210
132112004-02-26 J. Brobecker <brobecker@gnat.com>
13212
13213 * gdb.cp/class2.cc (empty): New class.
13214 (refer): New function.
13215 (main): Declare an object of type empty and use it.
13216 * gdb.cp/class2.exp: Print the value of an object of type empty.
13217
132182004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13219
13220 * gdb.base/langs.exp: Update query string to match the
13221 new nquery format used for pending breakpoints.
13222
132232004-02-26 Andrew Cagney <cagney@redhat.com>
13224
13225 Fix PR i18n/1570.
13226 * gdb.base/charset.c: Update copyright notice.
13227 (main, init_string): Remove the escape character '\e' tests.
13228 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13229 * gdb.base/charset.exp (valid_host_charset): Ditto.
13230 * gdb.base/setvar.exp: Ditto.
13231
132322004-02-24 Andrew Cagney <cagney@redhat.com>
13233
13234 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13235 mmapped data in core file" PASS and FAIL messages consistent.
13236
13237 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13238 setting a breakpoint. Work around PR java/1565.
13239
132402004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13241
13242 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13243 new nquery format.
13244 * gdb.base/pending.exp: Ditto.
13245
132462004-02-22 Mark Kettenis <kettenis@gnu.org>
13247
13248 * configure.in: Run stabs tests on *BSD.
13249 * configure: Regenerated.
13250
132512004-02-21 Mark Kettenis <kettenis@gnu.org>
13252
13253 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13254
132552004-02-20 Fred Fish <fnf@redhat.com>
13256
13257 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13258 blank in test for "returns short", for consistency with other
13259 "returns xxx" tests. Update copyright year.
13260
132612004-02-19 Fred Fish <fnf@redhat.com>
13262
13263 New testcase for PR breakpoint/1558.
13264 * gdb.arch/gdb1558.exp: New file.
13265 * gdb.arch/gdb1558.c: New file.
13266
132672004-02-19 Elena Zannoni <ezannoni@redhat.com>
13268
13269 * gdb.base/nodebug.exp: Fix typo.
13270
132712004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13272
13273 Committed by Jim Blandy <jimb@redhat.com>.
13274
13275 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13276
13277 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13278
13279 * gdb.base/float.exp: Support s390*-*-* targets.
13280
132812004-02-17 Adam Fedor <fedor@gnu.org>
13282
13283 * gdb.base/gdb1555.exp: New file.
13284 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13285
132862004-02-17 Elena Zannoni <ezannoni@redhat.com>
13287
13288 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13289
132902004-02-16 Fred Fish <fnf@redhat.com>
13291
13292 * gdb.arch/gdb1291.c: Remove
13293 * gdb.arch/gdb1291.s: New test input file.
13294 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13295 fail. Test for correct result, known incorrect result, other
13296 failures and timeouts.
13297
132982004-02-16 Andrew Cagney <cagney@redhat.com>
13299
13300 * gdb.base/bigcore.exp: New file.
13301 * gdb.base/bigcore.c: New file.
13302
133032004-02-13 Andrew Cagney <cagney@redhat.com>
13304
13305 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13306 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13307 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13308 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13309 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13310 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13311 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13312 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13313 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13314 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13315
133162004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13317
13318 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13319 executed is an alloc instruction.
13320
133212004-02-11 David Carlton <carlton@kealia.com>
13322
13323 * gdb.cp/breakpoint.exp: New.
13324 * gdb.cp/breakpoint.cc: New.
13325
133262004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13327
13328 Partial fix for PR gdb/1543.
13329 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13330 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13331 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13332 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13333 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13334 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13335 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13336 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13337 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13338 to bug-gdb@prep.ai.mit.edu .
13339 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13340 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13341 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13342 Likewise.
13343
133442004-02-10 Andrew Cagney <cagney@redhat.com>
13345
13346 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13347 using gdb_internal_error_resync.
13348
133492004-02-09 Daniel Jacobowitz <drow@mvista.com>
13350
13351 * gdb.threads/thread-specific.exp: Stop early if no threads are
13352 found.
13353
133542004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13355
13356 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13357
133582004-02-08 Daniel Jacobowitz <drow@mvista.com>
13359
13360 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13361 breakpoints.
13362
133632004-02-07 Daniel Jacobowitz <drow@mvista.com>
13364
13365 * config/sim.exp (gdb_load): Handle $arg == "".
13366 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13367 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13368
133692004-02-07 Elena Zannoni <ezannoni@redhat.com>
13370
13371 * gdb.base/maint.exp: Update test to reflect
13372 obstack changes.
13373
133742004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13375
13376 * gdb.base/pendshr.c (pendfunc): New function that calls
13377 pendfunc1.
13378 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13379
133802004-02-04 Fred Fish <fnf@redhat.com>
13381
13382 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13383 function symbols and update copyright years.
13384 * gdb.arch/gdb1291.c: Ditto.
13385
133862004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13387
13388 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13389
133902004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13391
13392 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13393
133942004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13395
13396 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13397
133982004-02-02 Fred Fish <fnf@redhat.com>
13399
13400 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13401 remote targets. Update copyright years.
13402
134032004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13404
13405 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13406 support.
13407 * gdb.base/langs.exp: Fix test which attempts to create
13408 breakpoint on non-existent function to handle new pending
13409 support.
13410 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13411 a breakpoint.
13412 * gdb.base/pending.exp: New test.
13413 * gdb.base/pending.c: New file.
13414 * gdb.base/pendshr.c: Ditto.
13415
134162004-02-02 David Carlton <carlton@kealia.com>
13417
13418 * gdb.cp/overload.exp: Add overloadNamespace tests.
13419 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13420 (overloadNamespace, XXX): New.
13421 (main): Call XXX::marker2.
13422
134232004-02-01 Fred Fish <fnf@redhat.com>
13424
13425 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13426 * gdb.base/finish.exp: Ditto.
13427 * gdb.base/gcore.exp: Ditto.
13428 * gdb.base/huge.exp: Ditto.
13429 * gdb.base/info-proc.exp: Ditto.
13430 * gdb.base/return2.exp: Ditto.
13431 * gdb.threads/gcore-thread.exp: Ditto.
13432
134332004-02-01 Daniel Jacobowitz <drow@mvista.com>
13434
13435 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13436
134372004-02-01 Mark Kettenis <kettenis@gnu.org>
13438
13439 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13440 that opening the file succeeds on OpenBSD.
13441
134422004-02-01 Daniel Jacobowitz <drow@mvista.com>
13443
13444 * gdb.threads/thread-specific.c: New file.
13445 * gdb.threads/threads-specific.exp: New test script.
13446 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13447 to expect_out.
13448
134492004-02-01 Mark Kettenis <kettenis@gnu.org>
13450
13451 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13452 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13453 only on the "print_small_structs from print_long_arg_list" test.
13454
134552004-02-01 Daniel Jacobowitz <drow@mvista.com>
13456
13457 * gdb.base/completion.exp: Kill a stray backslash.
13458
13459 From Jim Ingham <jingham@apple.com>:
13460 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13461 agrees with the result from sending a tab.
13462
134632004-01-31 Daniel Jacobowitz <drow@mvista.com>
13464
13465 * gdb.base/chng-syms.exp: Remove stray newline.
13466
134672004-01-31 Mark Kettenis <kettenis@gnu.org>
13468
13469 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13470 *-*-openbsd*.
13471 * gdb.asm/openbsd.inc: New file.
13472
134732004-01-30 Mark Kettenis <kettenis@gnu.org>
13474
13475 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13476 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13477 *-*solaris2*. Remove commented out default settings for
13478 asm-flags. Replace gdb_compile with target_link.
13479
134802004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13481
13482 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13483 for all tests. Remove old hp-ux and cygnus xfail cases.
13484
134852004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13486
13487 * gdb.base/chng-syms.exp: New file.
13488 * gdb.base/chng-syms.c: New file.
13489
134902004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13491
13492 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13493 Provide arms for current output in all my configurations.
13494
134952004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13496
13497 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13498 * lib/compiler.cc: Likewise.
13499 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13500 get the right preprocessor. Eval the output directly. Remove
13501 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13502 hp_f77_compiler and hp_f90_compiler completely.
13503 (gdb_preprocess): Delete.
13504 (get_compiler): Delete.
13505
135062004-01-24 Mark Kettenis <kettenis@gnu.org>
13507
13508 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13509 <string.h>.
13510
135112004-01-24 Nick Roberts <nick@nick.uklinux.net>
13512
13513 * gdb.mi/mi-stack.exp: Update copyright.
13514
135152004-01-23 David Carlton <carlton@kealia.com>
13516
13517 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13518 test for cp_lookup_transparent_type.
13519 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13520 call them.
13521
135222004-01-23 Daniel Jacobowitz <drow@mvista.com>
13523
13524 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13525 after -var-update.
13526
135272004-01-23 David Carlton <carlton@kealia.com>
13528
13529 * gdb.cp/namespace.cc (C::ensureRefs): New.
13530 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13531
135322004-01-20 Nick Roberts <nick@nick.uklinux.net>
13533
13534 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13535 case "-stack-list-locals 2".
13536 * gdb.mi/mi-var-child.exp: Test for case
13537 "-var-list-children --all-values NAME".
13538
135392004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13540
13541 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13542
135432004-01-18 Mark Kettenis <kettenis@gnu.org>
13544
13545 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13546 used with gdb_test_multiple.
13547
13548 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13549 read at address 0. This fixes PR testsuite/1504.
13550
135512004-01-18 Daniel Jacobowitz <drow@mvista.com>
13552
13553 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13554 Remove downloading, guessing the host executable, the calls to
13555 gdb_file_cmd and gdb_target_cmd, and "load" support.
13556 (infer_host_exec): New function broken out from gdb_load.
13557 (gdb_load): New wrapper for gdbserver_gdb_load.
13558 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13559 gdb_target_cmd. Use -target-select.
13560 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13561 Download binaries to the host. Clear last_mi_remote_file when
13562 we load a new binary.
13563 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13564 call gdbserver_gdb_load and mi_gdb_target_cmd.
13565
135662004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13567
13568 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13569 type patterns.
13570
135712004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13572
13573 * gdb.cp/templates.exp: Fix typo in test name of
13574 "print Foo<volatile char*>::foo".
13575
135762004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13577
13578 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13579
135802004-01-16 Ben Elliston <bje@wasabisystems.com>
13581
13582 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13583 (clean mostlyclean): Remove empty rm.
13584
135852004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13586
13587 * gdb.base/setvar.exp: Add copyright years.
13588
135892004-01-14 David Carlton <carlton@bactrian.org>
13590
13591 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13592 PR c++/1511 and update coment.
13593 * gdb.cp/templates.exp: Update patterns to match current output.
13594 If changes involve something other than whitespace, KFAIL
13595 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13596
135972004-01-14 David Carlton <carlton@kealia.com>
13598
13599 * gdb.cp/namespace.exp: Add tests involving classes defined within
13600 namespaces.
13601 * gdb.cp/namespace.cc (C::CClass): New.
13602 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13603
136042004-01-14 Elena Zannoni <ezannoni@redhat.com>
13605
13606 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13607 what debug info we have. Print a better message if something goes
13608 wrong while producing the separate debug info file.
13609
136102004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13613
136142004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13615
13616 * gdb.base/callfuncs.c: Add copyright notice.
13617
136182004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13619
13620 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13621 inheritance. PR gdb/1498, PR gcc/13539.
13622
136232004-01-13 Elena Zannoni <ezannoni@redhat.com>
13624
13625 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13626 test specific name.
13627 * gdb.mi/gdb669.exp: Ditto.
13628 * gdb.mi/mi-pthreads.exp: Ditto.
13629 * gdb.mi/mi1-pthreads.exp: Ditto.
13630 * gdb.mi/mi2-pthreads.exp: Ditto.
13631
136322004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13633
13634 * gdb.cp/member-ptr.cc: Add copyright notice.
13635
136362004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13637
13638 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13639 some patterns for recent versions of gcc and hpacc. Delete
13640 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13641 Delete tests that access a NULL pointer-to-member-data. This
13642 script is still disabled for gcc.
13643
136442004-01-12 Elena Zannoni <ezannoni@redhat.com>
13645
13646 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13647 escaped correctly.
13648
136492004-01-12 Elena Zannoni <ezannoni@redhat.com>
13650
13651 * gdb.base/sepdebug.exp: New file.
13652 * gdb.base/sepdebug.c: New file.
13653 * lib/gdb.exp (separate_debug_filename): New procedure.
13654 (gdb_gnu_strip_debug): New procedure.
13655
136562004-01-12 Andrew Cagney <cagney@redhat.com>
13657
13658 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13659 * gdb.mi/ChangeLog-1999-2003: New file.
13660
136612004-01-12 Andrew Cagney <cagney@redhat.com>
13662
13663 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13664 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13665 or EEXIST", treat EBUSY as an XFAIL.
13666
136672004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13668
13669 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13670 hp_cc_compiler.
13671
136722004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13673
13674 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13675 decorations.
13676
136772004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13678
13679 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13680 and "(aCC)" decorations. Remove obsolete doco about old
13681 test results.
13682
136832004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13684
13685 * gdb.cp/exception.exp: Fix typo in doco.
13686
136872004-01-09 Mark Kettenis <kettenis@gnu.org>
13688
13689 * gdb.base/gdb1476.exp: Fix typo.
13690
136912004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13692
13693 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13694 file.
13695
136962004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13697
13698 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13699 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13700 Use gdb_compile. Remove restriction on gcc. Add some patterns
13701 for recent version of gdb. Delete second half, which was a copy
13702 of the first half with different build flags. This test is
13703 still disabled because it is still not ready for production.
13704
137052004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13706
13707 * gdb.cp/exception.cc: Add copyright notice.
13708 * gdb.cp/exception.exp: Add a notice that this file is broken
13709 because of line number changes caused by addition of copyright
13710 notice.
13711
137122004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13713
13714 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13715 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13716
137172004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13718
13719 * gdb.cp/classes.exp: Accept gnu abi 2.
13720 * gdb.cp/derivation.exp: Likewise.
13721 * gdb.cp/overload.exp: Likewise.
13722 * gdb.cp/virtfunc.exp: Likewise.
13723
137242004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13725
13726 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13727 semicolon after end of function.
13728
137292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13730
13731 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13732 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13733 boilerplate code for compiling and running the program under
13734 test. Add some string method tests.
13735
137362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13737
13738 * gdb.cp/bs15503.cc: Add copyright notice.
13739 * gdb.cp/bs15503.exp: Adjust line number.
13740
137412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13742
13743 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13744 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13745
137462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13747
13748 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13749 hp_cc_compiler.
13750
137512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13752
13753 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13754 * gdb.cp/ctti.exp: Use the marker instead of "next".
13755 With gcc, run further before bailing.
13756
137572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13758
13759 * gdb.cp/cttiadd.cc: Add copyright notice.
13760 * gdb.cp/cttiadd1.cc: Likewise.
13761 * gdb.cp/cttiadd2.cc: Likewise.
13762 * gdb.cp/cttiadd3.cc: Likewise.
13763
137642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13765
13766 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13767 Use gdb_test, gdb_test_multiple. Use floating-point values that
13768 have exact representations in IEEE-ish formats.
13769
137702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13771
13772 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13773 compilers. Delete duplicate call to get_compiler_info.
13774 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13775 * gdb.base/volatile.exp: Likewise.
13776
137772004-01-07 Mark Kettenis <kettenis@gnu.org>
13778
13779 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13780 memory at address 0.
13781
137822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13783
13784 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13785 to test for hp-ux assembler. Fix copyright years.
13786
137872004-01-07 Andrew Cagney <cagney@redhat.com>
13788
13789 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13790
137912004-01-07 Andrew Cagney <cagney@redhat.com>
13792
13793 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13794 when creating the read-only file. From analysis by Roland McGrath
13795 and Elena Zannoni.
13796
137972004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13798
13799 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13800
138012004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13802
13803 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13804 data pointers.
13805
138062004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13807
13808 * gdb.cp/m-static.exp: Compile one source file at a time.
13809 Delete unused call to get_compiler_info.
13810
138112004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13812
13813 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13814 * gdb.base/call-rt-st.exp: Likewise.
13815 * gdb.base/nodebug.exp: Likewise.
13816 * gdb.base/volatile.exp: Likewise.
13817 * gdb.cp/ref-types.exp: Likewise.
13818 * gdb.cp/templates.exp: Likewise.
13819
138202004-01-05 Mark Kettenis <kettenis@gnu.org>
13821
13822 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13823
138242004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13825
13826 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13827 hppa*-hp-hpux*.
13828
138292004-01-04 Mark Kettenis <kettenis@gnu.org>
13830
13831 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13832 x86_64-*-*.
13833
13834 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13835 sparc64-*-* and sparc*-solaris2*.
13836
138372004-01-04 Mark Kettenis <kettenis@gnu.org>
13838
13839 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13840 return ${tests}" test. The ${tests} already mentions the
13841 filename.
13842
138432004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13844
13845 * gdb.cp/local.exp: Accept gcc abi 2.
13846
138472004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13848
13849 * gdb.cp/templates.exp: Accept gcc abi 2.
13850
138512004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13852
13853 * lib/compiler.cc: Remove supports_template_debugging.
13854 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13855
138562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13857
13858 * gdb.cp/namespace.exp: Accept gcc abi 2.
13859
138602004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13861
13862 * gdb.cp/method.exp: Accept gcc abi 2.
13863
138642004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13865
13866 * gdb.cp/classes.exp: Generate identical results as old version.
13867 * gdb.cp/derivation.exp: Likewise.
13868 * gdb.cp/overload.exp: Likewise.
13869 * gdb.cp/virtfunc.exp: Likewise.
13870
138712004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13872
13873 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13874 mysterious bug with sourceware version of expect.
13875
138762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13877
13878 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13879 current versions of gcc, including gcc abi 2. Remove gratuitous
13880 restart of test program. Use gdb_test_multiple and gdb_test for
13881 all tests. Add patterns to xfail missing "const" in "const char *"
13882 and kfail PR gdb/1155.
13883
138842004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13885
13886 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13887 current versions of gcc, including gcc abi 2. Remove gratuitous
13888 restart of test program. Use gdb_test_multiple and gdb_test for
13889 all tests. Add patterns to kfail PR gdb/1498.
13890
138912003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13892
13893 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13894 current versions of gcc, including gcc abi 2. Use "breakpoint"
13895 and "continue" instead of restarting the target program. Use
13896 gdb_test_multiple and gdb_test for all tests.
13897
138982004-01-01 Mark Kettenis <kettenis@gnu.org>
13899
13900 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13901 for *-*-solaris2*.
13902
139032003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13904
13905 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13906 current versions of gcc, including gcc abi 2. Use "breakpoint"
13907 and "continue" instead of restarting the target program several
13908 times. Use gdb_test_multiple and gdb_test for all tests.
13909
139102003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13911
13912 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13913 source files.
13914
139152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13916
13917 * gdb.base/environ.exp: Handle compiling test case from multiple
13918 source files.
13919
139202003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13921
13922 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13923
139242003-12-17 Jim Blandy <jimb@redhat.com>
13925
13926 * gdb.base/freebpcmd.c: Add copyright notice.
13927
13928 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13929
139302003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13931
13932 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13933
139342003-12-13 Jim Blandy <jimb@redhat.com>
13935
13936 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13937
139382003-12-12 Kevin Buettner <kevinb@redhat.com>
13939
13940 * gdb.asm/frv.inc: New file.
13941 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13942
139432003-12-09 Fred Fish <fnf@redhat.com>
13944
13945 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13946 functions to break1.c and leave prototypes behind. Add more
13947 "set breakpoint NN here" comments.
13948 * gdb.base/break1.c: New file.
13949
13950 * gdb.base/break.exp: Handle compiling test case from multiple
13951 source files and change source file references as needed.
13952 * gdb.base/completion.exp: Ditto.
13953 * gdb.base/condbreak.exp: Ditto.
13954 * gdb.base/define.exp: Ditto.
13955 * gdb.base/ena-dis-br.exp: Ditto.
13956 * gdb.base/info-proc.exp: Ditto.
13957 * gdb.base/maint.exp: Ditto.
13958 * gdb.base/until.exp: Ditto.
13959
13960 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13961 hardcoded line numbers.
13962 * gdb.base/define.exp: Ditto.
13963 * gdb.base/ena-dis-br.exp: Ditto.
13964 * gdb.base/maint.exp: Ditto.
13965 * gdb.base/until.exp: Ditto.
13966
13967 * gdb.base/completion.exp: Use "break1" for completion tests since
13968 "break" is no longer a unique prefix.
13969
139702003-12-06 Andrew Cagney <cagney@redhat.com>
13971
13972 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13973 "return_value_unimplemented". When an unimplemented struct return
13974 architecture, report incorrect values as a KFAIL
13975
139762003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13977
13978 * gdb.cp/rtti.exp: Accept new wording of warning from
13979 cp_lookup_rtti_type.
13980
139812003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13982
13983 Partial fix for PR testsuite/1456.
13984 * gdb.base/scope.exp (test_at_main): Replace references to
13985 gcc_compiled with calls to test_compiler_info.
13986 (test_at_foo): Likewise.
13987 (test_at_bar): Likewise.
13988
139892003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13990
13991 Partial fix for PR testsuite/1456.
13992 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13993 to test_compiler_info.
13994
139952003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13996
13997 * gdb.base/so-impl-ld.exp: Update copyright notice.
13998
139992003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14000
14001 Partial fix for PR testsuite/1456.
14002 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14003 to test_compiler_info.
14004
140052003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14006
14007 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14008 from current versions of gdb. Clean up regular expressions.
14009 Delete redundant timeout case.
14010
140112003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14012
14013 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14014 from current versions of gdb. Clean up regular expressions.
14015 Delete redundant timeout case.
14016
140172003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14018
14019 Partial fix for PR testsuite/1456.
14020 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14021 gcc_compiled with call to test_compiler_info.
14022
140232003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14024
14025 Partial fix for PR testsuite/1456.
14026 * gdb.base/list.exp (test_list_function): Delete unused declaration
14027 of gcc_compiled.
14028
140292003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14030
14031 Partial fix for PR testsuite/1456.
14032 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14033 call to test_compiler_info.
14034
140352003-11-29 Mark Kettenis <kettenis@gnu.org>
14036
14037 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14038 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14039 it to create the appropriate note.inc.
14040 * gdb.asm/asmsrc1.s: Include "note.inc".
14041 * gdb.asm/netbsd.inc: New file.
14042 * gdb.asm/empty.inc: New file.
14043
140442003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14045
14046 Partial fix for PR testsuite/1456.
14047 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14048 calls to test_compiler_info.
14049
140502003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14051
14052 Partial fix for PR testsuite/1456.
14053 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14054 calls to test_compiler_info.
14055
140562003-11-27 Mark Kettenis <kettenis@gnu.org>
14057
14058 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14059 pattern for the KFAILs.
14060
140612003-11-25 Adam Fedor <fedor@gnu.org>
14062
14063 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14064 * gdb.objc/objcdecode.m: New file.
14065
140662003-11-25 Adam Fedor <fedor@gnu.org>
14067
14068 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14069 * gdb.objc/nondebug.m: New file.
14070
140712003-11-26 Ben Elliston <bje@wasabisystems.com>
14072
14073 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14074 NetBSD as it does on FreeBSD. Modelled on a similar change by
14075 Mark Kettenis on 2003-05-30.
14076 (link-flags): Set to "--entry _start" regardless of target.
14077 Special linker flags are to be appended to $link-flags.
14078 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14079
140802003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 * gdb.cp/method.exp: Accept output of new demangler.
14083
140842003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14085
14086 * gdb/class2.exp: New file.
14087 * gdb/class2.cc: New file.
14088
140892003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14090
14091 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14092 of new demangler.
14093
140942003-11-23 Mark Kettenis <kettenis@gnu.org>
14095
14096 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14097 of gdb_test "run".
14098
140992003-11-23 Mark Kettenis <kettenis@gnu.org>
14100
14101 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14102 "continue" into "run".
14103
141042003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14105
14106 Partial fix for PR testsuite/1456.
14107 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14108 call to test_compiler_info.
14109 * gdb.cp/ctti.exp: Likewise.
14110 * gdb.cp/derivation.exp: Likewise.
14111 * gdb.cp/member-ptr.exp: Likewise.
14112 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14113 reference to gcc_compiled.
14114
141152003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14116
14117 Fix PR testsuite/1463.
14118 * gdb.base/structs.exp (start_structs_test): Call
14119 get_debug_format before using the debug format.
14120
141212003-11-22 Andrew Cagney <cagney@redhat.com>
14122
14123 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14124 * gdb.base/structs.exp: Use gdb_test_multiple.
14125
141262003-11-20 Andrew Cagney <cagney@redhat.com>
14127
14128 * gdb.base/structs.exp: Handle and recover from internal errors.
14129 Replace "foo${n}" with "foo<n>" in test messages.
14130
14131 * gdb.base/structs.exp: Update copyright. Rewrite.
14132 * gdb.base/structs.c: Update copyright. Rewrite.
14133
14134 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14135 resync count exceeded.
14136
14137 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14138 from the internal error.
14139 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14140 Original from Jim Blandy.
14141 (gdb_test_multiple): Use gdb_internal_error_resync.
14142
141432003-11-19 Andrew Cagney <cagney@redhat.com>
14144
14145 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14146 KFAIL.
14147
141482003-11-17 Mark Kettenis <kettenis@gnu.org>
14149
14150 New testcase for PR backtrace/1435.
14151 * gdb.arch/i386-unwind.exp: New file.
14152 * gdb.arch/i386-unwind.c: New file.
14153
141542003-11-17 Andrew Cagney <cagney@redhat.com>
14155
14156 * lib/gdb.exp (compiler_info): New global.
14157 (test_compiler_info): New function.
14158 (get_compiler_info): Set compiler_info.
14159 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14160 "compiler_info" to gcc-<major>-<minor>.
14161
141622003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14163
14164 * gdb.trace/configure: Remove.
14165
141662003-11-13 Elena Zannoni <ezannoni@redhat.com>
14167
14168 * gdb.base/break.c: Add comments to aid finding line numbers for
14169 breakpoints.
14170 * gdb.base/break.exp: Remove all references to explicit line
14171 numbers.
14172
141732003-11-11 Nick Clifton <nickc@redhat.com>
14174
14175 * gdb.base/shreloc.exp: Do not run for targets which do not
14176 support shared objects.
14177
141782003-11-10 Corinna Vinschen <vinschen@redhat.com>
14179
14180 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14181 Don't run tests if nofileio flag is given.
14182
141832003-11-07 Elena Zannoni <ezannoni@redhat.com>
14184
14185 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
14186 as well as 'Watchpoint'.
14187
141882003-11-06 Elena Zannoni <ezannoni@redhat.com>
14189
14190 Reported by Jim Ingham <jingham@apple.com>:
14191 * gdb.base/annota1.exp: Match at least one occurrence of the
14192 signal handler annotation.
14193
141942003-11-06 Elena Zannoni <ezannoni@redhat.com>
14195
14196 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14197 as well as 'Watchpoint'.
14198
141992003-11-05 Michael Chastain <mec@shout.net>
14200
14201 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14202
142032003-11-03 Kris Warkentin <kewarken@qnx.com>
14204
14205 * gdb.arch/gdb1291.c: New test file.
14206 * gdb.arch/gdb1291.exp: New test script.
14207 * gdb.arch/gdb1431.c: New test file.
14208 * gdb.arch/gdb1431.exp: New test script.
14209
142102003-10-22 Michael Chastain <mec@shout.net>
14211
14212 * gdb.mi/pthreads.c: Add copyright notice.
14213
142142003-10-22 Michael Chastain <mec@shout.net>
14215
14216 * gdb.threads/pthreads.c: Add copyright notice.
14217
142182003-10-20 Michael Chastain <mec@shout.net>
14219
14220 * gdb.base/gdb1056.exp: New test script.
14221
142222003-10-13 Daniel Jacobowitz <drow@mvista.com>
14223
14224 * gdb.threads/killed.exp: Use gdb_run_cmd.
14225
142262003-10-13 Daniel Jacobowitz <drow@mvista.com>
14227
14228 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14229 create a core file.
14230 * gdb.threads/gcore-thread.exp: Likewise.
14231
142322003-10-13 Corinna Vinschen <vinschen@redhat.com>
14233
14234 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14235 type, based on char type.
14236 (struct bit_flags_short_t): New bitfield type, based on short type.
14237 (init_bit_flags_char): New fuction.
14238 (init_bit_flags_short): Ditto.
14239 (print_bit_flags_char): Ditto.
14240 (print_bit_flags_short): Ditto.
14241 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14242
142432003-10-11 Michael Chastain <mec@shout.net>
14244
14245 * gdb.base/call-rt-st.exp: Update copyright year.
14246
142472003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14248
14249 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14250 * gdb.disasm/sh3.s: Ditto.
14251
142522003-10-07 Daniel Jacobowitz <drow@mvista.com>
14253
14254 * gdb.threads/switch-threads.exp: New test.
14255 * gdb.threads/switch-threads.c: New source file.
14256
142572003-10-07 Corinna Vinschen <vinschen@redhat.com>
14258
14259 * gdb.base/ending-run.exp: Add sh specific case.
14260
142612003-10-06 Andrew Cagney <cagney@redhat.com>
14262
14263 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14264 * gdb.disasm/mn10200.exp: Delete obsolete file.
14265
142662003-09-29 Daniel Jacobowitz <drow@mvista.com>
14267
14268 * ChangeLog: Correct an entry command.exp -> commands.exp.
14269 * gdb.base/commands.exp (bp_deleted_in_command_test)
14270 (temporary_breakpoint_commands): Check noargs.
14271
142722003-09-25 David Carlton <carlton@kealia.com>
14273
14274 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14275 of some print tests, where appropriate. Add tests for C::D::cd,
14276 E::ce, F::cXfX, G::XgX.
14277 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14278
142792003-09-25 Richard Earnshaw <rearnsha@arm.com>
14280
14281 * lib/java.exp (java_init): Import target_alias before using it.
14282
142832003-09-25 David Carlton <carlton@kealia.com>
14284
14285 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14286
142872003-09-23 Elena Zannoni <ezannoni@redhat.com>
14288
14289 * gdb.base/selftest.exp: Accomodate more instruction reordering
14290 weirdness.
14291
142922003-09-17 Michael Chastain <mec@shout.net>
14293
14294 * gdb.cp/gdb1355.exp: New file.
14295 * gdb.cp/gdb1355.c: New file.
14296
142972003-09-15 Corinna Vinschen <vinschen@redhat.com>
14298
14299 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14300 * gdb.asm/sh.inc: New file.
14301
143022003-09-11 David Carlton <carlton@kealia.com>
14303
14304 * gdb.cp/namespace.exp: Add tests for namespace types.
14305 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
14306 (test_namespace): New.
14307
143082003-09-11 Elena Zannoni <ezannoni@redhat.com>
14309
14310 * gdb.base/relocate.exp: Handle new gdb output at startup.
14311 * gdb.stabs/weird.exp: Ditto.
14312
143132003-09-08 Michael Chastain <mec@shout.net>
14314
14315 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14316
143172003-09-07 Michael Chastain <mec@shout.net>
14318
14319 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14320 'parse error'.
14321
143222003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14323
14324 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14325
143262003-08-30 Michael Chastain <mec@shout.net>
14327
14328 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14329 * gdb.gdb/observer.exp: Ditto.
14330 * gdb.gdb/xfullpath.exp: Ditto.
14331
143322003-08-29 Mark Kettenis <kettenis@gnu.org>
14333
14334 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14335 *-*-*bsd*.
14336
143372003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14338
14339 * gdb.base/dump.exp: Skip for ia64.
14340
143412003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14342
14343 * gdb.asm/asm-source.exp: Add ia64 support.
14344 * gdb.asm/ia64.inc: New file.
14345
143462003-08-22 Michael Chastain <mec@shout.net>
14347
14348 * gdb.cp: New directory.
14349 * gdb.cp/*: Copy from gdb.c++/*.
14350 * gdb.c++/*: Remove.
14351 * Makefile.in: Change gdb.c++ to gdb.cp.
14352 * configure.in: Ditto.
14353 * configure: Regnerate.
14354
143552003-08-18 Mark Kettenis <kettenis@gnu.org>
14356
14357 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14358 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14359
143602003-08-17 Daniel Jacobowitz <drow@mvista.com>
14361
14362 * mi-var-display.exp (-var-list-children weird): Accept function
14363 pointers with argument types.
14364 * mi1-var-display.exp (-var-list-children weird): Likewise.
14365 * mi2-var-display.exp (-var-list-children weird): Likewise.
14366
143672003-08-17 Daniel Jacobowitz <drow@mvista.com>
14368
14369 * gdb.base/annota3.exp: Add missing newline.
14370
143712003-08-06 Michael Chastain <mec@shout.net>
14372
14373 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14374
143752003-08-12 Michael Snyder <msnyder@redhat.com>
14376
14377 * gdb.base/float.exp: Add test for SH.
14378
143792003-08-10 Mark Kettenis <kettenis@gnu.org>
14380
14381 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14382
143832003-08-07 Elena Zannoni <ezannoni@redhat.com>
14384
14385 * gdb.base/completion.exp: Remove reduntant completion test
14386 on filename.
14387
143882003-08-07 Elena Zannoni <ezannoni@redhat.com>
14389
14390 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14391 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14392 gdb.trace/save-trace.exp: Make sure that full pathnames are
14393 escaped correctly.
14394
143952003-08-07 Elena Zannoni <ezannoni@redhat.com>
14396
14397 * configure.in: Don't generate config.h from config.hin.
14398 * configure: Regenerate.
14399 * config.hin: Remove file.
14400 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14401 * gdb.threads/pthreads.c: Ditto.
14402
144032003-08-07 Daniel Jacobowitz <drow@mvista.com>
14404
14405 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14406 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14407 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14408 Replace ld24 with seth/add3.
14409
144102003-08-02 Andrew Cagney <cagney@redhat.com>
14411
14412 * gdb.base/annota3.exp: New file.
14413 * gdb.base/annota3.c: New file.
14414 * gdb.c++/annota3.exp: New file.
14415 * gdb.c++/annota3.cc: New file.
14416
144172003-07-29 Michael Chastain <mec@shout.net>
14418
14419 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14420 actually failed.
14421 (do_pass): Likewise.
14422 * gdb.threads/tls.exp: Always initialize no_of_threads.
14423
144242003-07-27 Daniel Jacobowitz <drow@mvista.com>
14425
14426 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14427 pattern.
14428 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14429 * gdb.threads/tls.exp: Recognize one case of the host library not
14430 supporting TLS.
14431
144322003-07-27 Andrew Cagney <cagney@redhat.com>
14433
14434 * gdb.base/fileio.exp: Use SH when running commands using
14435 remote_exec.
14436
144372003-07-24 Daniel Jacobowitz <drow@mvista.com>
14438
14439 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14440 * gdb.base/relocate.c (dummy): New padding array.
14441
144422003-07-22 Michael Snyder <msnyder@redhat.com>
14443
14444 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
14445
14446 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14447 patterns to be more general, accepting old and new output.
14448 Some output chars (such as '+') also must be quoted.
14449 Some addresses are displayed numerically instead of
14450 symbolically.
14451
144522003-07-23 Michael Snyder <msnyder@redhat.com>
14453
14454 * gdb.base/return2.exp: Don't test long-long return.
14455
14456 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14457 * gdb.disasm/t01_mov.exp: Ditto.
14458 * gdb.disasm/t02_mova.s: Ditto.
14459 * gdb.disasm/t02_mova.exp: Ditto.
14460 * gdb.disasm/t03_add.s: Ditto.
14461 * gdb.disasm/t03_add.exp: Ditto.
14462 * gdb.disasm/t04_sub.s: Ditto.
14463 * gdb.disasm/t04_sub.exp: Ditto.
14464 * gdb.disasm/t05_cmp.s: Ditto.
14465 * gdb.disasm/t05_cmp.exp: Ditto.
14466 * gdb.disasm/t06_ari2.s: Ditto.
14467 * gdb.disasm/t06_ari2.exp: Ditto.
14468 * gdb.disasm/t07_ari3.s: Ditto.
14469 * gdb.disasm/t07_ari3.exp: Ditto.
14470 * gdb.disasm/t08_or.s: Ditto.
14471 * gdb.disasm/t08_or.exp: Ditto.
14472 * gdb.disasm/t09_xor.s: Ditto.
14473 * gdb.disasm/t09_xor.exp: Ditto.
14474 * gdb.disasm/t10_and.s: Ditto.
14475 * gdb.disasm/t10_and.exp: Ditto.
14476 * gdb.disasm/t11_logs.s: Ditto.
14477 * gdb.disasm/t11_logs.exp: Ditto.
14478 * gdb.disasm/t12_bit.s: Ditto.
14479 * gdb.disasm/t12_bit.exp: Ditto.
14480 * gdb.disasm/t13_otr.s: Ditto.
14481 * gdb.disasm/t13_otr.exp: Ditto.
14482
144832003-07-22 Elena Zannoni <ezannoni@redhat.com>
14484
14485 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14486
144872003-07-22 Elena Zannoni <ezannoni@redhat.com>
14488
14489 * gdb.threads/tls.c : New file.
14490 * gdb.threads/tls.exp : New file.
14491 * gdb.threads/tls-main.c : New file.
14492 * gdb.threads/tls-shared.c : New file.
14493 * gdb.threads/tls-shared.exp : New file.
14494
144952003-07-22 Andreas Schwab <schwab@suse.de>
14496
14497 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14498
144992003-07-20 Andreas Schwab <schwab@suse.de>
14500
14501 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14502 due to insn reordering.
14503
145042003-07-15 Andrew Cagney <cagney@redhat.com>
14505
14506 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14507
145082003-07-15 Michael Chastain <mec@shout.net>
14509
14510 * gdb.base/gdb1250.exp: New file.
14511 * gdb.base/gdb1250.c: New file.
14512
145132003-07-09 Michal Ludvig <mludvig@suse.cz>
14514
14515 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14516 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14517
145182003-07-09 Elena Zannoni <ezannoni@redhat.com>
14519
14520 * gdb.threads/tls.c: New file.
14521 * gdb.threads/tls.exp: New file.
14522 * gdb.threads/tls-main.c: New file.
14523 * gdb.threads/tls-shared.c: New file.
14524 * gdb.threads/tls-shared.exp: New file.
14525
145262003-07-09 Elena Zannoni <ezannoni@redhat.com>
14527
14528 * gdb.base/annota1.exp: Make sure that we properly escape the
14529 full path of the source file. Xfail more permissive patterns,
14530 due to a compiler debug info problem.
14531
145322003-07-07 Andreas Schwab <schwab@suse.de>
14533
14534 * gdb.asm/m68k.inc: New file.
14535 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14536
14537 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14538 arguments"): Also match negative number.
14539
14540 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14541
145422003-07-03 Daniel Jacobowitz <drow@mvista.com>
14543
14544 * gdb.base/store.c (charest): New typedef.
14545 (add_char): Rename to add_charest, update.
14546 (wack_char): Rename to wack_charest, update types. Return l + r
14547 to keep r live across the call.
14548 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14549 (wack_double, wack_doublest): Return l + r to keep r live across
14550 the call.
14551 * gdb.base/store.exp: Accomodate store.c changes.
14552
145532003-06-30 David Carlton <carlton@kealia.com>
14554
14555 * gdb.c++/maint.exp (test_invalid_name): New.
14556 (test_first_component): Add tests for invalid names.
14557
145582003-06-29 Michael Chastain <mec@shout.net>
14559
14560 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14561 output of '<VTT for class>' for virtual base classes.
14562
145632003-06-29 Daniel Jacobowitz <drow@mvista.com>
14564
14565 * gdb.base/completion.exp: Tab-complete "complet" instead of
14566 "compl".
14567 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14568
145692003-06-29 Daniel Jacobowitz <drow@mvista.com>
14570
14571 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14572 * gdb.base/volatile.exp: Likewise.
14573
145742003-06-29 Daniel Jacobowitz <drow@mvista.com>
14575
14576 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14577 gdb/1265.
14578
145792003-06-28 Michael Chastain <mec@shout.net>
14580 Daniel Jacobowitz <drow@mvista.com>
14581
14582 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14583 initial line count of 'captured_main' from 26 to 32.
14584 (test_with_self): Allow xmalloc call to be interleaved with the
14585 preceding two lines.
14586
145872003-06-24 Joel Brobecker <brobecker@gnat.com>
14588
14589 * gdb.base/bang.exp: New testcase.
14590
145912003-06-23 Joel Brobecker <brobecker@gnat.com>
14592
14593 * gdb.base/langs.exp: Add some tests for the "minimal" language
14594 support.
14595
145962003-06-23 Elena Zannoni <ezannoni@redhat.com>
14597
14598 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14599 the testcase.
14600
146012003-06-22 Daniel Jacobowitz <drow@mvista.com>
14602
14603 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14604 offset.
14605
146062003-06-22 Daniel Jacobowitz <drow@mvista.com>
14607
14608 * gdb.c++/pr-1210.cc: New file.
14609 * gdb.c++/pr-1210.exp: New file.
14610
146112003-06-21 Daniel Jacobowitz <drow@mvista.com>
14612
14613 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14614 000-exec-continue.
14615
146162003-06-15 Mark Kettenis <kettenis@gnu.org>
14617
14618 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14619 on *-*-*bsd* instead of *-*-freebsd*.
14620
146212003-06-14 Andrew Cagney <cagney@redhat.com>
14622
14623 * gdb.base/store.exp: Test longest and doublest. Test all
14624 parameters. Weaken return statement match.
14625 * gdb.base/store.c: Add longest and doublest - aka long long and
14626 long double functions. Put all parameters into local register
14627 variables. Use negative values.
14628
146292003-06-14 Andrew Cagney <cagney@redhat.com>
14630
14631 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14632 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14633 exit status.
14634 * gdb.base/fileio.exp: Disable target when nointerrupts and
14635 noinferiorio, instead of limiting it to remote. Use remote_exec
14636 instead of system.
14637
146382003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14639
14640 * gdb.base/float.exp: Add ia64 support.
14641
146422003-06-12 Corinna Vinschen <vinschen@redhat.com>
14643
14644 * gdb.base/fileio.exp: Run only on remote targets.
14645
146462003-06-10 Corinna Vinschen <vinschen@redhat.com>
14647
14648 * gdb.base/fileio.c: New file, testing File-I/O.
14649 * gdb.base/fileio.exp: Ditto.
14650
146512003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14652
14653 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14654 shared objects after relocation at load time (gdb PR/1132).
14655 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14656 as above, part of the shared object relocation test.
14657
146582003-06-08 Mark Kettenis <kettenis@gnu.org>
14659
14660 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14661 fully filled history list.
14662 * gdb.base/gdb_history: New file.
14663
14664 * gdb.base/signals.exp: XFAIL "continue to func1" on
14665 i*86-*-freebsd*.
14666
14667 * gdb.base/attach.exp: When trying to attach to a nonexistent
14668 process, make it possible to specify the PID based on the target,
14669 and do so for *-*-freebsd*.
14670
146712003-06-02 Richard Henderson <rth@redhat.com>
14672
14673 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14674
146752003-06-02 Richard Henderson <rth@redhat.com>
14676
14677 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14678
146792003-06-02 Richard Henderson <rth@redhat.com>
14680
14681 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14682
146832003-06-01 Daniel Jacobowitz <drow@mvista.com>
14684
14685 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14686 of globalvar.
14687
146882003-06-01 Mark Kettenis <kettenis@gnu.org>
14689
14690 * gdb.asm/asm-source.exp: Check for memory read errors in
14691 disassembler test on *BSD too.
14692
146932003-06-01 Richard Henderson <rth@redhat.com>
14694
14695 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14696 for .frame.
14697 (gdbasm_call): Lose ldgp.
14698 (gdbasm_startup): Add frame information.
14699 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14700
147012003-05-31 Mark Kettenis <kettenis@gnu.org>
14702
14703 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14704 i?86-*-*.
14705
147062003-05-30 Mark Kettenis <kettenis@gnu.org>
14707
14708 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14709 FreeBSD.
14710
147112003-05-29 Richard Henderson <rth@redhat.com>
14712
14713 * gdb.asm/alpha.inc: New file.
14714 * gdb.asm/asm-source.exp: Use it.
14715
147162003-05-29 Jim Blandy <jimb@redhat.com>
14717
14718 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14719 'core.PID'.
14720
147212003-05-22 Jim Blandy <jimb@redhat.com>
14722
14723 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14724 backtrace.
14725
147262003-05-20 David Carlton <carlton@math.stanford.edu>
14727
14728 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14729 this time.
14730
147312003-05-19 David Carlton <carlton@bactrian.org>
14732
14733 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14734 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14735
147362003-05-19 David Carlton <carlton@bactrian.org>
14737
14738 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14739 namespace tests.
14740 Bump copyright date.
14741 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14742 (main): Call C::D::marker2.
14743 * gdb.c++/namespace1.cc: New file.
14744
147452003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14746
14747 Roland McGrath <roland@redhat.com>
14748 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14749 there is no manager thread.
14750
147512003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14752
14753 * gdb.threads/schedlock.exp: Remove assumption that all threads
14754 will run in a particular small time slice. Also ensure we break
14755 in one of the child threads rather than the main thread.
14756
147572003-05-07 Jim Blandy <jimb@redhat.com>
14758
14759 Add support for assembly source testing on the s390x.
14760 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14761 architecture.
14762 * gdb.asm/s390x.inc: New file.
14763
14764 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14765 succession of 'if' statements.
14766
147672003-05-05 Andrew Cagney <cagney@redhat.com>
14768
14769 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14770
147712003-05-05 Andrew Cagney <cagney@redhat.com>
14772
14773 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14774 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14775
147762003-05-02 Elena Zannoni <ezannoni@redhat.com>
14777
14778 * gdb.base/charset.exp: Update based on new behavior of set/show
14779 charset commands.
14780
147812003-05-01 Andrew Cagney <cagney@redhat.com>
14782
14783 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14784 variable do not give memory errors.
14785
147862003-04-30 Adam Fedor <fedor@gnu.org>
14787
14788 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14789 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14790 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14791 gdb.objc/basicclass.m: : New files
14792
14793 * lib/gdb.exp (gdb_compile_objc): New procedure.
14794
147952003-04-27 Daniel Jacobowitz <drow@mvista.com>
14796
14797 * gdb.base/signals.exp: Make backtrace tests more specific.
14798
147992003-04-23 David Carlton <carlton@bactrian.org>
14800
14801 * gdb.c++/maint.exp (test_first_component): Add tests for
14802 'operator' in more locations.
14803
148042003-04-16 Kevin Buettner <kevinb@redhat.com>
14805
14806 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14807
148082003-04-16 Elena Zannoni <ezannoni@redhat.com>
14809
14810 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14811 func marke' instead. Update test name.
14812
148132003-04-15 David Carlton <carlton@math.stanford.edu>
14814
14815 * gdb.c++/maint.exp: New file.
14816
148172003-04-14 Elena Zannoni <ezannoni@redhat.com>
14818
14819 * gdb.threads/schedlock.c: Change type of thread function argument
14820 to long, to avoid warnings on 64-bit platforms.
14821
148222003-04-14 Elena Zannoni <ezannoni@redhat.com>
14823
14824 * gdb.base/attach.exp: Add new message from ptrace in case of
14825 attaching to nonexistent process.
14826
148272003-04-11 Jim Blandy <jimb@redhat.com>
14828
14829 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14830 gdb.c++/userdef.cc: Place comments on the lines to which the
14831 marker function might return.
14832 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14833 gdb.c++/userdef.exp: Look for those comments to check that we've
14834 returned to the right place, instead of checking line numbers.
14835
148362003-04-11 Elena Zannoni <ezannoni@redhat.com>
14837
14838 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14839 match on sourcefile name, instead of directory name.
14840
148412003-04-10 Elena Zannoni <ezannoni@redhat.com>
14842
14843 * gdb.base/completion.exp: Use string_to_regexp to match the
14844 working directory name.
14845
148462003-04-09 Jim Blandy <jimb@redhat.com>
14847
14848 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14849 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14850 after an inferior function call, report the failure, but allow the
14851 test to continue.
14852
148532003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14854
14855 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14856 with -DPROTOTYPES.
14857
148582003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14859
14860 * gdb.base/break.exp: Revert last patch.
14861
148622003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14863
14864 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14865 with -DPROTOTYPES.
14866
148672003-04-02 Andrew Cagney <cagney@redhat.com>
14868
14869 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14870 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14871 matching directories by the name breakpoint.
14872 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14873 Make "continue to marker1" consistent.
14874 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14875 message consistent.
14876 * lib/gdb.exp: Put "the program is no longer running", and "the
14877 program exited" in parenthesis.
14878 * lib/mi-support.exp: Ditto.
14879
148802003-04-02 Bob Rossi <bob_rossi@cox.net>
14881
14882 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14883
148842003-03-29 Andrew Cagney <cagney@redhat.com>
14885
14886 * gdb.base/sizeof.c (main): Print the value of '\377'.
14887 * gdb.base/sizeof.exp: Check the sign of '\377'.
14888
148892003-03-27 Michael Chastain <mec@shout.net>
14890
14891 * gdb.base/gdb1090.exp: New file.
14892 * gdb.base/gdb1090.cc: New file.
14893
148942003-03-27 J. Brobecker <brobecker@gnat.com>
14895
14896 * gdb.gdb/observer.exp: New regression test.
14897
148982003-03-27 Michael Chastain <mec@shout.net>
14899
14900 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14901 * gdb.base/ptype.exp: Likewise.
14902
149032003-03-27 Corinna Vinschen <vinschen@redhat.com>
14904
14905 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14906
149072003-03-26 Michael Chastain <mec@shout.net>
14908
14909 * gdb.base/ptype.exp: Actually use some typedef'd types.
14910
149112003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14912
14913 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14914 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14915
149162003-03-20 Corinna Vinschen <vinschen@redhat.com>
14917
14918 * gdb.base/default.exp: Fix regular expression.
14919
149202003-03-20 Corinna Vinschen <vinschen@redhat.com>
14921
14922 * gdb.base/args.exp: Fix regular expression.
14923
149242003-03-20 Corinna Vinschen <vinschen@redhat.com>
14925
14926 * gdb.base/help.exp: Allow Win32 child process.
14927
149282003-03-20 Corinna Vinschen <vinschen@redhat.com>
14929
14930 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14931 when stepping out of main().
14932
149332003-03-20 Corinna Vinschen <vinschen@redhat.com>
14934
14935 * gdb.base/default.exp: Check for win32 specific message when calling
14936 "run" without executable.
14937
149382003-03-20 Corinna Vinschen <vinschen@redhat.com>
14939
14940 * gdb.base/args.exp: Expect .exe in output.
14941
149422003-03-20 Corinna Vinschen <vinschen@redhat.com>
14943
14944 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14945 Cygwin native.
14946
149472003-03-17 Andrew Cagney <cagney@redhat.com>
14948
14949 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14950 vector registes.
14951 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14952 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14953
149542003-03-17 David Carlton <carlton@math.stanford.edu>
14955
14956 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14957 test, for PR breakpoints/38.
14958 Call test_watchpoint_and_breakpoint.
14959 * gdb.base/watchpoint.c (func3): New function.
14960 (main): Call func3.
14961
149622003-03-04 David Carlton <carlton@math.stanford.edu>
14963
14964 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14965 Garply<Garply<char> >:: garply".
14966 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14967 with respect to PR c++/1111; note also PR c++/1113.
14968 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14969 respect to PR c++/1062.
14970 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14971
149722003-03-03 David Carlton <carlton@math.stanford.edu>
14973
14974 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14975 with respect to PR c++/57.
14976 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14977 c++/826.
14978 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14979 respect to PR c++/57.
14980
149812003-03-03 David Carlton <carlton@math.stanford.edu>
14982
14983 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14984 respect to PR c++/33 into FAILs.
14985
149862003-03-03 Michael Chastain <mec@shout.net>
14987
14988 * configure.in: Update copyright years.
14989
149902003-03-03 Michael Chastain <mec@shout.net>
14991
14992 * Makefile.in: Update copyright years.
14993
149942003-02-28 David Carlton <carlton@math.stanford.edu>
14995
14996 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14997 print class instead of struct and/or superfluous protection
14998 specifiers, as long as the resulting output is equivalent to the
14999 source code.
15000 Delete FIXME from end of messages on tests that don't need
15001 fixing.
15002
150032003-02-28 David Carlton <carlton@math.stanford.edu>
15004
15005 * gdb.c++/templates.exp (do_tests): Allow const in the two
15006 Foo<volatile char *>::foo tests.
15007
150082003-02-27 Michael Snyder <msnyder@redhat.com>
15009
15010 * gdb.base/restore.c (main): Return zero, so exit code
15011 will be consistant.
15012
150132003-02-26 David Carlton <carlton@math.stanford.edu>
15014
15015 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15016 char *>::foo" test with respect to PR c++/33. Create a new test
15017 which is identical to that one except that it doesn't put the
15018 space between the "char" and the "*"; KFAIL it, too.
15019
150202003-02-26 David Carlton <carlton@math.stanford.edu>
15021
15022 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15023 template types into either PASSes or KFAILs (corresponding to PR
15024 c++/57). Tweak indentation. Update copyright.
15025
150262003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15027
15028 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15029
150302003-02-13 Michael Chastain <mec@shout.net>
15031
15032 * gdb.base/exprs.exp: Remove i960 remnants.
15033 * gdb.base/funcargs.exp: Likewise.
15034 * gdb.base/list.exp: Likewise.
15035 * gdb.base/ptype.exp: Likewise.
15036
150372003-02-14 David Carlton <carlton@math.stanford.edu>
15038
15039 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15040 pEe->D::vg()" from XFAIL to KFAIL.
15041
150422003-02-13 Jason Molenda (jmolenda@apple.com)
15043
15044 * gdb.base/maint.exp: Update maint print statistics regexp to include
15045 new entries.
15046
150472003-02-13 Michael Chastain <mec@shout.net>
15048
15049 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15050
150512003-02-12 Michael Chastain <mec@shout.net>
15052
15053 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15054 * gdb.c++/inherit.exp: Likewise.
15055 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15056 * gdb.c++/templates.exp: Likewise.
15057 * gdb.c++/virtfunc.exp: Likewise.
15058
150592003-02-06 Jason Molenda (jason-cl@molenda.com)
15060
15061 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15062 why the code is written that way.
15063
150642003-02-05 Michael Chastain <mec@shout.net>
15065
15066 * gdb.base/dump.exp: Add missing copyright line.
15067
150682003-02-05 Jason Molenda (jason-cl@molenda.com)
15069
15070 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
15071 at the beginning so the breakpoint doesn't get set on the loop.
15072
150732003-02-05 Michael Chastain <mec@shout.net>
15074
15075 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15076 output for configurations with gcc 2.95.3.
15077
150782003-02-05 Keith Seitz <keiths@redhat.com>
15079 Andrew Cagney <ac131313@redhat.com>
15080
15081 * gdb.mi/mi-cli.exp: New file.
15082
150832003-02-04 Michael Chastain <mec@shout.net>
15084
15085 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15086 Call perror and then continue.
15087
150882003-02-03 Michael Chastain <mec@shout.net>
15089
15090 * gdb.c++/pr-1023.cc: New file.
15091 * gdb.c++/pr-1023.exp: New file.
15092
150932003-02-05 Jim Blandy <jimb@redhat.com>
15094
15095 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15096 it's local to foobar. Check for it there, and check that it's not
15097 present in main.
15098 * gdb.c++/local.cc (marker2): New function.
15099 (foobar): Call marker1.
15100 (main): Call marker2 instead of marker1.
15101
151022003-02-04 Andrew Cagney <ac131313@redhat.com>
15103
15104 * gdb.disasm/mn10200.exp: Obsolete file.
15105 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15106 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15107 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15108
151092003-02-04 David Carlton <carlton@math.stanford.edu>
15110
15111 * gdb.c++/overload.exp: Test intToChar(1).
15112 * gdb.c++/overload.cc (intToChar): New.
15113 (main): Call intToChar.
15114
151152003-02-03 David Carlton <carlton@math.stanford.edu>
15116
15117 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15118 'might_kfail' arg.
15119 KFAIL some of the continue_to_bp_overloaded calls, according to
15120 PR c++/1025.
15121
151222003-02-01 Michael Chastain <mec@shout.net>
15123
15124 * gdb.base/advance.c (marker1): New marker function.
15125 * gdb.base/advance.exp: When the 'advance' command lands on the
15126 return breakpoint, it can legitimately stop on either the
15127 current line or the next line. Accommodate both outcomes.
15128 * gdb.base/until.exp: Likewise.
15129
151302003-02-02 Andrew Cagney <ac131313@redhat.com>
15131
15132 2002-11-10 Jason Molenda (jason-cl@molenda.com):
15133 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15134 now a list, not a tuple.
15135 * gdb.mi/mi-var-display.exp: Ditto.
15136 * gdb.mi/gdb792.exp: Ditto.
15137
151382003-02-01 Andrew Cagney <ac131313@redhat.com>
15139
15140 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
15141 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15142 stack backtraces.
15143 * gdb.mi/mi-syn-frame.c: Part of same.
15144
151452003-02-01 Mark Kettenis <kettenis@gnu.org>
15146
15147 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15148 gdb.mi/mi1-pthreads.exp: Return instead of calling
15149 gdb_suppress_entire_file.
15150
151512003-02-01 Mark Salter <msalter@redhat.com>
15152
15153 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15154
151552003-01-31 Mark Salter <msalter@redhat.com>
15156
15157 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15158 Support empty arg.
15159
151602003-01-30 Michael Chastain <mec@shout.net>
15161
15162 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15163 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15164 has been fixed in gdb/readline on 2003-01-09.
15165
151662003-01-29 Michael Snyder <msnyder@redhat.com>
15167
15168 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15169 * gdb.base/display.exp: Allow for leading underscore in symbol.
15170 * gdb.base/args.exp: Skip if target does not support args passing.
15171
151722003-01-22 Daniel Jacobowitz <drow@mvista.com>
15173
15174 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
15175 gdb_test. Accept a list of expect arguments as the third
15176 parameter.
15177 (gdb_test): Use it.
15178
151792003-01-20 Elena Zannoni <ezannoni@redhat.com>
15180
15181 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15182 allow for different test tree configurations. Update some
15183 tescases accordingly.
15184 * gdb.arch/altivec-regs.exp: Ditto.
15185 * gdb.asm/asm-source.exp: Ditto.
15186 * gdb.base/advance.exp: Ditto.
15187 * gdb.base/display.exp: Ditto.
15188 * gdb.base/long_long.exp: Ditto.
15189 * gdb.base/mips_pro.exp: Ditto.
15190 * gdb.base/overlays.exp: Ditto.
15191 * gdb.base/relocate.exp: Ditto.
15192 * gdb.base/setshow.exp: Ditto.
15193 * gdb.base/step-line.exp: Ditto.
15194 * gdb.base/step-test.exp: Ditto.
15195 * gdb.base/until.exp: Ditto.
15196 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15197
151982003-01-17 David Carlton <carlton@math.stanford.edu>
15199
15200 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15201 corresponding to PR c++/945.
15202 Update copyright.
15203
152042003-01-17 David Carlton <carlton@math.stanford.edu>
15205
15206 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15207 corresponding to PR c++/68.
15208
152092003-01-17 David Carlton <carlton@math.stanford.edu>
15210
15211 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15212 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15213 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15214
152152003-01-15 Elena Zannoni <ezannoni@redhat.com>
15216
15217 * gdb.base/break.exp: Fix change of default location, because of
15218 removal of until tests.
15219 * gdb.base/help.exp: Update test for new 'until' help message.
15220 Add test for help on 'advance'.
15221 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
15222
152232003-01-15 Mark Kettenis <kettenis@gnu.org>
15224
15225 * gdb.base/default.exp: Adapt "info float" test for recent changes
15226 to that command. Add test for "info vector".
15227 * gdb.base/float.exp: New file. Add test for "info float" that
15228 resembles the old test in gdb.base/default.exp.
15229
152302003-01-15 David Carlton <carlton@math.stanford.edu>
15231
15232 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15233
152342003-01-15 Elena Zannoni <ezannoni@redhat.com>
15235
15236 * gdb.base/break.exp: Move the tests of until command from here...
15237 * gdb.base/until.exp: ... to here. New file. Add other tests.
15238 * gdb.base/advance.c: New file.
15239 * gdb.base/advance.exp: New file.
15240
152412003-01-14 Elena Zannoni <ezannoni@redhat.com>
15242
15243 * gdb.base/args.c: New file.
15244 * gdb.base/args.exp: New file.
15245
152462003-01-14 Daniel Jacobowitz <drow@mvista.com>
15247
15248 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15249
152502003-01-14 Daniel Jacobowitz <drow@mvista.com>
15251
15252 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15253
152542003-01-14 Daniel Jacobowitz <drow@mvista.com>
15255
15256 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15257 dates.
15258
152592003-01-13 Daniel Jacobowitz <drow@mvista.com>
15260
15261 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15262
152632003-01-13 Daniel Jacobowitz <drow@mvista.com>
15264
15265 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15266 (ptype &*"foo").
15267 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15268
152692003-01-13 Daniel Jacobowitz <drow@mvista.com>
15270
15271 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15272 * gdb.mi/mi1-console.exp: Likewise.
15273
152742003-01-13 Daniel Jacobowitz <drow@mvista.com>
15275
15276 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15277 * gdb.mi/mi1-console.exp: Likewise.
15278
152792003-01-13 Daniel Jacobowitz <drow@mvista.com>
15280
15281 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15282
152832003-01-09 Daniel Jacobowitz <drow@mvista.com>
15284
15285 * gdb.base/detach.exp: New test.
15286
152872003-01-09 Daniel Jacobowitz <drow@mvista.com>
15288
15289 * Makefile.in (ALL_SUBDIRS): New variable.
15290 (subdirs, clean, distclean): Use it.
15291 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15292 regenerating Makefile, since it is generated from the top level.
15293 * gdb.asm/Makefile.in: Likewise.
15294 * gdb.base/Makefile.in: Likewise.
15295 * gdb.c++/Makefile.in: Likewise.
15296 * gdb.disasm/Makefile.in: Likewise.
15297 * gdb.java/Makefile.in: Likewise.
15298 * gdb.mi/Makefile.in: Likewise.
15299 * gdb.threads/Makefile.in: Likewise.
15300 * gdb.trace/Makefile.in: Likewise.
15301
153022003-01-09 David Carlton <carlton@math.stanford.edu>
15303
15304 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15305 Add copyright year 2003.
15306
153072003-01-06 Michael Chastain <mec@shout.net>
15308
15309 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15310 When selecting a thread, 'line' and 'file' are optional.
15311 * gdb.mi/mi1-pthreads.exp: Likewise.
15312
153132003-01-06 Andreas Schwab <schwab@suse.de>
15314
15315 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15316 failures.
15317
153182003-01-04 Daniel Jacobowitz <drow@mvista.com>
15319
15320 Fix PR gdb/844
15321 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15322 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15323
15324 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15325 instead of calling gdb_suppress_entire_file.
15326 * gdb.threads/print-threads.exp: Likewise.
15327 * gdb.threads/schedlock.exp: Likewise.
15328
15329 * gdb.threads/killed.exp: Return instead of calling
15330 gdb_suppress_entire_file.
15331 * gdb.threads/linux-dp.exp: Likewise.
15332 * gdb.threads/pthreads.exp: Likewise.
15333
153342003-01-04 Daniel Jacobowitz <drow@mvista.com>
15335
15336 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15337 stabs.
15338 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15339 * gdb.base/whatis.exp: Always allow (void) after function names.
15340
153412003-01-04 Daniel Jacobowitz <drow@mvista.com>
15342
15343 * gdb.c++/casts.exp: Correct regexp.
15344
153452003-01-04 Mark Kettenis <kettenis@gnu.org>
15346
15347 * configure.in: Call AC_CONFIG_HEADER. Don't call
15348 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15349 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15350 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15351 aforementioned directories in the AC_OUPUT call.
15352 * config.hin: New file.
15353 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15354 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15355 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15356 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15357 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15358 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15359 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15360 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15361 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15362 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15363 gdb.threads/configure.in, gdb.threads/configure,
15364 gdb.threads/config.in, gdb.trace/configure.in,
15365 gdb.trace/configure: Removed.
15366
153672003-01-03 Michael Chastain <mec@shout.net>
15368
15369 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15370 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15371
153722003-01-03 Daniel Jacobowitz <drow@mvista.com>
15373
15374 * gdb.base/store.exp: Fix regular expressions.
15375
153762002-12-28 Mark Kettenis <kettenis@gnu.org>
15377
15378 * configure.in: Rewrite.
15379 * configure: Regenerated.
15380
153812003-01-03 David Carlton <carlton@math.stanford.edu>
15382
15383 * gdb.base/psymtab.exp: New file.
15384 * gdb.base/psymtab1.c: Ditto.
15385 * gdb.base/psymtab2.c: Ditto.
15386
153872002-12-23 Adam Fedor <fedor@gnu.org>
15388
15389 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15390
153912002-12-23 David Carlton <carlton@math.stanford.edu>
15392
15393 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15394 and current_directory initialization.
15395
153962002-12-22 Jim Blandy <jimb@redhat.com>
15397
15398 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15399 rather than as part of the output file name.
15400
15401 * gdb.base/attach.exp: There's no need to copy the test program to
15402 /tmp; that was only ever necessary on HP/UX, and this test is
15403 entirely disabled there anyway.
15404
154052002-12-21 Jim Blandy <jimb@redhat.com>
15406
15407 * gdb.c++/psmang.exp: Doc fix.
15408
15409 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15410 test.
15411
154122002-12-20 David Carlton <carlton@math.stanford.edu>
15413
15414 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15415
154162002-12-18 Michael Chastain <mec@shout.net>
15417
15418 * gdb.c++/annota2.exp: Add copyright year 2002.
15419
154202002-12-17 David Carlton <carlton@math.stanford.edu>
15421
15422 * gdb.c++/try_catch.cc: Add marker comments.
15423 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15424 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15425 * gdb.c++/m-static.cc: Ditto.
15426 * gdb.c++/m-static1.cc: Ditto.
15427 * gdb.c++/try_catch.cc: Ditto.
15428
154292002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15430
15431 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15432 to see whether we are using the new -environment-directory
15433 command which resets via -r or the old version of the command
15434 which may prompt the user. Part of fix for gdb/741.
15435
154362002-12-13 Andrew Cagney <ac131313@redhat.com>
15437
15438 * gdb.fortran/types.exp: Update obsolete comment.
15439 * gdb.fortran/exprs.exp: Ditto.
15440 * lib/gdb.exp: Delete obsolete code.
15441 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15442 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15443 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15444 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15445 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15446 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15447 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15448 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15449 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15450 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15451 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15452 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15453 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15454 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15455 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15456 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15457 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15458 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15459 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15460 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15461 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15462 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15463 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15464 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15465 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15466 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15467 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15468 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15469 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15470 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15471 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15472 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15473 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15474 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15475 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15476 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15477 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15478
154792002-12-11 David Carlton <carlton@math.stanford.edu>
15480
15481 * gdb.c++/m-data.exp: Add test for members that shadow global
15482 variables: see PR gdb/804.
15483 * gdb.c++/m-data.cc: Ditto.
15484
154852002-12-10 Daniel Jacobowitz <drow@mvista.com>
15486
15487 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15488
154892002-12-06 David Carlton <carlton@math.stanford.edu>
15490
15491 * gdb.base/store.c: Don't declare functions static.
15492
154932002-12-04 Andrew Cagney <ac131313@redhat.com>
15494
15495 * gdb.base/store.exp, gdb.base/store.c: New files.
15496
154972002-12-03 Daniel Jacobowitz <drow@mvista.com>
15498
15499 * gdb.base/selftest.exp: Update for current gdb.
15500
155012002-12-03 Daniel Jacobowitz <drow@mvista.com>
15502
15503 * gdb.base/maint.exp: Only dump symbols from one source file
15504 or objfile.
15505
155062002-12-03 Daniel Jacobowitz <drow@mvista.com>
15507
15508 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15509 function call.
15510
155112002-11-25 Jim Blandy <jimb@redhat.com>
15512
15513 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15514 function appearing in error message.
15515
155162002-11-21 Daniel Jacobowitz <drow@mvista.com>
15517
15518 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15519
155202002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15521
15522 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15523 for mi1 and current mi is in correct format. New mi startup message
15524 should be in mi console format. This is part of fix for PR gdb/604.
15525
155262002-09-18 Fernando Nasser <fnasser@redhat.com>
15527
15528 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15529 which explicitly prints the zero offset as "+0".
15530
155312002-10-22 Daniel Jacobowitz <drow@mvista.com>
15532
15533 * gdb.threads/schedlock.c (args): Make unsigned.
15534
155352002-10-21 Daniel Jacobowitz <drow@mvista.com>
15536
15537 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15538 numbers. Allow "foo2|selected stack frame".
15539 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15540 * gdb.asm/asmsrc2.s: Likewise.
15541 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15542 comments.
15543 * gdb.asm/mips.inc: New file.
15544
155452002-10-18 Adam Fedor <fedor@gnu.org>
15546
15547 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15548 * gdb.base/help.exp: Likewise.
15549
155502002-10-17 Kevin Buettner <kevinb@redhat.com>
15551
15552 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15553 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15554
155552002-10-02 Jim Blandy <jimb@redhat.com>
15556
15557 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15558
155592002-10-01 Andrew Cagney <ac131313@redhat.com>
15560
15561 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15562 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15563 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15564 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15565 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15566 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15567 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15568
155692002-09-29 Andrew Cagney <ac131313@redhat.com>
15570
15571 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15572 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15573 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15574 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15575 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15576 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15577 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
15578
155792002-09-27 Kevin Buettner <kevinb@redhat.com>
15580
15581 * gdb.base/annota1.exp (info break): Make directory components of
15582 path optional since not all compilers emit this debug information.
15583
15584 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15585 step ends up stepping out of the function instead of stopping on
15586 the epilogue.
15587
155882002-09-26 Keith Seitz <keiths@redhat.com>
15589
15590 * lib/insight-support.exp (gdbtk_start): Figure out where
15591 the insight executable is based on where gdb is. Use this
15592 executable to start insight instead of gdb.
15593
155942002-09-25 Andrew Cagney <cagney@redhat.com>
15595
15596 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15597
155982002-09-24 Andrew Cagney <ac131313@redhat.com>
15599
15600 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15601 test_isolated_complaints.
15602 (test_empty_complaint): New function.
15603 (test_empty_complaints): New function. Check no output when no
15604 complaints.
15605
156062002-09-19 Jim Blandy <jimb@redhat.com>
15607
15608 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15609
156102002-09-19 Andrew Cagney <ac131313@redhat.com>
15611
15612 * gdb.gdb/complaints.exp: New file.
15613
156142002-09-18 Andrew Cagney <ac131313@redhat.com>
15615
15616 * gdb.base/maint.exp: Check `help maint internal-warning'.
15617
156182002-09-18 David Carlton <carlton@math.stanford.edu>
15619
15620 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15621 numbers, and replace them by a single breakpoint after the
15622 constructors are all finished.
15623 Add test 4.
15624 * gdb.c++/m-static.cc: Add test 4.
15625 * gdb.c++/m-static.h: New file.
15626 * gdb.c++/m-static1.cc: New file.
15627
15628 * gdb.c++/printmethod.exp: New file.
15629 * gdb.c++/printmethod.cc: New file.
15630
15631 * gdb.c++/pr-574.exp: New file.
15632 * gdb.c++/pr-574.cc: New file.
15633
156342002-09-18 Corinna Vinschen <vinschen@redhat.com>
15635
15636 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15637 embedded targets which never actually exit.
15638
156392002-09-18 Fernando Nasser <fnasser@redhat.com>
15640
15641 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15642 "don't step after run" as unresolved or unsupported, instead of xfail.
15643
156442002-09-18 Corinna Vinschen <vinschen@redhat.com>
15645
15646 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15647 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15648 Add newline to expected string in "step out of main (status wrapper)"
15649 case.
15650
156512002-09-18 Corinna Vinschen <vinschen@redhat.com>
15652
15653 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15654 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15655
156562002-09-17 Tom Tromey <tromey@redhat.com>
15657
15658 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15659 \000, not \0, in double-quoted string.
15660
156612002-09-14 Corinna Vinschen <vinschen@redhat.com>
15662
15663 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15664 string after running the commands execution on breakpoint tests.
15665
156662002-09-13 Corinna Vinschen <vinschen@redhat.com>
15667
15668 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15669
156702002-09-12 Joel Brobecker <brobecker@gnat.com>
15671
15672 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15673
156742002-09-10 Keith Seitz <keiths@redhat.com>
15675
15676 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15677 runto proc.
15678 (mi_run_to_main): Use mi_runto.
15679 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15680
156812002-09-10 Keith Seitz <keiths@redhat.com>
15682
15683 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15684 regexp for stopping at main. Could have multiple event notifications.
15685 Don't assume that main was declared with no parameters.
15686 (mi_next): Use mi_step_to.
15687 (mi_step): Use mi_next_to.
15688
156892002-09-09 Corinna Vinschen <vinschen@redhat.com>
15690
15691 * gdb.base/default.exp: Fix expected string in `info float' test.
15692
156932002-09-09 Ben Elliston <bje@redhat.com>
15694
15695 * config/mips.exp: Update comments.
15696 * config/mips-idt.exp: Likewise.
15697 * config/nind.exp: Likewise.
15698 * config/slite.exp: Likewise.
15699 * config/sparclet.exp: Likewise.
15700 * config/udi.exp: Likewise.
15701 * config/vx.exp: Likewise.
15702 * config/vxworks29k.exp: Likewise.
15703
157042002-09-05 Jim Blandy <jimb@redhat.com>
15705
15706 * gdb.threads/killed.exp: Fix test failure message.
15707
157082002-09-04 Keith Seitz <keiths@redhat.com>
15709
15710 * lib/mi-support.exp: Update copyright.
15711 (mi_gdb_test): Increase the priority of the expected pattern
15712 so that it matches gdb_test.
15713
157142002-09-03 Keith Seitz <keiths@redhat.com>
15715
15716 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15717 Use integer comparison instead of string comparison for testing
15718 whether binary was built.
15719
157202002-09-03 Jim Blandy <jimb@redhat.com>
15721
15722 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15723
157242002-08-29 Jim Blandy <jimb@redhat.com>
15725
15726 * gdb.threads/pthreads.exp: Move the portable thread compilation
15727 code into a function in lib/gdb.exp, and call that from here.
15728 * lib/gdb.exp (gdb_compile_pthreads): New function.
15729
157302002-08-29 Keith Seitz <keiths@redhat.com>
15731
15732 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15733 expect_out so that callers can get at it.
15734
157352002-08-23 Daniel Jacobowitz <drow@mvista.com>
15736
15737 * gdb.threads/print-threads.c: New file.
15738 * gdb.threads/print-threads.exp: New file.
15739 * gdb.threads/schedlock.c: New file.
15740 * gdb.threads/schedlock.exp: New file.
15741
157422002-08-22 Elena Zannoni <ezannoni@redhat.com>
15743
15744 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15745 not altivec.c.
15746
157472002-08-17 Mark Kettenis <kettenis@gnu.org>
15748
15749 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15750 targets. The problem should be fixed now.
15751
157522002-08-15 Mark Kettenis <kettenis@gnu.org>
15753
15754 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15755 2002-07-24 change that removes final dots from error messages.
15756
157572002-08-13 Tom Tromey <tromey@redhat.com>
15758
15759 * gdb.base/readline.exp: New file.
15760
157612002-08-01 Andrew Cagney <ac131313@redhat.com>
15762
15763 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15764 supress message.
15765
157662002-08-01 Andrew Cagney <cagney@redhat.com>
15767
15768 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15769 CHILL_FOR_TARGET and CHILL_LIB.
15770 * configure.in (configdirs): Remove gdb.chill.
15771 * configure: Regenerate.
15772 * lib/gdb.exp: Obsolete references to chill.
15773 * gdb.fortran/types.exp: Ditto.
15774 * gdb.fortran/exprs.exp: Ditto.
15775
157762002-07-30 Kevin Buettner <kevinb@redhat.com>
15777
15778 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15779 set Irix-specific compile and link flags.
15780
157812002-07-29 Kevin Buettner <kevinb@redhat.com>
15782
15783 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15784 source files. The ``-o'' option doesn't work with the ``-E'' option
15785 when using the Irix compiler.
15786
157872002-07-19 Daniel Jacobowitz <drow@mvista.com>
15788
15789 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15790 Improve support for reusing an exec file. Copy exec file
15791 to target, and run gdbserver on the target instead of on the host.
15792
157932002-07-18 Jim Blandy <jimb@redhat.com>
15794
15795 * gdb.base/ending-run.exp: Don't expect to see the program end in
15796 some orderly fashion when we're running on a real stand-alone
15797 board.
15798
15799 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15800 targets that don't support interrupts.
15801
158022002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15803
15804 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15805 systems.
15806 Move comments in expect statements to inside the actions, so that they
15807 don't get matched against.
15808
158092002-07-10 Mark Kettenis <kettenis@gnu.org>
15810
15811 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15812 function when asleep" test.
15813
158142002-07-10 Andrew Cagney <ac131313@redhat.com>
15815
15816 * gdb.base/page.exp: Rewrite to handle problems with very long
15817 `info set' output. Update copyright.
15818
158192002-06-26 Andrew Cagney <ac131313@redhat.com>
15820
15821 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15822 gdb.threads-hp.
15823 * gdb.hp/configure: Regenerate.
15824 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15825 * gdb.hp/gdb.threads-hp/configure: Delete file.
15826 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15827
158282002-06-22 Andrew Cagney <ac131313@redhat.com>
15829
15830 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15831 setlocale, bindtextdomain and textdomain.
15832
158332002-06-11 Jim Blandy <jimb@redhat.com>
15834
15835 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15836 preprocessor macro information is present.
15837
15838 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15839 tests.
15840
158412002-06-06 Michael Snyder <msnyder@redhat.com>
15842
15843 * gdb.base/overlays.exp: Record addresses of overlay
15844 functions in TCL variables rather than in GDB variables,
15845 to avoid having GDB convert them to pointers (with loss
15846 of information).
15847
15848 * gdb.base/d10v.ld: Merge in several years worth of
15849 default linker script changes.
15850 * gdb.base/long_long.exp: Add check for sizeof (long double).
15851
158522002-06-06 Michal Ludvig <mludvig@suse.cz>
15853
15854 * gdb.asm/asm-source.exp: Add x86-64 target.
15855 * gdb.asm/x86_64.inc: New.
15856
158572002-05-30 Michael Chastain <mec@shout.net>
15858
15859 From Benjamin Kosnik <bkoz@redhat.com>:
15860 * gdb.c++/m-static.cc: New file.
15861 * gdb.c++/m-static.exp: New file.
15862
158632002-05-28 Michael Snyder <msnyder@redhat.com>
15864
15865 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15866 precision.
15867
158682002-05-27 Michael Chastain <mec@shout.net>
15869
15870 From Benjamin Kosnik <bkoz@redhat.com>:
15871 * gdb.c++/m-data.cc: New file.
15872 * gdb.c++/m-data.exp: New file.
15873
158742002-05-27 Michael Chastain <mec@shout.net>
15875
15876 From Benjamin Kosnik <bkoz@redhat.com>:
15877 * gdb.c++/try_catch.cc: New file.
15878 * gdb.c++/try_catch.exp: New file.
15879
158802002-05-27 Michael Chastain <mec@shout.net>
15881
15882 * gdb.c++/local.exp: Accept more nested types in output.
15883
158842002-05-26 Michael Chastain <mec@shout.net>
15885
15886 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15887
158882002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15889
15890 * lib/gdb.exp (gdb_wrapper_init): Just because
15891 gdb_wrapper_file exists, this does not mean that the file
15892 should not be rebuilt. That is what gdb_wrapper_initialized
15893 is for.
15894 (default_gdb_init): Reset gdb_wrapper_initialized.
15895
158962002-05-23 Michael Snyder <msnyder@redhat.com>
15897
15898 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15899 the precision of the floating point test results.
15900 * gdb.base/call-rt-st.exp: Ditto.
15901
15902 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15903 * gdb.base/call-rt-st.exp: Ditto.
15904
159052002-05-19 Michael Chastain <mec@shout.net>
15906
15907 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15908
159092002-05-19 Elena Zannoni <ezannoni@redhat.com>
15910
15911 * configure.in (configdirs): Add gdb.arch.
15912 * configure: Regenerate.
15913
159142002-05-17 Jim Blandy <jimb@redhat.com>
15915
15916 * gdb.base/completion.exp: Recognize the more detailed error
15917 messages produced by the macro expander's lexical analyzer.
15918
159192002-05-14 Elena Zannoni <ezannoni@redhat.com>
15920
15921 * gdb.arch/altivec-abi.c: New file.
15922 * gdb.arch/altivec-abi.exp: New file.
15923 * gdb.arch/altivec-regs.c: New file.
15924 * gdb.arch/altivec-regs.exp: New file.
15925
159262002-05-14 Daniel Jacobowitz <drow@mvista.com>
15927
15928 * gdb.base/maint.exp (maint print type): Update for new type
15929 structure.
15930
159312002-05-14 Elena Zannoni <ezannoni@redhat.com>
15932
15933 * gdb.arch: New directory.
15934 * gdb.arch/configure.in: New file.
15935 * gdb.arch/configure: New file.
15936 * gdb.arch/Makefile.in: New file.
15937
159382002-05-13 Corinna Vinschen <vinschen@redhat.com>
15939
15940 * gdb.asm/asm-source.exp: Add v850 as supported target.
15941 * gdb.asm/v850.inc: New file.
15942
159432002-05-13 Daniel Jacobowitz <drow@mvista.com>
15944
15945 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15946
159472002-05-12 Daniel Jacobowitz <drow@mvista.com>
15948
15949 * gdb.base/break.exp: Check 'break "marker2"'.
15950
159512002-05-10 Michael Snyder <msnyder@redhat.com>
15952
15953 * gdb.base/long_long.exp: Fix typo.
15954
159552002-05-10 Jim Blandy <jimb@redhat.com>
15956
15957 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15958 a bug.
15959
15960 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15961 Recognize more detailed error message produced by the macro
15962 expander's lexical analyzer.
15963 * lib/gdb.exp (test_print_reject): Same.
15964
159652002-05-09 Mark Kettenis <kettenis@gnu.org>
15966
15967 * gdb.c++/method.exp: Fix typo.
15968
159692002-05-08 Michael Snyder <msnyder@redhat.com>
15970
15971 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15972 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15973 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15974 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15975 Add iftarget clause for strongarm.
15976
159772002-05-06 Michael Snyder <msnyder@redhat.com>
15978
15979 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15980 (gdb_continue_to_end): Accept output from status wrapper.
15981 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15982 Clean up fail messages to match pass messages.
15983
15984 Enable the "needs_status_wrapper" testsuite feature.
15985 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15986 (gdb_compile): Conditionally call gdb_wrapper_init.
15987 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15988 * gdb.c++/method.exp: Recognize output from status wrapper.
15989
159902002-05-06 Ben Elliston <bje@redhat.com>
15991From Graydon Hoare <graydon@redhat.com>
15992
15993 * config/sid.exp: Include support for "rawsid" protocol.
15994
159952002-05-03 Jim Blandy <jimb@redhat.com>
15996
15997 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15998 * gdb.c++/hang3.C: New file.
15999
160002002-05-04 Andrew Cagney <ac131313@redhat.com>
16001
16002 * gdb.base/default.exp: Remove obsolete code.
16003 * gdb.c++/misc.exp: Ditto. Update copyright.
16004 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16005 * gdb.base/whatis.exp: Ditto. Update copyright.
16006 * gdb.base/scope.exp: Ditto. Update copyright.
16007 * gdb.base/ptype.exp: Ditto. Update copyright.
16008 * gdb.base/printcmds.exp: Ditto. Update copyright.
16009 * gdb.base/opaque.exp: Ditto. Update copyright.
16010 * gdb.base/list.exp: Ditto.
16011 * gdb.base/funcargs.exp: Ditto. Update copyright.
16012 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16013 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16014 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16015 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16016 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16017 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16018
160192002-05-02 Michael Snyder <msnyder@redhat.com>
16020
16021 * gdb.base/watchpoint.exp: Add xscale target.
16022 * gdb.base/long_long.exp: Add xscale target.
16023 * gdb.base/default.exp: Add xscale target.
16024
160252002-05-01 Jim Blandy <jimb@redhat.com>
16026
16027 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16028 gdb.c++/hang.exp: New test.
16029
160302002-05-01 Fred Fish <fnf@redhat.com>
16031
16032 * gdb.base/completion.exp: Handle completions of "./Make" for
16033 more than one completion possibility, as is the case when we
16034 build and test in the source tree.
16035
160362002-04-29 Anthony Green <green@redhat.com>
16037
16038 * gdb.java/jmisc1.exp: New file.
16039 * gdb.java/jmisc2.exp: New file.
16040
160412002-04-24 Daniel Jacobowitz <drow@mvista.com>
16042
16043 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16044
160452002-04-23 Elena Zannoni <ezannoni@redhat.com>
16046
16047 * gdb.base/help.exp: Change 'help status' to allow for target
16048 dependent output differences.
16049
160502002-04-22 Michael Chastain <mec@shout.net>
16051
16052 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16053
160542002-04-22 Michael Chastain <mec@shout.net>
16055
16056 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16057
160582002-04-17 David S. Miller <davem@redhat.com>
16059
16060 * gdb.asm/sparc64.inc: New file.
16061 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16062
160632002-04-19 Elena Zannoni <ezannoni@redhat.com>
16064
16065 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16066 instruction file directly into the build tree. Clean up at end of
16067 test.
16068
160692002-04-18 David S. Miller <davem@redhat.com>
16070
16071 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16072 handle 64-bit platforms correctly.
16073 * gdb.base/maint.exp: Likewise.
16074
160752002-04-18 Kevin Buettner <kevinb@redhat.com>
16076
16077 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16078 ``-fpic'' when compiling files comprising a shared library, but
16079 it does need additional linker flags in order to find shared
16080 libraries at run time.
16081
160822002-04-18 Kevin Buettner <kevinb@redhat.com>
16083
16084 * gdb.base/cvexpr.c (use): New function.
16085 (main): Invoke use() on all global variables to prevent
16086 some linkers from deleting these otherwise unused symbols.
16087
160882002-04-17 Michael Chastain <mec@shout.net>
16089From David S. Miller <davem@redhat.com>
16090
16091 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16092 handle 64-bit platforms correctly.
16093
160942002-04-12 Michael Snyder <msnyder@redhat.com>
16095From Jim Blandy <jimb@redhat.com>
16096 * gdb.base/foo.c (foox): Remove section attribute; the linker
16097 script can handle this instead.
16098 * gdb.base/bar.c (barx): Same.
16099 * gdb.base/baz.c (bazx): Same.
16100 * gdb.base/grbx.c (grbxx): Same.
16101
16102 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16103 manager doesn't automatically unmap overlays unnecessarily.
16104
161052002-04-10 Martin M. Hunt <hunt@redhat.com>
16106
16107 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16108 stepping out of main.
16109
161102002-04-09 Michael Chastain <mec@shout.net>
16111
16112 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16113 scope so that the nested scope tests will make sense.
16114 * gdb.c++/local.exp: Write patterns that actually work with gcc
16115 (the HP patterns "were never known to work with gcc").
16116 Keep the old aCC patterns too.
16117
161182002-04-09 Daniel Jacobowitz <drow@mvista.com>
16119
16120 * gdb.base/attach.exp: Correct target board test.
16121
161222002-04-08 Michael Chastain <mec@shout.net>
16123
16124 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16125 in a const method. Add some xfail and fail cases for configurations
16126 that do not emit the "const ...".
16127
161282002-04-07 Michael Chastain <mec@shout.net>
16129
16130 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16131 Accept "A * const" and "const A * const" as type of "this".
16132 Fix spelling of getFunky throughout. Make messages uniform.
16133
161342002-04-07 Elena Zannoni <ezannoni@redhat.com>
16135
16136 Work around for PR gdb/285:
16137 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16138
161392002-04-07 Elena Zannoni <ezannoni@redhat.com>
16140
16141 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16142 instructions file at run time instead of configure time.
16143 Sometimes we run the test in a directory that is not the one we
16144 configured in.
16145 * gdb.asm/configure.in: Delete creation of symlink.
16146 * gdb.asm/configure: Regenerate.
16147
161482002-04-05 J. Brobecker <brobecker@gnat.com>
16149
16150 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16151 xfullpath () function.
16152
161532002-04-04 Daniel Jacobowitz <drow@mvista.com>
16154
16155 * gdb.asm/Makefile.in: Correct dependencies.
16156
16157 * gdb.asm/powerpc.inc: New file.
16158 * gdb.asm/asm-source.exp: Add PowerPC.
16159 * gdb.asm/configure.in: Likewise.
16160 * gdb.asm/configure: Regenerated.
16161
161622002-04-04 Daniel Jacobowitz <drow@mvista.com>
16163
16164 * gdb.base/relocate.exp: New file.
16165 * gdb.base/relocate.c: New file.
16166
161672002-04-04 Fred Fish <fnf@redhat.com>
16168
16169 * gdb.base/step-test.exp: Update comment regarding stopping in
16170 memcpy/bcopy calls inserted as part of the compiler runtime.
16171
161722002-04-04 Michael Snyder <msnyder@redhat.com>
16173
16174 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16175
161762002-04-03 Daniel Jacobowitz <drow@mvista.com>
16177
16178 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16179 (gdb_expect): Remove $notransfer hack.
16180
161812002-04-02 Daniel Jacobowitz <drow@mvista.com>
16182
16183 * gdb.c++/classes.exp ("calling method for small class"): Match
16184 updated register output.
16185
161862002-03-30 Daniel Jacobowitz <drow@mvista.com>
16187
16188 Fix PR gdb/452
16189 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16190 when finished. Make gdb_file_cmd send "exec-file" when
16191 appropriate.
16192
161932002-03-30 Daniel Jacobowitz <drow@mvista.com>
16194
16195 * gdb.base/attach.exp: Remove extra setup_xfail.
16196
161972002-03-26 Michael Snyder <msnyder@redhat.com>
16198
16199 * gdb.base/default.exp: Add tests for dump, append, and restore.
16200 * gdb.base/help.exp: Add tests for dump, append, and restore.
16201 * gdb.base/dump.exp: New file, test dump, append and restore.
16202 * gdb.base/dump.c: New file.
16203
162042002-03-27 Michael Snyder <msnyder@redhat.com>
16205
16206 * gdb.base/help.exp: Modify expect strings to reflect
16207 clean-ups in help messages.
16208
162092002-03-26 Fred Fish <fnf@redhat.com>
16210
16211 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16212 have debugging info for those functions and the compiler uses them
16213 internally to copy structs around.
16214
162152002-03-26 Fred Fish <fnf@redhat.com>
16216
16217 * gdb.base/list.exp: Revert the change made yesterday and add note
16218 about why we don't list the default lines for remote targets.
16219
162202002-03-25 Michael Snyder <msnyder@redhat.com>
16221
16222 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16223
162242002-03-25 Fred Fish <fnf@redhat.com>
16225
16226 * gdb.base/list.exp: This test works on remote targets so remove
16227 the short circuit for remote targets. Update copyright.
16228
162292002-03-25 Fred Fish <fnf@redhat.com>
16230
16231 * gdb.base/attach.exp: Fix logic error that was suppressing this
16232 test for all non hppa*-*-hpux* targets, instead of the hp target.
16233 Move comments closer to the suppression point. Also now need to
16234 check that we are running natively.
16235
162362002-03-22 Michael Snyder <msnyder@redhat.com>
16237
16238 * gdb.base/default.exp: Add test for gcore. Update copyright.
16239 * gdb.base/help.exp: Add test for gcore. Update copyright.
16240
162412002-03-06 Fred Fish <fnf@redhat.com>
16242
16243 * gdb.base/funcargs.c: Remove extraneous ';' character.
16244 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16245
162462002-03-04 Michael Chastain <mec@shout.net>
16247
16248 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16249 accommodate gcc v3 function signature.
16250 * gdb.mi/mi0-var-cmd-exp: Ditto.
16251
162522002-02-24 Andrew Cagney <ac131313@redhat.com>
16253
16254 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16255 ``GNU/Linux'' or ``Linux kernel''
16256 * testsuite/gdb.threads/pthreads.c: Ditto.
16257
162582002-02-24 Michael Chastain <mec@shout.net>
16259
16260 * gdb.threads/pthreads.c (thread1): Add a return statement.
16261 (thread2): Likewise.
16262 (foo): Likewise.
16263
162642002-02-23 Michael Chastain <mec@shout.net>
16265
16266 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16267 to placate gcc.
16268
162692002-02-23 Michael Chastain <mec@shout.net>
16270
16271 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16272 test "ptype bint". The test passes on all my stabs configurations.
16273
162742002-02-21 Jim Blandy <jimb@redhat.com>
16275
16276 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16277 filename at a time, and watch for the ones we want to see.
16278
16279 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16280 types of pointers to prototyped functions.
16281
162822002-02-20 Andrew Cagney <ac131313@redhat.com>
16283
16284 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16285 signed, unsigned and straight char.
16286 (padding_char, padding_short, padding_int, padding_long,
16287 padding_long_long, padding_float, padding_double,
16288 padding_long_double): New global variables.
16289 (fill, fill_structs): New functions.
16290
16291 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16292 for correctly sized writes. Update copyright.
16293 (get_valueof): New procedure.
16294 (get_sizeof): Call get_valueof.
16295 (check_valueof): New procedure.
16296 (check_padding): New procedure.
16297
162982002-02-20 Michael Chastain <mec@shout.net>
16299
16300 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16301 to setup_xfail. Document some of the remaining calls.
16302
163032002-02-18 Michael Chastain <mec@shout.net>
16304
16305 * gdb.c++/userdef.exp: Update copyright year.
16306
163072002-02-18 Daniel Jacobowitz <drow@mvista.com>
16308
16309 * gdb.c++/userdef.exp: Test overloaded operators properly.
16310 Remove xfails.
16311
163122002-02-14 Michael Snyder <msnyder@redhat.com>
16313
16314 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16315
163162002-02-14 Daniel Jacobowitz <drow@mvista.com>
16317
16318 * gdb.base/a2-run.exp: Check for a remote target properly.
16319 * gdb.base/annota1.exp: Likewise.
16320 * gdb.base/list.exp: Likewise.
16321 * gdb.base/reread.exp: Likewise.
16322 * gdb.base/scope.exp: Likewise.
16323 * gdb.base/shlib-call.exp: Likewise.
16324 * gdb.base/term.exp: Likewise.
16325 * gdb.c++/annota2.exp: Likewise.
16326
163272002-02-13 Richard Earnshaw <rearnsha@arm.com>
16328
16329 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16330
163312002-02-10 Michael Chastain <mec@shout.net>
16332
16333 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16334 (call_after_alloca): Ditto.
16335
163362002-02-10 Daniel Jacobowitz <drow@mvista.com>
16337
16338 * gdb.base/ending-run.exp: Guard "cont" test with
16339 gdb_skip_stdio_test.
16340
163412002-02-06 Jim Blandy <jimb@redhat.com>
16342
16343 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16344 from here...
16345 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16346 To here. Disable this test on non-HP platforms. Add big comment.
16347
163482002-02-04 Michael Snyder <msnyder@redhat.com>
16349
16350 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16351 other than d10v and m32r.
16352
163532002-02-02 Richard Earnshaw <rearnsha@arm.com>
16354
16355 * gdb.base/default.exp: Rewrite test patterns to reduce time
16356 taken to match them.
16357
163582002-01-30 Daniel Jacobowitz <drow@mvista.com>
16359
16360 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16361 Allow a start function above main.
16362 * gdb.threads/linux-dp.exp: Fix copyright date.
16363
163642002-01-30 Daniel Jacobowitz <drow@mvista.com>
16365
16366 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16367 (check_philosopher_stack): Check for manager thread before checking
16368 for a just-starting thread.
16369
163702002-01-30 Daniel Jacobowitz <drow@mvista.com>
16371
16372 From Neil Booth <neil@daikokuya.demon.co.uk>:
16373 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16374 warnings.
16375
163762002-01-21 Fred Fish <fnf@redhat.com>
16377
16378 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16379 not caller.
16380
163812002-01-21 Jim Blandy <jimb@redhat.com>
16382
16383 * gdb.base/reread.exp: Check that GDB properly re-reads the
16384 executable file when it changes while no inferior is running.
16385
163862002-01-21 Fred Fish <fnf@redhat.com>
16387
16388 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16389 optionally accept the "shlib events" variation.
16390
163912002-01-21 Jim Blandy <jimb@redhat.com>
16392
16393 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16394 call `fflush' after every `printf', so that the output is produced
16395 at predictable points, regardless of whatever buffering does (or
16396 doesn't) take place.
16397 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16398 at different points.
16399
164002002-01-20 Daniel Jacobowitz <drow@mvista.com>
16401
16402 * gdb.c++/inherit.exp: Update copyright years.
16403 * gdb.c++/method.exp: Likewise.
16404
164052002-01-20 Daniel Jacobowitz <drow@mvista.com>
16406
16407 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16408 artificial methods/arguments.
16409 * gdb.c++/derivation.exp: Likewise.
16410 * gdb.c++/inherit.exp: Likewise.
16411 * gdb.c++/method.exp: Likewise.
16412 * gdb.c++/virtfunc.exp: Likewise.
16413
164142002-01-18 Andrew Cagney <ac131313@redhat.com>
16415
16416 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16417 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16418 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16419 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16420 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16421 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16422
164232002-01-17 Jim Blandy <jimb@redhat.com>
16424
16425 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16426 anchoring the pattern matching the entry point symbol's name.
16427
164282002-01-17 Andrew Cagney <ac131313@redhat.com>
16429
16430 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16431 continue/quit query. Update copyright.
16432
164332002-01-14 Michael Snyder <msnyder@redhat.com>
16434
16435 * gdb.base/gcore.exp: Remove extra debugging output.
16436
164372002-01-13 Daniel Jacobowitz <drow@mvista.com>
16438
16439 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16440 for slightly dubious v2 mangled string.
16441
164422002-01-13 Daniel Jacobowitz <drow@mvista.com>
16443
16444 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16445
164462002-01-10 Jason Merrill <jason@redhat.com>
16447
16448 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
16449
16450 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16451 constructors.
16452 * gdb.c++/derivation.exp: Likewise.
16453 * gdb.c++/templates.exp: Likewise.
16454 * gdb.c++/virtfunc.exp: Likewise.
16455
164562002-01-10 Michael Snyder <msnyder@redhat.com>
16457
16458 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
16459
164602002-01-08 Michael Snyder <msnyder@redhat.com>
16461
16462 * gdb.base/gcore.exp: New test for generate-core-file command.
16463 * gdb.base/gcore.c: Testcase for above.
16464 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16465
164662002-01-08 Jason Merrill <jason@redhat.com>
16467
16468 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16469
164702002-01-07 Fred Fish <fnf@redhat.com>
16471
16472 * gdb.c++/overload.exp: Remove unconditional xfails for:
16473 print foo_instance1.overloadargs(1)
16474 print foo_instance1.overloadargs(1, 2)
16475 print foo_instance1.overloadargs(1, 2, 3)
16476 print foo_instance1.overloadargs(1, 2, 3, 4)
16477 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16478 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16479 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16480 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16481 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16482 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16483 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16484 print foo_instance1.overload1arg()
16485 print foo_instance1.overload1arg((char)arg2)
16486 print foo_instance1.overload1arg((signed char)arg3)
16487 print foo_instance1.overload1arg((unsigned char)arg4)
16488 print foo_instance1.overload1arg((int)arg7)
16489 print foo_instance1.overload1arg((unsigned int)arg8)
16490 print foo_instance1.overload1arg((float)arg11)
16491 print foo_instance1.overload1arg((double)arg12)
16492
164932002-01-07 Michael Snyder <msnyder@redhat.com>
16494
16495 * gdb.base/huge.exp: New test. Print a very large target data object.
16496 (skip_huge_test): New test variable. Define if you want to skip this
16497 test. The test reads an 8 megabyte data object from the target, so it
16498 might be very time consuming on remote targets with a slow connection.
16499 * gdb.base/huge.c: New file. Test case for above.
16500
165012002-01-07 Fred Fish <fnf@redhat.com>
16502
16503 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16504 g_instance.bfoo, and g_instance.cfoo.
16505
165062002-01-07 Jeffrey A Law <law@redhat.com>
16507
16508 * gdb.base/break.c (multi_line_if_conditional): New function.
16509 (multi_ilne_while_conditional): Likewise.
16510 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16511 IF or WHILE condition puts the breakpoint at the start of
16512 the condition.
16513
16514 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16515 hppa*-*-hpux* expected failure.
16516 * gdb.base/structs.exp (do_function_calls): Similarly.
16517
16518 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16519 watchpoints.
16520
165212002-01-06 Andrew Cagney <ac131313@redhat.com>
16522
16523 Fix PR gdb/66.
16524 * gdb.base/structs.exp: Replace skip for a29k with skip for
16525 gdb,cannot_call_functions.
16526 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16527 * gdb.base/callfuncs.exp: Ditto.
16528 * gdb.base/call-rt-st.exp: Ditto.
16529 * gdb.base/call-strs.exp: Ditto.
16530 * gdb.base/callfwmall.exp: Ditto.
16531 * gdb.base/scope.exp: Obsolete xfail a29k.
16532 * gdb.c++/misc.exp: Ditto.
16533 * gdb.c++/cplusfuncs.exp: Ditto.
16534 * gdb.base/ptype.exp: Ditto.
16535 * gdb.base/printcmds.exp: Ditto.
16536 * gdb.base/opaque.exp: Ditto.
16537 * gdb.base/list.exp: Ditto.
16538 * gdb.base/funcargs.exp: Ditto.
16539 * gdb.base/default.exp: Ditto.
16540
165412002-01-04 Michael Snyder <msnyder@redhat.com>
16542
16543 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
16544 * gdb.base/maint.exp: Add tests for maint info sections options.
16545
16546Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16547
16548 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16549
165502001-12-20 Corinna Vinschen <vinschen@redhat.com>
16551
16552 * gdb.asm/arm.inc: New file.
16553 * gdb.asm/asm-source.exp: Add arm targets.
16554 * gdb.asm/configure.in: Ditto.
16555 * gdb.asm/configure: Recreated from configure.in.
16556
16557Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16558
16559 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16560 with HP's compiler.
16561 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16562 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16563 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16564 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16565
16566 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16567 either HP's compilers or GCC.
16568
16569 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16570 a SIGBUS or SIGSEGV.
16571
16572 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16573
16574 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16575 can be compiled with either HP's compiler or GCC.
16576
16577 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16578 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16579 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16580
16581 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16582 to match current gdb output. Update due to using auto-solib-limit
16583 for limiting instead of overloading auto-solib-add.
16584 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16585 test program.
16586
16587 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
16588 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16589 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16590 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16591 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16592 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16593 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16594 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16595 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16596 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16597 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16598 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16599 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16600
16601 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16602 a SIGTRAP to the inferior.
16603
166042001-12-19 Corinna Vinschen <vinschen@redhat.com>
16605
16606 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16607 Substitute call to target_link by call to gdb_compile.
16608
16609Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16610
16611 * gdb.base/break.exp: Fix HP specific search string when testing
16612 backtracing in a called function.
16613
16614 * gdb.base/constvars.exp: Only set lang to C++ if we're
16615 compiling the test with HP's compilers.
16616 * gdb.base/volatile.exp: Similarly.
16617
166182001-12-19 Jim Blandy <jimb@redhat.com>
16619
16620 * gdb.base/printcmds.exp: Expect the null character to be printed
16621 as '\0', and the '\013' to be printed as '\v'.
16622 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16623 * gdb.base/setvar.exp: Same.
16624
166252001-12-17 Jim Blandy <jimb@redhat.com>
16626
16627 * gdb.base/completion.exp: Rather than completing very long
16628 filenames, which can make the readline library produce output we
16629 don't recognize, cd to the directory first, and then complete
16630 using nice, short relative paths.
16631
16632 * gdb.base/completion.exp: On some systems, there is, in fact, a
16633 variable named `b' in scope, since GDB treats all static
16634 variables as being in scope. So use `no_var_named_this'
16635 instead of `b'.
16636
16637 * gdb.base/corefile.exp: Recognize the message saying that GDB
16638 can't find the core file's registers as a failure.
16639
166402001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16641
16642 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16643 test expect string more specific.
16644
166452001-12-13 Corinna Vinschen <vinschen@redhat.com>
16646
16647 * gdb.asm/asm-source.exp: Add support for xstormy16.
16648 * gdb.asm/configure.in: Ditto.
16649 * gdb.asm/configure: Rebuild.
16650 * gdb.asm/xstormy16.inc: New file.
16651
166522001-12-10 Fred Fish <fnf@redhat.com>
16653
16654 * gdb.base/maint.exp: Update to match changes in type dumping code.
16655
166562001-12-10 Jim Blandy <jimb@redhat.com>
16657
16658 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16659 matching the entry point symbol's name at the beginning of the
16660 line.
16661
166622001-12-07 Daniel Jacobowitz <drow@mvista.com>
16663
16664 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16665 gdb.c++/inherit.exp, gdb.c++/method.exp,
16666 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16667 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16668 and class layout support.
16669
166702001-12-07 Daniel Jacobowitz <drow@mvista.com>
16671
16672 * gdb.c++/classes.exp: Add test for static member function.
16673 * gdb.c++/misc.cc: Add class with static member function.
16674
166752001-12-07 Jim Blandy <jimb@redhat.com>
16676
16677 If GDB says it can't find the struct the function returned, report
16678 those tests as `unsupported'.
16679 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16680 Rewrite subsequent tests to use it.
16681
16682 If GDB says it can't find the struct the function returned, report
16683 those tests as `unsupported'.
16684 * gdb.base/structs.exp (call_struct_func): New function.
16685 (do_function_calls): Use call_struct_func to call the functions
16686 returning structs.
16687
16688 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16689 whether functions are prototyped or not, so we can't possibly pass
16690 arguments to t_float_values2 properly.
16691
16692 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16693 value of `timeout' for targets other than the mips*tx39-*.
16694
166952001-12-06 Michael Snyder <msnyder@redhat.com>
16696
16697 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16698 and detect whether the start symbol has a leading underscore.
16699
167002001-12-04 Jim Blandy <jimb@redhat.com>
16701
16702 * gdb.base/completion.exp: Clarify indentation.
16703
167042001-12-03 Jim Blandy <jimb@redhat.com>
16705
16706 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16707 variables on the S/390, not `.word'.
16708
167092001-11-30 Jim Blandy <jimb@redhat.com>
16710
16711 Add assembly-source tests for s390-ibm-linux.
16712 * gdb.asm/s390.inc: New file.
16713 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16714 the S/390 architecture.
16715 * gdb.asm/configure: Regenerated.
16716
167172001-11-30 Michael Snyder <msnyder@redhat.com>
16718
16719 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16720 next, info source, info sources, info line, global and static
16721 variables, and static functions.
16722 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16723 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16724 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16725 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16726 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16727 (gdbasm_leave): Restore frame pointer.
16728 (gdbasm_startup): Copy stack set-up from crt0.S.
16729
167302001-11-26 Fernando Nasser <fnasser@redhat.com>
16731
16732 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16733 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16734 to a local (non-static) variable. Copy tstruct.a to a static buffer
16735 and return a pointer to that buffer.
16736 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16737
167382001-11-24 Mark Kettenis <kettenis@gnu.org>
16739
16740 * gdb.asm/configure.in: Fix recognition of ix86 target.
16741 * gdb.asm/configure: Regenerate.
16742
167432001-11-21 Michael Snyder <msnyder@redhat.com>
16744
16745 * gdb.asm/sparc.inc: New file.
16746 * gdb.asm/asm-source.exp: Recognize sparc target.
16747 * gdb.asm/configure.in: Recognize sparc target.
16748 * gdb.asm/configure: Regenerate.
16749
167502001-11-21 Michael Snyder <msnyder@redhat.com>
16751
16752 * gdb.asm/m32r.inc: New file.
16753 * gdb.asm/asm-source.exp: Recognize m32r target.
16754 * gdb.asm/configure.in: Recognize m32r target.
16755 * gdb.asm/configure: Regenerate.
16756
167572001-11-20 Michael Snyder <msnyder@redhat.com>
16758
16759 * gdb.asm/i386.inc: New file.
16760 * gdb.asm/asm-source.exp: Recognize ix86 target.
16761 * gdb.asm/configure.in: Recognize ix86 target.
16762 * gdb.asm/configure: Regenerate.
16763
16764 * gdb.c++/namespace.exp: Fix quotes in output messages.
16765
167662001-11-14 Michael Snyder <msnyder@redhat.com>
16767
16768 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16769 qualifier in a type cast expression, to designate an address
16770 in the instruction space (Harvard architecture).
16771
167722001-11-13 Michael Snyder <msnyder@redhat.com>
16773
16774 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16775 Tests for expressions using 'const' and 'volatile'.
16776
167772001-11-13 Corinna Vinschen <vinschen@redhat.com>
16778
16779 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16780
167812001-11-12 Daniel Jacobowitz <drow@mvista.com>
16782
16783 * lib/mi-support.exp (mi_run_to_helper): Move comments
16784 outside of gdb_expect.
16785
167862001-11-11 Daniel Jacobowitz <drow@mvista.com>
16787
16788 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16789 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16790 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16791 mi0_run_to): New functions.
16792 * gdb.mi/mi-simplerun.exp: Use them.
16793 * gdb.mi/mi0-simplerun.exp: Likewise.
16794 * gdb.mi/mi-var-cmd.exp: Likewise.
16795 * gdb.mi/mi0-var-cmd.exp: Likewise.
16796
167972001-11-10 Andrew Cagney <ac131313@redhat.com>
16798
16799 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16800 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16801
168022001-11-09 Andrew Cagney <ac131313@redhat.com>
16803
16804 * gdb.base/restore.exp: Include $expected value in restored test
16805 message.
16806
168072001-11-09 Andrew Cagney <ac131313@redhat.com>
16808
16809 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16810 implemented.
16811
168122001-11-08 Michael Snyder <msnyder@redhat.com>
16813
16814 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16815 Add pass/fail message for stop at breakpoint in call dummy function.
16816
168172001-11-07 Michael Snyder <msnyder@redhat.com>
16818
16819 * gdb.c++/templates.exp (test_template_breakpoints):
16820 If we get an overload menu, but it does not match what
16821 we expect, we still need to issue the "cancel" command.
16822 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16823 making the whitespace optional. Argument for "new" may be
16824 "unsigned" as well as "unsigned int/long".
16825 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16826 making the whitespace optional. Also replace "(void) with
16827 "((void|)), making the keyword "void" optional.
16828 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16829 making the whitespace optional. Also replace "(void) with
16830 "((void|)), making the keyword "void" optional.
16831 * gdb.base/callfuncs.c (t_float_values): This function must
16832 _not_ be prototyped, and the following function (t_float_values2)
16833 must be prototyped (if the compiler supports it), so that GDB
16834 can be tested against both cases. Usually one case involves
16835 promotion of float to double, while the other does not.
16836 * gdb.base/callfwmall.c: Ditto.
16837 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16838 includes a stack frame for "start".
16839
168402001-11-05 Jim Blandy <jimb@redhat.com>
16841
16842 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16843 pointers are 32 bits long, and that offsets of relocs are always
16844 stored in the data (REL-style), and not in the reloc entry itself
16845 (RELA-style).
16846 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16847 stabs.
16848
168492001-11-01 Michael Snyder <msnyder@redhat.com>
16850
16851 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16852 and regular expression operators by using quoting.
16853
168542001-10-31 Michael Snyder <msnyder@redhat.com>
16855
16856 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16857 depending on what the symbol table contains.
16858 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16859 the output of the ptype command. Similarly, accept both "const &"
16860 and "const&".
16861
168622001-10-31 Corinna Vinschen <vinschen@redhat.com>
16863
16864 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16865 symbol `STORAGE' to allow to choose the storage class of
16866 the local datastructures.
16867 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16868 compiler directive.
16869
168702001-10-30 Michael Snyder <msnyder@redhat.com>
16871
16872 * gdb.base/jump.exp: Allow it to run for all targets.
16873
168742001-10-29 Corinna Vinschen <vinschen@redhat.com>
16875
16876 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16877 with new double_array size.
16878 (main): Change storage class of all local variables to static.
16879 Reduce size of double_array to 9.
16880 * gdb.base/call-ar-st.exp: Increase timeout value.
16881 Change expected output for double array to match new size in
16882 call-ar-st.c.
16883
168842001-10-29 Corinna Vinschen <vinschen@redhat.com>
16885
16886 * gdb.base/ending-run.exp: Create identical output when passing
16887 `step to end of run' case. Add regular expression branch satisfying
16888 Stormy16 target.
16889
168902001-10-28 Mark Kettenis <kettenis@gnu.org>
16891
16892 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16893 that we catch the expected failure under Linux/x86.
16894
168952001-10-29 Orjan Friberg <orjanf@axis.com>
16896
16897 * gdb.base/setvar.exp: Escape curly braces.
16898 * gdb.stabs/weird.exp: Ditto.
16899
169002001-10-27 Daniel Jacobowitz <drow@mvista.com>
16901
16902 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16903 * gdm.mi/mi0-hack-cli.exp: Likewise.
16904
169052001-10-25 Andrew Cagney <ac131313@redhat.com>
16906
16907 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16908 messages.
16909
169102001-10-21 Andrew Cagney <ac131313@redhat.com>
16911
16912 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16913 checking MI enabled.
16914
169152001-10-09 Corinna Vinschen <vinschen@redhat.com>
16916
16917 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16918
169192001-10-04 Frank Ch. Eigler <fche@redhat.com>
16920
16921 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16922 if gdb child process crashes, just signal an error.
16923
169242001-10-02 Jim Blandy <jimb@redhat.com>
16925
16926 * lib/gdb.exp (test_xfail_format): Simplify.
16927
16928 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16929 front of the variable name `format'. Simplify `if'.
16930
169312001-10-01 Daniel Jacobowitz <drow@mvista.com>
16932
16933 * gdb.threads/pthreads.exp: Wait for output and delay
16934 before sending ^C.
16935
169362001-10-01 Daniel Jacobowitz <drow@mvista.com>
16937
16938 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16939 some incorrect output instead of timing out.
16940 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16941
169422001-09-28 Corinna Vinschen <vinschen@redhat.com>
16943
16944 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16945 check to allow additional `int'.
16946
169472001-09-27 Daniel Jacobowitz <drow@mvista.com>
16948
16949 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16950 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16951
169522001-09-27 Michael Snyder <msnyder@redhat.com>
16953
16954 * lib/gdb.exp (test_debug_format): New proc.
16955 (setup_xfail_format): Use new proc test_debug_format.
16956 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16957 proc; use new service proc test_debug_format.
16958 Replace all other "gcc_compiled" tests with this test.
16959 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16960 proc; use new service proc test_debug_format.
16961 Replace all other "gcc_compiled" tests with this test.
16962
169632001-09-27 Michael Snyder <msnyder@redhat.com>
16964
16965 * gdb.base/cvexpr.exp: New file.
16966 * gdb.base/cvexpr.c: New file
16967 Test for expressions using const and volatile keywords.
16968
169692001-09-26 Corinna Vinschen <vinschen@redhat.com>
16970
16971 * gdb.base/constvars.exp: Check for different orders of keywords
16972 and additional "int" strings in output.
16973
169742001-09-22 Andrew Cagney <ac131313@redhat.com>
16975
16976 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16977 responses from "help maint".
16978
169792001-09-19 Frank Ch. Eigler <fche@redhat.com>
16980
16981 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16982 to localhost:NNN instead of :NNN, in case Xvfb is listening
16983 only on TCP.
16984
169852001-09-19 Corinna Vinschen <vinschen@redhat.com>
16986
16987 * gdb.base/recurse.exp: When checking leaving the watchpoint
16988 scope, recognize when gdb is in function's epilogue and pass.
16989
169902001-09-18 Keith Seitz <keiths@redhat.com>
16991
16992 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16993 support for running tests against sid targets.
16994 (gdbtk_done): Ditto.
16995
169962001-09-18 Corinna Vinschen <vinschen@redhat.com>
16997
16998 * gdb.base/ending-run.c (main): Set stdout buffersize
16999 to the same reasonable value for any target.
17000 * gdb.base/ending-run.exp: Add a regular expression
17001 to make testsuite happy on Sanyo Stormy16 target.
17002
170032001-09-17 Corinna Vinschen <vinschen@redhat.com>
17004
17005 * gdb.base/display.c (do_loops): Add float variable `f'.
17006 Increment f in loop.
17007 * gdb.base/display.exp: Increment timeout by 60 seconds.
17008 Change float display test to use variable `f'.
17009
170102001-09-17 Jim Blandy <jimb@redhat.com>
17011
17012 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17013 overflowing the limited breakpoint tables on some ROM monitors
17014 (like the ROM68K).
17015
170162001-09-15 Frank Ch. Eigler <fche@redhat.com>
17017
17018 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17019 the "-ac" (disable access control) flag.
17020
170212001-08-30 Jeff Holcomb <jeffh@redhat.com>
17022
17023 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17024 ints.
17025
170262001-08-30 Keith Seitz <keiths@redhat.com>
17027
17028 * lib/gdb.exp: Move all insight-related functionality into
17029 separate file.
17030 * lib/insight-support.exp: New file.
17031
170322001-08-29 Frank Ch. Eigler <fche@redhat.com>
17033
17034 * config/sid.exp (sid_start): Never set sid verbosity; disable
17035 expect_background {} that consumed its stdout; tolerate </dev/null.
17036 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17037
170382001-08-18 Andrew Cagney <ac131313@redhat.com>
17039
17040 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17041 CLI jump command to start it.
17042 (mi_run_to_main): Fail immediatly when unexpected output.
17043
170442001-08-18 Andrew Cagney <ac131313@redhat.com>
17045
17046 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17047 beginning of function. Fix PR gdb/191.
17048
170492001-08-16 Frank Ch. Eigler <fche@redhat.com>
17050
17051 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17052 what to force sid endianness to.
17053
170542001-08-15 Keith Seitz <keiths@redhat.com>
17055
17056 * lib/gdb.exp (gdbtk_start): Don't set environment
17057 variables for TCL_LIBRARY and friends. Insight will
17058 now figure these out for itself.
17059
170602001-08-02 Michael Snyder <msnyder@redhat.com>
17061
17062 * gdb.base/completion.exp: Remove the symbol "a64l" from
17063 the expect string; this is target-specific, and not related
17064 to what is being tested.
17065
170662001-08-02 Dave Brolley <brolley@redhat.com>
17067
17068 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17069
170702001-07-25 Michael Snyder <msnyder@redhat.com>
17071
17072 * gdb.base/consecutive.exp: New file. Test stepping over
17073 breakpoints on consecutive instructions.
17074 * gdb.base/consecutive.c: New file.
17075
17076 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17077 curly braces in regular expressions.
17078
170792001-07-25 Michael Snyder <msnyder@redhat.com>
17080
17081 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17082 legitimate output from stepping out of main.
17083
170842001-07-22 Keith Seitz <keiths@redhat.com>
17085
17086 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17087 the empty string, do not run the tests.
17088
170892001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17090
17091 * gdb.base/long_long.exp: Detect size of pointer. Take into
17092 account 2-byte pointers when testing for p/a results.
17093
170942001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17095
17096 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
17097 and defined to 1K for m68hc11.
17098 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17099 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17100 (sizeof_random_data): New variable to tell the size of the data table;
17101 don't test past this size; always run to main.
17102
171032001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17104
17105 * gdb.base/return2.exp: return of long long and double fails for
17106 68HC11; don't execute these tests on that platform.
17107 * gdb.base/return.exp: Return of a double fails for 68hc11.
17108
171092001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17110
17111 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17112 tests that print a float.
17113 * call-rt-st.exp: Likewise.
17114
171152001-07-12 Mark Kettenis <kettenis@gnu.org>
17116
17117 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17118 running this test on Linux.
17119
171202001-06-24 Michael Chastain <chastain@redhat.com>
17121
17122 * gdb.base/arithmet.exp: Remove some tests to make all test names
17123 unique.
17124
171252001-07-03 Michael Snyder <msnyder@redhat.com>
17126
17127 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17128 the output of the ptype command.
17129
171302001-07-02 Michael Snyder <msnyder@redhat.com>
17131
17132 * gdb.base/completion.exp: Don't assume that break.c is the only
17133 source file that may contain functions named "marker".
17134 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17135
171362001-06-28 Andrew Cagney <ac131313@redhat.com>
17137
17138 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17139 of files to delete.
17140
17141 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17142 * gdb.disasm/h8300s.exp: New file.
17143 gdb.disasm/h8300s.s: Likewise.
17144
171452001-06-27 Andrew Cagney <ac131313@redhat.com>
17146
17147 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17148 empty breakpoint tables.
17149
171502001-06-25 Andrew Cagney <ac131313@redhat.com>
17151
17152 * lib/mi-support.exp: Update args=... part of stop-reason
17153 patterns. Accept either a list or a tuple.
17154
171552001-06-23 Andrew Cagney <ac131313@redhat.com>
17156
17157 * lib/mi-support.exp: Remove local emacs variable defining
17158 change-log-default-name.
17159
171602001-06-22 Michael Chastain <chastain@redhat.com>
17161
17162 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17163 This is operationally compatible with the previous version.
17164
171652001-06-13 Jim Blandy <jimb@redhat.com>
17166
17167 * lib/gdb.exp (gdb_test): Doc fix.
17168
171692001-06-10 Michael Chastain <chastain@redhat.com>
17170
17171 * gdb.base/exprs.exp: Remove a duplicate test.
17172
171732001-06-06 Jim Blandy <jimb@redhat.com>
17174
17175 * gdb.base/return2.exp (main): Use values to test float and double
17176 returns that are not NaN's, to avoid being confused by IEEE
17177 comparison rules.
17178
171792001-06-04 Michael Snyder <msnyder@redhat.com>
17180
17181 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
17182 non-zero if control_c fails. Terminate the test on failure,
17183 rather than wait for 12 more tests to time out.
17184
171852001-06-06 Jim Blandy <jimb@redhat.com>
17186
17187 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
17188 Don't forget to match the GDB prompt.
17189
17190 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17191
171922001-06-04 Jim Blandy <jimb@redhat.com>
17193
17194 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17195 command.
17196
171972001-05-31 Kevin Buettner <kevinb@redhat.com>
17198
17199 * gdb.base/annota1.exp (info break): Match four or more spaces
17200 after "Address".
17201
172022001-05-31 Michael Chastain <chastain@redhat.com>
17203
17204 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17205 (dm_type_int_star): Likewise.
17206 (dm_type_long_star): Likewise.
17207 (dm_type_void_star): Likewise.
17208
172092001-05-29 Kevin Buettner <kevinb@redhat.com>
17210
17211 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17212 to a known value in order to get consistent results regardless
17213 of the setting of INPUTRC or the presence or contents of .inputrc.
17214
172152001-05-24 Michael Snyder <msnyder@redhat.com>
17216
17217 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17218 Don't require that the main thread and the manager thread are the
17219 first in the list.
17220
17221 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17222 debugging. If test fails, issue an "unsupported" not a "fail".
17223
172242001-05-24 Jim Blandy <jimb@redhat.com>
17225
17226 Don't assume that short is shorter than int.
17227 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17228 assume that shorts are smaller than ints. On a 16-bit machine,
17229 this isn't true.
17230 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17231 an int, is not equal to ~0 stored in an unsigned char. This tests
17232 the same thing that the previous test meant to, but works on
17233 16-bit machines, too.
17234 ("print unsigned char != (~0)"): Same test, complemented.
17235
172362001-05-24 Michael Snyder <msnyder@redhat.com>
17237
17238 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
17239 test for (full_coverage == 0). This makes the test run faster,
17240 and prevents dejagnu getting out of step.
17241
172422001-05-23 Kevin Buettner <kevinb@redhat.com>
17243
17244 * gdb.base/finish.exp (finish_void): Revise pattern for
17245 stopping on the call statement to not permit stopping at
17246 the start of the instructions comprising the call sequence.
17247
172482001-05-19 Michael Chastain <chastain@redhat.com>
17249
17250 * gdb.base/callfuncs.exp: Make all test names unique.
17251 * gdb.base/commands.exp: Make all test names unique.
17252 * gdb.base/condbreak.exp: Make all test names unique.
17253 * gdb.base/dbx.exp: Make all test names unique.
17254 * gdb.base/default.exp: Make all test names unique.
17255 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17256 and TIMEOUT messages to their corresponding PASS message.
17257 * gdb.base/ending-run.exp: Make all test names unique.
17258 * gdb.base/long_long.exp: Remove duplicate test.
17259
172602001-05-21 Kevin Buettner <kevinb@redhat.com>
17261
17262 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17263 stop on the call statement as well as the statement after the
17264 call.
17265
172662001-05-21 Michael Snyder <msnyder@redhat.com>
17267
17268 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17269
172702001-05-10 Elena Zannoni <ezannoni@redhat.com>
17271
17272 * gdb.base/completion.exp: Revamp test. Make it execute on all
17273 platforms.
17274
172752001-05-10 Elena Zannoni <ezannoni@redhat.com>
17276
17277 * config/gdbserver.exp (gdb_load): Handle the case
17278 in which the arguments to gdbserver are given in the
17279 baseboard configuration file.
17280 Also handle the case in which the server needs to do a
17281 load.
17282
172832001-05-07 Keith Seitz <keiths@cygnus.com>
17284
17285 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17286 set up the display for testing.
17287 (gdbtk_start): Convert all paths to paths that tcl will like.
17288 Export target information to environment.
17289 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17290 necessary.
17291 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17292 (to_tcl_path): New proc to convert a given pathname into
17293 a path acceptible as an argument to a tcl command.
17294 (_gdbtk_export_target_info): New proc to export target info
17295 into the environment for gdbtk testing.
17296 (gdbtk_done): New proc to signal end-of-test.
17297
172982001-05-06 Jim Blandy <jimb@redhat.com>
17299
17300 * restore.c: Make the code of caller0 correspond to its comment.
17301
173022001-05-03 Michael Snyder <msnyder@redhat.com>
17303
17304 * config/sid.exp (gdb_target_sid): Check for error messages.
17305 On error or timeout, don't make expect exit (which will terminate
17306 all subsequent tests); instead just make gdb exit.
17307 (gdb_load): Check for error messages. On error or timeout,
17308 return a negative value.
17309
173102001-04-24 Jim Blandy <jimb@redhat.com>
17311
17312 * gdb.c++/templates.exp: If we see the prompt for the overload
17313 list, but we haven't recognized any of the longer patterns,
17314 arrange for this test to fail, not hang.
17315
17316 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17317 variations.
17318
173192001-04-22 Michael Chastain <chastain@redhat.com>
17320
17321 * gdb.c++/local.exp: Use the 'runto' library function.
17322 * gdb.c++/namespace.exp: Likewise.
17323 * gdb.c++/overload.exp: Likewise.
17324
173252001-03-26 Kevin Buettner <kevinb@redhat.com>
17326
17327 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17328 * gdb.base/step-line.exp: New file. Test step/next in presence of
17329 #line directives.
17330 * gdb.base/step-line.c: New file. Test program for the above.
17331 * gdb.base/step-line.inp: New file. We pretend that this file has
17332 been transformed by some other tool into step-line.c.
17333
173342001-03-21 Jim Blandy <jimb@redhat.com>
17335
17336 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17337 unmangled operator names.
17338
173392001-03-20 Jim Blandy <jimb@redhat.com>
17340
17341 * gdb.threads/linux-dp.exp: Recognize an additional message
17342 generated by GDB when it doesn't understand how to debug threads
17343 on the target system.
17344
173452001-03-19 Andrew Cagney <ac131313@redhat.com>
17346
17347 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17348
173492001-03-12 Michael Chastain <chastain@redhat.com>
17350
17351 * gdb.c++/derivation.exp: Use the 'runto' library function.
17352
173532001-03-12 Michael Chastain <chastain@redhat.com>
17354
17355 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17356
173572001-02-24 Michael Chastain <chastain@redhat.com>
17358
17359 * gdb.c++/ref-types.exp: Change handwritten code to library
17360 function 'runto'.
17361
173622001-03-16 Orjan Friberg <orjanf@axis.com>
17363
17364 * gdb.base/signals.exp: Set count to 0 explicitly.
17365
173662001-03-15 Mark Salter <msalter@redhat.com>
17367
17368 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17369 (gdb_target_monitor): Add check of gdb_target_cmd return value.
17370 (gdb_load): Add support for additional target_info: gdb_download_size
17371 and gdb_load_timeout.
17372
17373Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17374
17375 * gdb.base/annota1.exp: Move test of isnative to earlier in the
17376 file -- to prevent failing when the compile fails but we have no
17377 intention of running the tests anyway.
17378
17379 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17380 tests if set.
17381
17382 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
17383 integers.
17384
17385 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17386 * gdb.c++/namespace.exp: Ditto.
17387
173882001-03-07 Orjan Friberg <orjanf@axis.com>
17389
17390 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17391 * gdb.base/pointers.exp: Relax pattern match of decimals.
17392
173932001-03-06 Kevin Buettner <kevinb@redhat.com>
17394
17395 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17396 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17397 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17398 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17399 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17400 config/sh.exp, config/sid.exp, config/slite.exp,
17401 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17402 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17403 config/vxworks.exp, config/vxworks29k.exp,
17404 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17405 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17406 gdb.base/arithmet.exp, gdb.base/assign.exp,
17407 gdb.base/async.exp, gdb.base/attach.exp,
17408 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17409 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17410 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17411 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17412 gdb.base/commands.exp, gdb.base/completion.exp,
17413 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17414 gdb.base/constvars.exp, gdb.base/corefile.exp,
17415 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17416 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17417 gdb.base/ending-run.exp, gdb.base/environ.exp,
17418 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17419 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17420 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17421 gdb.base/funcargs.exp, gdb.base/help.exp,
17422 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17423 gdb.base/logical.exp, gdb.base/long_long.exp,
17424 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17425 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17426 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17427 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17428 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17429 gdb.base/regs.exp, gdb.base/relational.exp,
17430 gdb.base/remote.exp, gdb.base/reread.exp,
17431 gdb.base/restore.exp, gdb.base/return2.exp,
17432 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17433 gdb.base/selftest.exp, gdb.base/setshow.exp,
17434 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17435 gdb.base/sigall.exp, gdb.base/signals.exp,
17436 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17437 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17438 gdb.base/step-test.exp, gdb.base/structs.c,
17439 gdb.base/structs.exp, gdb.base/structs2.exp,
17440 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17441 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17442 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17443 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17444 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17445 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17446 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17447 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17448 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17449 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17450 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17451 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17452 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17453 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17454 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17455 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17456 gdb.trace/circ.exp, gdb.trace/collection.exp,
17457 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17458 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17459 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17460 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17461 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17462 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17463 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17464 notices.
17465
174662001-02-27 Michael Snyder <msnyder@cygnus.com>
17467
17468 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17469 first arg is int not float.
17470
174712001-02-22 Michael Snyder <msnyder@cygnus.com>
17472
17473 * gdb.base/reread.exp: Unsupported for non-native targets;
17474 doesn't work for remote debugging.
17475
174762001-02-19 Fernando Nasser <fnasser@redhat.com>
17477
17478 From Drew Moseley <dmoseley@redhat.com>
17479 * gdb.base/ending-run.exp: Properly handle the BSP state when
17480 stepping past the end of main.
17481
174822001-02-19 John Moore <jmoore@redhat.com>
17483
17484 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17485 Converted HPUX fix for non-expected items following multiple
17486 step commands into general solution for all platforms.
17487
174882001-02-18 Michael Chastain <chastain@redhat.com>
17489
17490 * gdb.c++/classes.exp (do_tests): Change runto statements
17491 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17492 statements demangler agnostic.
17493 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17494 (gdb_virtfunc_restart): Likewise.
17495
174962001-02-14 Michael Chastain <chastain@redhat.com>
17497
17498 * gdb.c++/inherit.exp (do_tests): Change runto statements
17499 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17500 statements demangler agnostic.
17501
17502Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17503
17504 * gdb.threads/pthreads.exp: Unify pass/fail messages for
17505 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17506 before calling common_routine 15 times'' tests.
17507
175082001-02-11 Michael Chastain <chastain@redhat.com>
17509
17510 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17511 Helps the test script figure out which demangler is in use.
17512 (dm_type_foo_ref): Ditto.
17513 (dm_type_int_star): Ditto.
17514 (dm_type_long_star): Ditto.
17515 (dm_type_unsigned_int): Ditto.
17516 (dm_type_void): Ditto.
17517 (dm_type_void_star): Ditto.
17518 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
17519 Probe the gdb demangler and set variables to accommodate
17520 formatting differences.
17521 (info_func_regexp): New function. Same as info_func, but
17522 matches against a regexp.
17523 (info_func): Match against a literal string.
17524 (print_addr_2): New function. Match against a literal string,
17525 which can be different from the input to gdb.
17526 (print_addr): Simply call print_addr_2 with the same argument twice.
17527 (test_lookup_operator_functions): Use demangler formatting variables.
17528 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17529 the tests in the same order as the C++ class declaration.
17530 (test_paddr_operator_functions): Ditto.
17531 (test_paddr_overloaded_functions): Ditto.
17532 (test_paddr_hairy_functions): Use demangler formatting variables.
17533 Add reference to gdb/19 for related tests.
17534 (do_tests): Call probe_demangler.
17535
175362001-01-30 Kevin Buettner <kevinb@redhat.com>
17537
17538 * gdb.c++/templates.cc (printf): Remove unused function definition.
17539
175402001-01-26 Felix Lee <flee@redhat.com>
17541
17542 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17543
175442001-01-25 matthew green <mrg@redhat.com>
17545
17546 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17547 up sid.
17548 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17549
175502001-01-25 matthew green <mrg@redhat.com>
17551
17552 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
17553 Deprecate $sid_spawn_id.
17554 (sid_exit): Remove code necessary only for `spawn.'
17555
175562001-01-25 matthew green <mrg@redhat.com>
17557
17558 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17559
175602001-01-28 Michael Chastain <chastain@redhat.com>
17561
17562 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17563 to call when tests fail. It takes gdb out of the overloaded
17564 function choice menu back to the main prompt, so that the test
17565 program stays synchronized.
17566 (set_bp_overloaded): New proc to collect all the common
17567 code for setting a breakpoint on an overloaded name. Calls
17568 take_gdb_out_of_choice_menu when needed.
17569 (menu_overload1arg): New variable to collect the repeated
17570 instances of the expected menu for an overloaded name. Change
17571 the regular expression to handle changes in g++ type encoding:
17572 "void" can be either "void" or "", and "unsigned int" can be
17573 either "unsigned int" or "unsigned".
17574 (continue_to_bp_overloaded): Change regular expressions to handle
17575 changes in g++ type encoding.
17576 (no proc): Call take_gdb_out_of_choice_menu when needed.
17577 Remove redundant calls to "info break". Accept either "canceled"
17578 or "cancelled". Change regular expressions in "info break"
17579 calls to handle changes in g++ type encoding. Give all tests
17580 unique strings.
17581
175822001-01-17 Ben Elliston <bje@redhat.com>
17583
17584 * config/sid.exp: New file.
17585
17586Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17587
17588 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17589
175902000-12-21 Michael Snyder <msnyder@cygnus.com>
17591
17592 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17593 Add a RE to accept a non-ascii char if one is ever presented.
17594
175952000-12-20 Fernando Nasser <fnasser@redhat.com>
17596
17597 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17598
175992000-12-18 Michael Snyder <msnyder@cygnus.com>
17600
17601 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17602 in regexp. One '\' does not suffice on Linux.
17603
176042000-12-09 Michael Chastain <chastain@redhat.com>
17605
17606 * gdb.base/break.exp (test_clear_command): Use a marker function
17607 rather than 'main' for the test function. Also move this
17608 test to an execution point where the marker function names are
17609 guaranteed to be bound to functions. (Executing tests after a
17610 'finish' from main runs into name conflicts with local names
17611 in __libc_start_main).
17612
176132000-12-07 Michael Snyder <msnyder@cygnus.com>
17614
17615 * gdb.base/finish.exp: New test for gdb's "finish" command.
17616 * gdb.base/return2.exp: New test for gdb's "return" command.
17617 * gdb.base/return2.c: New source file for above.
17618
176192000-12-05 Michael Snyder <msnyder@cygnus.com>
17620
17621 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17622 * gdb.base/miscexprs.exp: Ditto.
17623 * gdb.base/pointers.exp: Ditto.
17624 * gdb.c++/derivation.exp: Ditto.
17625 * gdb.c++/local.exp: Ditto.
17626 * gdb.c++/namespace.exp: Ditto.
17627 * gdb.c++/overload.exp: Ditto.
17628 * gdb.c++/ref-types.exp: Ditto.
17629
176302000-12-05 Michael Snyder <msnyder@cygnus.com>
17631
17632 * gdb.base/constvars.exp: Test result of "up" command.
17633 * gdb.base/miscexprs.exp: Ditto.
17634 * gdb.base/pointers.exp: Ditto.
17635 * gdb.base/scope.exp: Ditto.
17636 * gdb.c++/derivation.exp: Ditto.
17637 * gdb.c++/local.exp: Ditto.
17638 * gdb.c++/namespace.exp: Ditto.
17639 * gdb.c++/overload.exp: Ditto.
17640 * gdb.c++/ref-types.exp: Ditto.
17641
176422000-11-22 Michael Chastain <chastain@redhat.com>
17643
17644 * mips_pro.exp: Accept either "middle -> top -> main" or
17645 "middle -> main" in the backtrace, because gcc can optimize
17646 tail calls to jumps. Remove setup_xfail for the hppa case.
17647 Add a comment with the original warning messages from PR 3016,
17648 which was filed in 1993, to preserve them for posterity.
17649
176502000-11-17 Nick Duffek <nsd@redhat.com>
17651
17652 * lib/gdb.exp (gdb_test): Override timeout with board info.
17653
176542000-11-17 Nick Duffek <nsd@redhat.com>
17655
17656 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17657 the second kill and detach messages.
17658
176592000-11-17 Nick Duffek <nsd@redhat.com>
17660
17661 * configure.in: Add AC_EXEEXT.
17662 * configure: Regenerate.
17663 * Makefile.in (just-check): Export EXEEXT.
17664 * lib/gdb.exp ($EXEEXT): Import from environment.
17665 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17666 expect "maint dump-me" on Cygwin.
17667 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17668 $EXEEXT.
17669
176702000-11-17 Nick Duffek <nsd@redhat.com>
17671
17672 * gdb.base/break.exp: Test backtrace and finish from called
17673 function on all platforms, not just HP-UX.
17674
176752000-11-03 Michael Snyder <msnyder@cygnus.com>
17676
17677 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17678 code from gdb_target_monitor, so it can be used independantly
17679 for gdbserver. Also comment out an unnecessary PUTS.
17680
176812000-11-03 Michael Snyder <msnyder@cygnus.com>
17682
17683 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17684 * gdb.base/corefile.exp: Expect the message "Program is being
17685 debugged already" when we send the "corefile" command, since
17686 the preceeding gdb_load may have connected gdb to a remote target.
17687 * gdb.base/display.exp: Disable hardware watchpoints if new
17688 board info variable "no_hardware_watchpoints" is true.
17689 Replace single-letter commands with more readable ones.
17690 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17691 if new board info variable "no_hardware_watchpoints" is true.
17692 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17693 to see if stdio (printf) testing is possible.
17694 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17695 board info variable "no_hardware_watchpoints" is true. Use new
17696 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17697
176982000-11-13 Fernando Nasser <fnasser@redhat.com>
17699
17700 From Orjan Friberg <orjanf@axis.com>:
17701 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17702 in array print pattern match.
17703
177042000-11-09 Fernando Nasser <fnasser@redhat.com>
17705
17706 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17707 spelling "cancelled" to U.S. spelling "canceled" to match changes
17708 made to gdb.
17709 * gdb.c++/ovldbreak.exp: Ditto.
17710
177112000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17712
17713 * gdb.base/callfuncs.c (main): Moved to end of file, call
17714 t_double_values to initialize the FPU before inferior calls are made.
17715 * gdb.base/callfuncs.exp: Test for register preservation after calling
17716 inferior functions. Add tests for continuining, finishing and
17717 returning from a stop in a call dummy.
17718
177192000-10-24 Michael Snyder <msnyder@cygnus.com>
17720
17721 * gdb.base/commands.exp: Break up long lines, and re-indent.
17722
177232000-10-19 Michael Snyder <msnyder@cygnus.com>
17724
17725 * config/gdbserver.exp: Rewritten from the ground up, to make it
17726 compatible with the current dejagnu tree, and to make it work with
17727 the new "gdbserver" in libremote.
17728
177292000-10-16 Michael Snyder <msnyder@cygnus.com>
17730
17731 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17732 * gdb.base/varargs.exp: Skip entire test if no printf support.
17733 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17734 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17735
177362000-10-13 Michael Snyder <msnyder@cygnus.com>
17737
17738 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17739 no floating point support.
17740 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17741 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17742 * gdb.base/call-rt-st.exp: Ditto.
17743 * gdb.base/call-strs.exp: Ditto.
17744
177452000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17746
17747 * gdb.base/sizeof.c: include <stdio.h>.
17748
17749 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17750 'finish', otherwise uncaptured gdb_prompt would potentially
17751 throw remaining test points out of sync.
17752
177532000-07-26 Scott Bambrough <scottb@netwinder.org>
17754
17755 * gdb.base/recurse.exp: Run tests for all targets.
17756 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17757 gnu-oldld case on ARM.
17758 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17759 for ARM targets.
17760
17761Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17762
17763 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17764 * gdb.java/configure: Rebuild.
17765
17766Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17767
17768 * gdb.java/jv-exp.exp: New file.
17769
17770Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17771
17772 * configure: Rebuilt.
17773 * configure.in (configdirs): Add gdb.java.
17774 * gdb.java/jmisc.java: New file.
17775 * gdb.java/jmisc.exp: New file.
17776 * gdb.java/Makefile.in: New file.
17777 * gdb.java/configure: Rebuilt.
17778 * gdb.java/configure.in: New file.
17779 * lib/java.exp: New file.
17780
17781Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17782
17783 * gdb.base/exprs.exp: Test casts to a pointer including over and
17784 underflow.
17785
17786Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17787
17788 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17789 and the compilers sizes.
17790
177912000-07-09 Nick Duffek <nsd@redhat.com>
17792
17793 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17794 (use_methods): New function.
17795 (main): Call use_methods().
17796 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17797 (do_tests): Call test_method_param_class.
17798
177992000-07-09 Nick Duffek <nsd@redhat.com>
17800
17801 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17802 spelling.
17803 (test_enums): New procedure. Move enum tests from end of script
17804 to here. Set breakpoint on function name instead of line number.
17805 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17806 (enums2): New marker function.
17807 (enums1): New function.
17808 (main): Call enums1(). Move enum tests to enums1().
17809
17810Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17811
17812 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17813 compile/link program. Update line numbers.
17814 * gdb.asm/d10v.inc: Define ``startup''.
17815 * gdb.asm/asmsrc1.s: Add definition of _start.
17816
17817Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17818
17819 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17820
178212000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17822
17823 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17824 of 'help maint print' command.
17825
17826Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17827
17828 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17829 they use gdb_expect_list.
17830
17831Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17832
17833 * gdb.base/commands.exp: Use ``set remote
17834 memory-read-packet-size'' instead of ``set endian big'' to test
17835 long commands.
17836
178372000-06-03 Daniel Berlin <dan@cgsoftware.com>
17838
17839 * gdb.c++/templates.exp (do_tests): Make all of these work under
17840 g++, and stop skipping them.
17841
17842 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17843 work under g++.
17844
17845 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17846 initialization.
17847
178482000-06-02 Michael Snyder <msnyder@cygnus.com>
17849
17850 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17851 the regular expression: accept an (almost) arbitrary sequence of
17852 "frames-invalid" and "breakpoints-invalid" messages both before
17853 and after the "starting" message.
17854
178552000-06-02 Michael Snyder <msnyder@cygnus.com>
17856
17857 * gdb.c++/local.exp: This test has never been known to work with g++.
17858
178592000-05-18 Michael Snyder <msnyder@cygnus.com>
17860
17861 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17862 Relax the regular expression a little, make it pass on Solaris 8.
17863
178642000-05-12 Kevin Buettner <kevinb@redhat.com>
17865
17866 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17867 a call, do not require that gdb stop on the line after the call.
17868 Instead, it is permissible for gdb to stop on the line of the
17869 call itself.
17870
178712000-05-12 Michael Snyder <msnyder@.cygnus.com>
17872
17873 * gdb.base/break.exp (bp on small function, optimized file):
17874 Add a second pass pattern. The behavior differs here between stabs
17875 and dwarf for one-line functions. Stabs preserves two line symbols
17876 (one before the prologue and one after) with the same line number,
17877 but dwarf regards these as duplicates and discards one of them.
17878 Therefore the address after the prologue (where the breakpoint is)
17879 has no exactly matching line symbol, and GDB reports the breakpoint
17880 as if it were in the middle of a line rather than at the beginning.
17881
178822000-05-08 Michael Snyder <msnyder@cygnus.com>
17883
17884 * gdb.base/interrupt.exp: Make "pass" message say "send"
17885 rather than "send_gdb" (for consistancy).
17886
17887Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17888
17889 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17890 * gdb.c++/templates.cc: Properly check for GCC version number.
17891 * lib/compiler.cc: Likewise
17892
178932000-04-28 Michael Snyder <msnyder@cygnus.com>
17894
17895 * gdb.base/break.exp: When compiled with -O2 optimization,
17896 gdb may not stop at the first line of main, due to code motion.
17897
178982000-04-26 Michael Snyder <msnyder@cygnus.com>
17899
17900 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17901 This test depends on parsing the printf output from the target.
17902 Since the sparclet stub doesn't do stdio, this will never work.
17903 * gdb.base/call-rt-st.exp: ditto.
17904 * gdb.base/call-strs: ditto.
17905
179062000-04-24 Michael Snyder <msnyder@cygnus.com>
17907
17908 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17909
17910 * gdb.base/ending-run.exp: After connecting to a remote target,
17911 but before running, the target will appear to be in a random
17912 location. Specify both a file and a line for breakpoints.
17913 Also, the function that calls main may be called 'init'
17914 rather than 'start'.
17915
179162000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17917
17918 * gdb.base/help.exp: Update output for add-symbol-file command.
17919
179202000-04-10 Fernando Nasser <fnasser@cygnus.com>
17921
17922 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17923 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17924
179252000-04-07 J.T. Conklin <jtc@redback.com>
17926
17927 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17928
17929 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17930
17931Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17932
17933 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17934 values that can be represented exactly.
17935 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17936 above change, and to not check against the directory part of the source
17937 file name.
17938 (step into print_long_arg_list): Likewise.
17939 (print print_small_structs from print_long_arg_list): Likewise.
17940 (print print_long_arg_list): Likewise.
17941
179422000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17943
17944 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17945
17946Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17947
17948 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17949
179502000-03-25 Daniel Berlin <dan@cgsoftware.com>
17951
17952 * gdb.base/commands.exp (deprecated_command_test): Add test for
17953 deprecate with no arguments.
17954
179552000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17956
17957 * gdb.base/break.exp: Add new test for setting breakpoints on
17958 optimized code so we can test breakpoints work even when function
17959 prologues may be optimized away
17960
179612000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17962
17963 From David Whedon <dwhedon@gordian.com>
17964 * gdb.base/commands.exp : Added command deprecator tests.
17965
179662000-03-22 Daniel Berlin <dan@cgsoftware.com>
17967
17968 * gdb.base/help.exp: Added test for new apropos command.
17969
179702000-03-21 Kevin Buettner <kevinb@redhat.com>
17971
17972 * gdb.base/pointers.c (usevar): New function.
17973 (main): Make sure that global variables v_int_pointer2, rptr,
17974 and y are all referenced someplace in the program by calling
17975 usevar() on them. [Some linkers delete symbols which are
17976 never referenced. The space remains, but there's no way to
17977 get a (symbolic) handle on the variable from the debugger.]
17978
179792000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17980
17981 * gdb.base/printcmds.c: Add typedeffed arrays.
17982
17983 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17984 procedure to test arrays that are typedef'd.
17985
179862000-03-13 James Ingham <jingham@leda.cygnus.com>
17987
17988 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17989 the library directories.
17990
17991Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17992
17993 * configure.in (configdirs): Add sub directory gdb.mi.
17994 * configure: Re-generate.
17995
17996 * gdb.mi: New directory.
17997
179982000-02-25 Scott Bambrough <scottb@netwinder.org>
17999
18000 * gdb.base/long_long.exp: Correct test suite failure when printing
18001 a long long value as a double on ARM platforms.
18002
180032000-02-16 Jim Blandy <jimb@redhat.com>
18004
18005 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18006 default source file is set properly before running this test.
18007
180082000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18009
18010 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
18011 gdbtk/library directory, not in gdbtcl2.
18012
180132000-02-04 Jim Blandy <jimb@redhat.com>
18014
18015 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18016 backslash from regexp pattern.
18017
18018 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18019 procedure. Use it to run all the "continue to bp overloaded"
18020 tests. Note that this changes the names of the tests slightly.
18021 If the breakpoint hit message includes a hex PC value, because
18022 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18023 from the real source code, still consider that a pass.
18024
18025 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18026 XFAIL here if the breakpoint message contains a hex address. Note
18027 similar change on 1999-11-02.
18028
18029 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18030
18031 * gdb.base/ptype.exp: Establish a default source file before
18032 calling get_debug_format.
18033
180342000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18035
18036 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18037
180382000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18039
18040 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18041 of successive stepi commands -- while in the prologue we should see
18042 the function entry bracket.
18043
180442000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18045
18046 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18047 reach __change_mode() when stepping through the end of main().
18048
180492000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18050
18051 * gdb.base/default.exp: Fix expected pattern.
18052 * gdb.base/help.exp: Same.
18053
180542000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18055
18056 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
18057 Don't use xfail's because that affects only the following test.
18058
18059 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
18060 solaris or linux.
18061
18062 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18063
180642000-01-07 Michael Snyder <msnyder@cygnus.com>
18065
18066 * gdb.base/display.exp: Some yacc parsers like to say
18067 "A syntax error" rather than "A parse error". Accept both.
18068
180692000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18070
18071 * gdb.base/default.exp: Remove OS dependent string from "target
18072 remote" test.
18073 * gdb.base/help.exp: Same for "help target remote" test.
18074
180752000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18076
18077 From Jim Kingdon <kingdon@redhat.com>:
18078
18079 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
18080 prompt (cleanup rather than necessity, but still might keep output
18081 from spilling to next test).
18082
180832000-01-02 Fred Fish <fnf@cygnus.com>
18084
18085 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18086 AIX, which defines them in <sys/types.h>.
18087
180881999-12-16 Stan Shebs <shebs@andros.cygnus.com>
18089
18090 * gdb.base/default.exp: Match arm* etc instead of arm in "info
18091 float" test.
18092
180931999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
18094
18095 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
18096
18097 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18098 outermost frame disallowed".
18099
181001999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18101
18102 * gdb.base/setvar.exp: New tests for setting the value of a struct
18103 with a constant list.
18104
181051999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18106
18107 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18108 require the user to type a cast before setting the value of a struct.
18109
181101999-12-06 Jim Blandy <jimb@cygnus.com>
18111
18112 * gdb.base/default.exp: Expect the new 'info float' command on
18113 all i386 platforms.
18114
18115 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18116 LinuxThreads libraries that don't support debugging.
18117
18118Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18119
18120 * gdb.base/remote.c: Fill the buffer with truely random data.
18121 Change the buffer type to ``unsigned char'' to simplify size
18122 arithmetic.
18123
18124 * gdb.base/remote.exp: Reduce download numbers by one. Typical
18125 stub only handles 400-1 byte packets. Verify that the download
18126 worked.
18127
181281999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18129
18130 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18131 tests, using UNRESOLVED for the untested cases. Also, does not wait
18132 for a timeout if the prompt was received before a recognizable pattern.
18133
181341999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18135
18136 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18137
181381999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18139
18140 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
18141 watchpoints.
18142
181431999-11-24 Jason Merrill <jason@casey.cygnus.com>
18144
18145 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18146
18147 * gdb.c++/local.exp: Be more flexible in recognizing local class
18148 name mangling. Don't allow horribly truncated method names.
18149 * gdb.c++/derivation.exp: Expect protected inheritance.
18150 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18151 * gdb.c++/virtfunc.exp: Likewise.
18152 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18153 when printing a nested enum.
18154
181551999-11-22 Jim Blandy <jimb@cygnus.com>
18156
18157 * gdb.base/step-test.exp: Properly await GDB's response to setting
18158 a breakpoint on the call to large_struct_by_value.
18159
18160 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18161 just because we have debug info for the `start' function.
18162
181631999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18164
18165 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18166 "Unknown signal" messages, which indicate (on LinuxThreads) that
18167 GDB doesn't know how to debug threads on this system. This is
18168 better than hanging while philosopher 0 dumps chatter into gdb.log.
18169
181701999-11-18 Tom Tromey <tromey@cygnus.com>
18171
18172 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18173
181741999-11-18 Fred Fish <fnf@cygnus.com>
18175
18176 * gdb.base/coremaker2.c: Add sample program for generating
18177 cores that is more self contained than coremaker.c. Eventually
18178 I'll add more code to this and tie it into the testsuite.
18179
181801999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18181
18182 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18183
181841999-11-10 Jimmy Guo <guo@cup.hp.com>
18185
18186 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
18187 from $srcdir/lib/.
18188 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
18189 and gdb.c++/.
18190
18191 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18192
18193 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
18194 'continue with watch' test point.
18195
181961999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18197
18198 Merged from p2linux-990323-branch:
18199
18200 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18201
18202Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18203
18204 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
18205 {limit,fixed}''. Test ``set download-write-size''.
18206
18207Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18208
18209 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
18210 gdb_expect_list.
18211
18212Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18213
18214 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18215
182161999-11-03 Mark Salter <msalter@cygnus.com>
18217
18218 * gdb.base/break.exp: Fix "stub continue" pattern.
18219
182201999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18221
18222 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18223
182241999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18225
18226 * gdb.base/display.exp ("finish"): Add timeout clause.
18227
18228 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18229 plain prompt clause, so this doesn't have to time out in order to
18230 fail.
18231
18232 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
18233 breakpoint hit messages include an address.
18234
18235 * gdb.base/display.exp: Don't forget to escape parens in regular
18236 expressions. Unix regexp notatation sucks.
18237
182381999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18239
18240 * gdb.base/annota1.exp: Test for annotate-signalled: change output
18241 order for 'signalled' message.
18242
182431999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18244
18245 From Jimmy Guo <guo@cup.hp.com>:
18246 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18247 * gdb.base/annota1.c: Add code for tests to work with.
18248
182491999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18250
18251 * gdb.base/remote.exp: New test for remote downloading settings.
18252 * gdb.base/remote.c: New file with large .data.
18253
182541999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18255
18256 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18257 for LinuxThreads support, merged from the Code Fusion branch.
18258
18259Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18260
18261 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
18262 containing exp_continue into a while within an expect. Don't
18263 attempt a start more than three times. Check return value from
18264 gdb_load.
18265
18266Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18267
18268 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
18269 a pass case.
18270
182711999-10-01 Kevin Buettner <kevinb@cygnus.com>
18272
18273 * gdb.base/break.c (main): Added a statement that we can step
18274 off of.
18275 * gdb.base/break.exp: Added tests for setting a breakpoint
18276 at an offset and stepping onto a breakpoint.
18277
182781999-10-01 Fred Fish <fnf@cygnus.com>
18279
18280 * gdb.base/help.exp (help add-symbol-file): Update to match current
18281 gdb output.
18282
182831999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18284
18285 * gdb.base/break.exp: Code locations are in hex, don't forget!
18286 (For HP-UX.)
18287
182881999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18289
18290 * condbreak.exp: Use break.c as test program.
18291 * condbreak.c: Remove, redundant with break.c.
18292
182931999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18294
18295 * config/monitor.exp (gdb_target_monitor): Disable X- and
18296 Z-packets if the target needs it.
18297
182981999-09-13 James Ingham <jingham@leda.cygnus.com>
18299
18300 * gdb.c++/overload.exp: Added tests for listing overloaded
18301 functions with function pointers in the arg, explicitly calling
18302 out the version you want.
18303
183041999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18305
18306 * long_long.exp: Add variations of test cases that work for
18307 targets with 16-bit ints and 32-bit doubles.
18308
183091999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18310
18311 * break.c (main): Compare a possibly-uninitialized argc with an
18312 unlikely value that fits in 16 bits.
18313
183141999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18315
18316 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18317 0xfeeb, don't want negative numbers if ints are 16 bits.
18318
18319 * lib/gdb.exp (skip_cplus_tests): New proc.
18320 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18321 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18322 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18323 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18324 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18325 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18326 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18327 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
18328
18329 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18330
18331Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18332
18333 * gdb.base/corefile.exp (up): Allow a parameter to appear
18334 in the frame that we're going up to.
18335
18336 From Jim Blandy <jimb@cygnus.com>:
18337
18338 * gdb.base/default.exp (info float): Expect some output now.
18339
18340 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18341 returning floating-point values to fail on the x86.
18342 * gdb.base/callfwmall.exp (do_function_calls): Same.
18343
18344 * gdb.base/list.exp (test_listsize): Correct expectations for
18345 listing line 1 with listsize 2. Also, listing a single line
18346 works now, as does listing three lines. [Kevin's note: There
18347 were a number of other cases fixed too where the expectations
18348 differed...]
18349
183501999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18351
18352 * gdb.base/selftest.exp: Add case for when version prints as
18353 constant string instead of char pointer.
18354
183551999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18356
18357 * gdb.base/ending-run.exp: Add Solaris case for what happens when
18358 stepping out of main.
18359
18360 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18361 G++ used.
18362
18363 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
18364 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
18365
18366 * gdb.c++/ovldbreak.exp: Update match string in test that
18367 includes a warning of multiple breakpoints.
18368
183691999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18370
18371 * gdb.base/display.exp: Improve precision of step-after-finish
18372 added yesterday.
18373
18374 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
18375 test.
18376
18377 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18378 configs when using G++, not just hppa*.
18379
183801999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18381
18382 * gdb.base/async.c: New file.
18383 * gdb.base/async.exp: New file.
18384
18385Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18386
18387 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18388 PA64.
18389
18390Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18391
18392 * gdb.base/display.exp: "finish" can leave us mid-line on many
18393 targets, deal with it. Add a small constant to main, instead of
18394 1000 since main+1000 may not be a valid address in the target.
18395
18396 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18397 on hpux11.
18398
18399 * gdb.base/attach.exp: Handle another hpux11 error message variant
18400 when attaching to a process that does not exist.
18401
184021999-08-19 J.T. Conklin <jtc@redback.com>
18403
18404 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
18405 characters in 'continue to 1241' test.
18406
184071999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18408
18409 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18410 stop in print_long_arg_list, define and use a whitespace
18411 variable in print_small_structs test, add an XFAIL for Solaris.
18412 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18413 interested enough to fix.
18414
184151999-08-13 Keith Seitz <keiths@cygnus.com>
18416
18417 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18418 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18419 proc knows about targets other than the natives.
18420 (test_assign): Use "gdb_run_cmd" to "run" the target.
18421 Check that we've actually hit the breakpoint at main.
18422 When we attempt to assign a value to a local variable, check
18423 that the variable is in the current scope, i.e., don't use
18424 a test with an empty result.
18425
18426Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18427
18428 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
18429 command.
18430
184311999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18432
18433 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18434 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18435 gdb.compat, gdb.threads-hp.
18436 gdb.hp/configure, gdb.hp/configure.in: New files.
18437 gdb.hp/Makefile.in: Recurse into new subdirs.
18438 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18439 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18440 in object files.
18441 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18442
184431999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18444
18445 * gdb.base/display.exp: Help expect by putting a newline in the
18446 funky printf, remove a bogus p/a test.
18447
184481999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18449
18450 * gdb.base/display.exp: Make sure that when we say 'run', we are
18451 connected to the target. This is necessary when running not
18452 natively.
18453
184541999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18455
18456 * gdb.base/step-test.exp: Removed some extraneous messages.
18457
18458 * gdb.base/long_long.exp: Don't run memory examination tests
18459 on little-endian targets (they will need a different set of
18460 results to match).
18461
184621999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18463
18464 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18465 until somebody decides to fix GDB.
18466
18467 * gdb.base/long_long.c: Stop compiler complaint by specifying long
18468 constant as "ULL".
18469 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18470 matches for a couple x/2 commands.
18471
184721999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18473
18474 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18475 by merging in ref-types2 tests.
18476 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18477
18478 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18479 * gdb.c++/Makefile.in: Add standard actions.
18480 (EXECUTABLES): Rename from PROGS, update list.
18481 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18482 from gdb.hp.
18483 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18484 foo and bar locals.
18485 * gdb.c++/anon-union.exp: Fix tests to match.
18486 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18487 expect matches to handle output variations.
18488 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18489 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
18490 output, add HP alternatives for new and delete prints.
18491 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
18492 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
18493 * gdb.c++/demangle.exp: Use $style when reporting failure.
18494 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18495 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18496 match alternatives.
18497 * gdb.c++/local.exp: Add match alternatives or xfails for HP
18498 compilers.
18499 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18500 * gdb.c++/method.exp: Add match alternatives.
18501 * gdb.c++/misc.cc: Add bool types.
18502 * gdb.c++/misc.exp: Add tests for bool types.
18503 * gdb.c++/overload.exp: Add xfails.
18504 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18505 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18506 add some more template parameter tests (only for HP currently).
18507 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18508 * gdb.c++/virtfunc.cc: Add return type and value for main.
18509 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18510 match alternatives.
18511
185121999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18513
18514 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18515
185161999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18517
18518 * gdb.base/signals.exp: Don't expect getting a backtrace from
18519 within a signal handler to fail on Linux.
18520
185211999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18522
18523 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18524 * lib/gdb.exp: Remove some gratuitious semicolons.
18525 (delete_breakpoints): Increase timeout.
18526 (gdb_expect): Add -notransfer option.
18527 (gdb_test): Use -notransfer option.
18528 (get_compiler_info): Add f77 case.
18529 (get_compiler): New proc, split out from gdb_preprocess, add f77
18530 case.
18531 (gdb_preprocess): Call get_compiler.
18532
18533 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18534 * gdb.base/attach.exp, gdb.base/display.exp,
18535 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18536 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18537 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18538 third arg to gdb_test.
18539 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18540 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
18541 HP-UX xfails, add others.
18542 * gdb.base/completion.exp: Reflect name change of self-test.
18543 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
18544 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18545 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18546 HP failure number.
18547 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18548 useless HP-UX 10.30 references.
18549 * gdb.base/maint.exp: Loosen matches.
18550 * gdb.base/pointers.c (main): Declare more_code.
18551 * gdb.base/pointers.exp: Match on output of a `next'.
18552 * gdb.base/structs.c: Add prototypes.
18553 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18554 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18555
185561999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18557
18558 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
18559 command.
18560
185611999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18562
18563 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18564 Fix run to main failures. Watchpoint can be hardware watchpoint.
18565
18566 * gdb.base/annota1.exp: Clean up some more, in case printf has
18567 debug info. Deal with lack of signal hanlder info in stack.
18568
18569 From Jim Kingdon <kingdon@redhat.com>:
18570 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18571
185721999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18573
18574 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
18575 gdb.base/foll-vfork.exp: Don't run for crosses.
18576
18577Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18578
18579 * gdb.base/configure.in: Check for gdbvars.exp instead of
18580 a1-selftest.exp.
18581 * gdb.base/configure: Re-generate.
18582
185831999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18584
18585 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18586 in trying to run first and name is too long.
18587
18588 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18589 pointers2.c and pointers2.exp, respectively.
18590 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18591 doschk happier.
18592
185931999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18594
18595 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18596 callfuncs2.c and callfuncs2.exp.
18597
18598 * gdb.base/list.exp: Remove mistaken xfails.
18599 * gdb.base/list0.h: Add optional prototypes.
18600
18601Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18602
18603 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18604 calling malloc.
18605 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18606 * ptype.exp: Move test for get_debug_format to before its first
18607 use.
18608
186091999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18610
18611 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18612 * gdb.base/annota2.cc, annota2.exp: Move from here.
18613 * gdb.c++/annota2.cc, annota2.exp: To here.
18614 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18615
18616Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18617
18618 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18619 a consistent format.
18620
186211999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18622
18623 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18624 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18625 HP compilers, also set the globals $true and $false.
18626
18627 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18628 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18629 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18630 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18631 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18632 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18633 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18634 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18635 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18636 whatis.c} Add C++ compatible function definitions and return
18637 types, add includes for library functions.
18638 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18639 * gdb.base/step-test.c (myglob): Rename from glob.
18640 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18641 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18642 files, move here from gdb.hp.
18643 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18644 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18645 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18646 Adjust line numbers in regexps.
18647
18648 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18649 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18650 instead of 0/1.
18651
18652 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18653 foll-vfork.exp: New files, move here from gdb.hp.
18654 * gdb.base/page.exp: New file, test of pagination command.
18655
18656 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18657 recursion test.
18658 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18659
18660 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18661 gdb.base/solib.exp: Fix compiler invocation process.
18662
18663 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18664 HP-UX 11, turn off overload resolution explicitly.
18665 * gdb.base/commands.exp: Set argument list explicitly, add
18666 watchpoint test.
18667 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18668 them work.
18669 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18670 expressions properly.
18671 * gdb.base/corefile.exp: Loosen the match slightly.
18672 * gdb.base/default.exp: Allow "Error accessing memory" message
18673 also.
18674 * gdb.base/display.exp: Skip over x/0 j if PA64.
18675 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18676 * gdb.base/interrupt.exp: Ditto.
18677 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18678 in use.
18679 * gdb.base/list.exp: Add xfails for HP-UX.
18680 * gdb.base/long_long.exp: Refine some of the numeric matches.
18681 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18682 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18683 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18684 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18685 * gdb.base/ptype.exp: Succeed on more varieties of output.
18686 * gdb.base/scope.exp: Add xfails for HP-UX.
18687 * gdb.base/sect-cmd.exp: Add more cases.
18688 * gdb.base/setvar.exp: Add xfails for HP-UX.
18689 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18690 * gdb.base/signals.exp: Match on void symbolically.
18691 * gdb.base/step-test.exp: Add case for PA64.
18692 * gdb.base/term.exp: Add exit and restart.
18693 * gdb.base/twice.exp: Clean up after self.
18694 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18695 * gdb.base/whatis.exp: Allow more ways to pass tests.
18696
18697 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18698 no longer useful.
18699
18700Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18701
18702 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18703 list of patterns.
18704 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18705 print_double_array(double_array)", "continuing to breakpoint
18706 1018", "print print_double_array(array_d)" and "continuing to
18707 1034" tests.
18708
187091999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18710
18711 * Makefile.in: Add empty html and install-html targets.
18712
187131999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18714
18715 * config/mt-*: Remove, these haven't been used since 1996.
18716
187171999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18718
18719 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18720 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18721 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18722
187231999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18724
18725 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18726 simpler match case for the ptype of the big class.
18727
187281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18729
18730 * gdb.exp: Fix test for gdb_prompt existence.
18731
187321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18733
18734 * gdb.exp (gdb_test): Add fail after calls to perror.
18735
187361999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18737
18738 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18739
187401999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18741
18742 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18743
18744Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18745
18746 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18747 malloc() is linked in.
18748
187491999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18750
18751 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18752 step at end.
18753
18754 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18755
187561999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18757
18758 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18759
18760Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18761
18762 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18763 * gdb.base/mips_pro.exp: Likewise.
18764
187651999-06-02 Keith Seitz <keiths@cygnus.com>
18766
18767 * gdb.c++/templates.cc: Change all "new" operators to throw
18768 an exception.
18769 * gdb.c++/cplusfuncs.cc: Likewise.
18770
18771 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18772
18773Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18774
18775 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18776 * gdb.base/ending-run.exp: When stepping out of main, accept a
18777 step into an arbitrary assembler file.
18778
187791999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18780
18781 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18782 "breakpoint-invalid" to be printed.
18783 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18784 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18785 * gdb.base/annota2.cc: Initialize a.x to 0.
18786
187871999-05-17 Keith Seitz <keiths@cygnus.com>
18788
18789 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18790 when "skip_float_tests" set.
18791 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18792 "print print_ten_doubles", and "step into print_long_arg_list".
18793 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18794 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18795 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18796 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18797 "skip_float_tests" is set.
18798 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18799 when "skip_float_tests" set.
18800
188011999-05-06 Keith Seitz <keiths@cygnus.com>
18802
18803 * gdb.base/annota2.cc: Include stdio.h.
18804
18805Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18806
18807 * gdb.base/crossload.exp: Remove, this has been disabled ever
18808 since BFD stopped including all targets, and cross-GDB gets
18809 plenty of testing anyway.
18810 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18811 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18812 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18813 * gdb.base/README: Remove, was doc for this.
18814 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18815 needed.
18816
188171999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18818
18819 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18820 output.
18821
18822 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18823 * gdb.base/annota2.exp: New file. More annotation tests.
18824 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18825 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18826
188271999-04-23 Angela Marie Thomas <angela@cygnus.com>
18828
18829 * config/cfdbug.exp: New file.
18830
188311999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18832
18833 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18834 Marcus Daniel's and Dale Hawkins's demangler crashes.
18835
18836 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18837 test_lucid_style_demangling, test_arm_style_demangling,
18838 test_hp_style_demangling): Try Tom Tromey's core-dumping
18839 identifier under each demangling style.
18840
188411999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18842
18843 * gdb.c++/demangle.exp: Include the current demangling style
18844 in all test names.
18845 (current_demangling_style): New global variable.
18846 (set_demangling_style, test_demangling_core, test_demangling,
18847 test_demangling_exact): New functions.
18848 (test_gnu_style_demangling, test_lucid_style_demangling,
18849 test_arm_style_demangling, test_hp_style_demangling): Use those,
18850 instead of calling gdb_test and gdb_test_exact directly.
18851 (catch_demangling_errors): New function, which reports errors
18852 signalled by the demangling test functions in an orderly way.
18853 (do_tests): Use catch_demangling_errors.
18854
188551999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18856
18857 * gdb.base/signals.exp (test_handle_all_print): Use () for
18858 grouping in expressions, not {}.
18859
18860 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18861 initialized yet.
18862
188631999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18864
18865 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18866 are listed.
18867
188681999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18869
18870 * gdb.stabs/weird.exp: Test for CC being defined before
18871 looking at its value.
18872
188731999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18874
18875 * gdb.base/call-ar-st.exp: Remove stray '#'.
18876 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18877 "short int" and "long int".
18878 * gdb.c++/overload.cc: Cast the string added in the previous
18879 change, to mollify finicky HP compiler.
18880 * gdb.hp/reg-test.exp (testfile): Fix file name.
18881 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18882
18883 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18884 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18885 alternate form of enum ptype.
18886
188871999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18888
18889 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18890 * gdb.hp/*.exp: Change all to run compiler probe only after
18891 passing skip_hp_tests, so as not to waste time on guaranteed
18892 failure.
18893
18894 * gdb.c++/overload.cc: Pass string instead of char addr, always
18895 init ccpfoo.
18896 * gdb.c++/templates.cc: Fix syntax error.
18897
18898Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18899
18900 * gdb.base/commands.exp: Add test for correct position of '>'
18901 when issuing the 'commands' command after a 'while' or 'if'
18902 command.
18903
189041999-03-18 James Ingham <jingham@cygnus.com>
18905
18906 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18907
18908 * gdb.c++/method.exp: It was testing an uninitialized int on the
18909 stack and assuming it was positive.
18910
18911 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18912
18913 * gdb.base/step-test.exp: Catch a case where finish is broken and
18914 keep it from killing the rest of the tests.
18915 Use gdb_continue_to_end.
18916
18917 * gdb.base/sigall.exp: use gdb_continue_to_end.
18918
18919 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18920
18921 * gdb.base/display.exp: use runto_main, not run.
18922
18923 * gdb.base/default.exp: Check for the current error message in the
18924 r abbreviation test.
18925 Add strongarm to the targets that know info float.
18926
18927 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18928 run which doesn't work with monitors.
18929
18930 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18931
18932 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18933
18934 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18935 program. Traps the case (in Cygmon) when the program never really
18936 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18937 more places, so I used my name. Sorry Mark...
18938
18939 * config/monitor.exp (gdb_target_monitor): added another
18940 target_info parameter: remotebinarydownload. This will set the
18941 remotebinarydownload flag if this is causing some boards trouble.
18942
189431999-03-18 Mark Salter <msalter@cygnus.com>
18944
18945 * lib/gdb.exp (continue_to_exit): New function.
18946
18947 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18948 * gdb.base/ending-run.exp: Ditto.
18949 * gdb.base/step-test.exp: Ditto.
18950
189511999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18952
18953 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18954 (suggested by Art Haas <ahaas@neosoft.com>).
18955
189561999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18957
18958 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18959
18960Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18961
18962 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18963 descriptions of types (short unsigned int vs unsigned short, etc).
18964
189651999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18966
18967 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18968 a call to strlen; sometimes we do have sources.
18969
189701999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18971
18972 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18973 character, so GDB won't print garbage after its end.
18974
18975 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18976 breakpoint there instead. Sometimes GCC emits memcpy to handle
18977 the large structures being passed by value, so we step into that
18978 instead of sum_array_print, which obscures what we're really testing.
18979 * gdb.base/step-test.exp: However, we do want a test that notices
18980 the bizarre steps into memcpy, so do that here. Add check for
18981 stepping into function calls that pass large structures by value.
18982 ("Is that a noun clause, or are you just happy to see me?")
18983 Remove all references to specific line numbers.
18984 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18985 New type and function.
18986 (main): Call large_struct_by_value, passing it a large struct by value.
18987 * lib/gdb.exp (gdb_get_line_number): New function.
18988
18989 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18990 more portable.
18991
189921999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18993
18994 * lib/gdb.exp: Doc fixes.
18995
189961999-03-05 Nick Clifton <nickc@cygnus.com>
18997
18998 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18999
190001999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19001
19002 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
19003 commands. They're not germane to this test, and they don't work
19004 that way on remote targets.
19005
190061999-03-01 James Ingham <jingham@cygnus.com>
19007
19008 * Changelog entries merged over from gdb development branch.
19009
19010 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19011
19012 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19013 for outputting results of test run.
19014
19015 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
19016
19017 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
19018
190191999-02-25 Felix Lee <flee@cygnus.com>
19020
19021 * lib/gdb.exp (debug_format): initialize
19022
190231999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19024
19025 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19026 * gdb.base/call-rt-st.c: Ditto.
19027
190281999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19029
19030 * gdb.threads/pthreads.exp (horiz): New variable.
19031 (test_startup): Fix regexps that capture thread numbers.
19032
190331999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19034
19035 * gdb.base/smoke.exp: Disambiguate two test case names (both
19036 called ``print'').
19037
19038Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19039
19040 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
19041 compilation.
19042
190431999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19044
19045 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19046 actual output formatting.
19047 * gdb.base/smoke.exp: GDB removes leading 0's.
19048 * gdb.base/volatile.exp: Don't check type of remuneration;
19049 that variable is no longer defined in constvars.c.
19050 * gdb.base/step-test.c (main): Exit with explicit exit code.
19051 * gdb.base/step-test.exp: Remove two nexti checks--they are
19052 not portable.
19053
190541999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19055
19056 * gdb.base/help.exp ("help delete display"): Fix test to match
19057 gdb's output.
19058
19059 * gdb.base/long_long.c (known_types): Initialize values to zero.
19060 * gdb.base/long_long.exp: Step one more line
19061 so 'dec' is initialized in "get to known place". GDB removes
19062 leading zeros. Explicitly ask for hex formatting. Use
19063 unique test case names.
19064
19065Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19066
19067 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
19068
19069 * gdb.c++/method.exp: Add missing close brace.
19070
190711999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19072
19073 * gdb.base/maint.exp: Use 'set height 0' to disable page
19074 prompting, not 'set height 400'.
19075
19076 Fix a bunch of timeouts.
19077 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19078 four separate tests, so expect doesn't take forever to match a ton
19079 of text against a regexp with lots of .* forms.
19080 ("maint print psymbols", "maint print symbols"): Make some of
19081 these greps more selective, so that expect doesn't try to wade
19082 through huge piles of output and time out.
19083
19084 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19085
19086 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
19087 tests: one which doesn't expect shlib events to be reported, and
19088 another which does, but is XFAIL for all platforms other than
19089 HP/UX.
19090
19091 * gdb.base/break.exp: Teach the test suite that the `catch
19092 fork', `catch vfork', and `catch exec' commands produce error
19093 messages on platforms that don't provide these features.
19094
19095Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19096
19097 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
19098 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19099 (shortening names from solib_threshold.exp etc), won't run on
19100 anything but HP-UX for the foreseeable future.
19101 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
19102 reflect move.
19103
19104Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19105
19106 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
19107 gdb.trace/Makefile.in (clean): Remove all test executables.
19108
19109Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19110
19111 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19112 successfully re-sets breakpoints in shared libraries.
19113 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19114
19115Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19116
19117 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19118 and compiled w/o GCC.
19119
19120 * gdb.hp/watch-cmd.exp: ditto.
19121
19122 * gdb.hp/watch-hp.exp: ditto.
19123
19124 * gdb.hp/xdb1.exp: ditto.
19125
19126 * gdb.hp/xdb2.exp: ditto.
19127
19128 * gdb.hp/dbx.exp: ditto.
19129
19130Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19131
19132 * constvars.c: Remove C++-isms.
19133 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
19134 with GCC.
19135
19136Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19137
19138 The following changes are part of the HP merge.
19139
19140 * gdb.base/break.exp: new tests to verify that catchpoints for
19141 fork, vfork, and exec don't trigger inappropriately.
19142
19143 * gdb.base/opaque.exp: compile one file at a time, then link.
19144
19145 * gdb.base/signals.exp: be more restrictive about which hppa
19146 systems receive a setup_xfail. new tests.
19147
19148 * gdb.base/solib_threshold.build: new file.
19149 * gdb.base/solib_threshold.exp: new file.
19150 * gdb.base/solib_threshold.link_opts: new file.
19151 * gdb.base/solib_threshold.mk: new file.
19152 * gdb.base/gen_solib_threshold.c: new file.
19153
19154 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19155 tests. New tests for enums inside classes.
19156
19157 * gdb.c++/compiler.cc: indicate support of template debugging.
19158
19159 * gdb.c++/demangle.exp: run hp style demangling tests.
19160
19161 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19162 tests.
19163
19164 * gdb.c++/misc.cc: changes to support new tests.
19165
19166 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19167 to support new tests.
19168
19169 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19170 gcc, then skip these tests.
19171
19172Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19173
19174 The following files are part of the HP merge; some had longer
19175 names at HP, but have been renamed to be no more than 14
19176 characters in length.
19177
19178 * gdb.hp/ambiguous.cc: new file.
19179 * gdb.hp/ambiguous.exp: new file.
19180 * gdb.hp/attach.exp: new file.
19181 * gdb.hp/attach2.exp: new file.
19182 * gdb.hp/classes-hp.exp: new file.
19183 * gdb.hp/ctti.exp: new file.
19184 * gdb.hp/ctti-add.cc: new file.
19185 * gdb.hp/ctti-add1.cc: new file.
19186 * gdb.hp/ctti-add2.cc: new file.
19187 * gdb.hp/ctti-add3.cc: new file.
19188 * gdb.hp/dbx.exp: new file.
19189 * gdb.hp/exception.cc: new file.
19190 * gdb.hp/exception.exp: new file.
19191 * gdb.hp/foll-exec.c: new file.
19192 * gdb.hp/foll-exec.exp: new file.
19193 * gdb.hp/foll-fork.c: new file.
19194 * gdb.hp/foll-fork.exp: new file.
19195 * gdb.hp/foll-vfork.c: new file.
19196 * gdb.hp/foll-vfork.exp: new file.
19197 * gdb.hp/inherit-hp.exp: new file.
19198 * gdb.hp/more-steps.exp: new file.
19199 * gdb.hp/namespace.cc: new file.
19200 * gdb.hp/namespace.exp: new file.
19201 * gdb.hp/optimize.exp: new file.
19202 * gdb.hp/pxdb.c: new file.
19203 * gdb.hp/pxdb.exp: new file.
19204 * gdb.hp/quicksort.exp: new file.
19205 * gdb.hp/reg-test.exp: new file.
19206 * gdb.hp/reg-test.s: new file.
19207 * gdb.hp/sized-enum.c: new file.
19208 * gdb.hp/sized-enum.exp: new file.
19209 * gdb.hp/start-stop.exp: new file.
19210 * gdb.hp/templ-hp.cc: new file.
19211 * gdb.hp/templ-hp.exp: new file.
19212 * gdb.hp/thr-lib.c: new file.
19213 * gdb.hp/thr-lib.exp: new file.
19214 * gdb.hp/thr-lib.h: new file.
19215 * gdb.hp/thr-liblib.c: new file.
19216 * gdb.hp/virtfun-hp.c: new file.
19217 * gdb.hp/virtfun-hp.exp: new file.
19218 * gdb.hp/watch-cmd.exp: new file.
19219 * gdb.hp/watch-hp.exp: new file.
19220 * gdb.hp/xdb1.exp: new file.
19221 * gdb.hp/xdb2.exp: new file.
19222 * gdb.hp/xdb3.exp: new file.
19223
19224Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19225
19226 The following files are part of the HP merge; some had longer
19227 names at HP, but have been renamed to be no more than 14
19228 characters in length.
19229
19230 * gdb.base/ss.h: new file.
19231 * gdb.base/call-ar-st.c: new file.
19232 * gdb.base/call-ar-st.exp: new file.
19233 * gdb.base/call-rt-st.c: new file.
19234 * gdb.base/call-rt-st-exp: new file.
19235 * gdb.base/call-strs.exp: new file.
19236 * gdb.base/ena-dis-br.exp: new file.
19237 * gdb.base/environ.exp: new file.
19238 * gdb.base/long_long.exp: new file.
19239 * gdb.base/sect-cmd.exp: new file.
19240 * gdb.base/shlib-cl2.exp: new file.
19241 * gdb.base/smoke.exp: new file.
19242 * gdb.base/so-impl-ld.c: new file.
19243 * gdb.base/so-impl-ld.exp: new file.
19244 * gdb.base/so-indr-cl.c: new file.
19245 * gdb.base/so-indr-cl.exp: new file.
19246 * gdb.base/varargs.exp: new file.
19247 * gdb.base/volatile.exp: new file.
19248 * gdb.base/whatis-exp.exp: new file.
19249 * gdb.base/display.exp: new file.
19250 * gdb.c++/derivation.exp: new file.
19251 * gdb.c++/local.exp: new file.
19252 * gdb.c++/member-ptr.exp: new file.
19253 * gdb.c++/overload.exp: new file.
19254 * gdb.c++/ovldbreak.exp: new file.
19255 * gdb.c++/ref-types.exp: new file.
19256 * gdb.c++/ref-types2.exp: new file.
19257 * gdb.c++/userdef.exp: new file.
19258
19259Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19260
19261 * gdb.base/default.exp: Reflect wording change in remote.c.
19262
19263Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
19264
19265 * gdb.base/help.exp: Update to reflect current text.
19266
19267Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19268
19269 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19270 they're stack variables and contain garbage.
19271 * gdb.c++/anon-union.exp: new file.
19272
19273 The following changes were made by David Taylor
19274 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19275 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19276 in changes by HP.
19277
19278 * gdb.base/bitops.exp: new file.
19279 * gdb.base/default.exp: change expected messages for catch and
19280 info catch tests to reflect HP merge changes.
19281 * gdb.base/enable-disable-break.exp
19282 * gdb.base/ending-run.c: new file.
19283 * gdb.base/long_long.c: new file.
19284 * gdb.base/maint.exp: new file.
19285 * gdb.base/pointers2.exp: new file.
19286 * gdb.base/shlib-call2.exp: new file.
19287 * gdb.base/solib.exp: new file.
19288 * gdb.base/step-test.c: new file.
19289 * gdb.c++/anon-union.cc: new file.
19290 * gdb.c++/local.cc: new file.
19291 * gdb.c++/member-pointer.cc: new file.
19292 * gdb.c++/method.cc: new file.
19293 * gdb.c++/ref-types.cc: new file.
19294 * gdb.c++/ref-types2.cc: new file.
19295 * gdb.c++/userdef.cc: new file.
19296
19297 * gdb.base/scope.exp: compile one file at a time, then link.
19298 * gdb.base/langs.exp: ditto.
19299 * gdb.base/list.exp: ditto.
19300
19301Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19302
19303 The following changes were made by David Taylor
19304 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19305 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19306 in changes by HP.
19307
19308 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19309 skip tests. When compiling pass c++ flag to gdb_compile.
19310 * gdb.c++/
19311
19312 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19313 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19314 (skip_hp_tests): new function.
19315 (gdb_preprocess): new function.
19316
19317 * configure.in (hpdir): decide whether to configure gdb.hp.
19318 * configure: regenerated.
19319
19320 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19321 to delete on clean.
19322 (EXECUTABLES): update to reflect new additions.
19323 * gdb.base/commands.exp: update message expected.
19324 * gdb.base/default.exp: add copyright notice.
19325 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19326 * gdb.base/help.exp: update messages to reflect current text.
19327 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19328 targets for recurse tests.
19329 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19330 skip this file.
19331
19332 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19333 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19334 compilation.
19335 * gdb.c++/misc.exp: ditto.
19336 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19337 run the tests. tell gdb_compile that it's a c++ compilation.
19338
19339 * gdb.threads/pthreads.exp: fix typo in message.
19340
19341 * gdb.base/all-bin.exp: new file.
19342 * gdb.base/arithmet.exp: new file.
19343 * gdb.base/assign.exp: new file.
19344 * gdb.base/completion.exp: new file.
19345 * gdb.base/cond-expr.exp: new file.
19346 * gdb.base/condbreak.exp: new file.
19347 * gdb.base/define.exp: new file.
19348 * gdb.base/dollar.exp: new file.
19349 * gdb.base/environment.exp: new file.
19350 * gdb.base/eval-skip.exp: new file.
19351 * gdb.base/jump.exp: new file.
19352 * gdb.base/logical.exp: new file.
19353 * gdb.base/pointers.exp: new file.
19354 * gdb.base/relational.exp: new file.
19355 * gdb.base/section_command.exp: new file.
19356 * gdb.base/whatis-expr.exp: new file.
19357
19358 * gdb.base/all-types.c: new file.
19359 * gdb.base/call-array-struct.c: new file.
19360 * gdb.base/call-return-struct.c: new file.
19361 * gdb.base/call-strings.c: new file.
19362 * gdb.base/callfuncs2.c: new file.
19363 * gdb.base/condbreak.c: new file.
19364 * gdb.base/constvars.c: new file.
19365 * gdb.base/display.c: new file.
19366 * gdb.base/int-type.c: new file.
19367 * gdb.base/jump.c: new file.
19368 * gdb.base/miscexprs.c: new file.
19369 * gdb.base/pointers.c: new file.
19370 * gdb.base/pointers2.c: new file.
19371 * gdb.base/shmain.c: new file.
19372 * gdb.base/shr1.c: new file.
19373 * gdb.base/shr2.c: new file.
19374 * gdb.base/solib.c: new file.
19375 * gdb.base/solib1.c: new file.
19376 * gdb.base/solib2.c: new file.
19377 * gdb.base/varargs.c: new file.
19378 * gdb.c++/derivation.cc: new file.
19379 * gdb.c++/overload.cc: new file.
19380 * gdb.c++/ovldbreak.cc: new file.
19381 * gdb.hp/attach.c: new file.
19382 * gdb.hp/attach2.c: new file.
19383 * gdb.hp/average.c: new file.
19384 * gdb.hp/compiler.c: new file.
19385 * gdb.hp/compiler.cc: new file.
19386 * gdb.hp/execd-program.c: new file.
19387 * gdb.hp/follow-exec.c: new file.
19388 * gdb.hp/follow-fork.c: new file.
19389 * gdb.hp/follow-vfork-and-exec.c: new file.
19390 * gdb.hp/misc-hp.cc: new file.
19391 * gdb.hp/more-steps.c: new file.
19392 * gdb.hp/optimize.c: new file.
19393 * gdb.hp/quicksort.c: new file.
19394 * gdb.hp/run-hp.c: new file.
19395 * gdb.hp/start-stop.c: new file.
19396 * gdb.hp/sum.c: new file.
19397 * gdb.hp/templates-hp.cc: new file.
19398 * gdb.hp/thread-local-in-lib.c: new file.
19399 * gdb.hp/thread-local-in-lib.h: new file.
19400 * gdb.hp/thread-local-in-lib.lib.c: new file.
19401 * gdb.hp/vforked-program.c: new file.
19402 * gdb.hp/virtfunc-hp.cc: new file.
19403 * gdb.hp/watchpoint-hp.c: new file.
19404 * gdb.hp/xdb.c: new file.
19405 * gdb.hp/xdb0.c: new file.
19406 * gdb.hp/xdb0.h: new file.
19407 * gdb.hp/xdb1.c: new file.
19408
19409Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19410
19411 The following change was made by Edith Epstein
19412 <eepstein@cygnus.com> as part of a project to merge in changes
19413 originally made by HP; HP did not create ChangeLog entries.
19414
19415 * gdb.c++/demangle.exp: changed the expected output for some
19416 ARM-style mangling -- removed second reference to datatype.
19417 For example, maint demangle __dt__11T1__pt__2_cFv
19418 T1<char>::~T1<char>(void)
19419 becomes,
19420 maint demangle __dt__11T1__pt__2_cFv
19421 T1<char>::~T1(void)
19422
19423 (test_hp_style_demangling): new hp specific demangling test cases.
19424
19425Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19426
19427 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19428 * gdb.trace/backtrace.exp: Likewise.
19429 * gdb.trace/circ.exp: Likewise.
19430 * gdb.trace/collection.exp: Likewise.
19431 * gdb.trace/deltrace.exp: Likewise.
19432 * gdb.trace/infotrace.exp: Likewise.
19433 * gdb.trace/limits.exp: Likewise.
19434 * gdb.trace/packetlen.exp: Likewise.
19435 * gdb.trace/passc-dyn.exp: Likewise.
19436 * gdb.trace/passcount.exp: Likewise.
19437 * gdb.trace/report.exp: Likewise.
19438 * gdb.trace/save-trace.exp: Likewise.
19439 * gdb.trace/tfind.exp: Likewise.
19440 * gdb.trace/tracecmd.exp: Likewise.
19441 * gdb.trace/while-dyn.exp: Likewise.
19442 * gdb.trace/while-stepping.exp: Likewise.
19443
194441998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19445
19446 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19447
19448Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19449
19450 From Brendan Kehoe:
19451 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19452 int return types.
19453
19454Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19455
19456 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
19457 remote dos host testing right.
19458
19459Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19460
19461 * gdb.base/corefile.exp: remove some xfails.
19462
19463Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19464
19465 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19466 have different timestamps.
19467
19468Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19469
19470 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
19471 gdb.base/default.exp: Replace "exec" with "executable".
19472
19473Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19474
19475 * gdb.base/default.exp: Change else if to elseif from previous
19476 delta.
19477
19478Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19479
19480 * gdb.base/default.exp: Add brace missing from previous delta.
19481
19482Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19483
19484 * gdb.base/default.exp: Support test for info float for all
19485 varieties of arm toolchain.
19486
19487Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
19488
19489 * gdb.trace/*.exp: remove "remote_download" command.
19490
19491Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
19492
19493 * gdb.trace/*.exp: remove -gdwarf from compile.
19494
19495Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19496
19497 * gdb.trace/configure.in(AC_INIT): typo
19498 * gdb.trace/configure: regenerated
19499
19500Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
19501
19502 * config/m68k-emc.exp: New file.
19503 * lib/<emc-support.exp trace-support.exp}: New files.
19504 * configure.in: add new test directory gdb.trace.
19505 * gdb.trace/{configure configure.in Makefile.in}: New files.
19506 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19507 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19508 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19509 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19510 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19511 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19512 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
19513
19514Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
19515
19516 * gdb.c++/classes.exp: Change all regular expressions to match
19517 arbitrary combinations of newline/carriage-return, so that they
19518 will work equally well on Unix and Windows.
19519 * gdb.c++/inherit.exp: ditto.
19520 * gdb.c++/virtfunc.exp: ditto.
19521
195221998-08-11 Dawn Perchik <dawn@cygnus.com>
19523
19524 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19525
19526Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19527
19528 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19529 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19530 to use a0-a3/d0-d3 as needed.
19531
19532Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19533
19534 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19535 * gdb.disasm/am33.exp: Corresponding changes.
19536
195371998-07-11 Felix Lee <flee@cygnus.com>
19538
19539 * gdb.base/callfuncs.exp: add cmp10 test.
19540 * gdb.base/callfuncs.c (cmp10): new function.
19541
19542Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19543
19544 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
19545 into two parts to get around a synchronization problem in expect.
19546
19547Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19548
19549 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19550
19551 * configure.in: Add options for gdbtk testsuite.
19552
19553 * configure: Regenerate.
19554
19555 * gdb.gdbtk: New directory to hold gdbtk tests.
19556
19557Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19558
19559 * gdb.fortran/types.exp: Escape brackets in expect patterns
19560 for test_float_literal_types_accepted tests.
19561 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19562 before run test.
19563
19564Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19565
19566 * am33.exp: Just compile, do not link the testcase.
19567 * am33.s: Add ".am33" pseudoop to force am33 mode.
19568
195691998-06-25 Felix Lee <flee@cygnus.com>
19570
19571 * gdb.base/setshow.exp: make sure $pc is sane.
19572
19573 * gdb.stabs/weird.exp: split expect patterns properly.
19574
19575Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19576
19577 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19578 * gdb.disasm/am33.exp: Run it.
19579
19580Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
19581
19582 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19583 match processing (and eliminate spurious timeouts when running).
19584
19585Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
19586
19587 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19588 exception test, but conditionalize it on target [mach | gnu].
19589
19590Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19591
19592 * gdb.base/overlays.exp: fixup compile line for linker script.
19593
19594Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19595
19596 * gdb.fortran/types.exp: don't guess at float size.
19597
19598Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19599
19600 * gdb.base/exprs.exp: delete test that depends on int size.
19601
19602Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19603
19604 * config/sim.exp: Removed checks for target triplets.
19605 (gdb_target_sim): Use gdb,target_sim_options.
19606
19607Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19608
19609 * gdb.base/reread.exp: New file.
19610 * gdb.base/reread1.c: New file.
19611 * gdb.base/reread2.c: New file.
19612
19613Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19614
19615 * config/sim.exp: Use 'target sim -sparclite' when running
19616 SPARClite programs.
19617
19618Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19619
19620 * gdb.base/structs2.exp: New file.
19621 * gdb.base/structs2.c: New file.
19622
19623Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19624
19625 * gdb.asm/common.inc: New file.
19626 * gdb.asm/d10v.inc: New file.
19627 * asm-source.exp: Pass -I's to gas to find .inc files.
19628 Update line numbers in expected output.
19629 * asmsrc1.s: Rewrite.
19630 * asmsrc2.s: Rewrite.
19631 * configure.in: Create arch.inc symlink.
19632 * configure: Regenerate.
19633 * Makefile.in (distclean): Delete arch.inc.
19634
19635Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19636
19637 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19638 (t_enum_value2): ditto
19639 (t_enum_value3): ditto
19640 (main): ditto
19641Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19642
19643 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19644 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19645 change.
19646 Use gdb_test instead of send_gdb/gdb_expect sequences.
19647
19648Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19649
19650 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19651 not void.
19652
19653Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19654
19655 * gdb.base/branches.c: Code with lots of loops and
19656 subroutines. Used to test gdbs ability to single step through PC
19657 changes, especially to test mips-tdep.c:mips_next_pc
19658
19659Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19660
19661 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19662 more rigorous EGCS C++ error checking.
19663
19664Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19665
19666 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19667 tests.
19668 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19669 function when asleep.
19670 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19671 for i*86 Linux and SVR4 signal handling problems.
19672 Remove linux xfail for `next to handler in signals_tests_1', fixed
19673 by recent infrun.c change.
19674 Limit backtrace to 10 frames to avoid timeout problems with infinite
19675 stack backtraces.
19676 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19677 target.[ch] change.
19678
19679Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19680
19681 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19682 for a newline from gdb before continuing.
19683 (default_gdb_exit): Just look for y or n.
19684 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19685 it does, fail the rests of the tests in the file.
19686
19687Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19688
19689 * config/cygmon.exp: New file.
19690
19691Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19692
19693 * gdb.base/list.exp: Fix problem with "list default lines around
19694 main" test on remote targets.
19695
19696 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19697 run test on remote targets.
19698
19699Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19700
19701 * gdb.asm: New directory.
19702 * configure.in: Configure it.
19703 * configure: Regenerate.
19704 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19705 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19706
19707Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19708
19709 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19710
19711Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19712
19713 * gdb.base/overlays (several files): Merge the two overlay
19714 managers into one. Change variables (foox, barx, bazx, grbxx)
19715 back into ints but force them to load in their proper sections.
19716
19717Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19718
19719 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19720 on-chip insn memory and IMAP1 to upper 128k.
19721 (D10VCopy): Handle memory regions crossing 16k boundaries.
19722 (D10VCopy): Transfer data in 32 bit chunks.
19723
19724Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19725
19726 * gdb.base/overlays.c (main): Exit normally when result is
19727 correct.
19728
19729 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19730 map. Include space for printf in .text segment.
19731
19732 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19733 updated d10v memory VMA/LMA map.
19734 (D10VCopy): Call D10VTranslate.
19735
19736Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19737
19738 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19739
19740 * gdb.base/bar.c (barx, bar): Change variable to small array so
19741 that it won't be put into the .sdata - small data -
19742 section. Update reference.
19743 * gdb.base/baz.c (bazx, baz): Ditto.
19744 * gdb.base/foo.c (foox, foo): Ditto.
19745 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19746
19747 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19748 to be arrays.
19749
19750Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19751
19752 * gdb.base/overlays.exp: fix up and get working again.
19753 Add tests for backtraces from an overlay function.
19754
19755Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19756
19757 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19758 "calling function with watchpoint enabled".
19759
19760Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19761
19762 * gdb.base/break.exp (test_next_with_recursion): Remove
19763 gdb_suppress_tests for d10v-*-*.
19764 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19765 pending review of whether it is useful or not.
19766
19767Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19768
19769 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19770
19771Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19772
19773 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19774 * config/dve.exp: New file to support Densan boards.
19775
19776Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19777
19778 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19779 reads and BSD.
19780
19781Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19782
19783 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19784 response.
19785
19786 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19787
19788Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19789
19790 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19791 test.
19792
19793 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19794 target_sizeof_long and target_bigendian_p.
19795 (structs_by_value, structs_by_reference): Check values according
19796 to targets word size and endianess.
19797
19798Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19799
19800 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19801 output.
19802
19803Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19804
19805 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19806 Update test of set args help to match source change.
19807
19808Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19809
19810 * gdb.base/default.exp: Expect help system output to be in
19811 alphabetical order.
19812 * gdb.base/help.exp: Ditto.
19813
19814Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19815
19816 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19817 "i*86-pc-linux-gnu*".
19818 * gdb.base/interrupt.exp: Ditto.
19819 * gdb.base/corefile.exp: Ditto.
19820
19821 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19822 define vxworks when building the testcase.
19823
19824 * gdb.base/ptype.exp: Fix testnames to be unique.
19825 * gdb.base/radix.exp: Ditto.
19826 * gdb.base/term.exp: Ditto.
19827 * gdb.base/whatis.exp: Ditto.
19828 * gdb.c++/classes.exp: Ditto.
19829
19830Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19831
19832 * gdb.base/callfuncs.exp: Fix indentation.
19833
19834 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19835 suppress_flag has been set.
19836 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19837 target feature.
19838
19839Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19840
19841 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19842 the testcase.
19843
19844 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19845 set_debug_traps() and breakpoint().
19846 * gdb.c++/misc.cc (main): Ditto.
19847 * gdb.c++/templates.cc (main): Ditto.
19848 * gdb.c++/virtfunc.cc (main): Ditto.
19849
19850Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19851
19852 * lib/gdb.exp(gdb_step_for_stub): New function.
19853 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19854 exists, reload the executable and do a "continue" instead of
19855 doing a jump.
19856 (runto_main): Use gdb_step_for_stub.
19857
19858 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19859 tests to have unique names.
19860 * gdb.base/callfuncs.exp: Ditto.
19861 * gdb.base/commands.exp: Ditto.
19862 * gdb.base/default.exp: Ditto.
19863 * gdb.base/help.exp: Ditto.
19864 * gdb.base/list.exp: Ditto.
19865 * gdb.base/opaque.exp: Ditto.
19866 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19867 similar tests.
19868
19869 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19870 * gdb.c++/cplusfuncs.cc: Ditto.
19871 * gdb.c++/virtfunc.cc: Ditto.
19872
19873 * config/monitor.exp: Keep track of the last file we saw, rather
19874 than trying to get the info from gdb.
19875
19876 * gdb.fortran/types.exp: Move comment to previous line.
19877
19878Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19879
19880 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19881 target mode.
19882
19883Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19884
19885 From Bob Manson:
19886 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19887 string from GDB when it connects.
19888
19889 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19890
19891Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19892
19893 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19894 if we can't get a debug format from GDB (we may be testing an
19895 older GDB). Use a 10 second timeout when checking for the format.
19896
19897 * gdb.stabs/weird.exp: Fix quoting.
19898
19899 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19900
19901Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19902
19903 * config/arm-ice.exp: New file.
19904
19905Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19906
19907 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19908 until it has been modified to work with the new testsuite.
19909
19910 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19911 testcase won't compile, cause all of the testcases in the file to
19912 fail instead.
19913
19914 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19915 (gdb_clear_suppressed): New procedure.
19916 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19917 it contains a positive value.
19918
19919Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19920
19921 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19922
19923 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19924
19925Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19926
19927 * lib/gdb.exp (setup_xfail_format): New function.
19928 (get_debug_format): New function to get debug format.
19929 (debug_format): New global variable to hold last value set
19930 by get_debug_format.
19931 * gdb.base/list.exp: Call get_debug_format and expect some
19932 tests to fail for DWARF 1 and COFF formats.
19933 * gdb.c++/ptype.exp: Ditto.
19934 * gdb.c++/classes.exp: Ditto.
19935 * gdb.c++/cplusfuncs.exp: Ditto.
19936 * gdb.c++/inherit.exp: Ditto.
19937 * gdb.c++/templates.exp: Ditto.
19938 * gdb.c++/virtfunc.exp: Ditto.
19939
19940Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19941
19942 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19943 host doesn't have a currently-open connection.
19944
19945 * config/sparclet.exp: Cleanups and fixes to make it generic for
19946 any gdb stub target. Handle cases where gdb doesn't respond when
19947 interrupted in a sane fashion.
19948
19949 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19950 same thing in a totally different way.
19951
19952 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19953 setting "timeout".
19954 (gdb_start): We set the global gdb_prompt variable in
19955 default_gdb_init now.
19956
19957Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19958
19959 * gdb.base/printcmds.exp: Fix "check for floating addition"
19960 regexp to accept results within approx +/- .01 of exact value.
19961 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19962
19963Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19964
19965 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19966 properly.
19967 (gdb_expect): Add optional timeout parameter, and add timeout
19968 value to various calls.
19969 (gdb_suppress_tests): Only give one warning message per group.
19970
19971Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19972
19973 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19974 global variables. Handle getting a value for $timeout more
19975 gracefully.
19976
19977Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19978
19979 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19980 initialize.
19981 (default_gdb_init): New procedure; allow gdb_init to be overridden
19982 by a target configuration file.
19983 (gdb_expect): Pass the timeout to remote_expect.
19984
19985 * config/monitor.exp(gdb_load): Fix typo in regexp.
19986
19987Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19988
19989 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19990
19991Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19992
19993 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19994 here. Call gdb_target_exec before rebooting the target, to make
19995 sure the connection to the target is closed.
19996 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19997 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19998 Also detect "Timeout reading from remote" error.
19999
20000 * config/gdbserver.exp: Pass the executable being loaded to
20001 gdb_target_monitor. Don't call gdb_file_cmd here; let
20002 gdb_target_monitor do it.
20003
20004 * gdb.disasm/hppa.exp: Don't use exec_output.
20005
20006Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20007
20008 * gdb.base/list.exp: If we're debugging a non-native target,
20009 try to set the pc register to point to the start of the
20010 program before doing the first list command.
20011
20012 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
20013 test_calls after restarting.
20014
20015 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
20016 reloading.
20017
20018 * gdb.base/watchpoint.exp: Fix typo.
20019
20020 * gdb.base/setshow.exp: Check for use_gdb_stub.
20021
20022 * gdb.base/break.exp: Fix continue until exit test for the gdb
20023 stub case.
20024 * gdb.base/langs.exp: Ditto.
20025
20026 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
20027 gdb_load_offset. If we weren't given a file to load, figure out
20028 what the current file is and use it.
20029
20030 * config/i386-bozo.exp: New file.
20031
20032Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20033
20034 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20035 feature.
20036
20037 * config/proelf.exp: New entry.
20038
20039Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20040
20041 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20042 of regexps.
20043
20044 * gdb.base/watchpoint.exp: Don't run the test_stepping
20045 tests if gdb can't call functions on the target.
20046
20047 * gdb.base/setshow.exp: Don't run the set prompt tests if
20048 the board has gdb_prompt set.
20049
20050Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20051
20052 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20053 * gdb.base/commands.exp: Likewise.
20054 * gdb.base/setshow.exp: Likewise.
20055
20056Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20057
20058 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20059 feature.
20060
20061 * config/i960.exp: New file.
20062
20063Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20064
20065 * gdb.base/funcargs.exp: Check for gdb,short_int target
20066 feature instead of looking for explicit target triplets.
20067
20068Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
20069
20070 * gdb.base/printcmds.exp: add a couple more tests a la
20071 "p 123DEADBEEF", to check parse_number.
20072 * top.c: change "to enable to enable" to "to enable" in a couple
20073 of help strings.
20074
20075Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20076
20077 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20078 on the mn10300.
20079
20080Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20081
20082 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20083 where the test executable is run with explicit args.
20084 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20085
20086Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20087
20088 * gdb.base/run.c: Use FAKEARGV to build test executable that
20089 does not require a command line arg, since most simulators
20090 don't currently support passing such an arg into the simulated
20091 program.
20092 * gdb.base/commands.exp: Change tests to insert the proper
20093 value as the arg to the first recursive factorial call. Change
20094 compilation line to define FAKEARGV at compile time.
20095
20096Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20097
20098 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20099 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20100 function with watchpoint enabled" test.
20101
20102Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20103
20104 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
20105 Don't call gdb_test when the command doesn't return to a gdb prompt.
20106
20107 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
20108 "Tests restarted" messages.
20109
20110Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20111
20112 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20113
20114Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
20115
20116 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20117 for INFO SYMBOL; add help tests for OVERLAY commands.
20118 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20119 add tests for OVERLAY commands
20120 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20121 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20122 * gdb.base/sigall.c: add usestubs code frag
20123 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
20124
20125Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20126
20127 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20128 failures.
20129 (gdb_stop_suppressing_tests): Note that tests have restarted.
20130
20131Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20132
20133 * config/h8300.exp: New file.
20134
20135Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20136
20137 * gdb.base/setshow.exp: Check for the existence of a
20138 feature, not its value.
20139
20140Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20141
20142 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20143
20144 * gdb.base/scope.exp: It's now init0(), not init().
20145
20146 * gdb.base/scope0.c: For now, change init() to be init0().
20147
20148 * config/monitor.exp: Use gdb_serial in preference to serial
20149 or netport.
20150
20151 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
20152 and it's not already set.
20153
20154Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20155
20156 * gdb.base/setshow.exp: Only test the run command if the target
20157 isn't using a stub and if it supports argument passing.
20158
20159Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20160
20161 * config/udi.exp(gdb_start): Make sure UDICONF is set
20162 properly before starting gdb.
20163
20164Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20165
20166 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20167 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20168 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20169
20170Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20171
20172 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
20173 specialized code to reboot the board, use remote_reboot instead.
20174
20175 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20176
20177 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20178
20179 * config/monitor.exp: Make sure we disconnect from the target.
20180 Also, try a reboot/reload cycle instead of failing if the
20181 load fails.
20182
20183Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20184
20185 * gdb.base/default.exp: Don't set match_max.
20186 * gdb.base/help.exp: Ditto.
20187 * gdb.base/list.exp: Ditto.
20188 * gdb.base/signals.exp: Ditto.
20189
20190 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20191 set, use remote_ld to download the testcase instead of
20192 the GDB loader.
20193
20194Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20195
20196 * config/vr5000.exp: New file.
20197
20198 * config/monitor.exp(gdb_target_monitor): Add pattern for
20199 "Ending remote" to detect errors in connecting.
20200
20201 * gdb.base/setshow.exp: Add .* within auto language test.
20202
20203 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20204 target feature.
20205
20206 * config/monitor.exp(gdb_load): Check for a failure when loading,
20207 and reboot the board if necessary.
20208
20209 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20210 a set of tests. Remove print.* from the patterns being checked.
20211
20212Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20213
20214 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20215 refer to gdb_spawn_id.
20216
20217 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20218 longer used.
20219 * config/sparclet.exp: Ditto.
20220 * config/sparclet-old.exp: Ditto.
20221 * config/slite.exp: Ditto.
20222 * config/sim.exp: Ditto.
20223 * gdb.base/funcargs.exp: Ditto.
20224
20225 * lib/gdb.exp:Remove references to gdb_spawn_id.
20226 (gdb_expect): Move to remote.exp.
20227
20228Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20229
20230 * config/monitor.exp: Detect the "Couldn't establish connection"
20231 message from GDB.
20232
20233Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20234
20235 * gdb.base/bitfields.exp: Use runto instead of explicit
20236 gdb_run_cmd/gdb_expect sequences.
20237
20238 * gdb.base/break.exp(text_next_with_recursion): Add match for
20239 gdb_expect call.
20240
20241 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20242 We also need to handle the "A program is being debugged already"
20243 prompt from gdb. Use gdb_test to set the baud rate.
20244
20245 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20246 to 20000. Really. I mean it.
20247
20248Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20249
20250 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
20251 fails. If suppress_flag is set, skip perror message about not
20252 being able to send to GDB.
20253 (send_gdb): If suppress_flag is set, don't try to send commands to
20254 GDB.
20255 (gdb_expect): If suppress_flag is set, always fail immediately.
20256 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20257 (gdb_init): Call gdb_stop_suppressing_tests.
20258 (default_gdb_exit): Ditto.
20259 (default_gdb_start): Ditto.
20260
20261 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
20262 gdb_stop_suppressing_tests as appropriate.
20263 * gdb.base/break.exp: Ditto.
20264 * gdb.base/callfuncs.exp: Ditto.
20265 * gdb.base/commands.exp: Ditto.
20266 * gdb.base/exprs.exp: Ditto.
20267 * gdb.base/funcargs.exp: Ditto.
20268 * gdb.base/list.exp: Ditto.
20269 * gdb.base/recurse.exp: Ditto.
20270 * gdb.base/scope.exp: Ditto.
20271 * gdb.base/structs.exp: Ditto.
20272 * gdb.c++/inherit.exp: Ditto.
20273
20274Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20275
20276 * config/vr4300.exp: New file.
20277
20278 * gdb.*/*.exp: Call gdb_expect instead of expect.
20279
20280 * lib/gdb.exp(gdb_expect): New function.
20281
20282Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20283
20284 * lib/gdb.exp(gdb_init): New function.
20285
20286 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
20287 for each individual variable set.
20288
20289 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20290 name.
20291
20292 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20293
20294 * gdb.base/scope.exp: Use gdb_test.
20295
20296 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20297 aborting; the testsuite driver will do that for us (see
20298 gdb_finish). Also, use gdb_test in a few more places.
20299
20300Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20301
20302 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20303
20304Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20305
20306 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20307 and "add_tests" are not at the same address.
20308
20309Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20310
20311 * gdb.base/ptype.exp: Use gdb_test.
20312
20313Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20314
20315 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20316 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20317 left in. No longer expect them to fail.
20318
20319 * gdb.stabs/*.mt; Deleted, no longer used.
20320 * gdb.stabs/configure.in: Remove references to target makefile
20321 frags.
20322 * gdb.stabs/configure: Rebuilt.
20323
20324 * gdb.disasm/*.mt: Deleted, no longer used.
20325 * gdb.disasm/configure.in: Remove references to target makefile
20326 frags. Use "sh3.s" as the unique filename for this directory.
20327 * gdb.disasm/configure: Rebuilt.
20328
20329 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20330 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20331 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20332
20333Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20334
20335 * config/udi.exp: Use mondfe,name instead of remote_host.
20336
20337Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20338
20339 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20340 a function with a watchpoint enabled on the mn10200.
20341
20342 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20343 before trying to create it!
20344
20345Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20346
20347 * config/vx.exp: Use hostname instead of netport.
20348
20349 * config/vxworks.exp: New file.
20350
20351 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20352
20353 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
20354 gdb before assuming everything worked. Send a ^C if a timeout
20355 occurs.
20356
20357 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20358 $gdb_spawn_id directly.
20359 (gdb_run_cmd): Try _start as well as start. Use the target feature
20360 gdb,start_symbol as the symbol to start from when jumping.
20361
20362Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20363
20364 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20365 redundant) test.
20366
20367 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20368 it doesn't lose for 16bit integer systems.
20369
20370Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20371
20372 * gdb.fortran/types.exp: If the target doesn't support "double"
20373 data types, then expect "real" types to only be 4 bytes.
20374
20375 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20376 call tests if the target doesn't support inferior function calls.
20377
20378 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20379 in printf tests.
20380
20381Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20382
20383 * gdb.base/help.exp: Disable "help set", "help show", and
20384 "help support". Simplify regexp for "help stack".
20385
20386 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20387 to 60 seconds. Temporarily set match_max to 15000 around the
20388 "info copying" test.
20389
20390 * gdb.base/nodebug.exp: Don't try to do an inferior function
20391 call if the target doesn't support them.
20392 * gdb.base/printcmds.exp: Likewise.
20393 * gdb.base/setvar.exp: Likewise.
20394 * gdb.base/structs.exp: Likewise.
20395 * gdb.c++/templates.exp: Likewise.
20396 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20397
20398 * gdb.base/recurse.exp: Enable for the mn10200.
20399
20400 * configure.in: Do configure gdb.stabs directory for *-*-elf
20401 targets.
20402 * configure: Rebuilt.
20403
20404 * gdb.base/break.exp: Check for gdb,noresults before testing
20405 exit status and/or results from the target.
20406 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20407 * lib/gdb.exp: Remove old (now bogus) initialization of
20408 noinferior, noargs, noresults and nosignals.
20409
20410Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20411
20412 * config/sh.exp: New file.
20413
20414 * config/slite.exp: Try to connect multiple times to the board
20415 before rebooting. Only send a "monitor run" if need_monitor_run
20416 is set.
20417
20418 * gdb.base/break.exp: Don't do the "stub continue" test if
20419 the target has gdb_stub set.
20420
20421 * gdb.base/callfuncs.exp: Increase the timeout.
20422
20423 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20424 if the target has gdb,noinferiorio set.
20425
20426 * gdb.base/list.exp: Increase match_max to 10000 characters.
20427
20428 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20429
20430 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20431 target.
20432
20433 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20434
20435Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20436
20437 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
20438 trying to delete the copy of gdb. Catch the file delete so we
20439 don't die if the delete fails; also, the file should be copied to
20440 the host, not to the build.
20441
20442Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20443
20444 * lib/gdb.exp(gdb_test): Surround the result pattern with
20445 parenthesis in case it contains multiple regexps separated
20446 with |.
20447
20448 * gdb.base/watchpoint.exp: Use gdb_test.
20449 * gdb.base/default.exp: Ditto.
20450
20451Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20452
20453 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
20454
20455 * gdb.base/scope.exp: Use gdb_test.
20456 * gdb.c++/classes.exp: Ditto.
20457 * gdb.c++/inherit.exp: Ditto.
20458
20459Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20460
20461 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20462 remote_exec instead.
20463 * gdb.base/corefile.exp: Don't be ridiculous.
20464 * gdb.base/*.c: Add missing stub invocations.
20465
20466Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20467
20468 * config/slite.exp: Miscellaneous fixes.
20469
20470 * lib/gdb.exp: Fix runto.
20471
20472 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20473 the target.
20474
20475 * gdb.base/watchpoint.exp: Fix regexp.
20476
20477 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20478 close and wait commands, as the descriptor may now be
20479 invalid. Always call "remote_close host".
20480
20481Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20482
20483 Major rewrite for testsuite revision.
20484
20485 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20486 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20487 instead of relying on spawn_id to always contain a valid
20488 spawn id.
20489 (get_compiler_info): New procedure to build the ${binfile}.ci
20490 file, instead of replicating this in N different places.
20491 (gdb_compile): New procedure.
20492
20493 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20494 appropriate arguments) instead of compile. Use gdb_test in a lot
20495 more places. Use send_gdb instead of send. Always run gdb_start
20496 at the start of a testcase, as this is no longer done magically.
20497
20498 config/*-gdb.exp: Rename without the -gdb suffix.
20499
20500 config/mips.exp: Use remote_close instead of exit_remote_shell.
20501 config/monitor.exp: Use target_info instead of looking at
20502 baud, timeout, etc.
20503 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20504
20505Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20506
20507 * gdb.c++/templates.exp (test_ptype_of_templates),
20508 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20509 Update expect patterns for destructors and assignment operators
20510 to match corresponding c-typeprint.c changes.
20511 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20512 to destructor breakpoint test, GDB should be able to set the
20513 destructor breakpoint without specifying arguments.
20514
20515Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20516
20517 * gdb.threads/pthreads.exp: Change result for failure to compile due
20518 to lack of pthreads runtime support from an error to simply an
20519 unsupported test, per dejagnu standards.
20520
20521Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20522
20523 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20524 where GDB exits to reduce pattern match time.
20525 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20526
20527 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20528
20529Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
20530
20531 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20532 * gdb.base/default.exp: ditto.
20533 * gdb.base/nodebug.exp: ditto.
20534 * gdb.base/printcmds.exp: ditto.
20535 * gdb.base/ptype.exp: ditto.
20536 * gdb.base/setvar.exp: ditto.
20537 * gdb.base/structs.exp: ditto.
20538 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20539
20540Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20541
20542 * configure, */configure: Rebuild with autoconf 2.12.
20543
20544Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20545
20546 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20547 use new i*86-pc-linux*-gnu quads.
20548 * gdb.base/corefile.exp: Ditto.
20549 * gdb.base/signals.exp: Ditto.
20550 * gdb.base/sigall.exp: Ditto.
20551 * gdb.base/interrupt.exp: Ditto.
20552
20553 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20554 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20555 RedHat 4.0.
20556
20557 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
20558 linux. This allows the test case to at least compile on latest
20559 linux, but still not run due to missing the threads runtime library.
20560
20561Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20562
20563 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20564 directory to search gdb directory. Accept and step over conditional
20565 stack alignment code. Consume $prompt in failure cases.
20566 Reset timeout to $oldtimeout instead of some arbitrary value.
20567 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20568 timeout problems with infinite stack backtraces.
20569 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20570 Accept function parameters for linkfunc member.
20571
20572Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20573
20574 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20575 (CXXFLAGS): Remove, unreferenced.
20576 (B_OPTIONS): Add for -B options and add code to initialize with
20577 previous -B options and also add -B option to pick up cross compiled
20578 runtime.
20579 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20580 doing cross compiles.
20581 (target_alias): Declare global.
20582 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20583 to verify that gcc exists in build tree, and if so set CC to that
20584 gcc and to use B_OPTIONS and TARGET_INCLUDES.
20585
20586Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20587
20588 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20589 ptype test for anonymous union. Fixup testcase to match
20590 current gcc debug output.
20591
20592Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20593
20594 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20595 force argument to an unsigned long type.
20596
20597Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20598
20599 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20600 tests and anonymous union print/ptype tests.
20601 * gdb.base/list.exp (test_forward-search): Increase timeout by
20602 5 minutes for the "search extremely long line" case.
20603 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20604 completely optional and that the pass/fail messages use the command as
20605 the message if that third arg is a null string.
20606 (gdb_test_exact): Arrange that a null string pattern means match a
20607 null string output rather than any output, which might include random
20608 errors.
20609 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20610 backtrace test.
20611 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20612 always failing and failure is now exposed by gdb.exp changes.
20613
20614Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20615
20616 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20617 weren't being noted.
20618
20619Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20620
20621 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20622 * gdb.stabs/weird.exp: Remove v_comb xfails.
20623
20624Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20625
20626 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20627 list.exp scope.exp watchpoint.exp]
20628 Make all timeout error msgs explicitly say "(timeout)".
20629
20630Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20631
20632 * config/monitor.exp: Increase download timeout to 1000 seconds.
20633
20634Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20635
20636 * config/m32r.exp: Increase timeout to 120 seconds.
20637
20638Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20639
20640 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20641 and accept older ordering as obsolescent gcc or gdb.
20642 * gdb.c++/templates.exp: Ditto.
20643 * gdb.c++/virtfunc.exp: Ditto.
20644
20645Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20646
20647 * gdb.base/coremaker.c: Add code to mmap some data so we
20648 can check that it ends up in the core file.
20649 * gdb.base/corefile.exp: Add test to read mmapped data
20650 from core file.
20651
20652Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20653
20654 * config/m32r.exp: New file.
20655
20656Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20657
20658 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20659 that cflags can contains -gstabs, and work correctly for other tests.
20660
20661Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20662
20663 * gdb.base/setshow.exp: New file, tests show and set.
20664 * gdb.base/setshow.c: New file, tests show and set.
20665 * gdb.base/help.exp: Add test for help set|show annotate.
20666 * gdb.base/default.exp: Add test for set|show annotate.
20667
20668Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20669
20670 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20671 errors unique.
20672 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20673 explicitly.
20674
20675Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20676
20677 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20678 and width commands. This is done elsewhere.
20679 * (gdb_start): Don't call gdb_start_sim here. That's already
20680 done in gdb_load. This fixes lots of failures in default.exp.
20681
20682Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20683
20684 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20685 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20686 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20687 in the same we we treat other failures (since it may be an expected
20688 condition), rather than as an error.
20689 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20690 old test format.
20691
20692Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20693
20694 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20695 (distclean maintainer-clean realclean): No need to remove files
20696 twice. Nuke the duplicates.
20697 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20698 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20699 Remove config.h along with other config files.
20700
20701Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20702
20703 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20704 "p func1 ()" and note that rests of tests are skipped.
20705 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20706 setup_xfails for "print func2::coremaker_local".
20707 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20708 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20709 affected by the previous run test.
20710 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20711 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20712 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20713 "pass int powerset tuple" and "pass modeless int powerset tuple".
20714 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20715 "real write 4" and "real write 8".
20716 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20717 setup_xfails for "print vs1 after tuple assign 2",
20718 "print \$i after tuple assign 2", and
20719 "print vs2 after tuple assign 2".
20720 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20721 meaningful error message and return -1 so the caller can
20722 suppress further tests and avoid a cascade of errors.
20723
20724Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20725
20726 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20727 format for printing version.
20728 * gdb.base/default.exp: Ditto.
20729 * gdb.base/interrupt.exp: Fix problem with cascade of
20730 errors if child process dies while calling a function.
20731
20732Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20733
20734 * Makefile.in (VPATH): Add
20735 * Makefile.in (Makefile, config.status): Fix rules so things get
20736 remade when necessary.
20737
20738Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20739
20740 * Makefile.in (just-check): Add path to sibling expect dir
20741 to environment variable specified by RPATH_ENVVAR.
20742
20743Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20744
20745 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20746 (just-check): Add shared library paths for libstdc++, tk,
20747 tcl, bfd, and opcodes to the environment variable specified
20748 in RPATH_ENVVAR.
20749 * configure.in: Add support to recognize --enable-shared flag
20750 and generate correct value for RPATH_ENVVAR.
20751 * configure: Regenerated with autoconf.
20752
20753Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20754
20755 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20756 include all osf versions.
20757 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20758 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20759 when target is linux. When failing to build pthreads test
20760 executable, give more meaningful message.
20761 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20762 arg for pthread_create.
20763
20764Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20765
20766 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20767 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20768 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20769 and -lpthreads (everybody else).
20770 (test_startup): Fail gracefully if threads are not supported.
20771 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20772 "p/c array_index("abcdef",2)" when not gcc compiled.
20773 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20774 "print func2::coremaker_local" when not gcc compiled.
20775 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20776 "ptype on opaque struct tagname (statically)",
20777 "ptype on opaque struct tagname (dynamically) 1", and
20778 "ptype on opaque struct tagname (dynamically) 2"
20779 for not compiled with gcc.
20780 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20781 backtrace when compiled with gcc.
20782 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20783 than always return success.
20784
20785Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20786
20787 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20788
20789Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20790
20791 * gdb.base/structs.exp: Undo last change.
20792
20793Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20794
20795 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20796 encapsulate all the steps/nexts done during self test, starting
20797 at main, and makes them less sensitive to optimization issues.
20798 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20799 signal handler" test.
20800 * gdb.threads/pthreads.exp: Only run this for native configs.
20801 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20802 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20803 tests.
20804 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20805 for "runto test_calls(void)" test.
20806
20807Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20808
20809 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20810 and don't expect address info in breakpoint confirmations.
20811
20812Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20813
20814 * gdb.base/list.exp (test_forward_search): Increase timeout
20815 temporarily by 60 seconds for searching extremely long line,
20816 and then reset to old value when done. Increase expect input
20817 buffer to 10000.
20818
20819Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20820
20821 * gdb.base/list.exp (test_forward_search): Fix to handle very
20822 long source line without overflowing expect's input buffer.
20823
20824Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20825
20826 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20827 "buffer_full".
20828
20829 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20830 "buffer_full".
20831
20832 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20833 "buffer_full".
20834
20835 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20836 "buffer_full".
20837
20838Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20839
20840 * configure.in (configdirs): Add gdb.threads.
20841 * configure: Regenerated with autoconf.
20842 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20843 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20844 * gdb.threads/configure: New, generated with autoconf.
20845
20846Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20847
20848 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20849
20850Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20851
20852 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20853 each signal's status in the output of "handle all print".
20854 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20855 the \r\n sequence that immediately precedes the gdb prompt.
20856 * gdb.base/a1-selftest.exp: Save original timeout and restore
20857 after test.
20858
20859Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20860
20861 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20862 symbol.
20863
20864Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20865
20866 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20867
20868Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20869
20870 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20871 timeout by 60 seconds.
20872
20873Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20874
20875 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20876 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20877 error return.
20878
20879Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20880
20881 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20882 gdb initialization, also report how long dejagnu waited. Restore
20883 old timeout before doing error return. Temporarily increase timeout
20884 by 3 minutes to allow for slow startups over heavy NFS use.
20885
20886Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20887
20888 * lib/gdb.exp: Report timeout value for verbosity level 2.
20889 * config/gdbserver.exp: Ditto.
20890 * config/hppro.exp: Ditto.
20891 * config/mips-gdb.exp: Ditto.
20892 * config/monitor.exp: Ditto.
20893 * config/netware.exp: Ditto.
20894 * config/sim-gdb.exp: Ditto.
20895 * config/slite-gdb.exp: Ditto.
20896 * config/udi-gdb.exp: Ditto.
20897 * config/unix-gdb.exp: Ditto.
20898 * config/vx-gdb.exp: Ditto.
20899 * gdb.base/a1-selftest.exp: Ditto.
20900 * gdb.base/a2-run.exp: Ditto.
20901 * gdb.base/break.exp: Ditto.
20902 * gdb.base/corefile.exp: Ditto.
20903 * gdb.base/list.exp: Ditto.
20904 * gdb.base/recurse.exp: Ditto.
20905 * gdb.base/scope.exp: Ditto.
20906 * gdb.base/signals.exp: Ditto.
20907
20908Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20909
20910 * gdb.threads/Makefile.in (docdir): Removed.
20911
20912Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20913
20914 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20915 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20916 @srcdir@.
20917 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20918 autoconf 2.5 or higher.
20919 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20920
20921Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20922
20923 * configure: Regenerated.
20924 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20925 avoid name clashes with SunOS headers.
20926
20927Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20928
20929 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20930
20931Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20932
20933 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20934 prototype information ends up in the compiler info file.
20935
20936Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20937
20938 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20939 attempting to regenerate it. Eliminate use of a temporary file
20940 and just generate the info file directly. Source it immediately,
20941 for consistency of use.
20942 * gdb.base/corefile.exp: Ditto
20943 * gdb.base/exprs.exp: Ditto.
20944 * gdb.base/funcargs.exp: Ditto.
20945 * gdb.base/langs.exp: Ditto.
20946 * gdb.base/list.exp: Ditto.
20947 * gdb.base/mips_pro.exp: Ditto.
20948 * gdb.base/nodebug.exp: Ditto.
20949 * gdb.base/opaque.exp: Ditto.
20950 * gdb.base/ptype.exp: Ditto.
20951 * gdb.base/scope.exp: Ditto.
20952 * gdb.base/setvar.exp: Ditto.
20953 * gdb.base/signals.exp: Ditto.
20954 * gdb.base/whatis.exp: Ditto.
20955 * gdb.c++/templates.exp: Ditto.
20956 * gdb.c++/virtfunc.exp: Ditto.
20957 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20958 whether or not to add -lstdc++ to the compile command line args.
20959
20960Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20961
20962 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20963 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20964 Increase timeout, a lot of single stepping might be needed if the
20965 target has no hardware watchpoints.
20966
20967Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20968
20969 * gdb.base/break.exp: Ignore compiler warnings when compiling
20970 break.c.
20971 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20972 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20973 from remote-sim.
20974 * gdb.base/exprs.exp: Add h8300 xfails.
20975 * gdb.base/funcargs.exp: Likewise.
20976 * gdb.base/nodebug.exp: Likewise.
20977 * gdb.base/printcmds.exp: Likewise.
20978 * gdb.base/ptype.exp: Likewise.
20979 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20980 h8300 xfails.
20981 * gdb.base/return.exp: Handle float/double precision problems
20982 on the h8300.
20983 * gdb.base/funcargs.c: Explicitly make last constant argument to
20984 call_after_alloca_subr an unsigned long type.
20985 * gdb.base/return.c: Include stdio.h.
20986
20987Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20988
20989 * config/abug.exp: New file for the older Motorola Bug monitor
20990 that runs on the mvme13x series VME boards.
20991 * config/monitor.exp: Use the new config array for target settings
20992 if they exist.
20993
20994Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20995
20996 * sim-gdb.exp: Make the SH simulator allocate less space when
20997 it is targeted.
20998
20999Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21000
21001 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21002 test.
21003
21004Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21005
21006 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21007 "rs6000-*-*" for "list function in include file" when gcc compiled.
21008 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21009 for "p ctable1[120]".
21010 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21011 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21012 Remove setup_xfail for "rs6000-*-*" for
21013 "print 'scope0.c'::filelocal before run".
21014 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21015 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21016 since some compilers don't allow both options to be given
21017 on the same command line. Create object file and move it.
21018
21019Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21020
21021 * gdb.base/corefile.exp: Always regenerate the core file, since
21022 we always regenerate the coremaker program. Detect special case
21023 where registers cannot be read from core file.
21024
21025Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21026
21027 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21028 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21029 * gdb.c++/templates.exp: Only match on basename of file since
21030 some formats like xcoff don't encode directory information.
21031 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21032 and rs6000 AIX xcoff targets.
21033 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21034 * configure: Regenerate.
21035 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21036 here, rather than in distclean.
21037
21038Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21039
21040 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21041 defined, and use it to compile the test case with -O2. The
21042 native compilation still uses no optimization.
21043 * gdb.base/mips_pro.c: Remove inline assembly code since
21044 it is compiled PIC by default, which results in assembler
21045 warnings that make the testsuite think the compilation
21046 was unsuccessful.
21047
21048Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21049
21050 * gdb.c++/misc.exp: Add note to message for
21051 "print s.a for foo struct" that this is a known gcc 2.7.2
21052 and earlier bug.
21053
21054Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21055
21056 * gdb.base/break.exp: Fix pattern for matching "Delete all
21057 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21058 setup_xfail for deleting all breakpoints test. Fix various
21059 timeout messages to include "(timeout)".
21060 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21061 for "p t_float_values2(3.14159,float_val2)".
21062 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21063 for "continue to call2g" when gcc compiled.
21064 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21065 "up to foo in langs.exp", "show language at foo in langs.exp",
21066 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21067 and "show language at fsub in langs.exp".
21068 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21069 "list line 1 in include file", "list message for lines past EOF",
21070 "list function in include file", "list list0.h:foo", and
21071 "list filename:function; nonexistant function".
21072 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21073 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21074 and "ptype t_char_array" to be for native cc only.
21075
21076Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21077
21078 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
21079 setup_xfail for "print coremaker_bss", "print coremaker_ro",
21080 "print func2::coremaker_local", and "backtrace in corefile.exp".
21081
21082Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21083
21084 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21085 "bt in signals.exp". This problem only appears when running
21086 the testsuite, and then only intermittently.
21087
21088Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21089
21090 * gdb.base/return.exp (return_tests): Differentiate between
21091 two tests of continuing.
21092
21093Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21094
21095 * */Makefile.in (maintainer-clean): Remove config.log.
21096 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21097 * gdb.c++/Makefile.in (PROGS): Add inherit.
21098 (clean): Remove *.ci.
21099
21100Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21101
21102 * gdb.c++/misc.cc: Add test code from Mike Stump.
21103 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21104
21105Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21106
21107 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21108 to "alpha-*-osf2*" and add comment.
21109 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
21110 setup_xfail for "step over execarg initialization" and
21111 "step over corearg initialization".
21112 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21113 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21114 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
21115 gcc compiled for "print coremaker_bss", "print coremaker_ro",
21116 "print func2::coremaker_local", and "backtrace in corefile.exp".
21117 * gdb.base/signals.exp: Build and source signals.ci.
21118 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21119 to be for gcc only.
21120 * lib/gdb.exp: Move verbose statements outside conditionals.
21121
21122Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21123
21124 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21125 Feb 3 procfs.c change.
21126
21127Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21128
21129 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21130
21131Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21132
21133 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21134 from dejagnu's apparent default of 10 seconds, which gives random
21135 results when running the tests over NFS on moderately loaded systems.
21136 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21137
21138Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21139
21140 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21141 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
21142 result reports.
21143
21144Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21145
21146 * configure.in (CY_AC_PATH_TCLH): Remove.
21147 * configure: Regenerate.
21148
21149Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21150
21151 * gdb.c++/Makefile.in (clean): Add missing '{'.
21152
21153Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21154
21155 * lib/gdb.exp: Provide a default value for noinferior.
21156
21157 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21158 Load libgloss.exp.
21159
21160Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21161
21162 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21163 the executable, not the .o to run the tests from.
21164
21165Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21166
21167 * gdb.base/break.exp: Don't test for program exit or exit status
21168 if $noresults if nonzero.
21169 * gdb.base/langs.exp: Likewise.
21170 * gdb.base/watchpoint.exp: Likewise.
21171
21172 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21173 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21174 trying to compile the testcase.
21175
21176Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21177
21178 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21179 * gdb.base/signals.exp (continue to handler): Likewise.
21180
21181Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21182
21183 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21184
21185 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21186
21187Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21188
21189 * gdb.base/corefile.exp: Recognize "not found" as failure
21190 when trying to determine if a core file was generated.
21191 If no core file was generate the first time, try again without
21192 the ulimit -c to work around braindamaged shells.
21193
21194Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21195
21196 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21197 [] tests with "test" and enclose string in quotes.
21198 * gdb.stabs/configure: Rebuild
21199
21200Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21201
21202 Changes in sync with expect:
21203 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21204 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21205 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21206 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21207 argument to AC_REQUIRE.
21208 * configure: Regenerated.
21209
21210Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21211
21212 * gdb.base/corefile.exp: When generating a core, discard any
21213 error messages about ulimit not found and the "core dumped"
21214 message from the shell that runs the coredumper.
21215
21216Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21217
21218 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21219
21220 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21221 which sed script to run. Expect failure for v_comb test
21222 on PA targets too.
21223
21224Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21225
21226 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
21227 "print func2::coremaker_local" and for "backtrace in corefile.exp"
21228
21229Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21230
21231 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21232 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
21233 "sparc-sun-solaris*" xfails for "p v_comb".
21234 * lib/gdb.exp (default_gdb_start): Fix typo.
21235 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21236 messages to not include the full program name that caused
21237 the core dump since some systems (such as solaris) apparently
21238 truncate this path to about 80 characters.
21239 When generating a core file first try increasing the core file
21240 size limit to unlimited since some systems may default it to
21241 zero, and it is harmless to try it. Move the test for failing
21242 to generate a core file to where it will actually get executed.
21243 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21244 new gdb result from g++ debug info improvements and make old
21245 pattern obsolescent. Also account for size_t differences
21246 (may be int or long).
21247 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21248 initialization before function call is placed in the delay slot
21249 and thus appears to be skipped over by commands such as "next".
21250
21251Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21252
21253 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21254
21255Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21256
21257 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21258 input source file; fix code to compile test to deal with this
21259 convention.
21260 * gdb.c++/*.exp: Likewise.
21261
21262Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21263
21264 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21265 "bt in signals.exp".
21266
21267Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21268
21269 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21270 "step over execarg initialization" and
21271 "step over corearg initialization".
21272
21273Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21274
21275 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21276 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21277
21278Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21279
21280 From Rob Savoye (rob@poseidon.cygnus.com)
21281 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21282 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
21283 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21284 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21285 configure.in}: Major reworking for autoconfig.
21286 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21287 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
21288 New files.
21289 * config/unix-gdb.exp: Make GDB global.
21290 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
21291 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21292 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21293 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21294 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21295 term.exp, twice.exp, watchpoint.exp, whatis.exp},
21296 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
21297 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21298 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21299 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21300 pr-8136.exp, result.exp, string.exp, tuples.exp},
21301 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
21302 to returns as necessary, arrange for test to compile own testcase
21303 executable.
21304 * lib/gdb.exp: Changes for testsuite to compile own test cases.
21305
21306Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21307
21308 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
21309 clear_xfail at end of test which might not call either pass or fail.
21310 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21311 "backtrace through signal handler".
21312
21313Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21314
21315 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21316 continuing from a job control stop signal.
21317 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21318
21319Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21320
21321 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21322 * gdb.base/corefile.exp: Likewise.
21323 * gdb.base/funcargs.exp: Likewise.
21324
21325Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21326
21327 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21328 * config/monitor.exp: Add support for setting baud rate.
21329
21330Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21331
21332 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21333 i*86-*-linux* xfails for "backtrace through signal handler".
21334 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21335 "print func2::coremaker_local".
21336 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
21337 alpha-dec-osf2* xfail for
21338 "delete all breakpoints when none".
21339
21340Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21341
21342 * gdb.base/break.exp: Change test that deletes all breakpoints
21343 when no user breakpoints are installed. A post 4.15 change
21344 causes gdb to no longer prompt in this case.
21345
21346Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21347
21348 * gdb.base/return.exp (return_tests): Change xfail for test
21349 "correct value returned double test" to stop xfailing at
21350 Solaris 2.5. Apparently the bug has been fixed.
21351
21352Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21353
21354 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21355 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21356
21357Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21358
21359 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21360 * gdb.disasm/hppa.s: Corresponding changes.
21361
21362Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21363
21364 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21365 makefile fragment.
21366 * config/mt-hpux: Deleted.
21367
21368Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21369
21370 * Many files: When warning about suppressed tests due to a
21371 nonexistant test binary, avoid incrementing the warning count.
21372
21373Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21374
21375 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
21376
21377Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21378
21379 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21380 "sparc-*-solaris2*".
21381
21382Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21383
21384 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21385 Add global and local variables and initialize them.
21386 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21387 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21388 extracts the file name and terminating signal from the core file.
21389 * TODO: Remove note about tests for correct mapping of corefile.
21390 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21391 from optimizing it away.
21392 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21393 handles common blocks.
21394
21395Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21396
21397 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21398 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21399
21400Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21401
21402 * Makefile.in (maintainer-clean): New target, synonym for
21403 realclean.
21404 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21405 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21406 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21407 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21408 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21409 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21410
21411Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21412
21413 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21414 xfails when not gcc compiled for "print foo::funclocal".
21415 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21416 "print foo::funclocal at foo",
21417 "print 'scope1.c'::foo::funclocal at foo",
21418 "print foo::funclocal_bss at foo",
21419 "print 'scope1.c'::foo::funclocal_bss at foo",
21420 "print foo::funclocal_ro at foo",
21421 "print 'scope1.c'::foo::funclocal_ro at foo",
21422 "print bar::funclocal at foo" and
21423 "print 'scope1.c'::bar::funclocal at foo".
21424 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21425 gcc compiled for "print foo::funclocal at bar".
21426 Expand all messages to ensure that they identify that
21427 the test is at bar().
21428 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21429 gcc compiled for:
21430 "ptype on opaque struct pointer (statically)",
21431 "ptype on opaque struct tagname (statically)",
21432 "ptype on opaque struct pointer (dynamically) 1",
21433 "ptype on opaque struct tagname (dynamically) 1",
21434 "ptype on opaque struct pointer (dynamically) 2" and
21435 "ptype on opaque struct tagname (dynamically) 2
21436 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21437 gcc compiled for:
21438 "p datalocal"
21439 "whatis datalocal",
21440 "ptype datalocal",
21441 "p bsslocal",
21442 "whatis bsslocal", and
21443 "ptype bsslocal".
21444 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21445 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21446 when not gcc compiled.
21447 * gdb.base/funcargs.exp (float_and_integral_args): Add
21448 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21449 compiled.
21450 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21451 "backtrace from call6a" when not gcc compiled.
21452 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21453 "backtrace from call7a" when not gcc compiled.
21454 * gdb.base/callfuncs.exp (do_function_calls):
21455 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21456 "p t_char_array_values(char_array_val2,char_array_val1)",
21457 "p t_char_array_values(char_array_val1,char_array_val2)",
21458 "p t_char_array_values("carray 1","carray 2")",
21459 "p t_char_array_values("carray 1",char_array_val2)",
21460 "p t_char_array_values(char_array_val1,"carray 2")",
21461 "p sum_args(1,{2})",
21462 "p sum_args(2,{2,3})",
21463 "p sum_args(3,{2,3,4})",
21464 "p sum_args(4,{2,3,4,5})"
21465 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21466 "backtrace in corefile.exp" when not gcc compiled.
21467
21468Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21469
21470 * gdb.base/signals.exp: Rewrite `handle all print' test as
21471 a procedure. Accept blanks or TABs as whitespace, increase
21472 timeout and expect input buffer size for the large output
21473 from the command. Remove "i*86-*-bsdi2.0" xfail.
21474
21475Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21476
21477 * gdb.base/setvar.exp: Add new testcases for truncation when
21478 assigning invalid values to bitfields.
21479
21480Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21481
21482 * gdb.base/callfuncs.exp (do_function_calls): Remove
21483 mips-sgi-irix* xfail for
21484 "call inferior func with struct - returns char *"
21485 and fix test so that an optional (unsigned char *) cast is
21486 accepted in the result.
21487
21488Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21489
21490 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21491 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21492 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21493 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21494 that accidentally got checked in.
21495
21496Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21497
21498 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
21499 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21500 compiled test.
21501 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21502 Add mips-sgi-irix5* xfail for not gcc compiled.
21503 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21504 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21505 "p top", "whatis top", "p middle", and "whatis middle".
21506 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21507 "whatis signed char" for not gcc compiled.
21508 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21509 "set variable signed char=-1 (-1)" and
21510 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21511 * gdb.base/funcargs.exp (float_and_integral_args):
21512 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21513 Add mips-sgi-irix* xfail when not gcc compiled for
21514 "continue to call2b".
21515 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21516 "continue to call2g".
21517 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21518 "backtrace from call6a"
21519 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21520 "backtrace from call7k".
21521 Add mips-sgi-irix5* xfail when not gcc compiled for
21522 "backtrace from call7a".
21523 (localvars_after_alloca): Fix gdb_test cmds for
21524 "print * after runto ...".
21525 Remove rs6000-*-* xfails for
21526 "print i after runto localvars_after_alloca" and
21527 "print l after runto localvars_after_alloca"
21528 for all compilers.
21529 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
21530 when not compiled with gcc, for:
21531 "print signed char == (minus)",
21532 "print signed char != (minus)",
21533 "print signed char < (minus)",
21534 "print signed char > (minus)".
21535 * gdb.base/callfuncs.exp (do_function_calls):
21536 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21537 "call inferior func with struct - returns char *".
21538 * gdb.base/return.exp (return_tests): Change xfail for
21539 "correct value returned double test" to include Solaris 2.4.
21540 * gdb.base/funcargs.exp (float_and_integral_args):
21541 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21542
21543Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21544
21545 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21546 enumeration bitfields if compiling with GNU C.
21547 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21548 to empty' prompt.
21549
21550Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21551
21552 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21553 test for PRO targets.
21554
21555 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21556 breakpoints in the inferior at any given time by making
21557 two groups of breakpoints for call2*, call6* and call7*
21558 tests.
21559
21560Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21561
21562 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21563 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21564 from optimizing it away.
21565 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21566 "call inferior func with struct".
21567
21568Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21569
21570 * configure.in: Only configure gdb.chill for particular targets.
21571
21572Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21573
21574 * gdb.base/Makefile.in: Add action to .c.o transformation
21575 rule that generates a .ci file for each .o file and remove
21576 explicit .c.o rules except for callfuncs.o.
21577 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21578 generates a .ci file for each .o file and remove explicit
21579 .cc.o rules.
21580 (clean): Remove *.tmp *.ci files.
21581 (EXECUTABLES): Remove templ-info.exp.
21582 * gdb.base/compiler.c: New file.
21583 * gdb.c++/compiler.cc: New file
21584 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21585 Change rs6000-*-* xfail for
21586 "print 'scope0.c'::filelocal_ro" and
21587 "print 'scope1.c'::filelocal" and
21588 "print 'scope1.c'::filelocal_bss" and
21589 "print 'scope1.c'::filelocal_ro" and
21590 "print 'scope1.c'::foo::funclocal" and
21591 "print 'scope1.c'::foo::funclocal_ro" and
21592 "print 'scope1.c'::bar::funclocal" and
21593 "print 'scope0.c'::filelocal_ro" and
21594 "print 'scope1.c'::filelocal at foo" and
21595 "print 'scope1.c'::filelocal_bss at foo" and
21596 "print 'scope1.c'::filelocal_ro at foo" and
21597 "print 'scope1.c'::foo::funclocal at foo" and
21598 "print 'scope1.c'::foo::funclocal_bss at foo" and
21599 "print 'scope1.c'::foo::funclocal_ro at foo" and
21600 "print 'scope1.c'::bar::funclocal at foo" and
21601 "print 'scope0.c'::filelocal_ro" and
21602 "print 'scope1.c'::filelocal" and
21603 "print 'scope1.c'::filelocal_bss" and
21604 "print 'scope1.c'::filelocal_ro" and
21605 "print 'scope1.c'::foo::funclocal" and
21606 "print 'scope1.c'::foo::funclocal_bss" and
21607 "print 'scope1.c'::foo::funclocal_ro" and
21608 "print 'scope1.c'::bar::funclocal" and
21609 "print 'scope1.c'::bar::funclocal_bss"
21610 to only be xfail'd when not compiled with gcc.
21611 Add rs6000-*-* xfail for
21612 "print 'scope0.c'::filelocal_bss before run"
21613 when compiled with gcc.
21614 (test_at_main): Add rs6000-*-* xfail for
21615 "print filelocal_ro in test_at_main"
21616 when compiled with gcc.
21617 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21618 Add rs6000-*-aix* xfail for
21619 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21620 "ptype t_char_array", not compiled with gcc.
21621 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21622 xfail for "list foo (in include file)" when gcc compiled.
21623 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21624 (integral_args): Add rs6000-*-* xfail for
21625 "run to call0a" if not compiled with gcc.
21626 (unsigned_integral_args): Add rs6000-*-* xfail for
21627 "run to call1a" if not compiled with gcc.
21628 (float_and_integral_args): Add rs6000-*-* xfail for
21629 "run to call2a" if not compiled with gcc and for
21630 "continue to call2b" for any compiler.
21631 Add rs6000-*-* xfail to
21632 "print f1 after run to call2a" for gcc compiled.
21633 (discard_and_shuffle): Add rs6000-*-* xfail for
21634 "run to call6a".
21635 (shuffle_round_robin): Add rs6000-*-* xfail for
21636 "backtrace from call7a" if not compiled with gcc.
21637 Add rs6000-*-* xfail for
21638 "backtrace from call7b" if compiled with gcc.
21639 (call_after_alloca): Add rs6000-*-* xfail for
21640 "print c in call_after_alloca" and
21641 "print s in call_after_alloca" and
21642 "backtrace from call_after_alloca_subr"
21643 if not compiled with gcc.
21644 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21645 "print c in localvars_in_indirect_call" and
21646 "print c in localvars_in_indirect_call" and
21647 "backtrace in indirectly called function" and
21648 "stepping into indirectly called function"
21649 if not compiled with gcc.
21650 (localvars_after_alloca): Add rs6000-*-* xfail for
21651 "print c after runto localvars_after_alloca" and
21652 "print s after runto localvars_after_alloca" and
21653 "print i after runto localvars_after_alloca" and
21654 "print l after runto localvars_after_alloca"
21655 for all compilers.
21656 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21657 than whatis-info.exp.
21658 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21659 than opaque-info.exp.
21660 Setup rs6000-*-* xfail for
21661 "ptype on opaque struct pointer (statically)" and
21662 "ptype on opaque struct pointer (dynamically)" when
21663 not compiled with gcc.
21664 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21665 rather than callf-info.exp.
21666 (do_function_calls): Add clear_xfail for rs6000-*-* for
21667 "p t_float_values2(3.14159,float_val2)". Seems to work
21668 fine there, both with xlc and gcc. Need to find out what
21669 it is doing right and fix other platforms.
21670 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21671 "call inferior func with struct - returns int",
21672 "call inferior func with struct - returns long",
21673 "call inferior func with struct - returns float",
21674 "call inferior func with struct - returns double",
21675 "call inferior func with struct - returns char *",
21676 but only if not gcc compiled (presumes xlc compiled).
21677 Change rs6000-*-* xfails for
21678 "call inferior func with struct - returns char" and
21679 " call inferior func with struct - returns short" to only
21680 xfail if not using gcc.
21681 (clean mostlyclean): Remove *.ci and *.tmp files.
21682 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21683 than templ-info.exp.
21684 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21685 Add rs6000-*-* xfail for "up to foo in langs.exp"
21686 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21687 when not gcc compiled.
21688
21689Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21690
21691 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21692 * gdb.base/corefile.exp: Likewise.
21693 * gdb.base/list.exp: Likewise.
21694 * gdb.base/scope.exp: Likewise.
21695 * gdb.base/siganls.exp: Likewise.
21696
21697 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21698 compiler output.
21699 * gdb.base/whatis.exp: Likewise.
21700
21701Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21702
21703 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21704 failure (opcode table has been fixed to match reality).
21705
21706Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21707
21708 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21709 "call inferior func with struct - returns char",
21710 "call inferior func with struct - returns short"
21711
21712 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21713 "print 'scope0.c'::filelocal at main",
21714 "print 'scope0.c'::filelocal_bss in test_at_main",
21715 "print 'scope0.c'::filelocal at foo",
21716 "print 'scope0.c'::filelocal_bss in test_at_foo",
21717 "print 'scope0.c'::filelocal at bar",
21718 "print 'scope0.c'::filelocal_bss in test_at_bar"
21719
21720 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21721 in source file 1". This bug seems to have been fixed with both
21722 gcc and native cc (was native assembler bug?).
21723
21724Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21725
21726 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21727 "backtrace through signal handler" to "i*86-*-sysv4*".
21728 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21729 continue" case. Add "known SVR4 bug" to fail message.
21730 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21731 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21732 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21733 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21734 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21735 "up to foo in langs.exp", "show language at foo in
21736 langs.exp", "up to cppsub_ in langs.exp", "show
21737 language at cppsub_ in langs.exp", "up to fsub in
21738 langs.exp", and "show language at fsub in langs.exp".
21739 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21740 "bactrace in corefile.exp".
21741 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21742 "call inferior function with struct - returns float" and
21743 "call inferior function with struct - returns double".
21744
21745Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21746
21747 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21748 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21749 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21750 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21751
21752Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21753
21754 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21755 (or overriden) "CHILL" macro rather then bare "gcc".
21756 Also look for ../../gcc/xgcc since that is what we will
21757 actually need, not "Makefile". Remove following assignment
21758 of CHILL to CHILL_FOR_TARGET because that results in
21759 recursive definition.
21760
21761Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21762
21763 * gdb.base/corefile.exp: Change xfail for backtrace in
21764 corefile.exp from linuxaout to all linux.
21765 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21766 cases where we miss the breakpoint at the signal handler
21767 for some reason. Setup xfail for linuxoldld/linuxaout and
21768 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21769 hitting SIGURG breakpoint.
21770 * gdb.base/signals.exp: Setup xfail for "next" acting like
21771 continue to add linuxoldld. Setup xfail for all linux for
21772 "next to handler in signals_tests_1", "backtrace in
21773 signals_tests_1", "continue to func1", "pass SIGUSR1",
21774 and continue to handler".
21775
21776Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21777
21778 * Update all FSF addresses except those in COPYING* files.
21779
21780Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21781
21782 * gdb.base/a2-run.exp: Change messages to be more explicit about
21783 the status of args, and quote binfile in results.
21784
21785Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21786
21787 * gdb.base/callfuncs.exp: Add tests for passing structs to
21788 inferior functions and return various types.
21789 * gdb.base/callfuncs.c: Add functions to receive a struct
21790 and return a member of the struct, in various types.
21791
21792Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21793
21794 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21795
21796Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21797
21798 * config/vxworks29k.exp: New file, sources vxworks.exp.
21799
21800Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21801
21802 * config/gdbremote.exp: New file. Testing framework using
21803 gdbserver.
21804
21805Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21806
21807 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21808 "call function when asleep" and "send end of file".
21809 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21810 for "backtrace in corefile.exp".
21811 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21812 for "backtrace through signal handler".
21813 * gdb.base/corefile.exp: Make sure we actually generate a core file
21814 before trying the core tests. Some systems allow the user to suppress
21815 generation of core files and default to that (linux for example).
21816 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21817 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21818
21819Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21820
21821 * gdb.threads: New directory with some crude multi-threaded
21822 gdb tests (step.exp and step2.exp).
21823 * config/mt-lynx (STEP_EXECUTABLE): Define.
21824 (THREADFLAGS): Define.
21825
21826Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21827
21828 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21829
21830 * gdb.base/signals.exp: Disable whole file for lynx until
21831 further notice.
21832
21833 * gdb.base/signals.exp: xfail test where "next" acts like
21834 "continue" for lynx.
21835
21836 * gdb.base/interrupt.exp: xfail test for calling function while
21837 inferior is asleep for lynx.
21838
21839 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21840 than one cr-lf after each command.
21841
21842Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21843
21844 * configure.in: Reinstate setting of stabsdirs variable, fix
21845 typo in setting up configdirs for native builds.
21846
21847 * gdb.base/return.exp: Fix typo in return double test.
21848 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21849 compiler from optimizing them away.
21850
21851Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21852
21853 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21854 sequences to be echo'd by gdb when using gdb_test.
21855 * gdb.chill/chexp.exp: Likewise.
21856 * gdb.fortran/exprs.exp: Likewise
21857
21858Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21859
21860 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21861 after the inferior gdb has started.
21862
21863 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21864 after each command.
21865 * gdb.base/funcargs.exp: Likewise.
21866 * gdb.base/gdbvars.exp: Likewise.
21867 * gdb.base/interrupt.exp: Likewise.
21868 * gdb.base/list.exp: Likewise.
21869 * gdb.base/watchpoint.exp: Likewise.
21870 * gdb.c++/demangle.exp: Likewise.
21871 * gdb.c++/inherit.exp: Likewise.
21872 * gdb.chill/chexp.exp: Likewise.
21873 * gdb.fortran/exprs.exp: Likewise.
21874
21875 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21876 test if we can't handle IO to/from the inferior.
21877
21878 * gdb.c++/misc.exp: Always check for a program already being
21879 started after sending a "run" command to gdb.
21880
21881 * gdb.base/twice.exp: Start with a fresh gdb.
21882
21883 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21884 only depend on gdb's expression code, not the chill runtime.
21885
21886 * gdb.base/return.c: Put return values into variables so we
21887 can have gdb print them rather than depending on the program
21888 to print them.
21889 * gdb.base/return.exp: Corresponding changes.
21890
21891 * lib/gdb.exp: Provide default value for noinferiorio.
21892 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21893 the inferior.
21894
21895 * gdb.base/break.exp: Always check for a program already being
21896 started after sending a "run" command to gdb.
21897 (text_next_with_recursion): Don't check the output from the
21898 program's printf statement. Instead just make sure the program
21899 exited.
21900
21901 * gdb.base/commands.exp: Protect tests which need arguments with
21902 $noargs conditionals.
21903
21904Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21905
21906 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21907 of structure member arrays to match gdb/valops.c:value_addr change.
21908
21909Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21910
21911 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21912 cases.
21913
21914Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21915
21916 * configure.in (configdirs): Remove gdb.chill from default list
21917 of subdirs and then add it back in only if doing a native build.
21918 The current chill compiler does not yet work in any cross build.
21919 * Revert all signal changes from Jul 6.
21920 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21921 for sh-hms targets, allowing these tests to link, with no other
21922 changes. Testing is suppressed by setting "nosignals" in site.exp.
21923
21924Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21925
21926 * configure.in (signaldirs): Define and add to configdirs for all
21927 targets except some specific ones that are known to not support signals.
21928 Also clean up formatting.
21929 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21930 (signals, sigall): Remove rules to build.
21931 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21932 Moved to new gdb.signals directory.
21933 * gdb.signals: New test directory.
21934 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21935 signals.c signals.exp}: New or moved files.
21936
21937Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21938
21939 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21940
21941Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21942
21943 * gdb.base/return.exp: Xfail `return double' test failure
21944 on at least Solaris 2.3 and handle future/past versions on
21945 a case by case basis as appropriate. Also update message
21946 to include i*86 failures.
21947
21948Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21949
21950 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21951
21952 * lib/gdb.exp: Fix comment which erroneously identified
21953 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21954 gdb_file_cmd not gdb_load).
21955 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21956
21957 * gdb.base/setvar.exp: Make test names consistent between pass and
21958 fail cases. Use gdb_test more.
21959
21960Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21961
21962 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21963
21964Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21965
21966 * gdb.base/help.exp: Fix expected help string for `show commands'.
21967
21968Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21969
21970 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21971
21972 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21973 of a text section.
21974
21975Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21976
21977 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21978 that loop eventually terminates. Fix Connection refused logic so
21979 that testsuite will expire nicely.
21980
21981Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21982
21983 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21984 config/rom68k.exp: New tcl glue for the appropriate monitors.
21985 These all just end up calling monitor.exp.
21986 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21987 refused' by retrying. Cleanup some timeout issues.
21988 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21989 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21990 callers don't have to set/restore global timeout variable.
21991
21992 * The following set of changes centralizes management of the global
21993 timeout variable. This way, it can be set in one target dependent
21994 place instead of dozens of places scattered throughout the test suite.
21995 If you need to lengthen a timeout, then you should either set timeout
21996 in one of the config/{target}.exp files, or multiply it by a factor.
21997 Setting it to an absolute value is always going to lose for some
21998 targets.
21999 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22000 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22001 * gdb.base/funcargs.exp: Don't set timeout.
22002 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22003 * gdb.base/printcmds.exp (test_print_string_constants
22004 test_print_array_constants): Don't set timeout.
22005 * gdb.base/ptype.exp: Don't set timeout.
22006 * gdb.base/recurse.exp: Don't set timeout.
22007 * gdb.base/return.exp: Don't set timeout.
22008 * gdb.base/watchpoint.exp: Don't set timeout.
22009 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22010 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22011
22012Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22013
22014 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22015
22016Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22017
22018 * lib/gdb.exp: Disable chill tests for irix5.
22019
22020Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22021
22022 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22023 each test pass or fail.
22024
22025Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22026
22027 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22028 xlc not gcc.
22029
22030Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22031
22032 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22033
22034Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22035
22036 * config/est.exp: Fix copyright and comments. Remove dead code.
22037 Use targetname, serialport and baud variables instead of fixed
22038 constants.
22039 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22040 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22041
22042Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22043
22044 * gdb.base/watchpoint.exp: Don't run
22045 test_watchpoint_triggered_in_syscall for sunos.
22046
22047Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22048
22049 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22050 they don't seem to exist. Do include stdio.h.
22051
22052Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22053
22054 * gdb.base/a1-selftest.exp: Add alpha xfail.
22055
22056Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22057
22058 * gdb.base/watchpoint.c (main): Prompt before calling read().
22059 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22060 Revise accordingly. Remove cruft about sending "123" several
22061 times, until it gets noticed. Clean up the "print buf[0]" stuff
22062 so that it passes or fails, and waits for prompts in the usual way.
22063
22064Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22065
22066 * gdb.base/recurse.exp: Fix comment.
22067
22068 * TODO: Remove item about printing variables in nodebug.exp. Add
22069 item about enabling tests which are only run on some targets.
22070
22071 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22072 fail, make test names unique, use new gdb_test convention
22073 regarding pattern, use gdb_test more, etc.).
22074
22075 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22076 fail, make test names unique, etc.).
22077
22078Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22079
22080 * gdb.base/nodebug.c: Change return type of top and middle to
22081 short.
22082 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22083 are fixed by the recent mdebugread.c changes. Allow `short ()'
22084 as type for top and middle.
22085
22086Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22087
22088 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22089 nearly as I can tell, the whole thing was an accident in Stu's
22090 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22091 to replace a send/expect pair with gdb_test, but ended up only
22092 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22093 of 30 Mar 1995 took care of it, but left this vestigial comment
22094 which I am now nuking.
22095
22096Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22097
22098 * gdb.base/break.exp: Look for different line number for
22099 breakpoint at main depending on usestubs.
22100
22101Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22102
22103 * gdb.base/list.exp: Adjust some alternate expect patterns to
22104 match recent list0.c change. Add alternate expect pattern for
22105 output from `list default lines around main' for optimizing
22106 compilers.
22107
22108Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22109
22110 * lib/gdb.exp: If nosignals is not set, set it to 0.
22111
22112Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22113
22114 * config/slite-gdb.exp: Responds to load symbol table prompt.
22115 * gdb.base/break.exp: Adjust line number, fix rerun.
22116 * gdb.base/langs0.c: Add #ifdef usestubs.
22117
22118Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22119
22120 * gdb.base/list.exp: Adjust line contents after adding new lines in
22121 list0.c. Also fix a syntax error.
22122
22123 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22124 * gdb.base/break.exp: ditto.
22125 * gdb.base/list.exp: ditto.
22126 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22127 * gdb.base/run.c: ditto.
22128 * gdb.base/list0.c: ditto.
22129 * gdb.base/funcargs.c: ditto.
22130
22131Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22132
22133 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22134 $targetname, $serialport and $baud instead of hardwired variables.
22135 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22136 target doesn't support signals.
22137
22138Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22139
22140 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22141
22142Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22143
22144 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22145 Don't rely on the value of an auto variable before it has been
22146 initialized. Use gdb_test more.
22147
22148Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22149
22150 * lib/gdb.exp (default_gdb_version): A version number must start
22151 with a digit, but other than that contains all characters up to
22152 the first whitespace character.
22153
22154Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22155
22156 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22157
22158Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22159
22160 * gdb.c++/*.exp: Warn if executable does not exist. The original
22161 reason for skipping the warning was that configure.in sometimes
22162 intentionally skipped building the executables but the tcl code
22163 had no way of knowing. That (a) was always bogus with respect to
22164 error handling, (b) is no longer true (right now there is no way
22165 to skip C++ tests).
22166
22167 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22168
22169Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22170
22171 * gdb.base/list.exp: Add expect patterns for output from
22172 SunPRO compiled executables.
22173 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22174 types.
22175
22176Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22177
22178 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22179 number (we are already testing that the correct source line text
22180 gets printed).
22181
22182 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22183 that is what is intended, but something needed to be done to get
22184 sunos4 native working again.
22185
22186 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22187
22188 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22189 apparently went with a (very) old xfail.
22190
22191Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22192
22193 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22194 runto_main is a proc in gdb.exp that will do 'step' for target use
22195 stubs.
22196 * gdb.base/exprs.exp: ditto.
22197 * gdb.base/interrupt.exp: ditto.
22198 * gdb.base/opaque.exp: ditto.
22199 * gdb.base/printcmds.exp: ditto.
22200 * gdb.base/ptype.exp: ditto.
22201 * gdb.base/scope.exp: ditto.
22202 * gdb.base/setvar.exp: ditto.
22203 * gdb.base/signals.exp: ditto.
22204 * gdb.base/twice.exp: ditto.
22205 * gdb.c++/classes.exp: ditto.
22206 * gdb.c++/inherit.exp: ditto.
22207 * gdb.c++/templates.exp: ditto.
22208 * gdb.base/break.exp: no run and hit main for stubs. Change line
22209 numbers for breakpoints and info breakpoint.
22210 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22211 breakpoint().
22212 * gdb.base/callfuncs.c: ditto.
22213 * gdb.base/exprs: ditto.
22214 * gdb.base/interrupt.c: ditto.
22215 * gdb.base/opaque0.c: ditto.
22216 * gdb.base/printcmds.c: ditto.
22217 * gdb.base/ptype.c: ditto.
22218 * gdb.base/scope0.c: ditto.
22219 * gdb.base/setvar.c: ditto.
22220 * gdb.base/signals.c: ditto.
22221 * gdb.base/twice.c: ditto.
22222 * gdb.c++/misc.cc: ditto.
22223 * gdb.c++/templates.cc: ditto.
22224
22225Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22226
22227 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22228
22229 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22230 somewhere between `read' and `main.c'. I'm pretty sure the
22231 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22232 and it isn't particularly useful.
22233
22234 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22235
22236Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22237
22238 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22239
22240Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22241
22242 * config/mt-slite: add LIBS and -nostdlib.
22243 * config/slite-gdb.exp: add this new file to support sparclite target.
22244
22245Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22246
22247 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22248
22249 * gdb.base/a2-run.exp: Change argument to istarget from
22250 "*-*-vxworks" to "*-*-vxworks*".
22251 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22252
22253Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22254
22255 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22256 will not runto main but do a 'step' to step out of breakpoint().
22257 * config/mt-slite: add -Dusestubs.
22258
22259Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22260
22261 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22262 instead of just @.
22263
22264 * gdb.base/signals.exp: Add test for "handle all print".
22265 * TODO: Remove "handle all print". Also remove item about
22266 checking copyright date (I don't like the idea of a spurious FAIL
22267 based on when we run the tests).
22268
22269 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22270 for SunOS4 (reason for failure not investigated). Remove
22271 redundant test for $binfile.
22272
22273 * gdb.base/nodebug.c (array_index): Call malloc.
22274
22275 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22276
22277Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22278
22279 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22280 conventions and slightly simplify the matching regexp.
22281
22282Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22283
22284 * gdb.base/break.exp: Update gdb_test invocation to use new
22285 convention.
22286
22287 * lib/gdb.exp: If noargs is not set, set it to 0.
22288
22289 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22290 tests unique.
22291
22292 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22293
22294Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22295
22296 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22297 one argument of type "<non-float parameter>".
22298
22299Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22300
22301 * config/rom68k.exp: New file to support Motorola IDP board.
22302 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22303 * gdb.base/break.c: Change things around so that this program
22304 doesn't depend upon args. This is necessary to make remote
22305 targets work (in general, they can't take args).
22306 * gdb.base/break.exp: Don't try to send args to program. Don't
22307 expect output. Also, replace lots of code with gdb_test.
22308
22309Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22310
22311 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22312 printing of '\'' (which is what the comment says we are testing,
22313 even though we were not), not '''.
22314 (test_integer_literals_rejected): Test that printing ''' is an error.
22315
22316 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22317 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22318 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22319 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22320 Use gdb_test not test_print_accept.
22321 * lib/gdb.exp: Remove test_print_accept.
22322
22323 * gdb.base/signals.exp (signal_tests_1): Make pass message
22324 consistent with fail message.
22325
22326 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22327 unsigned char; the bug (PR 1821) is fixed.
22328
22329 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22330
22331 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22332 successful tests--makes xfailing them work right.
22333
22334Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22335
22336 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22337 only \r\n, not .*. The test can pass .* as the last thing in
22338 $pattern if that is what it wants. In addition to providing this
22339 flexibility, this change should speed up pattern matching in cases
22340 where the pattern already ended with .* (there were a number of
22341 them). This change also helps catch bad patterns--in the old
22342 scheme the typo "char \*" instead of "char \\*" would pass. Now
22343 it is caught.
22344 * Many .exp files: Update callers.
22345
22346 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22347 clearer and does not spuriously match multiple ('s. Likewise for
22348 ) and *.
22349
22350 * gdb.base/nodebug.exp: Test ability to call a function and pass
22351 it a string (even with no debugging info).
22352
22353 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22354 "p '\'", which is the same as "p ''" once tcl gets done with
22355 quoting, to "p '\\'", which I suspect is what is intended (one
22356 backslash gets sent to GDB).
22357
22358 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22359
22360Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22361
22362 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22363 1817) was fixed literally years ago.
22364
22365Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22366
22367 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22368 test, it causes stepping out of call_after_alloca_subr with
22369 optimizing compilers.
22370 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22371 fails.
22372
22373 * gdb.c++/templates.exp: Source templ-info.exp only if
22374 the templates executable exists.
22375
22376 * gdb.c++/misc.cc (class Contains_static_instance,
22377 class Contains_nested_static_instance),
22378 gdb.c++/classes.exp (test_static_members): Test printing of
22379 a class that contains a static instance of the class.
22380
22381Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22382
22383 * gdb.base/langs2.c (cppsub_): Don't prototype.
22384 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22385 only, I believe).
22386
22387Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22388
22389 * lib/gdb.exp (skip_chill_tests): New procedure.
22390
22391 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22392
22393Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22394
22395 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22396 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22397
22398Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22399
22400 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22401
22402 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22403 disassemble 8, not 16, instructions for part 4.
22404
22405 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22406 support the latter anymore.
22407
22408 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22409 -DNO_PROTOTYPES.
22410 * gdb.base/callfuncs.c: Control use of prototypes based on
22411 NO_PROTOTYPES, not __STDC__.
22412 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22413 t_float_values2 tests if prototypes in use.
22414
22415 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22416 t_double_values): When checking differences against DELTA, check
22417 that difference is within the range (-DELTA,DELTA), not just
22418 (-infinity,DELTA).
22419
22420Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22421
22422 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22423 'file' command firts, then 'target', then 'load', this is due to gdb
22424 target set up.
22425 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22426
22427Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22428
22429 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22430 FP load/store variants.
22431 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22432
22433Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22434
22435 * gdb.base/term.exp: Do not give a warning if not native, it is
22436 not an abnormal condition.
22437
22438Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22439
22440 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22441 t_char_array".
22442
22443Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22444
22445 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22446 are getting the version number.
22447
22448 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22449 if not native, it is not an abnormal condition.
22450
22451Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22452
22453 * lib/gdb.exp: Just use "file exists", rather than undocumented
22454 dejagnu procedure "findfile".
22455
22456Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22457
22458 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22459 (LDFLAGS): Set to -Xlinker -Ur.
22460
22461 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22462 Removed, these values are set by lib/gdb.exp.
22463
22464 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22465
22466Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22467
22468 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22469 of replicating gdb startup code.
22470
22471 * config/mt-vxworks (LDFLAGS): Set to -r.
22472 (CFLAGS_FOR_TARGET): Removed.
22473
22474 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22475 (gdb) and gdb for vxworks uses (vxgdb).
22476
22477 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22478 executable is not in the tree and host != target, use sed and
22479 program_transform_name to determine the gdb name used by the
22480 target.
22481
22482 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22483 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22484
22485Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22486
22487 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22488 floats, chars, and shorts where there are ANSI-style function
22489 definitions.
22490
22491 * gdb.base/langs.exp, gdb.base/langs*: New test.
22492 * gdb.base/Makefile.in: Build it.
22493 * TODO: Remove item about checking that C names don't get C++
22494 demangling applied; this test tests it.
22495
22496Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22497
22498 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22499 went with the const70 xfail. The xfail went away a year ago.
22500
22501 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22502
22503 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22504 for hp300.
22505
22506 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22507
22508 * gdb.base/a1-selftest.exp: Don't run on hp300.
22509
22510Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22511
22512 * Makefile.in (site.exp): Set host_alias and target_alias as well
22513 as host_triplet and target_triplet.
22514
22515Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22516
22517 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22518
22519 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22520 places as other ecoff systems).
22521
22522 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22523 ultrix.
22524
22525Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22526
22527 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22528 remove them.
22529 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22530 variable and "variable" in addition to "data variable".
22531 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22532
22533 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22534 2.
22535 * gdb.base/list1.c (long_line): Add additional statement at start
22536 of function.
22537 * gdb.base/list.exp (test_forward_search): Update line number to
22538 reflect new statement.
22539
22540Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22541
22542 * gdb.base/signals.exp: Reinitialize searched source directories
22543 after gdb_start call.
22544
22545Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22546
22547 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22548 * gdb.stabs/Makefile.in: Likewise.
22549
22550 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22551 change. Instead split the tests into smaller pieces.
22552 * gdb.disasm/hppa.s: Corresponding changes.
22553
22554Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22555
22556 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22557 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22558
22559 * gdb.base/funcargs.exp: Modify many tests so that every test
22560 either passes or fails. Make some test names unique.
22561
22562Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22563
22564 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22565 Call stty to set interrupt character.
22566
22567 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22568 for HP assembler versus GNU assembler based on actual behavior of
22569 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22570
22571 * TODO: Suggest a few more stepping tests.
22572
22573Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22574
22575 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22576 restart GDB for h8300 after a continue.
22577 (return): Add pattern to match a29k-udi behavior.
22578 * gdb.base/nodebug.exp: Remove obsolete comment.
22579 * gdb.base/regs.exp: New file, testing of register displays.
22580 * gdb.base/return.exp: Fix typo in reference to $objdir.
22581 * gdb.base/whatis.exp: Always start with a fresh GDB.
22582
22583Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22584
22585 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22586 higher, these tests generate a lot of output.
22587
22588Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22589
22590 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22591 code following the catch silently ignored some errors; without the
22592 catch they should be thrown like any other tcl error. Also, the
22593 catch used "" instead of {} which meant all the callers who wanted
22594 to include one of the characters "[]$ had to quote it an extra time.
22595 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22596 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22597 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22598 Remove extra quoting.
22599
22600Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22601
22602 * gdb.base/commands.exp: Make test names unique; every test either
22603 passes or fails. Update some comments.
22604
22605 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22606
22607Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22608
22609 The following fixes a FAIL caused by the fact that the alpha stabs
22610 configuration didn't use the ".if alpha" code in weird.def.
22611 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22612 bit pointer, so the 32 bit version works even on the alpha.
22613 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22614 Remove the stuff which allowed us to have separate versions for
22615 alpha and everything else.
22616
22617 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22618 regexp which "info func operator\[\](" is supposed to match. Fix
22619 string to send to GDB. Note that GDB still doesn't work right. Add a
22620 new test for "info func .perator\[\](" which GDB does handle correctly.
22621
22622 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22623
22624Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22625
22626 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22627 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22628 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22629 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22630 it makes the tests harder to understand and confuses test-o-matic.
22631 The preferred style is that each test provides a PASS or a FAIL,
22632 and has a unique message (e.g. "continue #54" not just "continue")
22633 which is the same for the pass and the fail.
22634 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22635 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22636 to lib/gdb.exp.
22637 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22638 prt_accept which was basically the same thing. Likewise for
22639 test_print_reject and prt_reject.
22640 * lib/gdb.exp (test_print_reject): Add some more error message
22641 patterns to match from the former printcmds.exp (prt_reject).
22642 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22643 One defect of the passcount stuff is that some of it failed to
22644 report XPASS where appropriate.
22645 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22646 stuff before and after arg in expected pattern.
22647 (test_paddr_operator_functions): Re-do test without print_addr_of;
22648 this is the only test which seems to want extra stuff there.
22649
22650Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22651
22652 * gdb.base/nodebug.exp: Update new tests to reflect improved
22653 wording of gdb output.
22654
22655 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22656 and "ptype" work on variables in files compiled without -g.
22657 Replaces commented out "maint print msymbol" tests.
22658
22659Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22660
22661 * gdb.base/setvar.c (dummy): Call malloc.
22662
22663 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22664 losing with the irix4 sed.
22665
22666 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22667 ALRM" on irix4.
22668
22669Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22670
22671 * TODO: Remove items about corefile.exp testing new exec-file and
22672 backtrace; both are now done. Add items about printing enums.
22673
22674Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22675
22676 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22677 "get signal $thissig" test fails.
22678
22679 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22680
22681Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22682
22683 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22684 compiler warning with dec alpha compiler.
22685
22686 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22687 extra \n from gdb_test call (this explains why the prompt test
22688 that I removed yesterday was there).
22689 (user_defined_command_test): Remove extra \n and prompt test.
22690
22691 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22692 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22693 doesn't exist.
22694 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22695 Also remove alpha workaround, which turns out to be because
22696 SIGABRT == SIGLOST.
22697
22698 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22699
22700 * gdb.base/help.exp: Don't test "help show".
22701
22702Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22703
22704 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22705 "set print address" is on.
22706 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22707 pass prompt to gdb_test; gdb_test already looks for the prompt.
22708
22709 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22710
22711 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22712 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22713 was to make sure that gdb can read a core file. But (a) the "read
22714 the corefile" part didn't make it to a1-selftest.exp, we just
22715 delete the corefile after creating it, and (b) we test reading
22716 corefiles in corefile.exp anyway. Also, this test left around a
22717 xgdb process on Solaris.
22718
22719 * gdb.base/corefile.exp: Also test backtrace.
22720
22721Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22722
22723 * gdb.base/commands.exp: Test a simple user defined command with
22724 arguments and if/while statements; verify the full user command is
22725 printed by "show user".
22726
22727 * gdb.base/commands.exp: Test if/while commands as part of a
22728 breakpoint command list; verify they appear in breakpoint
22729 information.
22730
22731Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22732
22733 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22734 than by dividing by zero.
22735
22736Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22737
22738 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22739 performing an inferior call with watchpoints enabled.
22740 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22741 call.
22742
22743Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22744
22745 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22746 of "file" command.
22747
22748 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22749 Add additional pattern for when "int operator int(void);" appears
22750 in a different order.
22751
22752Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22753
22754 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22755
22756 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22757 and "signal" with ".*".
22758
22759Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22760
22761 * TODO: Add note about "handle all nostop".
22762
22763 * gdb.base/{sigall.c, sigall.exp}: New test.
22764 * gdb.base/Makefile.in: Add it.
22765
22766Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22767
22768 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22769 when invoking GDB, suppresses any windowing interface.
22770
22771Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22772
22773 * config/sim-gdb: New file, simulator testing support.
22774
22775Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22776
22777 * gdb.base/interrupt.exp: Test calling func1 twice.
22778
22779Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22780
22781 * gdb.base/list.exp (test_forward_search): Set timeout higher
22782 when we'll be getting lots of output from gdb.
22783
22784 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22785 "init_malloc" to after the expect statement. Run it if that
22786 regexp is taken, but also for two others which happen if source
22787 cannot be found.
22788
22789Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22790
22791 * gdb.base/printcmds.exp: New test, for printing register before
22792 program is running.
22793
22794Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22795
22796 * gdb.base/list.exp: Correct some alternate expect patterns
22797 to reflect changes in list1.c.
22798
22799Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22800
22801 * TODO: Add item regarding large frames.
22802
22803 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22804
22805 * TODO: Remove item about enabling return.exp; it
22806 is enabled. Suggest a few more "return" tests.
22807
22808Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22809
22810 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22811 anonymous unions.
22812
22813Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22814
22815 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22816 and pr-5646.o, so "make" is the same as "make all", not "make
22817 pr-4975.o".
22818
22819Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22820
22821 * gdb.base/list.exp: Adjust expectations to reflect changes in
22822 list1.c.
22823 (test_forward_search): New test proc.
22824 * gdb.base/list1.c (long_line): New function, has long source line.
22825
22826Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22827
22828 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22829 additional line of code that was added.
22830
22831Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22832
22833 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22834 tests so as not to overflow expect's input buffers.
22835 * gdb.disasm/hppa.exp: Corresponding changes.
22836
22837Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22838
22839 Beginnings of template debugging tests.
22840 * gdb.c++/templ-info.cc: New file to test for template
22841 debugging capability of the compiler.
22842 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22843 templ-info.cc.
22844 * gdb.c++/templates.cc: Add explicit template instantiations
22845 to enable compiling with -fno-implicit-templates. Add destructor
22846 and 'value' method to T5 class for template tests.
22847 * gdb.c++/templates.exp: Add testcases for printing of template
22848 types, setting breakpoints on template methods and calling a
22849 template method.
22850
22851Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22852
22853 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22854 branch target since some assemblers (gas-2.5) may emit a
22855 relocation for the branch instead of resolving it in the
22856 assembler.
22857
22858Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22859
22860 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22861 through signal handler.
22862
22863Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22864
22865 * configure.in (*-*-netware): Use config/mt-netware.
22866
22867 * config/mt-netware: New file.
22868 * config/mt-i386-netware: Removed, separate configs for different
22869 netware architectures are no longer needed now that we have
22870 --with-headers.
22871
22872Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22873
22874 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22875 by the recent changes to use ANSI C arithmetic conversions.
22876
22877Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22878
22879 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22880 bug involving using inferior_pid to figure out whether to select a
22881 frame.
22882
22883Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22884
22885 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22886 match the current disassembler output.
22887
22888Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22889
22890 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22891 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22892 types, expect "int" as type of integer values (for now).
22893
22894Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22895
22896 * gdb.base/commands.exp: New tests for if/while commands.
22897
22898Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22899
22900 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22901 by .*, since hex values have different syntax in Chill mode.
22902
22903Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22904
22905 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22906 linefeed from expect pattern for repeated types with indices > 9.
22907
22908Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22909
22910 First part of Fortran test suite.
22911 * gdb.fortran: New directory.
22912 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22913
22914Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22915
22916 * gdb.base/default.exp: Update expect pattern for load command
22917 without arguments.
22918
22919Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22920
22921 * configure.in: Change i386 to i[345]86.
22922 * gdb.base/configure.in: Likewise.
22923 * gdb.c++/configure.in: Likewise.
22924 * gdb.chill/configure.in: Likewise.
22925
22926Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22927
22928 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22929 patterns, since that is not a valid context for comments.
22930
22931Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22932
22933 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22934 repeated types and repeated types with indices > 9.
22935
22936Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22937
22938 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22939 2417; old bug has been fixed.
22940
22941Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22942
22943 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22944 send the newline ourselves instead of assuming gdb_test will do
22945 so when passed an empty input string.
22946
22947 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22948 stabs testcode.
22949
22950Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22951
22952 * lib/gdb.exp (gdb_test): Don't send anything if the first
22953 argument is an empty string. This makes cases where we want to
22954 match output that is already in expect's buffers (for example,
22955 matching a breakpoint after gdb_run_cmd has been called) work
22956 reliably.
22957
22958Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22959
22960 * config/netware.exp: New file.
22961
22962Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22963
22964 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22965 the -B and -L prefixes so we can find the debugging stub.
22966
22967 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22968 there and we are using the gcc from the tree.
22969
22970 * gdb.base/types.c: Removed.
22971
22972 * gdb.base/configure.in: Look for makefile fragments in ../config.
22973 Recognize i386-*-netware.
22974 * gdb.c++/configure.in: Likewise.
22975
22976Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22977
22978 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22979 the correct TCL syntax.
22980
22981Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22982
22983 * gdb.base/opaque.exp: use runto instead of messing around with
22984 breakpoints. Simplify by using gdb_test.
22985
22986 * gdb.base/bitfields.exp: restart between tests on netware targets
22987 because breakpoints aren't relocated after target death. Run
22988 processes to completion.
22989
22990 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22991
22992Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22993
22994 * Makefile.in: Remove extra tabs that confuse some versions
22995 of "make". Use the newly built gdb to test with by default,
22996 rather than the first one in the tester's search path.
22997
22998Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22999
23000 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23001
23002 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23003 condition help.
23004
23005Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23006
23007 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23008
23009 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23010 running.
23011 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23012 * gdb.base/funcargs.exp: Likewise.
23013
23014 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23015 * gdb.base/funcargs.exp: Likewise.
23016
23017 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23018 message is "".
23019
23020Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23021
23022 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23023 return,signals,twice}.exp: Handle non-existant binaries
23024 consistantly.
23025
23026 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23027 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23028 might testing a cross development system.
23029
23030Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23031
23032 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23033 runtest script is relative to ${srcdir}, not ${rootdir}.
23034
23035Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23036
23037 * gdb.base/signals.exp: Allow for optionality of breakpoint
23038 address.
23039
23040Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23041
23042 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23043
23044Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23045
23046 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23047 for size_t definition.
23048 * gdb.c++/templates.cc: Likewise
23049
23050 * config/mt-i386-netware: New file.
23051
23052 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23053 defined.
23054
23055 * gdb.base/Makefile.in: Added support for systems that name core
23056 files by appending "core" to the program name.
23057 * gdb.base/a1-selftest.exp: Likewise.
23058
23059Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23060
23061 * gdb.base/return.exp: Add comment and message for `return double'
23062 test failure on Sparc Solaris.
23063
23064Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23065
23066 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23067
23068Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23069
23070 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23071 from optimizing them away.
23072 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23073 patterns to include default constructors and assignment operators,
23074 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23075 character in the output of the virtual base pointer.
23076
23077Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23078
23079 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23080 expression match in print_addr_of to avoid unintented matches.
23081 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23082 versions up to 2.5.8.
23083
23084Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23085
23086 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23087 included file to run under newer versions of expect.
23088 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23089 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23090 Remove xfail for the virtual table of BDDHookV.
23091
23092Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23093
23094 * lib/gdb.exp (string_to_regexp): Set a default result.
23095 (default_gdb_start): Fix misleading message.
23096
23097Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23098
23099 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23100 Remove all CC, etc definitions.
23101 * config/mt-hpux: New file.
23102 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23103 (CFLAGS, LDFLAGS): Define.
23104 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23105
23106 * Makefile.in (site.exp): Don't insert host_os, etc.
23107 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23108 (distclean): Check existence of subdir.
23109 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23110 * gdb.base/Makefile.in: General cleanup and simplification.
23111 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23112 to build executables. Use default rule to build .o files.
23113 (EXPECT, RUNTEST, CC): Fix relative pathname.
23114 (site.exp): Don't insert host_os, etc.
23115 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23116 and/or SIGUSR1 defined.
23117 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23118 * gdb.c++/Makefile.in: General cleanup and simplification.
23119 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23120 (CFLAGS): Remove.
23121 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23122
23123Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23124
23125 * gdb.base/recurse.exp: Misc changes to get tests running again
23126 after Kung's changes to the watchpoint code.
23127 * gdb.base/watchpoint.exp: Likewise.
23128
23129Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23130
23131 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23132
23133Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23134
23135 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23136 * lib/gdb.exp (default_gdb_start): Define.
23137 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23138 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23139 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23140 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23141 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23142 Don't call gdb_target_udi in between tests.
23143
23144Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23145
23146 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23147 (which was basically just a local version of the same thing). In
23148 addition to avoiding duplication, gdb_test_exact is faster.
23149 * lib/gdb.exp (gdb_test_exact): Fix typo.
23150
23151 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23152 don't give an error.
23153
23154 * gdb.base/term.exp: Call delete_breakpoints before starting.
23155
23156 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23157 (t10): Add comment.
23158
23159Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23160
23161 Reorganization of the GDB Test Suite.
23162
23163 * gdb.base: New directory, contains all the basic tests.
23164 * gdb.c++: New directory, tests specific to C++.
23165 * gdb.chill: New directory, tests specific to Chill.
23166 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23167 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23168 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23169 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23170 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23171 t30-31 to chill).
23172 * */gdbme.*: Rename to match appropriate expect scripts.
23173 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23174 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23175 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23176 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23177 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23178 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23179 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23180 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23181 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23182 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23183 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23184 gdb.c++/virtfunc.cc: New names of C++ files.
23185 * gdb.chill/chillvars.ch: New name of Chill file.
23186 * gdb.base/configure.in, gdb.c++/configure.in,
23187 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23188 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23189 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23190 * configure.in (configdirs): Update to reflect directory changes.
23191 (target_abbrev): No longer define for any configuration.
23192 * Makefile.in: Cosmetic improvements to header comments.
23193
23194Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23195
23196 Various changes to gdb.t31:
23197
23198 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23199 * gdbme.ch: Make all key-words and predefineds be upper-case.
23200 * chillvars.exp: Expect key-words and predefinds in upper-case.
23201
23202 * chillvars.exp: Use gdb_test_exact many places.
23203 Change expected output for arrays (which now includes index labels).
23204
23205 * pr-5020.exp, gdme.ch (module PR_5020):
23206 New test, for PR-5020.
23207
23208Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23209
23210 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23211 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23212
23213Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23214
23215 * Makefile.in: Fix bit-rot in definitions of CHILL,
23216 CHILL_FOR_TARGET and Chill_LIB.
23217 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23218 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23219 CHILL, and CHILL_LIB.
23220
23221Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23222
23223 * Revert the previous changes. Please see Rob's directory
23224 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23225
23226Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23227
23228 * Makefile.in, configure.in, config/mips-gdb.exp,
23229 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23230 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23231 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
23232 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23233 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23234 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23235 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23236 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23237 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23238 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23239 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23240 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23241 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23242 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23243 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23244 changes from 94Q1.
23245
23246Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23247
23248 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23249 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23250 Rob's new testing fragments.
23251
23252Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23253
23254 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
23255 lib/gdb.exp: Replace error proc calls with perror.
23256
23257Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23258
23259 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23260 version also, match on casted version strings, and match on
23261 gdb startup case where the line numbers might be messed up.
23262
23263Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23264
23265 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
23266 (CFLAGS): Delete it from here.
23267
23268Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23269
23270 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23271
23272Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23273
23274 * Makefile.in (RUNTEST): Default to just "runtest".
23275
23276Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23277
23278 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23279 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23280 the code has been restructured.
23281
23282Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23283
23284 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23285 \n, not just one of each.
23286
23287 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23288 /bin/cc gives a warning if you do.
23289
23290Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23291
23292 * gdb.t24/demangle.exp: change expect pattern of
23293 __t10ListS_link1ZUiRCUiPT0
23294
23295Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23296
23297 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23298 on local variables in recursive functions.
23299
23300 * gdb.t07/Makefile.in: Build the new test.
23301
23302Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23303
23304 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23305 directly. Instead compare the return values from actual calls.
23306
23307Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23308
23309 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23310
23311Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23312
23313 * From Peter Schauer with minor modifications.
23314 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23315 stops in mid-line in the caller. Add xfail for returning a float
23316 value on X86 targets.
23317
23318Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23319
23320 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23321 to avoid expect lossage.
23322 (fmem_LRbug_tests): Likewise.
23323 * gdb.disasm/hppa.s: Corresponding changes.
23324
23325 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23326 conditions to work with latest dejagnu/expect.
23327
23328 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23329 expected to fail on the PA.
23330 (backtrace in call with trampolines): Explicitly require main
23331 to be frame #1 (no trampolines should show up in backtrace).
23332
23333 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23334 "continue -expect".
23335 * gdb.t06/break.exp: Likewise.
23336 * gdb.t07/watchpoint.exp: Likewise.
23337 * gdb.t13/bitfields.exp: Likewise.
23338 * gdb.t15/{funcargs,return}.exp: Likewise.
23339 * gdb.stabs/weird.exp: Likewise.
23340 * config/{mips,udi}-gdb.exp: Likewise.
23341
23342 * hppa.sed: Enclose comments within a sed command to avoid
23343 losing with the old OSF1 sed.
23344
23345Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23346
23347 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23348 sequent dynix.
23349 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23350 * gdb.t15/funcargs.exp: Conditionally step again to really
23351 finish from marker_call_with_trampolines. Handle the case where
23352 the first step from within call_with_trampolines already steps
23353 us back to main.
23354 * gdb.t15/gdbme.c: Add comment to closing brace of
23355 call_with_trampolines for funcargs.exp.
23356
23357Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23358
23359 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23360 Fix typo(s).
23361
23362Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23363
23364 * gdb.t07/gdbme.c: More code for watchpoint testing.
23365
23366 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23367 "Hardware watchpoint" throughout file.
23368 (test_watchpoint_triggered_in_syscall): New test.
23369 (test_complex_watchpoint): New test.
23370
23371Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23372
23373 * gdbme.c (call_with_trampolines): New function to try and step
23374 into. Tests trampoline problems on the PA.
23375
23376 * funcargs.exp (localvars_in_indirect_call): No longer expect
23377 stepping into indirect call to fail on PAs.
23378 (test_stepping_over_trampolines): New test.
23379
23380Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23381
23382 * TODO: Add suggestions for static member function tests, and
23383 completion tests.
23384
23385Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23386
23387 * TODO: Add suggestions for "p/a" tests.
23388
23389 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23390 (default_gdb_exit): Replace all the hair with sending "quit" to
23391 the process with a simple close.
23392
23393Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23394
23395 * TODO: Add suggestions for shared library tests.
23396
23397Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23398
23399 * TODO: Add suggestions for x/s tests.
23400
23401Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23402
23403 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23404 "enable once", and "enable breakpoints once" with ".*".
23405
23406Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23407
23408 * TODO: Add suggestions about structure passing tests.
23409
23410Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23411
23412 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23413 the primary1 test, use work around if __GNUC__ < 2.
23414 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23415 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23416 Test for bad output rather than waiting for timeout. Issue
23417 second continue only if first continue failed.
23418
23419Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23420
23421 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23422 operator[] test with gdb_test because the old code didn't seem to
23423 be getting the quoting right with the new dejagnu.
23424
23425Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23426
23427 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23428 one from the path.
23429 * Makefile.in: Use a fresh expect if there is one, use runtest
23430 from the src tree if there is one.
23431
23432Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23433
23434 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23435 next over recursive call. Revise the tests from that point on
23436 (which had been skipped) to match GDB's actual (correct) output.
23437
23438 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23439 with next over a breakpoint whose condition is false.
23440
23441 * gdb.t00/help.exp: Comment out "help set print" tests just like
23442 (and for same reason as) "help set" test.
23443
23444Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23445
23446 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23447 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23448
23449Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23450
23451 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23452 necessary gdb_target_udi.
23453
23454 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23455
23456 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23457 1838 and 2417; they are fixed.
23458
23459 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23460 gdb.t03/ptype.exp (ptype structure, ptype union):
23461 Remove xfails; the test is looser than when the xfails were added.
23462
23463 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23464 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23465
23466 * gdb.t01/run.exp: Only run shell test if isnative.
23467
23468 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23469 since "run" automatically loads if necessary. Call gdb_target_udi
23470 after the "file" since "file" kills any execution target.
23471
23472 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23473 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23474 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23475 argument for UDI.
23476
23477Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23478
23479 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23480
23481 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23482
23483Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23484
23485 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23486 properly quoting regexps. This makes the second argument to
23487 demangle a fixed string, which matches the callers, instead of a
23488 shell-style pattern which is what the previous implementation
23489 used. Update some of the callers.
23490
23491Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23492
23493 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23494 (comib_nullified_tests): Fix typo.
23495 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23496 strings. No longer expected to fail.
23497
23498 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23499 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23500 strings. No longer expected to fail.
23501
23502 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23503 string. No longer expected to fail.
23504
23505Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23506
23507 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23508 No longer expected to fail.
23509
23510 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23511 string. No longer expected to fail.
23512
23513Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23514
23515 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23516 only in the names (I probably got most of them). I was even
23517 generous with some which differed in underscores in names, and
23518 probably missed a few, and I *still* was able to remove almost a
23519 third of the file with almost no impact on testsuite coverage.
23520
23521Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23522
23523 * gdb.t00/default.exp: Match udi_attach error message as well as
23524 the one from child_attach.
23525
23526 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23527
23528 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23529
23530 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23531 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23532
23533 * Move test with enums and partial symbols back to
23534 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23535 Reverts the change of 26 May 93. Per today's change to
23536 stabs.texinfo, the behavior that weird.exp was expecting was
23537 unreasonable; what is important is that the compiler+gdb get
23538 things right, which happens with a recent gcc. Also fix the test
23539 to deal with native compilers which put out the stab gdb can't
23540 deal with.
23541
23542Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23543
23544 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23545 in the names. The main thing these accomplish is to slow things down.
23546 Many more such duplicates surely remain.
23547
23548 * gdb.t00/help.exp: Comment out "help support" test just like
23549 (and for same reason as) "help set" test.
23550
23551Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23552
23553 * gdb.t06/break.exp: Remove setup_xfails for
23554 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23555 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23556 about known bug in gcc to include up through 2.5.8.
23557 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23558 well as "_vb$".
23559 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23560 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23561 with latest gcc and gdb.
23562 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23563 well as "_vb$".
23564
23565Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23566
23567 * configure.in (hppa*-*-*): Also configure and build stabs-only
23568 tests.
23569
23570Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23571
23572 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23573 * gdb.t10/configure.in (hppa*-*-*): Use it.
23574
23575Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23576
23577 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23578
23579Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23580
23581 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23582 versions prior to 1.13.5.
23583
23584Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23585
23586 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23587 the prompt is at the start of a line.
23588
23589Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23590
23591 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23592 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23593 in the copr tests now.
23594 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23595 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23596 expected to fail.
23597
23598Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23599
23600 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23601 gdb.t31/chillvars.exp, lib/gdb.exp:
23602 Tweak to run under either version of expect.
23603 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23604 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23605 * gdb.t11/list.exp: Remove extraneous whitespace.
23606
23607Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23608
23609 * gdb.t16/printcmds.exp (test_print_strings): Accept
23610 "(unsigned char *) " before the string.
23611
23612 * TODO: Add notes about printing of fancy types and GDB expressions.
23613
23614Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23615
23616 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23617 * gdb.t06/configure.in: Don't try to compile signals test program
23618 if doing mips-idt-ecoff.
23619
23620Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23621
23622 * Most .exp files: Tweak to run under either version of expect.
23623
23624Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23625
23626 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23627 xfails; I'm not sure why they are failing, but not because of PR 1806.
23628
23629Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23630
23631 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23632 defined in lib/gdb.exp.
23633
23634Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23635
23636 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23637 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23638 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23639 have to be typeless.
23640
23641Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23642
23643 * TODO: Add suggestion for copyright year test.
23644
23645Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23646
23647 * configure.in (*-*-lynxos*): Add stabs tests.
23648
23649Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23650
23651 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23652 so insert a tab before any assembler directive in column zero.
23653
23654 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23655 stores.
23656 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23657 stores.
23658 (fpu_short_memory_tests): Likewise.
23659
23660Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23661
23662 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23663 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23664 .stabs directives in comments.
23665
23666Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23667
23668 * TODO: New file, describing tests we could write.
23669 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23670
23671Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23672
23673 * gdb.t06/signals.exp: Add kludge to force re-sync.
23674
23675 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23676 to xgdb instead of gdb, get out of gdb.
23677
23678Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23679
23680 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23681 for info.
23682
23683Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23684
23685 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23686 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23687 * gdb.stabs/hppa.sed: New sed script for the PA.
23688
23689Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23690
23691 * gdb.stabs: Re-write weird.def and configuration to use sed
23692 instead of cpp. sed is portable and POSIX; cpp is neither.
23693
23694Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23695
23696 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23697
23698Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23699
23700 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23701
23702Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23703
23704 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23705 "_vb$".
23706 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23707 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23708
23709Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23710
23711 * lib/gdb.exp: Comment out code which depends on non-existent
23712 `transform' procedure.
23713
23714Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23715
23716 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23717 * lib/gdb.exp: Transform tool name.
23718 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23719 1.1's new error handling system.
23720
23721Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23722
23723 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23724
23725Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23726
23727 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23728 They made pattern matching so slow that timeouts happened on
23729 heavily loaded systems. Now any output from "show print" which
23730 gets us back to the GDB prompt is a PASS.
23731
23732Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23733
23734 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23735
23736Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23737
23738 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23739
23740 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23741 It is not from PR 3220.
23742
23743Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23744
23745 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23746 just started failing because they depended on the order the
23747 subcommands are presented, or exact docstring text. This kind of
23748 test is a pain and has minimal benefit.
23749
23750Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23751
23752 * gdb.t09/corefile.exp: At end of test, use "core" command with
23753 no arguments.
23754
23755Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23756
23757 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23758 17}/Makefile.in: Make it possible to run the testsuite with Sun
23759 make and CC = cross gcc by adding explicit build rules for .o
23760 files.
23761
23762Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23763
23764 * gdb.t15/funcargs.exp: Don't put comments on same line as
23765 setup_xfail (@#$*%& tcl braindamage!).
23766
23767Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23768
23769 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23770
23771Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23772
23773 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23774 * gdb.t20/inherit.exp: remove three dumplicate entries.
23775
23776Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23777
23778 * gdb.t06/break.exp: For "next over recursive call", fail on any
23779 incorrect output, not just on "factorial (value=2)".
23780
23781Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23782
23783 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23784 working now. Add an xfail if accesing a bss variable causes
23785 a memory error if the target is not yet run.
23786
23787Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23788
23789 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23790 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23791 name of __st* demangling (2 strings). Did Kung really get the
23792 more than 95 others right without testing them?
23793
23794Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23795
23796 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23797
23798Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23799
23800 * configure.in (configdirs): Add gdb.disasm
23801 * gdb.disasm: New directory for GDB disassembler tests.
23802 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23803
23804Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23805
23806 * gdb.t00/help.exp: Don't test "help set".
23807
23808 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23809 from within expect statements. None of these happen anymore and
23810 they cause regressions to be silently unnoticed.
23811
23812 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23813 messages) about known failures with gcc cygnus-2.4.5-930417.
23814
23815 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23816 comp-info.exp so it gets built if it doesn't exist.
23817
23818 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23819 it is no longer used.
23820 * gdb.t13/comp-info.c: Removed.
23821
23822Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23823
23824 * gdb.t06/signals.exp: Add xfail for sun3.
23825
23826Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23827
23828 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23829 relevant because ^C doesn't get sent but failure can be reproduced
23830 interactively).
23831
23832Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23833
23834 * gdb.stabs/alpha.mt: New configuration file for alpha.
23835 * gdb.stabs/configure.in: Use it.
23836 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23837 sharing with alpha.mt, redefine long to word via preprocessor.
23838 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23839 for alpha.
23840 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23841 native cc.
23842 * gdb.t00/teststrategy.exp: Change expect string so that we
23843 consume the `(xgdb)' from the command echo and from the gdb prompt.
23844 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23845 gdb currently compares all values as long, so this failure probably
23846 applies to any configuration where LONGEST is bigger than a target int.
23847 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23848 with gcc.
23849 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23850 to handle opaque pointers, gcc is.
23851 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23852 as first argument. Include <sys/types.h> and change all operator
23853 new definitions to use size_t.
23854 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23855 now that we use size_t.
23856
23857Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23858
23859 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23860 a long or float array cast all array members to the same type.
23861 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23862 with 64 bit longs.
23863 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23864 on alpha.
23865 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23866
23867Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23868
23869 * gdb.t24 (demangle.exp): Constructors of templates have names like
23870 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23871 section 14.6 of the ARM.
23872
23873 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23874 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23875 accomplish little and slow down the testsuite.
23876
23877 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23878 Accept spaces various places.
23879
23880Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23881
23882 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23883 with watchpoint enabled.
23884
23885 * Makefile.in: Remove definition of CC and remove the second
23886 definition of CXX (the "CXX = gcc" one remains). These definitions
23887 were causing backquotes to be expanded within backquotes, which
23888 doesn't work.
23889
23890Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23891
23892 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23893
23894Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23895
23896 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23897 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23898 by mips cc and contains no stabs entries.
23899
23900Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23901
23902 * config/vx-gdb.exp: Use fake device to load files rather than
23903 NFS.
23904 * lib/gdb.exp: New proc to do "file" command.
23905 * config/unix-gdb.exp: Use new "file" proc.
23906
23907Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23908
23909 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23910 Rework board rebooting slightly.
23911 (gdb_exit): Don't exit from the remote shell; there isn't one.
23912 * gdb.stabs/weird.exp: If a program is being debugged already,
23913 kill it.
23914 * gdb.t04/setvar.exp: Stop and restart gdb.
23915 * gdb.t05/expr.exp: Likewise.
23916 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23917 restart gdb and reload the program.
23918 * gdb.t08/opaque.exp: Likewise.
23919 * gdb.t12/scope.exp: Likewise.
23920 * gdb.t13/bitfields.exp: Likewise.
23921 * gdb.t15/funcargs.exp: Likewise.
23922 * gdb.t20/classes.exp: Likewise.
23923 * gdb.t03/ptype.exp: Increase timeout.
23924 * gdb.t16/printcmds.exp (test_print_string_constants,
23925 test_print_array_constants): Likewise.
23926 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23927 * gdb.t20/classes.exp (do_tests): Likewise.
23928 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23929
23930Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23931
23932 * gdb.stabs: Renamed *wierd* to *weird*.
23933
23934Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23935
23936 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23937 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23938
23939Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23940
23941 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23942 (do_tests): Remove xfail for whatis on one_var and two_var.
23943
23944Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23945
23946 * Makefile.in: Made cross building work better by adding
23947 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23948
23949Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23950
23951 * gdb.t15/{return.c,return.exp,Makefile.in}:
23952 New test, currently commented out.
23953
23954Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23955
23956 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23957 still running and removes the leftover named socket so GDb can do
23958 clean restarts.
23959
23960Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23961
23962 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23963 console, not GDB.
23964 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23965 cross testing works better with "make check"
23966 * config/unix-gdb: Use default procedures for exit and version.
23967 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23968 with the newest VxWorks.
23969
23970Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23971
23972 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23973 old form.
23974
23975 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23976 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23977
23978 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23979
23980 * config/unix-gdb.exp: Remove this version of gdb_exit
23981 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23982 Rob says he'll look at it when he gets back to testing boards.
23983
23984Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23985
23986 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23987 an expected fail for certain ptype commands.
23988
23989 * gdb.t20/classes.exp: Update expected results of "ptype class
23990 Base1" to account for the constructor that now appears in the type.
23991
23992Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23993
23994 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23995 disappeared from list.
23996 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23997 "alldone" proc with call to cleanup and exit.
23998 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23999 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24000 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24001 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24002 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24003 "alldone" proc with simple returns that suppress remaining
24004 tests. The alldone proc went away many months ago.
24005
24006Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24007
24008 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24009
24010 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24011
24012Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24013
24014 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24015 as vax gdb will display them.
24016
24017Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24018
24019 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24020 optimizers.
24021
24022 * scope.exp: Change "bad value for localval" messages so each one
24023 is unique.
24024
24025 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24026 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24027
24028 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24029
24030Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24031
24032 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24033 doesn't exist (due to optimization).
24034
24035Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24036
24037 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24038 contains \r because the filename is long.
24039
24040 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24041 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24042
24043Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24044
24045 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24046 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24047 Ultrix.
24048 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24049 int tests.
24050 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24051
24052Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24053
24054 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24055
24056 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
24057 to match does not match the passing case but still matches the
24058 failing case.
24059
24060Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24061
24062 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24063
24064Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24065
24066 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24067 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24068 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24069 Remove various versions of gdb_exit.
24070 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24071 gdb_exit.
24072 * config/unix-gdb.exp: gdb_exit remains here, and should override
24073 the generic version, since it's doing a lot of wierd stuff that
24074 the other versions aren't. FIXME, fold it in, or abandon this
24075 version.
24076
24077Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24078
24079 * gdb.t24/demangle.exp: Add tests for PR 3220.
24080
24081Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24082
24083 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24084
24085Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24086
24087 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24088 "i386-*-*". Works for i486 as well.
24089
24090 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24091 bug, and expand domain of xfail to all SVR4 systems, since the
24092 actual problem is likely to be in generic SVR4 /proc support.
24093
24094Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24095
24096 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24097
24098Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24099
24100 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24101 xfails for other systems. Match a missing 'Continuing.' as an
24102 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24103
24104 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24105 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24106 Only issue warning for missing executables if -all option is used.
24107
24108 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24109 file if -all option is used. It's like an unpredictable XFAIL.
24110
24111Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24112
24113 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24114 for dynamically linked binaries.
24115
24116 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24117
24118Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24119
24120 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24121 to state that this is a known bug in old versions of g++.
24122
24123Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24124
24125 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24126 while waiting for `Continuing'.
24127
24128Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24129
24130 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24131 in text, data, and bss.
24132 * gdb.t10/nodebug.c: Add local and global test variables for
24133 initialized and uninitialized data.
24134
24135Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24136
24137 * config/unix-gdb.exp (gdb_exit): Add "wait".
24138
24139Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24140
24141 * gdb.t06/signals.exp: xfail the continue from the handler for all
24142 targets.
24143
24144 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24145 function with watchpoints enabled, the i386 call dummy starts with
24146 a call.
24147
24148 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24149 386 bsd names its corefiles.
24150
24151Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24152
24153 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24154 compilers don't grok it.
24155 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24156 with small octal ints rather than character constants, which
24157 are signed and might not fit if first promoted to int.
24158
24159Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24160
24161 * gdb.t09/Makefile.in (clean): Remove corefile.
24162
24163Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24164
24165 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24166
24167Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24168 and Jim Kingdon (kingdon@cygnus.com)
24169
24170 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24171 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24172 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24173
24174Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24175
24176 * gdb.t17/interrupt.exp: Add xfail for hppa.
24177
24178Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24179
24180 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24181 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24182 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24183 to determine signed-ness of bitfields and use the result to setup
24184 the xfail.
24185 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24186 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24187 call line is reached if necessary.
24188
24189Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24190
24191 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24192
24193Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24194
24195 * gdb.t06/break.exp: Also test `clear' command.
24196
24197Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24198
24199 * gdb.t00/teststrategy.exp: Remove extra quote.
24200
24201 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24202 watchpoint enabled to be for all non-68k machines.
24203
24204 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24205
24206Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24207
24208 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24209 targets use aout.mt instead of ecoff.mt as gas understands
24210 standard aout format.
24211
24212Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24213
24214 * lib/gdb.exp (runto): Don't insist that function we are running to
24215 was compiled with -g.
24216
24217 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24218
24219 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24220 to get back into the read system call.
24221 Accept leading newline in case where we woke it up.
24222
24223Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24224
24225 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24226 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24227 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24228 enable ecoff configuration.
24229
24230Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24231
24232 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24233
24234Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24235
24236 * gdb.t16/printcmds.exp: Add another printf test.
24237
24238Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24239
24240 * configure.in: If configured -with-stabs on any target, add
24241 stabsdirs to configdirs.
24242
24243Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24244
24245 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24246 fun" so pattern does not match the command itself.
24247
24248Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24249
24250 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24251
24252Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24253
24254 * gdb.t17/interrupt.exp: Test for more things.
24255
24256Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24257
24258 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24259 compiler arranges the code and line numbers.
24260
24261 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24262
24263Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24264
24265 * gdb.t00/help.exp: Increase expect input buffer size.
24266
24267Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24268
24269 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24270
24271 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24272
24273 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24274
24275 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24276 [0-9]*, not just [0-9].
24277
24278Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24279
24280 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24281
24282 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24283
24284Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24285
24286 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24287
24288Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24289
24290 * gdb.t06/signals.c: Add xfails for sun3.
24291
24292 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24293
24294 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24295 test_stepping tests.
24296
24297Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24298
24299 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24300
24301 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24302
24303 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24304 rather than actually putting it through cpp twice.
24305
24306 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24307
24308Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24309
24310 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24311 no longer needed.
24312
24313Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24314
24315 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24316
24317 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24318 C++ features prints as "struct", make it a pass, not an xfail.
24319
24320Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24321
24322 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24323 Don't require VA to print as "class" rather than "struct".
24324
24325Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24326
24327 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24328
24329Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24330
24331 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24332
24333Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24334
24335 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24336 order.
24337
24338Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24339
24340 * gdb.t16/printcmds.exp: Add printf tests.
24341
24342 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24343
24344 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24345
24346Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24347
24348 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24349 pass counts, to counteract any existing or future setup_xfails.
24350
24351Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24352
24353 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24354 {BEGIN,END}_COMMON for common block instead of STAB.
24355 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24356
24357 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24358 intp_var should be N_GSYM not N_LSYM.
24359 wierd-aout.S: Use a label for the value of the N_SO.
24360 wierd.def: Remove all backslashes.
24361 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24362
24363Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24364
24365 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24366 get the expected next to inheritance3.
24367
24368Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24369
24370 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24371 now that gcc-2.4 gets it right.
24372
24373Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24374
24375 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24376
24377 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24378 generating comp-info.exp which works for cross-compilation.
24379
24380Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24381
24382 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24383 "*-*-sysv4.*".
24384
24385Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24386
24387 * gdb.t01/run.exp: Start with a fresh gdb.
24388 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24389 SVR4.x.
24390
24391Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24392
24393 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24394 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24395 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24396 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24397 things to remove.
24398
24399Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24400
24401 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24402 test cases from bug reports.
24403
24404Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24405
24406 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24407 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24408 avoid spurious xfails.
24409 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24410 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24411 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24412
24413Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24414
24415 * gdb.t00/teststrategy.exp: Rework to provide more useful
24416 description of each test, fix problem with systems that define
24417 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24418 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24419 results for "next over recursive call" so timeouts aren't taken
24420 by error.
24421
24422Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24423
24424 * gdb.t12/scope.exp: Test printing of variables before run.
24425
24426 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24427 printed in wrong order due to sorting.
24428
24429Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24430
24431 * gdb.t00/teststrategy.exp: Fix expected results for printing
24432 user entered string constant. Is array of char, prints with no
24433 address.
24434
24435 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24436 commands.
24437 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24438 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24439 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24440 of struct of char arrays.
24441 * gdb.t00/radix.exp: New tests for radix commands.
24442
24443Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24444
24445 * gdb.t16/printcmd.exp: Print a variable before running program
24446 (with xfail for AIX).
24447
24448Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24449
24450 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24451
24452 * gdb.t16/printcmd.exp: Don't print variables before running program.
24453
24454 * gdb.t06/break.exp: Don't require envp argument to main.
24455
24456 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24457
24458 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24459 Add xfails for rs6000.
24460
24461 * gdb.t02/whatis.exp: Change other tests not to re-test something
24462 we already tested.
24463
24464 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24465 each type used has a variable of that type.
24466
24467Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24468
24469 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24470
24471Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24472
24473 * configure.in: change srctrigger to be a file, not a directory
24474
24475Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24476
24477 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24478
24479 * gdb.t11/list.exp: Fixed a couple of typos.
24480
24481Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24482
24483 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24484 is fixed and PR is closed.
24485 * gdb.t16 (gdbme.c): Add simple test string variable.
24486 * gdb.t16 (printcmds.exp): Add tests with simple test string
24487 variable, primarily for boundaries on "set print elements".
24488
24489Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24490
24491 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24492 Make leading 0's optional and don't expect a tab in the middle
24493 of the number.
24494
24495 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24496
24497 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24498 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24499 don't end command passed to gdb_test with newline.
24500
24501 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24502 signed keyword away, don't expect signed bitfields to be signed.
24503
24504 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24505 printing with only as many 1's as are in the field as well as printing
24506 with 32 1's (see comment).
24507
24508Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24509
24510 * gdb.t00/default.exp: Start with a fresh gdb.
24511 * configure.in (configdirs): Remove gdb.t31 until the chill
24512 compiler works again. It no longer is able to find chillrt0
24513 since it isn't in libchill.a anymore.
24514 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24515 wierd.o, make more modular.
24516 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24517 spurious newlines that caused problems.
24518
24519Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24520
24521 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24522 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24523 gdb.stabs/wierd.{exp,def}: Many new tests.
24524
24525 * gdb.t00/default.exp: update info line for new message.
24526
24527 * gdb.t02/{whatis.exp,gdbme.c}:
24528 Test that "char *" doesn't print as "caddr_t".
24529
24530Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24531
24532 * gdb.t00/help.exp: Use .* in place of some help messages which
24533 just changed.
24534 gdb.t00/default.exp: Update "info frame" test for new message.
24535 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24536 Remove some xfails
24537
24538Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24539
24540 * gdb.t03/{gdbme.c,ptype.exp}:
24541 Add tests for typedef'd struct and union without tags.
24542 Also check "whatis" on a variable of a typedef'd enum without a tag.
24543
24544 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24545 PRMS 1823; the bug still exists but isn't reproduced by this test
24546 anymore), and remove rs6000 XFAIL (the bug is fixed).
24547
24548 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24549 duplicated from whatis.exp. For those that are left, accept
24550 "long", "long int", or "int" for long variables (whatis.exp already
24551 has an XFAIL for "int", so no need to fail it here).
24552
24553 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24554 Deal with GCC's names for types now that GDB uses the compiler's names.
24555
24556 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24557 setup_xfail's for sunos4. If we #defined the signed keyword away,
24558 don't expect GDB to know that char it is signed.
24559
24560 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24561
24562Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24563
24564 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24565 should work on any system, regardless of debugging format.
24566 * gdb.t21/demangle.exp: Move to gdb.t24.
24567 * gdb.t24/demangle.exp: Move from gdb.t21.
24568 * gdb.t24/{Makefile.in, configure.in}: New files.
24569
24570Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24571
24572 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24573 * gdb.stabs: New directory.
24574
24575Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24576
24577 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24578 not just "Quit anyway?".
24579
24580Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24581
24582 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24583 that all setup_xfails are immediately followed by clear_xfails.
24584
24585Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24586
24587 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24588 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24589 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24590 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24591 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24592 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24593 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24594 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24595 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24596 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24597 gdb.t31/chillvars.exp, lib/gdb.exp:
24598 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24599 bug-gdb@prep.ai.mit.edu.
24600
24601Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24602
24603 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24604 with 0.0, not integer 0.
24605
24606Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24607
24608 * gdb.t06/break.exp: Update for "Kill the program" message change.
24609
24610Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24611
24612 * Makefile.in (GDBFLAGS): Set to -nx.
24613 * Makefile.in (site.exp): Use GDBFLAGS.
24614
24615Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24616
24617 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24618 Makefiles.
24619 (check): depend on just-check.
24620 (just-check): added so that tests can be run without a noop
24621 build pass.
24622
24623Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24624
24625 Switch to using configure's configdirs.
24626 * Makefile.in (Makefile): add configure.in dependency.
24627 (SUBDIRS): removed redundant assignment.
24628 * configure.in: switch subdirs assignment to configdirs.
24629 * gdb.t*/configure.in: new files.
24630
24631Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24632
24633 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24634 works.
24635
24636Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24637
24638 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24639 in explicit rules. Apparently this is not supported by some makes.
24640
24641Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24642
24643 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24644
24645Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24646
24647 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24648 disappeared.
24649
24650Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24651
24652 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24653
24654Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24655
24656 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24657 watchpoint problem that is now fixed.
24658 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24659 uninitialized convenience variables.
24660 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24661 structures.
24662
24663Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24664
24665 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24666 which causes expect to get out of sync with gdb on long output
24667 from help set.
24668 * gdb.t09/corefile.exp: Make expected pattern for core file
24669 failing signal and frame output format less sun specific.
24670
24671Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24672
24673 * gdb.t31/chillvars.exp: Add and remove initial dummy
24674 breakpoint, so that symbol table is forced in.
24675 (Needed at least on Sunos4, though it seems not SVR4.)
24676 * gdb.t31/chillvars.exp: Update for changed output format.
24677
24678Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24679
24680 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24681
24682Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24683
24684 * Makefile.in: Added --srcdir when invoking runtest, removed the
24685 need for a local config file. (optional now)
24686
24687Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24688
24689 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24690 failure count used to force early termination. Add some more
24691 expected failures for gnu style demangling.
24692
24693Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24694
24695 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24696 pmi variable from gdb.t20/gdbme to get optimized away.
24697 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24698 Check for written corefile upon timeout _and_ eof.
24699
24700Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24701
24702 * config/unix-gdb.exp: Add missing return 0.
24703
24704Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24705
24706 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24707 test termination.
24708
24709Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24710
24711 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24712 disappeared.
24713
24714Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24715
24716 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24717 time as i860 support works.
24718
24719 * gdb.t15/funcargs.exp: Fix expected outputs to include
24720 "backtrace 100\r" rather than just "backtrace\r", to match last
24721 change.
24722
24723Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24724
24725 * config/udi-gdb.exp (gdb_exit): Remove close command.
24726 (gdb_target_udi): New procedure to set the UDI target.
24727 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24728 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24729 Added waits for prompts after several question responses. Added
24730 some more responses used by a29k-amd-udi-gdb.
24731 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24732 pass different arguments, restart UDI connection after program
24733 completion.
24734 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24735 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24736 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24737 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24738 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24739 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24740 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24741 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24742 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24743 after program completion.
24744 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24745 compiled with a SELECT_VECS setting.
24746 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24747 infinite recursion.
24748
24749 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24750 Added checks for COFF results, and made them expected failures for
24751 all targets. It would be better to make them expected failures
24752 for COFF targets only.
24753
24754Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24755
24756 * Makefile.in: add null dvi target, don't bother to recurse
24757 through test directories for info and install-info; rename
24758 $(datadir) to be dejagnu instead of deja-gnu
24759
24760Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24761
24762 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24763 compiler to coredump.
24764 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24765 code.
24766
24767Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24768
24769 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24770 coredump.
24771 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24772 code.
24773
24774Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24775
24776 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24777 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24778 which in a shell. Deletes xgdb when done.
24779 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24780 Tests the return from the "set height" or "set width" commands.
24781 Added a few return codes where needed.
24782
24783Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24784
24785 * Makefile.in (SUBDIRS): Add gdb.t17.
24786 * configure.in (subdirs): Add gdb.t17.
24787 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24788 files to test gdb's calling of functions in the inferior with
24789 the correct arguments and gdb's ability to retrieve any
24790 result returned.
24791
24792Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24793
24794 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24795 may be called after gdb goes away. Previous versions of expect
24796 needed these to avoid file descriptor leaks, but they cause
24797 errors with the current revision of expect.
24798 * gdb.t00/gdbvars.exp: Use -re on expected output after
24799 setting sevenbit-strings.
24800 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24801 to set sevenbit-strings consistent across tests.
24802 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24803 set sevenbit-strings consistent across tests.
24804
24805Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24806
24807 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24808 expected output to match current "expect" expectations.
24809
24810Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24811
24812 * gdb.t00/default.exp: Change expected output for default "source"
24813 command, to match new gdb behavior which requires a filename to
24814 source.
24815
24816Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24817
24818 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24819 expected fail for i486-*-* that misses the marker2 function.
24820 * gdb.t10/crossload.exp (bfddefault): Allow successful
24821 recognition of a format to pass even if no symbols are found.
24822 Explicitly catch failures where the format is not recognized
24823 or is ambiguous, and add the reason to the fail message.
24824 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24825 the cause is and invalid target and add reason to failure message.
24826 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24827 elf32-i386, elf32-sparc, and elf32-i860.
24828 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24829 Set up expected failure for 'filename'::variable scope resolution,
24830 which is now apparently broken on all targets.
24831 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24832 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24833 gdb.t23/templates.exp: Change failure for missing binfile into
24834 just a warning.
24835 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24836 references.
24837
24838Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24839
24840 * gdb.t00/default.exp: Add expected output for default "source"
24841 command, to match new gdb behavior.
24842 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24843
24844Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24845
24846 * config/*-gdb.exp: returns an error, rather than exiting on
24847 internal errors.
24848
24849Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24850
24851 * gdb.t03/gdbme.c: Add pointer to struct variable.
24852 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24853 referencing struct members.
24854
24855Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24856
24857 * configure.in (mips-idt-ecoff): New target.
24858 * config/mips-gdb.exp: New file for remote board using MIPS remote
24859 debugging protocol.
24860
24861 * Redid configuration scheme. Removed gdb.t*/configure.in.
24862 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24863 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24864 distclean targets. Built executables via .o files. Adjusted
24865 tests to account for source files in $(srcdir) rather than
24866 $(objdir).
24867 * lib/gdb.exp (runto): Don't expect () after the function name,
24868 because it may have arguments.
24869
24870Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24871
24872 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24873 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24874 expected failures for mips-idt-* and mips-sgi-*.
24875 * gdb.t00/default.exp (attach): Kill process if requested.
24876 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24877 that does not read core files.
24878 * gdb.t01/run.exp: Removed checks for exit status code.
24879 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24880 it is linked in.
24881 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24882 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24883 appropriate, rather than doing it by hand.
24884 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24885 execution.
24886 * gdb.t10/crossload.exp: Kill existing program if needed.
24887 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24888 appropriate, rather than doing it by hand. Always increase
24889 timeout for this test, not just for VxWorks.
24890
24891Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24892
24893 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24894 of Chill STRUCT types and STRUCT values.
24895 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24896 than "char".
24897 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24898 struct2): New struct definitions and initializations to test
24899 simple Chill STRUCT types.
24900
24901Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24902
24903 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24904 the null byte at the end of strings.
24905 * gdb.t00/default.exp: Make show version insensitive to copyright
24906 date.
24907 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24908 to avoid dependencies on target char signedness.
24909 * gdb.t16/printcmds.exp: Update expected results for explicitly
24910 unsigned char.
24911 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24912 now work.
24913 * gdb.t21/demangle.exp: Add many more patterns for template
24914 demangling, most of them being expected failures.
24915 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24916 string we are matching for, to match on the whole string.
24917 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24918 and fix a whole bunch that had incorrect expected output but were
24919 passing anyway because of the bug in "proc demangle".
24920 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24921 type.
24922 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24923
24924Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24925
24926 * gdb/testsuite: made modifications to testcases, etc., to allow
24927 them to work properly given the reorganization of deja-gnu and the
24928 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24929
24930Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24931
24932 * gdb/testsuite: Initial creation of gdb/testsuite.
24933 Migrated dejagnu testcases and support files for testing nm to
24934 gdb/testsuite from deja-gnu. These files were moved "as is"
24935 with no modifications. This migration is part of a major overhaul
24936 of dejagnu. The modifications to these testcases, etc., which
24937 will allow them to work with the new version of dejagnu will be
24938 made in a future update.
24939
24940 For additional changes see gdb.mi/ChangeLog-1999-2003.
24941\f
24942;; Local Variables:
24943;; mode: change-log
24944;; left-margin: 8
24945;; fill-column: 74
24946;; version-control: never
24947;; End:
24948
24949 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24950 2003, 2004, 2005 Free Software Foundation, Inc.
24951 Copying and distribution of this file, with or without modification,
24952 are permitted provided the copyright notice and this notice are preserved.
This page took 0.191195 seconds and 4 git commands to generate.