]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
04ad99e6
JK
12011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
5 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7
713389e0
PM
82011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9
10 PR python/12438
11 * gdb.python/python.exp: Add maint set/show python print-stack
12 deprecated tests. Add set/show python print-backtrace tests.
13
97d146f8
JK
142011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
17 debug info.
18
facde0e5 192011-07-06 Matt Rice <ratmice@gmail.com>
20
21 * gdb.python/python.exp: Update filename paths.
22 * gdb.python/py-symtab.exp: Ditto.
23
438640d1
MP
242011-07-06 Marek Polacek <mpolacek@redhat.com>
25
26 * gdb.python/py-evthreads.exp: Add missing `$'.
27
33a365df
MF
282011-07-06 Jie Zhang <jie.zhang@analog.com>
29
30 * config/bfin.exp: New file.
31 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
32 * gdb.asm/bfin.inc: New file.
33
8f7ae686
MP
342011-07-06 Marek Polacek <mpolacek@redhat.com>
35
36 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
37 the whole output.
38
eb2a6f42
TT
392011-07-05 Tom Tromey <tromey@redhat.com>
40
41 * gdb.java/jprint.java (jprint.hi): New field.
42 * gdb.java/jprint.exp: Print string.
43
177b42fe
TJB
442011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
45
46 * gdb.base/call-sc.c: Fix typos.
47 * gdb.base/ifelse.exp: Likewise.
48 * gdb.base/structs.c: Likewise.
49
3b2a0cf2
JB
502011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51
52 * gdb.base/jit-so.exp: New test.
53 * gdb.base/jit-dlmain.c: New file.
54 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
55
46fc714c
JK
562011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
57
58 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
59 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
60 * gdb.cp/pr9167.exp (p b): Likewise.
61 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
62 (test value of P in inner_m, test type of Z in inner_m): Call
63 setup_xfail for gcc <= 4.5.
46fc714c 64
418c7cf7
JK
652011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * gdb.cp/paren-type.cc: New files.
68 * gdb.cp/paren-type.exp: New files.
69
3d50dd94
JK
702011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 Stop on first linespec terminator instead of eating what we can.
73 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
74 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
75 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
76 (break C::f()): ... this one.
77 (break C::operator()()): New test.
78 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
79 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
80 test.
81
dcf9f4ab
JK
822011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 Fall back linespec to minimal symbols.
85 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
86 error message.
87 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
88 * gdb.cp/minsym-fallback-main.cc: New file.
89 * gdb.cp/minsym-fallback.cc: New file.
90 * gdb.cp/minsym-fallback.exp: New file.
91 * gdb.cp/minsym-fallback.h: New file.
92
3f542ed1
JK
932011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
94
95 * gdb.cp/no-dmgl-verbose.cc: New file.
96 * gdb.cp/no-dmgl-verbose.exp: New file.
97
982011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
99
100 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
101 __GI_.
102 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
103 (f): New function.
104 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
105 (complete p 'func<short>(): ... here.
106 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
107 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
108 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
109 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
110 Make them KFAIL gcc/49546.
111
00eb2c4a
JB
1122011-07-01 Joel Brobecker <brobecker@adacore.com>
113
114 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
115
85a20c42
JK
1162011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 Test GCC PR debug/49546.
119 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
120 (test type of F in k3_m, test value of F in k3_m): New.
121 * gdb.cp/temargs.cc (struct S3, struct K3): New.
122 (main): New variable k3. Call k3.k3_m.
123
d2d43431
JB
1242011-07-01 Jean-Charles Delay <delay@adacore.com>
125
126 * gdb.ada/packed_array.exp: Fix expected outout.
127
54ae186f
JB
1282011-07-01 Jean-Charles Delay <delay@adacore.com>
129
130 * gdb.ada/packed_array.exp: fixed expected output.
131
8f17729f
JB
1322011-07-01 Joel Brobecker <brobecker@adacore.com>
133
134 * gdb.ada/same_enum: New testcase.
135
f5aa6869
JB
1362011-07-01 Joel Brobecker <brobecker@adacore.com>
137
138 * gdb.ada/ptr_typedef: New testcase.
139
828292f2
JB
1402011-07-01 Joel Brobecker <brobecker@adacore.com>
141
142 * gdb.ada/arrayptr.exp: Add ptype test.
143
18920c42
JB
1442011-07-01 Joel Brobecker <brobecker@adacore.com>
145
146 * gdb.ada/char_enum: New testcase.
147
3536d9e3 1482011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
149
150 * gdb.base/dump.exp (capture_pointer_with_type): New.
151 Get value from address instead of name.
152 Start GDB once, and do `dump' and `restore'
153 tests together.
154
db863c42
MF
1552011-06-30 Jie Zhang <jie.zhang@analog.com>
156 Mike Frysinger <vapier@gentoo.org>
157
158 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
159 helper functions for getting/setting remotetimeout variable.
160 * lib/gdb.exp (gdb_load): If the target is remote, set
161 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
162 with $loadtimeout. Set $load_ok to 0 before doing the load.
163 Instead of returning, immediately, set $load_ok to 0. Call
164 set_remotetimeout with $oldremotetimeout, and then return if
165 $load_ok is 1.
166
e9e642a8
AB
1672011-06-30 Andrew Burgess <aburgess@broadcom.com>
168
169 * gdb.python/py-template.exp: Don't run this test if the target
170 does not support c++ tests.
171
32019081
JK
1722011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 Fix non-only rename list for Fortran modules import.
175 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
176 tests.
177 * gdb.fortran/module.f90 (module moduse): New.
178 (program module): use moduse, test var_x, var_y and var_z.
179
0ecee54c
TT
1802011-06-29 Tom Tromey <tromey@redhat.com>
181
182 PR testsuite/12040:
183 * gdb.fortran/array-element.exp: Use f90, not f77.
184 * gdb.fortran/complex.exp: Use f90, not f77.
185 * gdb.fortran/derived-type.exp: Use f90, not f77.
186 * gdb.fortran/library-module.exp: Use f90, not f77.
187 * gdb.fortran/logical.exp: Use f90, not f77.
188 * gdb.fortran/module.exp: Use f90, not f77.
189 * gdb.fortran/multi-dim.exp: Use f90, not f77.
190 * gdb.fortran/subarray.exp: Use f90, not f77.
191
3b2b8fea
TT
1922011-06-29 Tom Tromey <tromey@redhat.com>
193
194 * gdb.fortran/charset.exp: New file.
195 * gdb.fortran/charset.f90: New file.
196
42159ca5
TT
1972011-06-29 Tom Tromey <tromey@redhat.com>
198
199 PR testsuite/12040:
200 * lib/future.exp: New file, mostly extracted from ada.exp.
201 Rewrote compatibility code to use rename.
202 (gdb_find_gfortran): New proc.
203 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
204 gfortran patch.
205 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
206 Move to future.exp.
207 * lib/gdb.exp: Always load future.exp.
208
af69a5ce
YQ
2092011-06-28 Yao Qi <yao@codesourcery.com>
210
211 * gdb.cp/exception.cc: Don't include iostream.
212 (bar): Remove print statement.
213 (catcher): New.
214 (main): Remove print statements. Call function catcher.
215 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
216 Set breakpoint on catcher, and check the value of parameter.
217
ab5c6a72
YQ
2182011-06-23 Yao Qi <yao@codesourcery.com>
219
220 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
221 1.2 is disabled. KFAIL for uclinux.
222
9497469f
MP
2232011-06-23 Marek Polacek <mpolacek@redhat.com>
224
225 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
226 mi_gdb_test.
227
b9132588
MP
2282011-06-23 Marek Polacek <mpolacek@redhat.com>
229
5d197ed0 230 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 231
e55595ca
MP
2322011-06-23 Marek Polacek <mpolacek@redhat.com>
233
5d197ed0
MP
234 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
235
2362011-06-23 Marek Polacek <mpolacek@redhat.com>
237
238 * gdb.mi/mi2-basics.exp: Fix races. Honour the
239 `test_exec_and_symbol_mi_operatons' return value.
240 (test_mi_interpreter_selection): Use mi_gdb_test instead of
241 gdb_test_multiple.
242 (test_exec_and_symbol_mi_operatons): Likewise.
243 (test_path_specification): Likewise.
e55595ca 244
be777e08
YQ
2452011-06-23 Yao Qi <yao@codesourcery.com>
246
247 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
248 supported.
249 * lib/gdb.exp (support_displaced_stepping): New.
250
615556d6
YQ
2512011-06-23 Yao Qi <yao@codesourcery.com>
252
253 * gdb.threads/execl.exp: Skip on remote target.
254
833b0ca7
MP
2552011-06-21 Marek Polacek <mpolacek@redhat.com>
256
5d197ed0 257 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
258 mi_gdb_test.
259
1ee4023a
MP
2602011-06-20 Marek Polacek <mpolacek@redhat.com>
261
5d197ed0 262 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 263
d0b1d624
MP
2642011-06-20 Marek Polacek <mpolacek@redhat.com>
265
5d197ed0 266 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
267 mi_gdb_test.
268
79aa92c1
MP
2692011-06-20 Marek Polacek <mpolacek@redhat.com>
270
5d197ed0 271 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 272
5ce5db06
YQ
2732011-06-14 Yao Qi <yao@codesourcery.com>
274
275 gdb/testsuite/
276 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
277
533a737e
JK
2782011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
281
d0e53741
TT
2822011-06-10 Tom Tromey <tromey@redhat.com>
283
284 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
285 Add tests for pointer-to-member-function.
286 * gdb.cp/temargs.cc (S::somefunc): New function.
287 (K2): New class.
288 (main): Instantiate K2; call method.
289
b5916bbd
JB
2902011-06-08 Joel Brobecker <brobecker@adacore.com>
291
292 * gdb.python/py-inferior.c (f2): Make str an array rather
293 than a pointer.
294 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
295
5be4dfca
JK
2962011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
297
298 * gdb.base/async-shell.c: New file.
299 * gdb.base/async-shell.exp: New file.
300
9f47e254
PA
3012011-06-06 Pedro Alves <pedro@codesourcery.com>
302
303 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
304
64b9b334
JB
3052011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
306
307 From Stephen Kitt <steve@sk2.org>
308 * gdb.base/help.exp: Adjust following some spelling corrections
309 in GDB.
310
dbc0f131
YQ
3112011-06-01 Yao Qi <yao@codesourcery.com>
312
313 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
314
fd336a18
KS
3152010-05-31 Keith Seitz <keiths@redhat.com>
316
317 PR c++/12750
318 * gdb.cp/static-method.cc: New file.
319 * gdb.cp/static-method.exp: New file.
320
fa8b9902
KS
3212010-05-31 Keith Seitz <keiths@redhat.com>
322
323 PR symtab/12704
324 * gdb.cp/anon-ns.cc: New file.
325 * gdb.cp/anon-ns.exp: New file.
326
0a5b1e09
PA
3272011-05-31 Pedro Alves <pedro@codesourcery.com>
328
329 * gdb.arch/i386-dr3-watch.c: New file.
330 * gdb.arch/i386-dr3-watch.exp: New file.
331
0578b8d1
YQ
3322011-05-30 Yao Qi <yao@codesourcery.com>
333
334 * gdb.base/callfuncs.c (t_structs_fc): New.
335 (t_structs_dc, t_structs_ldc): New.
336 (t_double_many_args):
337 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
338 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
339 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
340 * gdb.base/callfuncs.exp: Call new functions.
341
6680506e
YQ
3422011-05-30 Yao Qi <yao@codesourcery.com>
343
ff4d2c60
YQ
344 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
345 Call rerun_and_prepare for each test to isolate effects.
346
3472011-05-30 Yao Qi <yao@codesourcery.com>
348
349 * gdb.base/varargs.c (find_max_float_real): New.
350 (find_max_double_real, find_max_long_double_real): New.
351 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
352 * lib/gdb.exp (setup_kfail_for_target): New.
353
e43ec454
YQ
3542011-05-30 Yao Qi <yao@codesourcery.com>
355
356 * gdb.base/funcargs.c (callca, callcb, callcc): New.
357 (callcd, callce, callcf, callc1a, callc1b): New.
358 (callc2a, callc2b): New.
359 * gdb.base/funcargs.exp (complex_args): New.
360 (complex_integral_args, complex_float_integral_args): New.
361 * lib/gdb.exp (support_complex_tests): New. Determine
362 whether to run test cases on _Complex types.
363
432b4d03
JK
3642011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
365
366 * gdb.threads/leader-exit.c: New file.
367 * gdb.threads/leader-exit.exp: New file.
368
6caf069d
MP
3692011-05-27 Marek Polacek <mpolacek@redhat.com>
370
9497469f 371 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 372
97fce28b
MP
3732011-05-27 Marek Polacek <mpolacek@redhat.com>
374
375 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
376 remove the `supported' variable.
377 * gdb.mi/mi-nonstop.exp: Likewise.
378 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
379 * gdb.mi/mi-nsintrall.exp: Likewise.
380 * gdb.mi/mi-nsmoribund.exp: Likewise.
381 * gdb.mi/mi-nsthrexec.exp: Likewise.
382
9da8c2a0
PA
3832011-05-26 Pedro Alves <pedro@codesourcery.com>
384
385 * gdb.reverse/finish-reverse-bkpt.exp: New test.
386
2c03e5be
PA
3872011-05-26 Pedro Alves <pedro@codesourcery.com>
388
389 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
390
2e21250d
KS
3912011-05-24 Keith Seitz <keiths@redhat.com>
392
393 PR breakpoint/12803
394 * gdb.cp/cmpd-minsyms.cc (a): New method.
395 (b): New method.
396 (c): New method.
397 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
398
cdac0397
PA
3992011-05-24 Pedro Alves <pedro@codesourcery.com>
400
401 * gdb.base/commands.exp (watchpoint_command_test): Check that the
402 watchpoint's command list didn't execute when the watchpoint went
403 out of scope.
404
ee5683ab
PM
4052011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
406
407 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
408 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
409 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
410 * gdb.arch/i386-gnu-cfi.exp: Likewise.
411 * gdb.arch/i386-permbkpt.exp: Likewise.
412 * gdb.arch/i386-prologue.exp: Likewise.
413 * gdb.arch/i386-size-overlap.exp: Likewise.
414 * gdb.arch/i386-size.exp: Likewise.
415 * gdb.arch/i386-unwind.exp: Likewise.
416 * gdb.reverse/i386-precsave.exp: Likewise.
417 * gdb.reverse/i386-reverse.exp: Likewise.
418 * gdb.reverse/i386-sse-reverse.exp: Likewise.
419 * gdb.reverse/i387-env-reverse.exp: Likewise.
420 * gdb.reverse/i387-stack-reverse.exp: Likewise.
421
c91c8c16
PA
4222011-05-24 Pedro Alves <pedro@codesourcery.com>
423
424 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
425 file doesn't error, using MI.
426
c50491a7
TT
4272011-05-23 Tom Tromey <tromey@redhat.com>
428
429 * gdb.base/charset.exp (string_display): Add tests to assign to
430 arrays.
431 * gdb.base/charset.c (short_array, int_array, long_array): New.
432
4a07b7da
PA
4332011-05-20 Pedro Alves <pedro@codesourcery.com>
434
435 Cope with async mode.
436
4a07b7da
PA
437 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
438 into gdb_test + mi_expect_stop.
439
b275f2d2
PA
4402011-05-20 Pedro Alves <pedro@codesourcery.com>
441
442 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
443 (callme): Remove printf call.
444
eec52c44
PM
4452011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
446
447 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
448 quote pattern to avoid problems with Cygwin/mingw expect versions.
449 * gdb.base/default.exp (show convenience): Use double
450 quote pattern for regular expressions.
451
b3c8eb43
JK
4522011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
453
454 Fix -readnow for -gdwarf-4 unused type units.
455 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
456 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
457
ed731959
JK
4582011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
459
460 * gdb.base/kill-after-signal.c: New file.
461 * gdb.base/kill-after-signal.exp: New file.
462
3b48433d
PA
4632011-05-16 Pedro Alves <pedro@codesourcery.com>
464
465 * gdb.ada/start.exp: Call untested with the correct test filename.
466 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
467 test filename. Make the test's binary unique.
468 * gdb.arch/i386-signal.exp: Call untested with the correct test
469 filename.
470 * gdb.arch/i386-size-overlap.exp: Ditto.
471 * gdb.arch/Makefile.in (EXECUTABLES): Update.
472 * gdb.base/gcore-buffer-overflow.exp: Ditto.
473 * gdb.cp/call-c.exp: Ditto.
474 * gdb.mi/mi-reverse.exp: Call untested with the correct test
475 filename. Make the test's binary unique.
476 * gdb.mi/Makefile.in (EXECUTABLES): Update.
477 * gdb.python/py-mi.exp: Ditto.
478 * gdb.python/Makefile.in (EXECUTABLES): Update.
479 * gdb.reverse/i386-precsave.exp: Ditto.
480 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
481 test filename.
482 * gdb.reverse/i387-stack-reverse.exp: Ditto.
483 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
484 unique.
485 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
486 test filename.
487 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
488 * gdb.trace/tfile.exp: Ditto.
489
ba4a8bdd
YQ
4902011-05-14 Yao Qi <yao@codesourcery.com>
491
492 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
493 type.
494
dbaefcf7
DE
4952011-05-13 Doug Evans <dje@google.com>
496
497 * gdb.python/py-objfile-script.exp: New file.
498 * gdb.python/py-objfile-script.c: New file.
499 * gdb.python/py-objfile-script-gdb.py: New file.
500 * testsuite/gdb.python/py-section-script.exp: Test
501 "info auto-load-scripts".
502
9930639c
TT
5032011-05-13 Tom Tromey <tromey@redhat.com>
504
505 * gdb.dwarf2/clztest.exp: New file.
506 * gdb.dwarf2/clztest.c: New file.
507 * gdb.dwarf2/clztest.S: New file.
508
05272e11
DE
5092011-05-13 Doug Evans <dje@google.com>
510
cc63ef9b
DE
511 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
512 String16 tests.
05272e11 513
6edba76f
TT
5142011-05-13 Tom Tromey <tromey@redhat.com>
515
516 * lib/gdb.exp (is_x86_like_target): New proc.
517 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
518 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
519 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
520 -nostdlib to compiler.
521 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
522 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
523 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
524 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
525 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
526
028d0ed5
TJB
5272011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
528
529 * gdb.python/py-function.exp: Test setting a value from a function
530 which executes a command.
531
8a9b8146
TT
5322011-05-12 Tom Tromey <tromey@redhat.com>
533
534 * gdb.dwarf2/typeddwarf.S: New file.
535 * gdb.dwarf2/typeddwarf.c: New file.
536 * gdb.dwarf2/typeddwarf.exp: New file.
537
10483e8e
MP
5382011-05-12 Marek Polacek <mpolacek@redhat.com>
539
540 * gdb.mi/mi-basics.exp: Fix races. Honour the
541 `test_exec_and_symbol_mi_operatons' return value.
542 (test_mi_interpreter_selection): Use mi_gdb_test instead of
543 gdb_test_multiple.
544 (test_exec_and_symbol_mi_operatons): Likewise.
545 (test_path_specification): Likewise.
546
faf067f1
JK
5472011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
548
549 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
550 (gdb_touch_execfile): Remove catch wrappers. New variable time.
551 Replace `file copy' and `file rename' by `file mtime'. Twice.
552
7ff911a3
JK
5532011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.base/readline-ask.c: New file.
556 * gdb.base/readline-ask.exp: New file.
557 * gdb.base/readline-ask.inputrc: New file.
558
a536c6d7
UW
5592011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
560
561 * gdb.cell/bt.exp: Delete breakpoints before running to signal
562 to avoid race condition.
563 * gdb.cell/coremaker.c: Use small stack size.
564 * gdb.cell/ea-standalone.exp: Use file name without path as
565 argument to c_to.
566 * gdb.cell/fork.exp: Allow other output when continuing to end.
567
d472a426
JK
5682011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
569
570 * gdb.threads/corethreads.c: New file.
571 * gdb.threads/corethreads.exp: New file.
572
5732011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
574
575 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
576 Try to compile the test using -Wl,-z,norelro first.
577 (load_core): New variable libthread_db_seen, initialize it.
578 (zeroed-threads cannot be listed): Protect it by XFAIL on
579 !$libthread_db_seen.
580
8be455d7
JK
5812011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
582
583 PR 12573
584 * gdb.dwarf2/dw2-skip-prologue.S: New file.
585 * gdb.dwarf2/dw2-skip-prologue.c: New file.
586 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
587
1976171a
JK
5882011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
589
590 * gdb.cp/psymtab-parameter.cc: New file.
591 * gdb.cp/psymtab-parameter.exp: New file.
592
7db6f30f
JK
5932011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
594
595 Fix a race.
596 * gdb.cp/static-print-quit.exp (print c): Split to ...
597 (print c - <return>, print c - q <return>, print c - to quit):
598 ... these. Make the testfile untested on gdb-7.1.
599
85161e9e 6002011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
601
602 * lib/gdb.exp (exec_target_file, exec_symbol_file,
603 gdb_rename_execfile, gdb_touch_execfile): New.
604 * gdb.base/reread.exp: Use new procs to handle multiple
605 exec files.
606
0c51be18
YQ
6072011-05-05 Yao Qi <yao@codesourcery.com>
608
609 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
610 (test_adr_32bit, test_pop_pc): New.
611 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
612 (test_adr_32bit, test_pop_pc): New.
613
4d393d60
JM
6142011-05-04 Joseph Myers <joseph@codesourcery.com>
615
616 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
617 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
618 targets.
619 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
620 handle targets.
621
8ffd0459
JK
6222011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
623
624 * gdb.base/completion.exp (complete help info wat): Rename to ...
625 (complete 'help info wat'): ... here.
626 Remove all `-re ".*' and `-re "^.*' redundant regexes.
627 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
628
8e28d804
PA
6292011-05-04 Pedro Alves <pedro@codesourcery.com>
630
631 * gdb.base/completion.exp: Use gdb_test_multiple instead of
632 gdb_test and explicit $gdb_prompt/timeout matches.
633
3eb2ef34
YQ
6342011-05-04 Yao Qi <yao@codesourcery.com>
635
636 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
637 and __thumb2__.
638
aaaf81a3
MP
6392011-05-03 Marek Polacek <mpolacek@redhat.com>
640
641 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
642 in place of `gdb_test "delete breakpoints"'. This eliminates two
643 testcases.
644
c4cbc0df
PA
6452011-05-02 Pedro Alves <pedro@codesourcery.com>
646
647 PR testsuite/12649
648 Fix races.
649
650 * gdb.base/completion.exp: Remove all sleep calls. Remove
651 unnecessary regexs. Don't explicitly expect anything after the
652 prompt. Eat the prompt if necessary.
653
b4cbb4a3
EBM
6542011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
655
656 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
657 accept to show the caller line again as well as the line after.
658
d65aec65
PM
6592011-04-29 Phil Muldoon <pmuldoon@redhat.com>
660
661 PR mi/12531
662
663 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
664 compile target.
665 * gdb.python/py-prettyprint.exp: Add C++ object for
666 CPLUS_FAKE_CHILD test.
667
30852783
UW
6682011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
669
670 * gdb.base/signest.exp: New file.
671 * gdb.base/signest.c: Likewise.
672
c7b1f0d9
JK
6732011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
676 thread and breakpoint notifications.
677
559a7a62
JK
6782011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
679
680 * gdb.base/fortran-sym-case.c: New file.
681 * gdb.base/fortran-sym-case.exp: New file.
682 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
683 * gdb.dwarf2/dw2-case-insensitive.c: New file.
684 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
685
8344e389
JK
6862011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
689 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
690 false #1', `if true else false #2' and `if true else false #3'.
691
2484c66b
UW
6922011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
693
694 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
695 while delivering signal.
696
8d3788bd
VP
6972011-04-27 Vladimir Prus <vladimir@codesourcery.com>
698
699 MI breakpoint notifications.
700
701 * testsuite/gdb.mi/mi-cli.exp: Adust.
702 * testsuite/gdb.mi/mi2-cli.exp: Adust.
703 * testsuite/gdb.mi/mi-watch.exp: Adust.
704 * testsuite/gdb.mi/mi2-watch.exp: Adust.
705 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
706 notifications.
707
3e03848b
JK
7082011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
709
710 * gdb.base/gdbindex-stabs-dwarf.c: New file.
711 * gdb.base/gdbindex-stabs.c: New file.
712 * gdb.base/gdbindex-stabs.exp: New file.
713
918c9108
YQ
7142011-04-25 Yao Qi <yao@codesourcery.com>
715
716 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
717 with /*...*/.
718 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
719
90556b8c
JK
7202011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
721
722 * gdb.python/py-value.exp (test_objfiles): Name the first test
723 `py-value in file.filename'.
724
03f2bd59
JK
7252011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
726
727 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
728 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
729 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
730 !gdbserver_reconnect_p..
731 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
732
7b08b9eb
JK
7332011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * gdb.cp/cpcompletion.exp (complete class methods)
736 (complete class methods beginning with F): Move them above runto. New
737 comment about the runto delimiter.
738
b78974c3
PA
7392011-04-20 Pedro Alves <pedro@codesourcery.com>
740
741 * gdb.base/maint.exp: Test that "maint print registers" works
742 without a running program.
743
20429c40 7442011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 745
20429c40
MP
746 * gdb.base/setshow.exp: Fix racy tests.
747 ($old_gdb_prompt): New variable.
748
7a9dd1b2
TT
7492011-04-19 Tom Tromey <tromey@redhat.com>
750
751 * gdb.mi/mi-nsmoribund.exp:
752 * gdb.hp/gdb.objdbg/objdbg01.exp:
753 * gdb.base/structs.exp (test_struct_returns):
754 * gdb.base/call-sc.exp (test_scalar_returns):
755 * gdb.base/bigcore.exp: Remove duplicate words.
756
02835898
JK
7572011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * gdb.base/break-interp-lib.c (v, vptr): New variables.
760 * gdb.base/break-interp.exp (test_attach): New comment.
761
254f582e
JK
7622011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
763
764 * gdb.threads/gcore-thread.exp ($core0file): New variable.
765 (clear __stack_user.next, clear stack_used.next)
766 (save a zeroed-threads corefile): New test.
767 Call core_load for $core0file.
768 (zeroed-threads cannot be listed): New test.
769
4fe85f5c
JK
7702011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
771
772 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
773 filename.
774 ($srcfile): Preserve the original value.
775 ($testfile): Match it the .exp filename.
776 ($corefile): New variable. Substitute it around.
777 Use clean_restart.
778 ($prev_timeout): Remove.
779 (load_core): Move core loading into this proc.
780 Fix restore of $timeout if load_core fails.
781
63524580
JK
7822011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 * gdb.base/eu-strip-infcall.c: New file.
785 * gdb.base/eu-strip-infcall.exp: New file.
786
90359a16
JK
7872011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
790 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
791
626e7282
JK
7922011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 Fix Python access to inlined frames.
795 * gdb.python/py-frame-inline.c: New file.
796 * gdb.python/py-frame-inline.exp: New file.
797
3363d018
EBM
7982011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
799
800 * gdb.base/gdb1090.exp: Change breakpoint location to read the
801 content of 's24' correctly (avoiding "optimized out").
802 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
803
28781456
JK
8042011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
805
806 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
807
4a4106ca
TJB
8082011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
809
810 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
811 expect a colon in watch -location output.
812
d26ccb4f
JK
8132011-04-13 Marek Polacek <mpolacek@redhat.com>
814
815 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
816 New testcase `expect response to define backtrace'. Also remove
817 redundant `default' block.
818
e1ab1f9c
JK
8192011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
820
821 * gdb.python/py-prettyprint.c (struct hint_error): New.
822 (main): New variable hint_error.
823 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
824 "print hint_error".
825 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
826 (register_pretty_printers): Register it.
827
0c2e6019
TT
8282011-04-04 Tom Tromey <tromey@redhat.com>
829
830 * gdb.cp/maint.exp (test_help): Update.
831 (test_namespace): Likewise.
832
af57139d
JB
8332011-04-01 Joel Brobecker <brobecker@adacore.com>
834
835 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
836 * gdb.ada/arrayptr.exp: Add new tests.
837
956a9fb9
JB
8382011-04-01 Joel Brobecker <brobecker@adacore.com>
839
840 * gdb.ada/mi_catch_ex: New testcase.
841
d0c4d642
PA
8422011-04-01 Pedro Alves <pedro@codesourcery.com>
843
844 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
845 base::overload(void) method without specifying "const".
846
18819fa6
UW
8472011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
848
849 * gdb.arch/thumb-singlestep.S: New file.
850 * gdb.arch/thumb-singlestep.exp: Likewise.
851
a4c8e806
TT
8522011-03-31 Tom Tromey <tromey@redhat.com>
853
854 * gdb.python/py-prettyprint.py (exception_flag): New global.
855 (NoStringContainerPrinter._iterator.next): Check it.
856 * gdb.python/py-prettyprint.c (main): New variable nstype2.
857 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
858
53832f31
TT
8592011-03-29 Tom Tromey <tromey@redhat.com>
860
861 * gdb.cp/anon-struct.cc: New file.
862 * gdb.cp/anon-struct.exp: New file.
863
e4620230
JK
8642011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
865
866 Test STT_GNU_IFUNC support.
867 * gdb.base/gnu-ifunc-lib.c: New file.
868 * gdb.base/gnu-ifunc.c: New file.
869 * gdb.base/gnu-ifunc.exp: New file.
870
d0fb5eae
JK
8712011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 Support a ring of related breakpoints.
874 * gdb.base/watchpoint-delete.c: New file.
875 * gdb.base/watchpoint-delete.exp: New file.
876
20106cfb
JK
8772011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
878
879 * gdb.ada/arrayparam.exp (print first after function call): Use
880 explicit package name. Add a comment
881 (print lasta after function call): Rename ...
882 (print last after function call): ... it and use explicit package
883 name.
884 (print length after function call): Use explicit package name.
885 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
886 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
887 (multiple matches for symbol i): Rename ...
888 (multiple matches for symbol integervar): ... it.
889 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
890 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
891
e7ab5e63
AB
8922011-03-25 Andrew Burgess <aburgess@broadcom.com>
893
894 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
895 environment variable to make grep output more predictable. Move
896 all the environment setup into gdb_init so it's done once per test
897 case rather than each time we start gdb.
898
9ef07c8c
TT
8992011-03-24 Tom Tromey <tromey@redhat.com>
900
901 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
902 test.
903
dd90784c
JK
9042011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
905
906 * gdb.dwarf2/dw2-entry-value-main.c: New file.
907 * gdb.dwarf2/dw2-entry-value.S: New file.
908 * gdb.dwarf2/dw2-entry-value.exp: New file.
909
05775840
PM
9102011-03-22 Phil Muldoon <pmuldoon@redhat.com>
911
912 PR python/12183
913
914 * gdb.python/py-function.exp: Add GdbError tests.
915
8661b11b
PA
9162011-03-18 Pedro Alves <pedro@codesourcery.com>
917
918 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
919 (reglocal_test_func, statlocal_test_func): New functions.
920 (globals_test_func): Call new functions.
921 * gdb.trace/unavailable.exp (gdb_collect_args_test)
922 (gdb_collect_locals_test): New procedure.
923 (gdb_trace_collection_test): Call new procedures.
924
0fdb4f18
PA
9252011-03-18 Pedro Alves <pedro@codesourcery.com>
926
927 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
928 (test_register, test_register_unavailable): New procedures.
929 (gdb_unavailable_registers_test): New procedure.
930 (gdb_trace_collection_test): Call it.
931
99c3dc11
PM
9322011-03-18 Phil Muldoon <pmuldoon@redhat.com>
933
934 PR python/12149
935
936 * gdb.python/python.exp: Add gdb.write tests.
937
29703da4
PM
9382010-03-17 Phil Muldoon <pmuldoon@redhat.com>
939
940 * gdb.python/Makefile.in: Add py-objfile.
941 * gdb.python/py-objfile.exp: New file.
942 * gdb.python/py-objfile.c: New file.
943 * gdb.python/py-block.exp: Add is_valid tests.
944 * gdb.python/py-inferior.exp: Ditto.
945 * gdb.python/py-infthread.exp: Ditto.
946 * gdb.python/py-symbol.exp: Ditto.
947 * gdb.python/py-symtab.exp: Ditto.
948
598997c8
KS
9492011-03-16 Keith Seitz <keiths@redhat.com>
950
951 PR c++/12273
952 * gdb.cp/cmpd-minsyms.exp: New test.
953 * gdb.cp/cmpd-minsyms.cc: New file.
954
955 PR c++/11734
956 * gdb.cp/ovsrch.exp: New test.
957 * gdb.cp/ovsrch.h: New file.
958 * gdb.cp/ovsrch1.cc: New file.
959 * gdb.cp/ovsrch2.cc: New file.
960 * gdb.cp/ovsrch3.cc: New file.
961 * gdb.cp/ovsrch4.cc: New file.
962
c91513d8
PP
9632011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
964
965 PR gdb/12528
966 * gdb.base/Makefile.in: Adjust EXECUTABLES.
967 * gdb.base/break-on-linker-gcd-function.exp: New test.
968 * gdb.base/break-on-linker-gcd-function.cc: New file.
969
7470fc63
AT
9702011-03-15 Andreas Tobler <andreast@fgznet.ch>
971
972 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
973
959e7469
PM
9742011-03-15 Phil Muldoon <pmuldoon@redhat.com>
975
976 * lib/gdb.exp (gdb_unload): Add another termination case.
977
9373cf26
JK
9782011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
979
980 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
981 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
982 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
983 Provide a stub byte there.
984 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
985 DW_AT_entry_pc.
986 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
987
24e9cda0
UW
9882011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
989
990 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
991 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
992 "generic ABI, auto".
993 (altivec_abi_tests): Accept vectors returned by reference.
994
7371cf6d
PM
9952010-03-14 Phil Muldoon <pmuldoon@redhat.com>
996
997 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
998
ce77046a
UW
9992011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1000
1001 * gdb.python/py-section-script.exp: Skip test if no Python support.
1002
176400c3
UW
10032011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1004
1005 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1006
ecec24e6
PM
10072011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1008
1009 * gdb.python/py-parameter.exp: Update tests to the new Python
1010 parameter API. Add "no documentation" test. Add deprecated API
1011 backward compatibility test.
1012
5dbdd470
TT
10132011-03-09 Tom Tromey <tromey@redhat.com>
1014
1015 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1016 gdb_continue_to_end.
1017
b66e66ee
MK
10182011-03-09 Mark Kettenis <kettenis@gnu.org>
1019
1020 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1021 tabs.
1022
eceb0c5f
TT
10232011-03-09 Tom Tromey <tromey@redhat.com>
1024
1025 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1026 parentheses.
1027 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1028 $command.
1029 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1030 argument to gdb_continue_to_end.
1031 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1032 argument to gdb_continue_to_end.
1033 * gdb.cp/annota3.exp: Fix regex.
1034 * gdb.cp/annota2.exp: Fix regex.
1035 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1036 gdb_continue_to_end.
1037 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1038 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1039 gdb_continue_to_end.
1040
63154eca
PA
10412011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1042
1043 * gdb.server/ext-run.exp
1044 (load new file without any gdbserver inferior): New test.
1045
967d1f9b
TT
10462011-03-07 Tom Tromey <tromey@redhat.com>
1047
1048 * Makefile.in (TAGS): Rewrite.
1049
d68dcbb9
JK
10502011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1053 initial commands echo. New match for `Found trace'. Anchor all the
1054 other matches. Anchor and match for `No trace frame found' the final
1055 match.
1056
6bf58e63
TT
10572011-03-07 Tom Tromey <tromey@redhat.com>
1058
1059 * Makefile.in (TAGS): New target.
1060
fda326dd
TT
10612011-03-07 Tom Tromey <tromey@redhat.com>
1062
1063 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1064 change.
1065 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1066 change.
1067 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1068 exit message change.
1069 (skip_altivec_tests): Update for exit message change.
1070 (skip_vsx_tests): Likewise.
1071 (gdb_continue_to_end): Likewise. Add 'command' argument.
1072 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1073 * gdb.threads/tls.exp: Update for exit message change.
1074 * gdb.threads/thread-unwindonsignal.exp: Use
1075 gdb_continue_to_end.
1076 * gdb.threads/step.exp (step_it): Update for exit message change.
1077 (continue_all): Likewise.
1078 * gdb.threads/print-threads.exp (test_all_threads): Update for
1079 exit message change.
1080 * gdb.threads/interrupted-hand-call.exp: Use
1081 gdb_continue_to_end.
1082 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1083 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1084 gdb_continue_to_end.
1085 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1086 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1087 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1088 * gdb.cp/method.exp: Update for exit message change.
1089 * gdb.cp/mb-templates.exp: Update for exit message change.
1090 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1091 * gdb.cp/annota3.exp: Update for exit message change.
1092 * gdb.cp/annota2.exp: Update for exit message change.
1093 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1094 * gdb.base/term.exp: Update for exit message change.
1095 * gdb.base/step-test.exp (test_i): Update for exit message change.
1096 * gdb.base/sigstep.exp (advance): Update for exit message change.
1097 (advancei): Likewise.
1098 * gdb.base/siginfo.exp: Update for exit message change.
1099 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1100 * gdb.base/reread.exp: Use gdb_continue_to_end.
1101 * gdb.base/langs.exp: Use gdb_continue_to_end.
1102 * gdb.base/interrupt.exp: Update for exit message change.
1103 * gdb.base/gdb1555.exp: Update for exit message change.
1104 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1105 * gdb.base/ending-run.exp: Update for exit message change.
1106 * gdb.base/chng-syms.exp: Update for exit message change.
1107 * gdb.base/checkpoint.exp: Update for exit message change.
1108 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1109 gdb_continue_to_end.
1110 (test_catch_syscall_with_wrong_args): Likewise.
1111 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1112 * gdb.base/break-interp.exp (test_ld): Update for exit message
1113 change.
1114 * gdb.base/bang.exp: Update for exit message change.
1115 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1116 (do_call_attach_tests): Likewise.
1117 * gdb.base/a2-run.exp: Update for exit message change.
1118 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1119 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1120 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1121
dd19bd70
JK
11222011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1123
1124 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1125
30e62689
TT
11262011-03-03 Tom Tromey <tromey@redhat.com>
1127
1128 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1129 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1130 * gdb.hp/gdb.aCC/configure.ac: Remove.
1131 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1132 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1133 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1134 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1135 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1136 * gdb.hp/gdb.compat/configure.ac: Remove.
1137 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1138 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1139 * gdb.hp/gdb.defects/configure.ac: Remove.
1140 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1141 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1142 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1143 * gdb.hp/configure.ac: Remove.
1144 * gdb.hp/configure: Remove.
1145 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1146 substitution.
1147 (Makefile): Remove rule.
1148 * gdb.cell/configure.ac: Remove.
1149 * gdb.cell/configure: Remove.
1150 * gdb.stabs/Makefile.in (Makefile): Remove.
1151 (distclean): Don't remove config.status or config.log.
1152 * gdb.stabs/configure (Makefile): Remove.
1153 * gdb.stabs/configure.ac: Remove.
1154 * configure: Rebuild.
1155 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1156 Remove stabs- and cell-specific logic. Test for existence of
1157 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1158 subdirectories, gdb.cell, and and gdb.stabs.
1159 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1160
c171f854
JB
11612011-03-03 Joel Brobecker <brobecker@adacore.com>
1162
1163 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1164 end of buffer.
1165
9a5193cb
JB
11662011-03-02 Joel Brobecker <brobecker@adacore.com>
1167
1168 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1169 gdb_test when running a test where we expected no output back.
1170
9bb4c1bb
MS
11712011-02-28 Michael Snyder <msnyder@vmware.com>
1172
1173 * gdb.cp/overload.cc: Change initializer value to integer.
1174
3bd0f5ef
MS
11752011-02-27 Michael Snyder <msnyder@vmware.com>
1176
1177 * gdb.multi/base.exp: Add test for remove-inferiors.
1178
2279eaad
JB
11792011-02-26 Joel Brobecker <brobecker@adacore.com>
1180
1181 * gdb.python/py-frame.exp: Simplify the initialization phase
1182 using prepare_for_testing.
1183
c82c0b55
MS
11842011-02-25 Michael Snyder <msnyder@vmware.com>
1185
1186 * gdb.multi/base.exp: Add tests for info inferiors with args.
1187
1d94651b
JK
11882011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1189
1190 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1191 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1192 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1193 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1194 asmfile3. Comment the STABS (#3) file compilation. Compile
1195 everything through assembler. Provide KFAIL for symtab/12497.
1196 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1197 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1198 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1199 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1200
3bd0f5ef
MS
12012011-02-24 Michael Snyder <msnyder@vmware.com>
1202
1203 * gdb.base/break.exp: Add tests for delete breakpoints using
1204 convenience variables and value history references.
1205
12c1418e
MS
12062011-02-24 Michael Snyder <msnyder@vmware.com>
1207
1208 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1209 left behind in previous check-in.
1210
e5a67952
MS
12112011-02-23 Michael Snyder <msnyder@vmware.com>
1212
1213 * gdb.base/break.exp: Add tests for "info break" with arguments.
1214 * gdb.trace/infotrace.exp: Update patterns for error and help.
1215 * gdb.base/completion.exp: Update pattern.
1216 * gdb.base/ena-dis-br.exp: Update pattern.
1217 * gdb.base/help.exp: Update patterns.
1218
12192011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1220
1221 * gdb.base/memattr.exp: New test.
1222 * gdb.base/memattr.c: Test load for memattr.exp.
1223
6e6fbe60
DE
12242011-02-22 Doug Evans <dje@google.com>
1225
1226 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1227
1d41d745
MS
12282011-02-22 Michael Snyder <msnyder@vmware.com>
1229
1230 * Makefile.in: Make more clean.
1231 * gdb.ada/Makefile.in: Ditto.
1232 * gdb.arch/Makefile.in: Ditto.
1233 * gdb.asm/Makefile.in: Ditto.
1234 * gdb.base/Makefile.in: Ditto.
1235 * gdb.cp/Makefile.in: Ditto.
1236 * gdb.dwarf2/Makefile.in: Ditto.
1237 * gdb.java/Makefile.in: Ditto.
1238 * gdb.mi/Makefile.in: Ditto.
1239 * gdb.modula2/Makefile.in: Ditto.
1240 * gdb.python/Makefile.in: Ditto.
1241 * gdb.server/Makefile.in: Ditto.
1242 * gdb.stabs/Makefile.in: Ditto.
1243 * gdb.threads/Makefile.in: Ditto.
1244 * gdb.trace/Makefile.in: Ditto.
1245
79ba84ca
MS
12462011-02-22 Michael Snyder <msnyder@vmware.com>
1247
1248 * gdb.threads/thread-find.exp: Add tests for bad input to
1249 info threads.
1250
b9b35694
JB
12512011-02-22 Joel Brobecker <brobecker@adacore.com>
1252
1253 * gdb.python/py-breakpoint.exp: Fix the expected output of
1254 one of the "maint info breakpoints" tests to accept the output
1255 generated on platforms that do not have hardware watchpoints.
1256
8bfb830f
JB
12572011-02-22 Joel Brobecker <brobecker@adacore.com>
1258
1259 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1260 clean_restart. Be a little stricter in the expected output
1261 for one of the tests. Fix a typo in one of the comments.
1262
c45f3c54
JB
12632011-02-22 Joel Brobecker <brobecker@adacore.com>
1264
1265 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1266 Delete variable binfile, no longer use. Add or modify test
1267 comments to make them unique.
1268
b97c863c
MS
12692011-02-21 Michael Snyder <msnyder@vmware.com>
1270
1271 * Makefile.in: Update for make clean.
1272 * gdb.ada/Makefile.in: Ditto.
1273 * gdb.arch/Makefile.in: Ditto.
1274 * gdb.asm/Makefile.in: Ditto.
1275 * gdb.base/Makefile.in: Ditto.
1276 * gdb.cp/Makefile.in: Ditto.
1277 * gdb.dwarf2/Makefile.in: Ditto.
1278 * gdb.java/Makefile.in: Ditto.
1279 * gdb.mi/Makefile.in: Ditto.
1280 * gdb.modula2/Makefile.in: Ditto.
1281 * gdb.python/Makefile.in: Ditto.
1282 * gdb.server/Makefile.in: Ditto.
1283 * gdb.stabs/Makefile.in: Ditto.
1284 * gdb.threads/Makefile.in: Ditto.
1285 * gdb.trace/Makefile.in: Ditto.
1286
aea5b279
MS
12872011-02-21 Michael Snyder <msnyder@vmware.com>
1288
1289 * gdb.threads/thread-find.exp: Update patterns for changes in
1290 output of "info threads" command.
1291
e3039479
UW
12922011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1293 Ulrich Weigand <uweigand@de.ibm.com>
1294
1295 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1296 (skip_hw_watchpoint_tests): Likewise.
1297 (skip_hw_watchpoint_multi_tests): Likewise.
1298
b800ec70
UW
12992011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1300
1301 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1302 (skip_hw_watchpoint_tests): Likewise.
1303 (skip_hw_watchpoint_multi_tests): Likewise.
1304 (skip_hw_watchpoint_access_tests): Likewise.
1305
1306 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1307 * gdb.base/pr11022.exp: Likewise.
1308 * gdb.base/watch-read.exp: Likewise.
1309 * gdb.base/watch_thread_num.exp: Likewise.
1310 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1311 * gdb.base/watchpoint-hw.exp: Likewise.
1312 * gdb.base/watchpoint.exp: Likewise.
1313 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1314 * gdb.threads/watchthreads-reorder.exp: Likewise.
1315 * gdb.threads/watchthreads.exp: Likewise.
1316 * gdb.threads/watchthreads2.exp: Likewise.
1317
91033e37
JB
13182011-02-21 Joel Brobecker <brobecker@adacore.com>
1319
1320 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1321 the debugger is unable to find the array bounds.
1322
eeaafae2
JK
13232011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1324
1325 * gdb.cp/typedef-operator.exp: New file.
1326 * gdb.cp/typedef-operator.cc: New file.
1327
e338d953
MS
13282011-02-17 Michael Snyder <msnyder@vmware.com>
1329
1330 * gdb.threads/thread-find.exp: Fix regular expressions.
1331
e67ad678
JB
13322011-02-17 Joel Brobecker <brobecker@adacore.com>
1333
1334 * gdb.ada/packed_array: Expand testcase to test printing of
1335 unconstrained packed array.
1336
93084bca
JB
13372011-02-17 Joel Brobecker <brobecker@adacore.com>
1338
1339 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1340
a0c78a73
PA
13412011-02-16 Pedro Alves <pedro@codesourcery.com>
1342
f65d5553 1343 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1344 (main): Initialize it before collecting, and and clear it
1345 afterwards.
f65d5553
PA
1346 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1347 collecting with '{type} addr', where the addr expression is not an
1348 rvalue.
a0c78a73 1349
3dfcbbd2
KW
13502011-02-16 Ken Werner <ken.werner@de.ibm.com>
1351
1352 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1353 a bool variable. Expect correct OpenCL names for vector types. Use the
1354 uc3 variable name instead of referring to the uchar3 built-in type.
1355 Escape the asterisk at the half pointer test.
1356
08807d5a
PA
13572011-02-16 Pedro Alves <pedro@codesourcery.com>
1358
f65d5553 1359 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1360 (main): Initialize it before collecting, and and clear it
1361 afterwards.
f65d5553
PA
1362 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1363 collecting overlapping memory ranges.
08807d5a 1364
60f98dde
MS
13652011-02-15 Michael Snyder <msnyder@vmware.com>
1366
1367 * gdb.base/default.exp: Add tests for thread commands.
1368 * gdb.base/help.exp: Add tests for thread commands.
1369 * gdb.threads/thread-find.exp: New test for thread find command.
1370
648cd113
KW
13712011-02-15 Ken Werner <ken.werner@de.ibm.com>
1372
1373 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1374
494e194e
YQ
13752011-02-15 Yao Qi <yao@codesourcery.com>
1376
1377 PR tdep/12352
1378 * gdb.arch/arm-disp-step.S : New test for str instruction.
1379 * gdb.arch/arm-disp-step.exp : Likewise.
1380
d9492458
TJB
13812011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1382
1383 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1384 "vector_register2_vr" test strings. Test the extended floating
1385 point registers (F32~F63).
1386 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1387 IBM XL C compiler. Make the test program use a register provided
1388 by the compiler for the lxvd2x instruction.
1389
8af8e3bc
PA
13902011-02-14 Pedro Alves <pedro@codesourcery.com>
1391
1392 * gdb.trace/unavailable.cc (class Base, class Middle, class
1393 Derived): New types.
1394 (derived_unavail, derived_partial, derived_whole): New globals.
1395 (virtual_partial): New global.
1396 (virtualp): Point at virtual_partial.
1397 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1398 related to unavailable vptr.
1399
1b28d0b3
PA
14002011-02-14 Pedro Alves <pedro@codesourcery.com>
1401
1402 * gdb.trace/unavailable.cc (a, b, c): New globals.
1403 (main): Set and clear them.
1404 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1405 `a' and `c', and check that `b' isn't collected, although `a' and
1406 `c' are.
1407
ec0a52e1
PA
14082011-02-14 Pedro Alves <pedro@codesourcery.com>
1409
1410 * gdb.trace/unavailable.cc (struct Virtual): New.
1411 (virtualp): New global pointer.
1412 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1413 printing a pointer to an object whose type has a vtable, with
1414 print object on.
1415
24e6bcee
PA
14162011-02-14 Pedro Alves <pedro@codesourcery.com>
1417
1418 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1419 value repeat handles unavailableness.
1420
39d37385
PA
14212011-02-14 Pedro Alves <pedro@codesourcery.com>
1422
1423 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1424 tests for building arrays from unavailable values, subscripting
1425 non-memory rvalue unvailable arrays, and accessing fields or
1426 baseclasses of non-lazy unavailable values,
1427 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1428 struct types.
1429 (g_smallstruct, g_smallstruct_b): New globals.
1430
06d72e16
PA
14312011-02-14 Pedro Alves <pedro@codesourcery.com>
1432
1433 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1434
bc9a5551
JK
14352011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1436
1437 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1438 * gdb.cp/overload-const.exp: New file.
1439 * gdb.cp/overload-const.cc: New file.
1440
54fcddd0
UW
14412011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1442
1443 * gdb.opencl/callfuncs.cl: New file.
1444 * gdb.opencl/callfuncs.exp: New test.
1445 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1446
d6dafb7c
UW
14472011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1448
1449 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1450 when computing result.
1451 * gdb.arch/altivec-abi.exp: Update expected results.
1452
a449c2d8
TJB
14532011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1454
1455 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1456 * gdb.base/jit.exp: Likewise.
1457 * gdb.base/pie-execl.exp: Likewise.
1458 * gdb.base/solib-nodir.exp: Likewise.
1459 * gdb.base/solib-overlap.exp: Likewise.
1460
764880b7
PA
14612011-02-07 Pedro Alves <pedro@codesourcery.com>
1462
1463 * gdb.trace/collection.c (global_pieces): New.
1464 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1465 New procedure.
1466 (gdb_trace_collection_test): Call it.
1467
505500db
SW
14682011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1469
1470 * gdb.python/py-evthreads.c: New file.
1471 * gdb.python/py-evthreads.exp: New file.
1472 * gdb.python/py-events.py: New file.
1473 * gdb.python/py-events.exp: New file.
1474 * gdb.python/py-events.c: New file.
1475
385203ed
DD
14762011-02-04 David Daney <ddaney@caviumnetworks.com>
1477
1478 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1479
9011945e
AB
14802011-02-03 Andrew Burgess <aburgess@broadcom.com>
1481
1482 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1483 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1484 boundary between two compilation units.
1485
580688f3
PA
14862011-02-02 Pedro Alves <pedro@codesourcery.com>
1487
1488 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1489 (Virtual): New structs.
1490 (virtual_o, virtual_middle_b): New globals.
1491 * gdb.cp/virtbase.exp: New tests.
1492
d3f0f853
PP
14932011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1494
1495 * gdb.base/jit.exp: New file.
1496 * gdb.base/jit-main.c: New file.
1497 * gdb.base/jit-solib.c: New file.
1498
b2030fb5
UW
14992011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1500
1501 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1502 proceed to initial kernel entry point.
1503 * gdb.opencl/datatypes.exp: Likewise.
1504 * gdb.opencl/operators.exp: Likewise.
1505 * gdb.opencl/vec_comps.exp: Likewise.
1506
2db19d1e
SW
15072011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1508
1509 * gdb.cp/nsnested.cc: New.
1510 * gdb.cp/nsnested.exp: New.
1511 * gdb.cp/nsnoimports.exp: New.
1512 * gdb.cp/nsnoimports.cc: New.
1513
6b0c4c1f
JB
15142011-01-31 Joel Brobecker <brobecker@adacore.com>
1515
1516 * gdb.base/interact.exp: Add extra tests that verify that
1517 the value of the interactive-mode setting does not change
1518 after the script is sourced.
1519
80b23b6a
JK
15202011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1521
1522 * gdb.cp/noparam.exp: New file.
1523 * gdb.cp/noparam.cc: New file.
1524
ffd5ec24
PA
15252011-01-28 Pedro Alves <pedro@codesourcery.com>
1526
1527 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1528 there's no stack or registers.
1529
a81766d8
TT
15302011-01-26 Tom Tromey <tromey@redhat.com>
1531
1532 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1533 space before string output. Add test for "set print pretty off"
1534 case.
1535
585fdaa1
PA
15362011-01-25 Pedro Alves <pedro@codesourcery.com>
1537
1538 * gdb.base/frame-args.exp: Adjust.
1539 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1540 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1541 * gdb.dwarf2/pieces.exp: Adjust.
1542 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1543 * gdb.opt/inline-locals.exp: Adjust.
1544 * gdb.threads/fork-child-threads.exp: Adjust.
1545
d468832a
KW
15462011-01-25 Ken Werner <ken.werner@de.ibm.com>
1547
1548 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1549 OpenCL kernel function. Add a comment as marker. Add address space
1550 qualifiers for the remaining program scope variables.
1551 * gdb.opencl/datatypes.cl: Likewise.
1552 * gdb.opencl/operators.cl: Likewise.
1553 * gdb.opencl/vec_comps.cl: Likewise.
1554 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1555 Add breakpoint at the marker comment.
1556 * gdb.opencl/datatypes.exp: Likewise.
1557 * gdb.opencl/operators.exp: Likewise.
1558 * gdb.opencl/vec_comps.exp: Likewise.
1559
490f124f
PA
15602011-01-24 Pedro Alves <pedro@codesourcery.com>
1561
1562 * gdb.base/printcmds.c (some_struct): New struct and instance.
1563 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1564 procedure.
1565 <global scope>: Call it.
1566
6da78614
KW
15672011-01-21 Ken Werner <ken.werner@de.ibm.com>
1568
1569 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1570 argument to the gdb_compile_opencl_hostapp call.
1571
ec64c9aa
YQ
15722011-01-19 Yao Qi <yao@codesourcery.com>
1573
1574 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1575 positve list.
1576
810cfdbb
YQ
15772011-01-19 Yao Qi <yao@codesourcery.com>
1578
1579 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1580 canonical form.
1581 Remove "xscale-*-*"
1582 * gdb.xml/tdesc-regs.exp: Likewise.
1583 * gdb.python/py-section-script.exp: Replace ARM target triplet
1584 with canonical form.
1585 Match arm*-*-symbianelf*.
1586 * gdb.base/dup-sect.exp: Likewise.
1587 * lib/dwarf.exp: New.
1588 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1589 dwarf2_support.
1590 * gdb.dwarf2/dup-psym.exp: Likewise.
1591 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1592 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1593 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1594 * gdb.dwarf2/dw2-basic.exp: Likewise.
1595 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1596 * gdb.dwarf2/dw2-const.exp: Likewise.
1597 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1598 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1599 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1600 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1601 * gdb.dwarf2/dw2-filename.exp: Likewise.
1602 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1603 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1604 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1605 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1606 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1607 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1608 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1609 * gdb.dwarf2/dw2-producer.exp: Likewise.
1610 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1611 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1612 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1613 * gdb.dwarf2/dw2-strp.exp: Likewise.
1614 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1615 * gdb.dwarf2/implptr.exp: Likewise.
1616 * gdb.dwarf2/mac-fileno.exp: Likewise.
1617 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1618 * gdb.dwarf2/pieces.exp: Likewise.
1619 * gdb.dwarf2/pr11465.exp: Likewise.
1620 * gdb.dwarf2/valop.exp: Likewise.
1621 * gdb.dwarf2/watch-notconst.exp: Likewise.
1622 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1623
4694da01
TT
16242011-01-19 Tom Tromey <tromey@redhat.com>
1625
1626 * gdb.python/py-infthread.exp: Add thread tests.
1627
b075872c
JB
16282011-01-14 Joel Brobecker <brobecker@adacore.com>
1629
1630 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1631
2c3e6e24
JB
16322011-01-14 Joel Brobecker <brobecker@adacore.com>
1633
1634 * gdb.ada/widewide: New testcase.
1635
de8fa76c
JB
16362011-01-13 Joel Brobecker <brobecker@adacore.com>
1637
1638 * gdb.base/interact.exp: New testcase.
1639
1b05df00
TT
16402011-01-12 Tom Tromey <tromey@redhat.com>
1641
1642 * gdb.mi/gdb2549.exp: Update for error message changes.
1643 * gdb.mi/mi-cli.exp: Likewise.
1644 * gdb.mi/mi-disassemble.exp: Likewise.
1645 * gdb.mi/mi-pthreads.exp: Likewise.
1646 * gdb.mi/mi-regs.exp: Likewise.
1647 * gdb.mi/mi-stack.exp: Likewise.
1648 * gdb.mi/mi-var-block.exp: Likewise.
1649 * gdb.mi/mi-var-cmd.exp: Likewise.
1650 * gdb.mi/mi2-cli.exp: Likewise.
1651 * gdb.mi/mi2-disassemble.exp: Likewise.
1652 * gdb.mi/mi2-pthreads.exp: Likewise.
1653 * gdb.mi/mi2-regs.exp: Likewise.
1654 * gdb.mi/mi2-stack.exp: Likewise.
1655 * gdb.mi/mi2-var-block.exp: Likewise.
1656 * gdb.mi/mi2-var-cmd.exp: Likewise.
1657
c2ff108b
JK
16582011-01-12 Andrew Burgess <aburgess@broadcom.com>
1659 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 PR fortran/11104 and DWARF unbound arrays detection.
1662 * gdb.fortran/multi-dim.exp: New file.
1663 * gdb.fortran/multi-dim.f90: New file.
1664
b716877b
AB
16652011-01-12 Andrew Burgess <aburgess@broadcom.com>
1666
1667 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1668 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1669 add new tests for opcode dumping.
1670
6c162d5e
TT
16712011-01-11 Tom Tromey <tromey@redhat.com>
1672
1673 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1674
77b06cd7
TJB
16752010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1676
1677 Convert hardware watchpoints to use breakpoint_ops.
1678 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1679 type is not supported.
1680 * gdb.base/foll-fork.exp: Likewise.
1681 * gdb.base/foll-vfork.exp: Likewise.
1682
f39a75d0
PM
16832011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1684
1685 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1686 Use load_lib gdb-python.exp.
1687 * gdb.python/python.exp: Ditto.
1688 * gdb.python/py-function.exp: Ditto.
1689
fc529d80
AS
16902011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1691
1692 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1693
fb03cb59
JK
16942011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1695
1696 * configure: Regenerate.
1697
d8e22779
TT
16982011-01-06 Tom Tromey <tromey@redhat.com>
1699
1700 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1701
09050809
JB
17022011-01-06 Joel Brobecker <brobecker@adacore.com>
1703
fc529d80
AS
1704 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1705 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1706 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1707 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1708 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1709 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1710 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1711 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1712 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1713 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1714 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1715 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1716 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1717 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1718 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1719 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1720 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1721 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1722 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1723 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1724 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1725 gdb.ada/uninitialized_vars.exp,
1726 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1727 Simplify by using clean_restart.
09050809 1728
8ed5dd9e
JB
17292011-01-06 Joel Brobecker <brobecker@adacore.com>
1730
1731 Add marker to be used as anchor for inserting breakpoints.
1732 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1733 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1734 Likewise.
1735
1736 Remove uses of gdb_start_cmd.
1737 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1738 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1739
1740 Do not run testcase if testing with GDBserver.
1741 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1742 if testing with GDBserver.
1743
368a124f
JB
17442011-01-06 Joel Brobecker <brobecker@adacore.com>
1745
1746 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1747 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1748 copyright header.
1749
44944448
JB
17502011-01-05 Joel Brobecker <brobecker@adacore.com>
1751
1752 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1753 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1754 testsuite/gdb.fortran/complex.f,
1755 testsuite/gdb.fortran/derived-type.f90,
1756 testsuite/gdb.fortran/library-module-lib.f90,
1757 testsuite/gdb.fortran/library-module-main.f90,
1758 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1759 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1760 Copyright year update.
1761
31886ea6
JB
17622011-01-05 Joel Brobecker <brobecker@adacore.com>
1763
1764 * gdb.base/langs1.f: Add copyright header.
1765
ebedcab5
JK
17662011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1767
1768 * gdb.base/morestack.exp: New file.
1769 * gdb.base/morestack.c: New file.
1770
de1eb2f9
JK
17712011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1772
1773 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1774
9e87a409
JB
17752010-12-29 Joel Brobecker <brobecker@adacore.com>
1776
1777 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1778 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1779
720d1a40
JB
17802010-12-29 Joel Brobecker <brobecker@adacore.com>
1781
1782 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1783
a283af87
AS
17842010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1785
5d3d9cba
AS
1786 * gdb.threads/tls.exp: Fix typo.
1787
a283af87
AS
1788 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1789 * gdb.threads/execl.exp: Update.
1790
2a20745c
YQ
17912010-12-23 Yao Qi <yao@codesourcery.com>
1792
1793 * gdb.arch/arm-disp-step.exp: New.
1794 * gdb.arch/arm-disp-step.S: New.
1795
a7658b96
TT
17962010-12-21 Tom Tromey <tromey@redhat.com>
1797
1798 * gdb.threads/execl.exp: Update.
1799 * gdb.threads/linux-dp.exp: Update.
1800 * gdb.threads/manythreads.exp: Update.
1801 * gdb.threads/tls.exp: Update.
1802
5b79abe7
TT
18032010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1806 (NextOverThrowDerivates) <resumebpt>: New.
1807 (resumebpt_test): New.
1808 (main): Call resumebpt_test.
1809 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1810
0914bcdb
SS
18112010-12-12 Stan Shebs <stan@codesourcery.com>
1812
1813 * gdb.trace/tsv.exp: Test print command on trace state variables.
1814
305aeedc
TT
18152010-12-09 Tom Tromey <tromey@redhat.com>
1816
1817 * gdb.base/interp.exp: Add regression test.
1818
186c406b
TT
18192010-12-09 Tom Tromey <tromey@redhat.com>
1820
1821 * gdb.java/jnpe.java: New file.
1822 * gdb.java/jnpe.exp: New file.
1823 * gdb.cp/nextoverthrow.exp: New file.
1824 * gdb.cp/nextoverthrow.cc: New file.
1825
aae1c79a
DE
18262010-12-07 Doug Evans <dje@google.com>
1827
1828 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1829 of data-directory.
1830 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1831 updated.
1832 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1833
60f98dde 18342010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1835
1836 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1837 * gdb.base/call-sc.exp: Ditto.
1838 * gdb.base/finish.exp: Ditto.
1839 * gdb.base/return.exp: Ditto.
1840 * gdb.base/return2.exp: Ditto.
1841
5fa290c1
DE
18422010-11-30 Doug Evans <dje@google.com>
1843
1844 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1845 (gdb_expect_list): Fix spelling errors in comments.
1846 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1847 send_gdb/gdb_expect_list where applicable.
1848 * gdb.base/call-ar-st.exp: Ditto.
1849 * gdb.base/funcargs.exp: Ditto.
1850 * gdb.base/gcore.exp: Ditto.
1851 * gdb.base/page.exp: Ditto.
1852 * gdb.base/sigaltstack.exp: Ditto.
1853 * gdb.base/siginfo.exp: Ditto.
1854 * gdb.base/sigstep.exp: Ditto.
1855 * gdb.base/trace-commands.exp: Ditto.
1856
4e04c971
DE
18572010-11-29 Doug Evans <dje@google.com>
1858
1859 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1860 printer-name;subprinter-name.
1861
8cf6f0b1
TT
18622010-11-29 Tom Tromey <tromey@redhat.com>
1863
1864 * gdb.dwarf2/implptr.exp: New file.
1865 * gdb.dwarf2/implptr.c: New file.
1866 * gdb.dwarf2/implptr.S: New file.
1867
94b6973e
PM
18682010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1869
fc529d80 1870 PR python/12199
94b6973e
PM
1871
1872 * gdb.python/py-breakpoint.exp: Test the delete method.
1873
8358c15c
JK
18742010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1875
1876 Fix step_resume_breakpoint unsaved during an infcall.
1877 * gdb.base/step-resume-infcall.exp: New file.
1878 * gdb.base/step-resume-infcall.c: New file.
1879
f6df29bc
TJB
18802010-11-24 Edjunior Machado <emachado@br.ibm.com>
1881
1882 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1883
f2b5a5cf
TJB
18842010-11-24 Edjunior Machado <emachado@br.ibm.com>
1885
1886 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1887 on ppc64's symbols; "finish" and "return" commands must accept to
1888 show the caller line again as well as the line after.
1889 * gdb.asm/powerpc64.inc: New file.
1890
6b0ecdc2
DE
18912010-11-23 Doug Evans <dje@google.com>
1892
1893 * lib/gdb.exp (gdb_test_sequence): New function.
1894 (gdb_expect_list): Add verbose -log call for each pattern.
1895 * gdb.base/signals.exp (test_handle_all_print): Call it.
1896 Reduce timeout increment from 6 minutes to 1 minute.
1897 * gdb.server/ext-run.exp: Call it.
1898
ea976c60
PM
18992010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1900
f2b5a5cf 1901 PR python/12212
ea976c60
PM
1902
1903 * gdb.python/python.exp: Check that selected_thread raises an
1904 error when no inferior is loaded.
1905
c0efa795
JK
19062010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1907
1908 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1909 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1910
ec3aa567
JK
19112010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1912
1913 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1914 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1915
d8249011
DE
19162010-11-18 Doug Evans <dje@google.com>
1917
1918 * gdb.server/ext-run.exp: Fix intermittent failures.
1919
d4eba7d1
NF
19202010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1921
1922 * gdb.stabs/gdb11479.exp: Use runto_main.
1923
b04c2f88
NF
19242010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1925
1926 * gdb.base/break-entry.exp: Skip if using a stub.
1927
ae9d7ce4
NF
19282010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1929
1930 * gdb.python/py-inferior.exp: Pack values in target endianness.
1931
621c8364
TT
19322010-11-12 Tom Tromey <tromey@redhat.com>
1933
1934 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1935 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1936 MemoryError.
1937 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1938 type.
1939 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1940 MemoryError.
1941 (test_subscript_regression): Update exception type.
1942
84f4c1fe
PM
19432010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1944
1945 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1946 breakpoint tests.
1947
a1442452
PA
19482010-11-09 Pedro Alves <pedro@codesourcery.com>
1949
1950 * gdb.base/watchpoint.exp: Test "watch -location" with an
1951 innacessible location.
1952
efd11a33
JK
19532010-11-09 Edjunior Machado <emachado@br.ibm.com>
1954 Luis Machado <luisgpm@br.ibm.com>
1955
1956 * gdb.base/maint.exp: Expect "." prefix.
1957 * gdb.base/nodebug.exp: Expect "." Likewise.
1958 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1959 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1960 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1961 POWER server processors.
1962
aa00efb5
JK
19632010-11-08 Edjunior Machado <emachado@br.ibm.com>
1964 Luis Machado <luisgpm@br.ibm.com>
1965
1966 * gdb.base/break-entry.exp: convert entry point for
1967 ppc64 and expect leading `.' on ppc64's symbols
1968
99e7ae30
DE
19692010-11-05 Doug Evans <dje@google.com>
1970
1971 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1972 * gdb.python/py-param.exp: Delete, contents moved to ...
1973 * gdb.python/py-parameter.exp: ... here. New file.
1974 Add test for gdb.parameter ("directories").
99e7ae30 1975
f4b8a18d
KW
19762010-11-05 Ken Werner <ken.werner@de.ibm.com>
1977
1978 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1979 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1980 * configure: Regenerate.
1981 * gdb.opencl/Makefile.in: New File.
1982 * gdb.opencl/datatypes.exp: Likewise.
1983 * gdb.opencl/datatypes.cl: Likewise.
1984 * gdb.opencl/operators.exp: Likewise.
1985 * gdb.opencl/operators.cl: Likewise.
1986 * gdb.opencl/vec_comps.exp: Likewise.
1987 * gdb.opencl/vec_comps.cl: Likewise.
1988 * gdb.opencl/convs_casts.exp: Likewise.
1989 * gdb.opencl/convs_casts.cl: Likewise.
1990 * lib/opencl.exp: Likewise.
1991 * lib/opencl_hostapp.c: Likewise.
1992 * lib/opencl_kernel.cl: Likewise.
1993 * lib/cl_util.c: Likewise.
1994 * lib/cl_util.c: Likewise.
1995 * gdb.base/default.exp (set language): Add "opencl" to the list of
1996 languages.
1997
a9d5ef47
SW
19982010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1999
2000 * gdb.cp/overload.exp: Added test for inheritance overload.
2001 * gdb.cp/overload.cc: Ditto.
2002 * gdb.cp/oranking.exp: Removed releveant kfails.
2003
03eb1c79
JK
20042010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2005 Joel Brobecker <brobecker@adacore.com>
2006
2007 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2008 check test_compiler_info.
2009
dbc98a8b
KW
20102010-11-03 Ken Werner <ken.werner@de.ibm.com>
2011
2012 * gdb.base/gnu_vector.exp: Adjust expect messages.
2013
120bd360
KW
20142010-11-03 Ken Werner <ken.werner@de.ibm.com>
2015
2016 * gdb.base/gnu_vector.exp: Add unary operator tests.
2017
c37f7098
KW
20182010-11-03 Ken Werner <ken.werner@de.ibm.com>
2019
2020 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2021
7b51bc51
DE
20222010-11-02 Doug Evans <dje@google.com>
2023
2024 * gdb.python/py-pp-maint.c: New file.
2025 * gdb.python/py-pp-maint.exp: New file.
2026 * gdb.python/py-pp-maint.py: New file.
2027
50c97f38
TT
20282010-11-02 Tom Tromey <tromey@redhat.com>
2029
2030 * gdb.base/default.exp: Remove "scheme" from language list.
2031
a289b8f6
JK
20322010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2033
2034 Revert:
2035 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2036 * gdb.threads/sigstep-threads.exp: New file.
2037 * gdb.threads/sigstep-threads.c: New file.
2038
cd017491
MS
20392010-10-20 Michael Snyder <msnyder@vmware.com>
2040
2041 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2042
8e6a5956
UW
20432010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2044
2045 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2046 Skip test completely if gdb,no_hardware_watchpoints.
2047
2c04da0d
UW
20482010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2049
2050 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2051 strict, but do not check for any particular function name within libc.
2052
79afc5ef
SW
20532010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2054
2055 * gdb.cp/smartp.exp: New test.
2056 * gdb.cp/smartp.cc : New test.
2057
026ffab7
SW
20582010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2059
2060 * gdb.cp/converts.exp: Test pointer to bool conversion.
2061 Test pointer to long conversion.
2062 * gdb.cp/oranking.exp: Removed relevant kfail.
2063
3a772aa4
TT
20642010-10-18 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2067 argument to lazy_string.
2068 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2069 (pp_ls.to_string): Use it.
2070 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2071 Add "estring2" local.
2072
5fc3827b
JK
20732010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2074
2075 Fix s390x compatibility.
2076 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2077 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2078
8aeb23f3
JK
20792010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2080
2081 * gdb.threads/sigstep-threads.exp: New file.
2082 * gdb.threads/sigstep-threads.c: New file.
2083
c1e56572
JK
20842010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 * gdb.base/pie-execl.exp: New file.
2087 * gdb.base/pie-execl.c: New file.
2088
92163a10
JK
20892010-10-13 Doug Evans <dje@google.com>
2090 Jan Kratochvil <jan.kratochvil@redhat.com>
2091
2092 PR exp/12117
2093 * gdb.cp/ptype-cv-cp.cc: New file.
2094 * gdb.cp/ptype-cv-cp.exp: New file.
2095
7062b0a0
SW
20962010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2097
2098 * gdb.cp/converts.cc: New test program.
2099 * gdb.cp/converts.exp: New test.
2100 * gdb.cp/overload.exp: Added test for void* vs int*.
2101 * gdb.cp/overload.exp: Ditto.
2102 * gdb.cp/oranking.exp: Removed related kfail.
2103
0e3509db
DE
21042010-10-13 Doug Evans <dje@google.com>
2105
2106 * lib/gdb-python.exp (gdb_check_python_config): New function.
2107 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2108 * gdb.python/lib-types.cc: New file.
2109 * gdb.python/lib-types.exp: New file.
2110
8dc78533
JK
21112010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * gdb.python/py-error.exp: New file.
2114 * gdb.python/py-error.py: New file.
2115
93c17e06
JK
21162010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2119 gdb_test_multiple.
2120
d8b34041
JK
21212010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2124 * gdb.base/prelink.exp: Likewise.
2125 * gdb.base/solib-nodir.exp: Likewise.
2126 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2127 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2128 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2129
e0cc584e
UW
21302010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2131
2132 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2133 for the "info files" test to avoid timeouts on slow machines.
2134
cfc353b1
JK
21352010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2138 (main): Make openlib dummy call.
2139
d3d7896d
JK
21402010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2141
2142 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2143 * break-interp.exp (reach): Move the core body ...
2144 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2145 (test_ld): Provide always real argument, even to the linker. Replace
2146 dl_main by _dl_debug_state.
2147
5e533c94
JK
21482010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2149
2150 Fix results of prelinked PIEs on ppc*.
2151 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2152 Accept also DISPLACEMENT "PRESENT".
2153 (main): Replace "ZERO" displacements by "PRESENT".
2154
33540610
SW
21552010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2156
2157 * gdb.cp/oranking.exp: New test.
2158 * gdb.cp/oranking.cc: New test program.
2159
3bdf2bbd
KW
21602010-10-08 Ken Werner <ken.werner@de.ibm.com>
2161
2162 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2163 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2164
2f608a3a
KW
21652010-10-06 Ken Werner <ken.werner@de.ibm.com>
2166
2167 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2168 lush, lynx) New constant.
2169 * gdb.base/constvars.exp: Test const array types.
2170 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2171
aa2e2d8d
DE
21722010-10-06 Doug Evans <dje@google.com>
2173
2174 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2175 of syscall staging area.
2176
2844d6b5
KW
21772010-10-06 Ken Werner <ken.werner@de.ibm.com>
2178
2179 * gdb.base/gnu_vector.c: Add variable c4.
2180 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2181 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2182
7d8ac8bb
MR
21832010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2184
2185 * gdb.arch/altivec-abi.exp: Fix a typo.
2186
84a02e58
MR
21872010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2188
2189 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2190 to match a thread ID.
2191
b18e6318
JK
21922010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 Fix s390x testcase compatibility.
2195 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2196
a2c09bd0
DE
21972010-10-01 Doug Evans <dje@google.com>
2198
2199 * lib/gdb-python.exp: New file.
2200 * gdb.python/py-block.exp: Use it.
2201 * gdb.python/py-breakpoint.exp: Ditto.
2202 * gdb.python/py-frame.exp: Ditto.
2203 * gdb.python/py-inferior.exp: Ditto.
2204 * gdb.python/py-param.exp: Ditto.
2205 * gdb.python/py-prettyprint.exp: Ditto.
2206 * gdb.python/py-shared.exp: Ditto.
2207 * gdb.python/py-symbol.exp: Ditto.
2208 * gdb.python/py-symtab.exp: Ditto.
2209 * gdb.python/py-type.exp: Ditto.
2210 * gdb.python/py-value.exp: Ditto.
2211 * gdb.python/python.exp: Ditto.
2212
38f12cfc
TT
22132010-09-30 Tom Tromey <tromey@redhat.com>
2214
2215 * gdb.base/anon.exp: New file.
2216 * gdb.base/anon.c: New file.
2217
9ae8282d
TT
22182010-09-30 Tom Tromey <tromey@redhat.com>
2219
2220 * gdb.base/completion.exp: Test completion through anonymous
2221 union.
2222 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2223
e9e07ba6
JK
22242010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2225
2226 Fix printing parameters of inlined functions.
2227 * gdb.dwarf2/dw2-inline-param.exp: New file.
2228 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2229 * gdb.dwarf2/dw2-inline-param.S: New file.
2230
cd2effb2
JK
22312010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 PR corefiles/12071.
2234 * gdb.base/corefile.exp (quit with a process, no question: load core)
2235 (quit with a core file): New tests.
2236
bceffbf3
JK
22372010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2238
2239 Fix GDB crash on inferior calls with self-referencing classes.
2240 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2241 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2242 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2243
1736ad11
JK
22442010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2245
2246 Fix lost siginfo_t for inferior calls.
2247 * gdb.base/siginfo-infcall.exp: New file.
2248 * gdb.base/siginfo-infcall.c: New file.
2249
a176ad92
JB
22502010-09-22 Joel Brobecker <brobecker@adacore.com>
2251
2252 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2253
c2b0a229
JK
22542010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2257 New test.
2258 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2259
e8ae22d1
JB
22602010-09-22 Joel Brobecker <brobecker@adacore.com>
2261
2262 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2263 type of our const type.
2264
ec322823
SW
22652010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2266
2267 * gdb.cp/pr12028.cc: New.
2268 * gdb.cp/pr12028.exp: New.
2269
72929c62
JB
22702010-09-22 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2273
875b4ff5 22742010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2275 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2276
2277 PR mi/11407
2278 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2279 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2280 * gdb.mi/dw2-ref-missing-frame.S New File.
2281 * gdb.mi/dw2-ref-missing-frame.exp New File.
2282
7155d578
TT
22832010-09-14 Tom Tromey <tromey@redhat.com>
2284
2285 PR symtab/8399:
2286 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2287
515ed532
TT
22882010-09-14 Tom Tromey <tromey@redhat.com>
2289
2290 PR exp/11803:
2291 * gdb.threads/tls.exp: Use C++.
2292 (check_thread_local): Use K::another_thread_local.
2293 * gdb.threads/tls.c (class K): New.
2294 (another_thread_local): Now a member of K.
2295 (spin): Update. No longer K&R C.
2296
450ca57c
SW
22972010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2298
2299 * gdb.cp/koenig.cc: created class for testing member lookup.
2300 * gdb.cp/koenig.exp: Added test for member lookup.
2301
dbd492a3
JK
23022010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2303
2304 Fix false FAILs on sourcetree topdir directory containing "kill".
2305 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2306 source line matching regexp.
2307
8d4d924b
JK
23082010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2309
2310 * gdb.python/python.exp (set height 0, collect help from uiout)
2311 (verify help to uiout): New tests.
2312
8e64f2a0
JK
23132010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2314
2315 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2316 is_lp64_target to check 64bit target.
2317
4569eed2
JK
23182010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2319
2320 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2321 (test_ld) <powerpc64-*>: New.
2322
5e1617b1
DJ
23232010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2324
2325 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2326
c767944b
DJ
23272010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2328
2329 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2330 (FunctionArg::method): New function.
2331 (empty, arg): New variables.
2332 (main): Call arg.method.
2333 * gdb.cp/templates.exp (test_template_args): New function.
2334 (do_tests): Call it.
2335
27d3a3fc
UW
23362010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2337
2338 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2339 of "next" to proceed over pthread_exit call.
2340
55b7ce7f
UW
23412010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2342
2343 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2344 "maint print statistics" output to prevent expect timeouts.
2345
809df446
JK
23462010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2347
2348 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2349 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2350 (test_float_rejected): ... here.
2351 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2352 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2353 (test_float_rejected): ... here.
2354 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2355 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2356 (test_float_rejected): ... here.
2357 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2358 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2359 (test_float_rejected): ... here.
2360
8464be76
DJ
23612010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2362
2363 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2364 before disabling hardware watchpoints.
2365 (test_inaccessible_watchpoint): Check that hardware watchpoints
2366 are used. Test for watchpoints on a constant address.
2367
14dba4b4
JK
23682010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2369
2370 * gdb.base/ui-redirect.exp: New file.
2371
3f3540e1 23722010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2373 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2374
2375 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2376
0f254bb7
DE
23772010-08-31 Doug Evans <dje@google.com>
2378
2379 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2380
03f17ccf
TT
23812010-08-30 Tom Tromey <tromey@redhat.com>
2382
2383 PR python/11792:
2384 * gdb.python/py-value.exp (test_subscript_regression): Add
2385 dynamic_type test.
2386
640617ad
DJ
23872010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2388
2389 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2390 instead of running to main. Do not test the main function.
2391 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2392 Add new main.
2393
2ed91d1b
PA
23942010-08-26 Pedro Alves <pedro@codesourcery.com>
2395
2396 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2397 one test.
2398
673bfd45
DE
23992010-08-24 Doug Evans <dje@google.com>
2400
2401 PR symtab/11942
2402 * gdb.dwarf2/dw4-sig-types.cc: New file.
2403 * gdb.dwarf2/dw4-sig-types.h: New file.
2404 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2405 * gdb.dwarf2/dw4-sig-types.exp: New file.
2406
f9ffd4bb
TT
24072010-08-23 Tom Tromey <tromey@redhat.com>
2408
2409 PR python/11145:
2410 * gdb.python/py-value.c (Base, Derived): New types.
2411 (base): New global.
2412 * gdb.python/py-value.exp (test_subscript_regression): Add
2413 dynamic_cast test.
2414
d839c8a4
TT
24152010-08-23 Tom Tromey <tromey@redhat.com>
2416
2417 PR python/10676:
2418 * gdb.python/py-type.exp (test_fields): Add tests for type
2419 equality.
2420
702c2711
TT
24212010-08-23 Tom Tromey <tromey@redhat.com>
2422
2423 PR python/11915:
2424 * gdb.python/py-type.exp (test_fields): Add tests for array.
2425
832bafd3
KS
24262010-08-23 Keith Seitz <keiths@redhat.com>
2427
2428 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2429 have any children. Create a new abbrev for it.
2430 Add missing terminal sequence to .debug_abbrev.
2431
c37bf528
KS
24322010-08-20 Keith Seitz <keiths@redhat.com>
2433
2434 PR symtab/11465:
2435 * gdb.dwarf2/pr11465.exp: New test.
2436 * gdb.dwarf2/pr11465.S: New file.
2437 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2438 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2439
4572cbac
TJB
24402010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2441
2442 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2443 registers. Update data sets with the new v2_double element in the
2444 VSX register union. Add vector_register3_vr data set for the AltiVec
2445 registers. Use gdb_test_no_output instead of send_gdb.
2446
e7fbb131
PA
24472010-08-19 Pedro Alves <pedro@codesourcery.com>
2448
2449 * gdb.python/py-shared.exp: New file, factored out from
2450 python.exp.
2451 * gdb.python/py-shared.c: New file.
2452 * gdb.python/py-shared-sl.c: New file.
2453 * gdb.python/python-1.c: New file.
2454 * gdb.python/python-sl.c: Delete.
2455 * gdb.python/python.c: Mention python-1.c.
2456 * gdb.python/python.exp: Move shared library tests to
2457 py-shared.exp.
2458 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2459 (MISCELLANEOUS): New.
2460 (clean mostlyclean): Also remove $MISCELLANEOUS.
2461
d30f5e1f
DE
24622010-08-19 Doug Evans <dje@google.com>
2463
2464 PR exp/11926
2465 * gdb.base/printcmds.exp (test_float_accepted): New function.
2466 Move existing float tests there. Add tests for floats with suffixes.
2467 (test_float_rejected): New function.
2468 * gdb.java/jv-print.exp (test_float_accepted): New function.
2469 (test_float_rejected): New function.
2470 * gdb.objc/print.exp: New file.
2471 * gdb.pascal/print.exp: New file.
2472 * lib/objc.exp: New file.
2473
7b3fd859
PM
24742010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2475
2476 * gdb.base/default.exp (info set): Avoid full buffer error and force
2477 reading up to final gdb prompt.
2478 (show): Likewise.
2479
c92817ce
TT
24802010-08-18 Tom Tromey <tromey@redhat.com>
2481
2482 PR symtab/11919:
2483 * gdb.base/completion.exp: Add test.
2484
f1208f9e
DE
24852010-08-18 Doug Evans <dje@google.com>
2486
2487 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2488 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2489 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2490 Simplify, early exit if runto_main fails.
2491 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2492 (set_lang_fortran): Moved to lib/fortran.exp.
2493 * gdb.fortran/types.exp: load_lib fortran.exp.
2494 (set_lang_fortran): Moved to lib/fortran.exp.
2495 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2496 * gdb.java/jprint.exp (set_lang_java): Ditto.
2497 * gdb.java/jv-exp.exp: load_lib java.exp.
2498 If set_lang_java fails, issue a warning instead of failure to be
2499 consistent with other set_lang_foo uses.
2500 (set_lang_java): Moved to lib/java.exp.
2501 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2502 If set_lang_java fails, issue a warning instead of failure to be
2503 consistent with other set_lang_foo uses.
2504 * gdb.pascal/types.exp: load_lib pascal.exp.
2505 (set_lang_pascal): Moved to lib/pascal.exp.
2506 * lib/fortran.exp: New file.
2507 * lib/java.exp (set_lang_java): New function.
2508 * lib/pascal.exp (set_lang_pascal): New function.
2509
2f06b485
YQ
25102010-08-18 Yao Qi <yao@codesourcery.com
2511
2512 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2513 func_nofb_start and func_loopfb_start, so that address of functions
2514 is equal to these labels on Thumb.
2515
96e25403
YQ
25162010-08-18 Yao Qi <yao@codesourcery.com>
2517
2518 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2519 to reflect latest c source file.
2520
36e6adc4
JK
25212010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.cp/infcall-dlopen.exp: New file.
2524 * gdb.cp/infcall-dlopen.cc: New file.
2525 * gdb.cp/infcall-dlopen-lib.cc: New file.
2526
f431efe5
PA
25272010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2528 Pedro Alves <pedro@codesourcery.com>
2529
2530 PR breakpoints/11371
2531
2532 * gdb.base/watch-cond-infcall.exp: New file.
2533 * gdb.base/watch-cond-infcall.c: New file.
2534
06a64a0b
TT
25352010-08-16 Tom Tromey <tromey@redhat.com>
2536
2537 * gdb.base/help.exp: Update.
2538 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2539 watchpoint.
2540 (test_watch_location): New proc.
2541 (test_watchpoint_in_big_blob): Delete watchpoint.
2542 * gdb.base/watchpoint.c (func5): New function.
2543 (main): Call it.
2544
70ebf4ed
DE
25452010-08-16 Doug Evans <dje@google.com>
2546
2547 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2548
ca5c20b6
PM
25492010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2550
2551 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2552 tests.
2553
7346b668
KW
25542010-08-11 Ken Werner <ken.werner@de.ibm.com>
2555
2556 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2557 * gdb.base/gnu_vector.c: New File.
2558 * gdb.base/gnu_vector.exp: Likewise.
2559
cb2e07a6
PM
25602010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2561
2562 * gdb.python/python.c: New File.
2563 * gdb.python/python-sl.c: New File.
2564 * gdb.python/python.exp: Test solib_address and decode_line
2565 * functions.
2566
5da1313b
JK
25672010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2568
2569 * gdb.python/python.exp (show height, set height 10)
2570 (verify pagination beforehand, verify pagination beforehand: q)
2571 (gdb.execute does not page, verify pagination afterwards)
2572 (verify pagination afterwards: q): New.
2573
49c3ccf7
DE
25742010-08-02 Doug Evans <dje@google.com>
2575
2576 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2577 because of an older gcc, change test2
2578 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2579 to unsupported.
2580
42c0c4f1
KH
25812010-07-30 Kazu Hirata <kazu@codesourcery.com>
2582
2583 * gdb.base/break-always.exp: Do not expect full paths to file
2584 names.
2585 * gdb.base/commands.exp: Likewise.
2586
d3765805
DE
25872010-07-30 Doug Evans <dje@google.com>
2588
c98ee71b
DE
2589 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2590 xfail them when run with older gccs.
2591
fd961404
DE
2592 * lib/gdb.exp (build_executable): Forward "c++" option to
2593 get_compiler_info.
2594
999adef4
DE
2595 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2596 "python print ttype.template_argument(1)" and
2597 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2598 if using gcc 4.4 or earlier.
2599
d3765805
DE
2600 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2601 attach-to-debugger handling.
2602
1276c759
JK
26032010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2606 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2607 (main): Use copyreloc.
2608 * gdb.base/prelink.exp (split debug of executable)
2609 (.dynbss vs. .bss address shift): New tests.
2610
88caa9b9
PA
26112010-07-29 Pedro Alves <pedro@codesourcery.com>
2612
2613 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2614 in gdb_test_multiple.
2615
c6f2ac43
PA
26162010-07-29 Pedro Alves <pedro@codesourcery.com>
2617
2618 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2619 environment.
2620
326fd672
TT
26212010-07-28 Tom Tromey <tromey@redhat.com>
2622
2623 PR python/11060:
2624 * gdb.python/py-type.c (Temargs): New template.
2625 (temvar): New variable.
2626 * gdb.python/py-type.exp (test_template): New proc.
2627
3ce3b1ba
PA
26282010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2629
2630 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2631 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2632
34eaf542
TT
26332010-07-28 Tom Tromey <tromey@redhat.com>
2634
2635 PR c++/9946:
2636 * gdb.cp/temargs.exp: New file.
2637 * gdb.cp/temargs.cc: New file.
2638
d41b819e
JK
26392010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2640
2641 * gdb.base/help.exp (help disassemble): Update the content.
2642
26ab7092
JK
26432010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.threads/ia64-sigill.exp: New file.
2646 * gdb.threads/ia64-sigill.c: New file.
2647
5283e9e1
TT
26482010-07-27 Tom Tromey <tromey@redhat.com>
2649
2650 * gdb.opt/inline-cmds.c (ATTR): New define.
2651 (func1): Use it.
2652 (func2): Likewise.
2653 (func3): Likewise.
2654 (outer_inline1): Likewise.
2655 (outer_inline2): Likewise.
2656 * gdb.opt/inline-bt.c (ATTR): New define.
2657 (func1): Use it.
2658 (func2): Likewise.
2659 * gdb.opt/inline-locals.c (ATTR): New define.
2660 (func1): Use it.
2661 (func2): Likewise.
2662
e992ef73
TT
26632010-07-27 Tom Tromey <tromey@redhat.com>
2664
2665 * gdb.stabs/gdb11479.c (hack): New function.
2666 (test): Use it.
2667 (test2): Use it.
2668 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2669 (int32_search_buf, int64_search_buf): No longer static.
2670 (x): Remove.
2671 * gdb.base/relocate.c (hack): New function.
2672
5374244e
PM
26732010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2674
2675 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2676 * gdb.python/py-value.c (func1): New function.
2677 (func2): Likewise.
2678
a99aee83
CV
26792010-07-26 Corinna Vinschen <vinschen@redhat.com>
2680
2681 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2682 as not to clash with .data section.
2683
a04ba985
JG
26842010-07-26 Jerome Guitton <guitton@adacore.com>
2685
2686 * gdb.base/code_elim.exp: New file.
2687 * gdb.base/code_elim1.c: New file.
2688 * gdb.base/code_elim2.c: New file.
2689
23bd0f7c
PA
26902010-07-21 Pedro Alves <pedro@codesourcery.com>
2691
2692 PR symtab/11827
2693
2694 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2695 (some_volatile_enum): New variable.
2696 * gdb.base/printcmds.exp (test_print_enums): New.
2697 <top level>: Call it.
2698
883df6dd
SW
26992010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2700
2701 * gdb.cp/fpointer.cc: New test.
2702 * gdb.cp/fpointer.exp: New test.
2703
569b05a5
JK
27042010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2705
2706 * gdb.base/solib-nodir.exp: New file.
2707 * lib/gdb.exp (runto): New case for a GDB internal error.
2708
51d7d803
JK
27092010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2710 Ulrich Weigand <uweigand@de.ibm.com>
2711 Tom Tromey <tromey@redhat.com>
2712
2713 * gdb.base/charset-malloc.c: New file.
2714 * gdb.base/charset.c (malloc_stub): New prototype.
2715 (main): Call it instead of malloc itself.
2716 * gdb.base/charset.exp: Use only prepare_for_testing.
2717 (binfile): Remove the variable.
2718
c0edd9ed
JK
27192010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 Make core files the process_stratum.
2722 * gdb.base/corefile.exp (run: load core again)
2723 (run: sanity check we see the core file, run: with core)
2724 (run: core file is cleared, attach: load core again)
2725 (attach: sanity check we see the core file, attach: with core)
2726 (attach: core file is cleared): New tests.
2727 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2728
3cbaedff
KW
27292010-07-14 Ken Werner <ken.werner@de.ibm.com>
2730
2731 * gdb.arch/altivec-abi.exp: New tests.
2732
91158a56
TT
27332010-07-13 Tom Tromey <tromey@redhat.com>
2734
2735 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2736 (main): Use it.
2737 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2738
0f5238ed
TT
27392010-07-13 Tom Tromey <tromey@redhat.com>
2740
2741 * gdb.base/label.exp: New file.
2742 * gdb.base/label.c: New file.
2743
add265ae
L
27442010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2745 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 * lib/gdb.exp (is_ilp32_target): New.
2748 (is_lp64_target): Likewise.
2749
2750 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2751 target.
2752 * gdb.arch/amd64-disp-step.exp: Likewise.
2753 * gdb.arch/amd64-dword.exp: Likewise.
2754 * gdb.arch/amd64-i386-address.exp: Likewise.
2755 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2756
add265ae
L
2757 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2758 target.
2759 * gdb.arch/i386-bp_permanent.exp: Likewise.
2760 * gdb.arch/i386-byte.exp: Likewise.
2761 * gdb.arch/i386-disp-step.exp: Likewise.
2762 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2763 * gdb.arch/i386-prologue.exp: Likewise.
2764 * gdb.arch/i386-size-overlap.exp: Likewise.
2765 * gdb.arch/i386-size.exp: Likewise.
2766 * gdb.arch/i386-sse.exp: Likewise.
2767 * gdb.arch/i386-unwind.exp: Likewise.
2768 * gdb.arch/i386-word.exp: Likewise.
2769
2770 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2771 test only when building 64-bit executables. Do not hard-code
2772 -m64 option.
2773
2dfb8c17
DE
27742010-07-07 Doug Evans <dje@google.com>
2775
2776 * lib/gdb.exp (gdb_test_list_exact): New function.
2777 * gdb.base/default.exp (show convenience): Call it, add tests for
2778 $_sdata = void, $_thread = 0.
2779
4e5799b6
JK
27802010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2781 Joel Brobecker <brobecker@adacore.com>
2782
2783 Fix re-run of PIE executable, PR shlibs/11776.
2784 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2785 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2786 and re-"run" of the inferior.
2787
1a219cc7
JK
27882010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2789 Joel Brobecker <brobecker@adacore.com>
2790
2791 Cope with missing /usr/sbin/prelink.
2792 * lib/prelink-support.exp (prelink_no):
2793 <result == 1 && $output is "no such file or directory">: New.
2794 (prelink_yes): Likewise. Return on failed prelink_no.
2795
5e3b36f8
JK
27962010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2797 Joel Brobecker <brobecker@adacore.com>
2798
2799 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2800 build_executable by build_executable_own_libs. Replace "prelink -R"
2801 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2802 change.
2803 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2804 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2805 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2806 Replace build_executable by build_executable_own_libs's function
2807 build_executable_own_libs.
2808 (prelinkNO): Create new stub to call prelink_no.
2809 (prelinkYES): Create new stub to call prelink_yes.
2810 (test_attach): Rename calls of copy to file_copy.
2811 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2812 (copy): Move to ...
2813 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2814 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2815 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2816 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2817 special flags by gdb_compile_shlib. Replace second gdb_compile by
2818 build_executable_own_libs. Replace "prelink -R" execution by a call of
2819 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2820 a second call of prelink_yes. Replace restart commands by
2821 clean_restart.
2822 (prelink): Rename to ...
2823 (seen displacement message): ... this test. Extend its expectation
2824 strictness.
2825
86e4bafc
JK
28262010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2829 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2830 displacement message exactly once.
2831
3cd07d20
JK
28322010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2833 Joel Brobecker <brobecker@adacore.com>
2834
2835 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2836 its restore after the <$relink_args != ""> loop. new comment.
2837
0a1e94c7
JK
28382010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2839 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2842 code for it. New variable relink_args.
2843 (prelinkYES): Call prelinkNO.
2844 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2845 in such case. Move the core code to ...
2846 (test_attach_gdb): ... a new function. Send GDB command "file".
2847 Extend expected "Attaching to " string.
2848
2f70bcfb
TT
28492010-07-02 Tom Tromey <tromey@redhat.com>
2850
2851 * gdb.base/bitops.exp: Remove extraneous "pass".
2852
a17ac5b0
TT
28532010-07-02 Ken Werner <ken.werner@de.ibm.com>
2854
2855 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2856
dc10affe
PA
28572010-07-01 Pedro Alves <pedro@codesourcery.com>
2858
d41c0fc8
PA
2859 * gdb.base/help.exp: Adjust expected output.
2860
28612010-07-01 Pedro Alves <pedro@codesourcery.com>
2862
2863 * gdb.base/help.exp: Adjust expected output.
dc10affe 2864
0a600c36
JK
28652010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2866
2867 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2868 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2869 c++/11702.
2870
37cc8bfe
JK
28712010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2872 Doug Evans <dje@google.com>
2873
2874 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2875 add .dynamic entry'.
2876
254e6b9e
DE
28772010-06-29 Doug Evans <dje@google.com>
2878
2879 Test PR c++/11702.
2880 * gdb.cp/m-static.exp: Add testcase.
2881 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2882
595939de 28832010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2884 Tom Tromey <tromey@redhat.com>
2885 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2886
2887 * gdb.python/py-inferior.c: New File.
2888 * gdb.python/py-infthread.c: New File.
2889 * gdb.python/py-inferior.exp: New File.
2890 * gdb.python/py-infthread.exp: New File.
2891
98751a41
JK
28922010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2893
2894 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2895 (ptype ::C::OtherFileClass typedefs): New.
2896 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2897 (C::OtherFileClass::cOtherFileClassVar2): New.
2898 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2899 cOtherFileClassVar2.
2900 (C::cOtherFileType2, C::cOtherFileVar2): New.
2901 (C::cOtherFileVar_use): use also cOtherFileVar2.
2902 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2903
41f62f39
JK
29042010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2907 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2908 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2909 (print ::C::cOtherFileVar)
2910 (whatis C::OtherFileClass::cOtherFileClassType)
2911 (whatis ::C::OtherFileClass::cOtherFileClassType)
2912 (print C::OtherFileClass::cOtherFileClassVar)
2913 (print ::cOtherFileClassVar)
2914 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2915 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2916 trailing content.
2917 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2918 (C::OtherFileClass::cOtherFileClassVar)
2919 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2920 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2921
af53d231
JK
29222010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2923
2924 Test PR c++/11703 and PR gdb/1448.
2925 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2926 gdb/1448.
2927
9655fd1a
JK
29282010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2931 (main) <rtti_data>: New.
2932 * gdb.cp/virtbase.exp (print rtti_data): New.
2933
824cc8dd
JK
29342010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2935 Joel Brobecker <brobecker@adacore.com>
2936
2937 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2938
6036c742
JK
29392010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2940
2941 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2942
de6a0421
DE
29432010-06-28 Doug Evans <dje@google.com>
2944
2945 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2946
b2dae948
DE
29472010-06-27 Doug Evans <dje@google.com>
2948
2949 * gdb.cp/m-static.exp: Update expected test output.
2950
0f3bb72e
PH
29512010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2952
889bf7c5
PA
2953 * gdb.gdb/selftest.exp: Adjust expected message for
2954 capturing start-up runtime.
0f3bb72e 2955
bc9f0842
TT
29562010-06-25 Tom Tromey <tromey@redhat.com>
2957
2958 PR python/10808:
2959 * gdb.python/python.exp: Add new tests.
2960
099ef718
SW
29612010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2962
2963 * gdb.cp/operator.cc: Created an import loop.
2964 * gdb.cp/operator.exp: Added testcase for import loop.
2965
5868a632
JK
29662010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 Test PR python/11407.
2969 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2970 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2971 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2972 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2973 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2974 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2975 binfile. Call gdb_compile with clean_restart twice.
2976 (func_nofb print, func_nofb backtrace, func_loopfb print)
2977 (func_loopfb backtrace): New.
2978
af76db58
JK
29792010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2982 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2983 by a hand made one.
2984 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2985 i?86 requirement. Remove variables srcfile and binfile. New variable
2986 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2987
f2c7657e
UW
29882010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2989
2990 * gdb.cell/dwarfaddr.exp: New file.
2991 * gdb.cell/dwarfaddr.S: New file.
2992
628fe4e4
JK
29932010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2994
2995 Test PR 9436.
2996 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2997
f1421989
HZ
29982010-06-24 Hui Zhu <teawater@gmail.com>
2999
3000 * gdb.base/eval.exp: New file.
3001
d03285ec
UW
30022010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3003
3004 * gdb.cell/fork.exp: New file.
3005 * gdb.cell/fork.c: Likewise.
3006 * gdb.cell/fork-spu.c: Likewise.
3007
41b2c92d
PM
30082010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3009
3010 * lib/gdb.exp (banned_variables_traced): New global variable.
3011 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3012 (gdb_init): Use `trace add variable' instead of obsolete
3013 `trace variable'.
3014
d5bc977f
DE
30152010-06-21 Doug Evans <dje@google.com>
3016
3017 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3018
d2ed6730
UW
30192010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3020
3021 * gdb.arch/spu-ls.exp: New file.
3022 * gdb.arch/spu-ls.c: Likewise.
3023
6aed2dbc
SS
30242010-06-18 Stan Shebs <stan@codesourcery.com>
3025
3026 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3027
e0756905
UW
30282010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3029
3030 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3031 * gdb.base/watch-cond.exp: Likewise.
3032 * gdb.python/py-breakpoint.exp: Likewise.
3033
d8053d4d
PA
30342010-06-18 Pedro Alves <pedro@codesourcery.com>
3035
3036 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3037 clean_restart, make sure every test has a distinct message, and
3038 that messages don't include the executable' full path.
3039
81ce510c
DE
30402010-06-17 Doug Evans <dje@google.com>
3041
3042 * gdb.arch/i386-size.exp: Updated expected output for
3043 DISASSEMBLY_OMIT_FNAME.
3044
65d79d4b
SDJ
30452010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3046 Sergio Durigan Junior <sergiodj@redhat.com>
3047
3048 * gdb.base/watch-notconst.c: New file.
3049 * gdb.base/watch-notconst.S: New file.
3050 * gdb.base/watch-notconst2.c: New file.
3051 * gdb.base/watch-notconst2.S: New file.
3052 * gdb.base/watch-notconst.exp: New file.
3053 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3054 (func4): Add operations on `global_ptr_ptr'.
3055 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3056 routine to test watchpoints created with a constant expression.
3057 (test_inaccessible_watchpoint): Include tests for watchpoints
3058 created with a constant expression.
3059
df0f4836
KB
30602010-06-14 Kevin Buettner <kevinb@redhat.com>
3061
3062 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3063 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3064 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3065 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3066 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3067 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3068 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3069 of `_start'.
3070
b769def5
UW
30712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3072
3073 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3074 not supported on the target.
3075 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3076 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3077 * gdb.mi/mi-nsintrall.exp: Likewise.
3078 * gdb.mi/mi-nsmoribund.exp: Likewise.
3079 * gdb.mi/mi-nsthrexec.exp: Likewise.
3080
d914c394
SS
30812010-06-11 Stan Shebs <stan@codesourcery.com>
3082
3083 * gdb.base/permissions.exp: New file.
3084
30852010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3086
3087 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3088 does not support ELF executable class.
3089
f3ce5b9c
UW
30902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3091
3092 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3093
8e46892c
JK
30942010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3095
3096 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3097 (runto): Catch "The target does not support running in non-stop mode.".
3098
6cc55c64
MS
30992010-06-11 Michael Snyder <msnyder@vmware.com>
3100
3101 * gdb.base/setshow.exp (set language asm): Don't use
3102 gdb_test_no_output, fails on some targets.
3103
caddefa4
UW
31042010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3105
3106 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3107 * gdb.cp/pr9167.exp: Likewise.
3108
468b1aa7
UW
31092010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3110
3111 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3112
5c3552dc
UW
31132010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3114
3115 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3116
02e6fe6a
UW
31172010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3118
3119 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3120
0e03807e
TT
31212010-06-11 Tom Tromey <tromey@redhat.com>
3122
3123 PR gdb/9977, PR exp/11636::
3124 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3125 (pieces_test_f6): Update expected output.
3126
2bdf28a0
JK
31272010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3128
3129 * gdb.base/moribund-step.exp: New.
3130
f6978de9
MS
31312010-06-08 Michael Snyder <msnyder@vmware.com>
3132
3133 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3134 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3135 * gdb.ada/frame_args.exp: Ditto.
3136 * gdb.ada/lang_switch.exp: Ditto.
3137 * gdb.ada/ptype_arith_binop.exp: Ditto.
3138 * gdb.ada/ref_param.exp: Ditto.
3139 * gdb.ada/type_coercion.exp:Ditto.
3140
3141 * gdb.asm/asm-source.exp: Ditto.
3142
3143 * gdb.base/attach.exp: Ditto.
3144 * gdb.base/bitfields2.exp: Ditto.
3145 * gdb.base/call-signal-resume.exp: Ditto.
3146 * gdb.base/callfuncs.exp: Ditto.
3147 * gdb.base/commands.exp: Ditto.
3148 * gdb.base/dbx.exp: Ditto.
3149 * gdb.base/default.exp: Ditto.
3150 * gdb.base/dump.exp: Ditto.
3151 * gdb.base/exprs.exp: Ditto.
3152 * gdb.base/freebpcmd.exp: Ditto.
3153 * gdb.base/interrupt.exp: Ditto.
3154 * gdb.base/list.exp: Ditto.
3155 * gdb.base/long_long.exp: Ditto.
3156 * gdb.base/maint.exp: Ditto.
3157 * gdb.base/ptype.exp: Ditto.
3158 * gdb.base/return.exp: Ditto.
3159 * gdb.base/setshow.exp: Ditto.
3160 * gdb.base/sigbpt.exp: Ditto.
3161 * gdb.base/sigrepeat.exp: Ditto.
3162
3163 * gdb.cp/classes.exp: Ditto.
3164
3165 * gdb.dwarf2/dw2-restore.exp: Ditto.
3166
3167 * gdb.gdb/selftest.exp: Ditto.
3168
3169 * gdb.multi/base.exp: Ditto.
3170 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3171
3172 * gdb.python/py-block.exp: Ditto.
3173 * gdb.python/py-prettyprint.exp: Ditto.
3174 * gdb.python/py-template.exp: Ditto.
3175
3176 * gdb.server/ext-attach.exp: Ditto.
3177 * gdb.server/ext-run.exp: Ditto.
3178 * gdb.server/server-mon.exp: Ditto.
3179
3180 * gdb.threads/fork-thread-pending.exp: Ditto.
3181 * gdb.threads/hand-call-in-threads.exp: Ditto.
3182 * gdb.threads/interrupted-hand-call.exp: Ditto.
3183 * gdb.threads/linux-dp.exp: Ditto.
3184 * gdb.threads/manythreads.exp: Ditto.
3185 * gdb.threads/print-threads.exp: Ditto.
3186 * gdb.threads/pthreads.exp: Ditto.
3187 * gdb.threads/schedlock.exp: Ditto.
3188 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3189 * gdb.threads/threadapply.exp: Ditto.
3190
de7ff789
MS
31912010-06-08 Michael Snyder <msnyder@vmware.com>
3192
889bf7c5 3193 * gdb.ada/exec_changed.exp:
de7ff789
MS
3194 Use ".*" instead of "" as wildcard regexp.
3195
3196 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3197 * gdb.base/call-ar-st.exp: Ditto.
3198 * gdb.base/checkpoint.exp: Ditto.
3199 * gdb.base/default.exp: Ditto.
3200 * gdb.base/dump.exp: Ditto.
3201 * gdb.base/ending-run.exp: Ditto.
3202 * gdb.base/fileio.exp: Ditto.
3203 * gdb.base/miscexprs.exp: Ditto.
3204 * gdb.base/pointers.exp: Ditto.
3205 * gdb.base/readline.exp: Ditto.
3206 * gdb.base/reread.exp: Ditto.
3207 * gdb.base/restore.exp: Ditto.
3208 * gdb.base/shlib-call.exp: Ditto.
3209 * gdb.base/valgrind-db-attach.exp: Ditto.
3210 * gdb.base/volatile.exp: Ditto.
3211 * gdb.base/watchpoints.exp: Ditto.
3212
3213 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3214
3215 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3216 * gdb.python/py-value.exp: Ditto.
3217
3218 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3219 * gdb.trace/circ.exp: Ditto.
3220 * gdb.trace/collection.exp: Ditto.
3221 * gdb.trace/packetlen.exp: Ditto.
3222 * gdb.trace/passc-dyn.exp: Ditto.
3223 * gdb.trace/report.exp: Ditto.
3224 * gdb.trace/tfile.exp: Ditto.
3225 * gdb.trace/tfind.exp: Ditto.
3226 * gdb.trace/while-dyn.exp: Ditto.
3227
3bebe2f2
JK
32282010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3229
3230 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3231
5c631832
JK
32322010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 Test PR 10640.
3235 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3236
4c3376c8
SW
32372010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3238
3239 * gdb.cp/koenig.exp: Test for ADL operators.
3240 * gdb.cp/koenig.cc: Added ADL operators.
3241 * gdb.cp/operator.exp: New test.
3242 * gdb.cp/operator.cc: New test.
3243
dc226d5a
MS
32442010-06-04 Michael Snyder <msnyder@vmware.com>
3245
dfb88a23
MS
3246 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3247 * gdb.base/pending.exp: Ditto.
f7ae76b3 3248
dc226d5a
MS
3249 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3250
967cf477
DE
32512010-06-04 Doug Evans <dje@google.com>
3252
3253 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3254 disabled printers.
3255 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3256 (enable_lookup_function): New function.
3257
eb801841
TT
32582010-06-04 Tom Tromey <tromey@redhat.com>
3259
3260 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3261 of hash and id.
3262
38979823
JK
32632010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3264
3265 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3266 newline.
3267 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3268 (empty verbose non-noisy clear, empty verbose noisy clear)
3269 (empty non-verbose noisy clear): Likewise.
3270
35ec993f
MS
32712010-06-03 Michael Snyder <msnyder@vmware.com>
3272
3273 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3274 * gdb.base/display.exp: Ditto.
3275 * gdb.base/find.exp: Ditto.
3276 * gdb.base/ifelse.exp: Ditto.
3277 * gdb.base/multi-forks.exp: Ditto.
3278 * gdb.base/recurse.exp: Ditto.
3279 * gdb.base/setshow.exp: Ditto.
3280 * gdb.base/value-double-free.exp: Ditto.
3281 * gdb.base/watch-vfork.exp: Ditto.
3282 * gdb.base/watch_thread_num.exp: Ditto.
3283 * gdb.base/watchpoint-solib.exp: Ditto.
3284 * gdb.base/watchpoint.exp: Ditto.
3285 * gdb.base/watchpoints.exp: Ditto.
3286
3287 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3288 * gdb.cp/overload.exp: Ditto.
3289 * gdb.cp/virtfunc.exp: Ditto.
3290
3291 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3292
889bf7c5 3293 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3294 Replace gdb_test with gdb_test_no_output.
3295
889bf7c5 3296 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3297 Replace gdb_test with gdb_test_no_output.
3298 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3299 * gdb.threads/watchthreads.exp: Ditto.
3300 * gdb.threads/watchthreads2.exp: Ditto.
3301
3302 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3303 * gdb.trace/tfind.exp: Ditto.
3304
c22decce
JB
33052010-06-03 Joel Brobecker <brobecker@adacore.com>
3306
3307 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3308 successful test if message is the empty string.
3309
fd5700c7
JK
33102010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3311
3312 * gdb.fortran/module.exp (stopped language detection): New test.
3313
f55ee35c
JK
33142010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3315
3316 Support DW_TAG_module as separate namespaces.
3317 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3318 gdb.fortran/library-module-lib.f90: New.
3319 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3320 (print i): Remove.
3321 (continue to breakpoint: i-is-1, print var_i value 1)
3322 (continue to breakpoint: i-is-2, print var_i value 2)
3323 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3324 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3325 (complete `modmany, complete `modmany`, complete `modmany`var)
3326 (show language, setting breakpoint at module): New tests.
3327 * gdb.fortran/module.f90 (module mod): Remove.
3328 (module mod1, module mod2, module modmany, subroutine sub1)
3329 (subroutine sub2, program module): New.
3330
b8e8282f
JK
33312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3332
3333 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3334 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3335 * gdb.cp/anon-union.exp (pass): Rename to ...
3336 (print z 2): ... here.
b8e8282f 3337
019ebafc
MS
33382010-06-02 Michael Snyder <msnyder@vmware.com>
3339
e68d8fd4
MS
3340 * gdb.trace/actions.exp: Use gdb_test_no_output.
3341 * gdb.trace/circ.exp: Ditto.
3342 * gdb.trace/packetlen.exp: Ditto.
3343 * gdb.trace/save-trace.exp: Ditto.
3344 * gdb.trace/tracecmd.exp: Ditto.
3345 * gdb.trace/tsv.exp: Ditto.
3346
12b5d08a
MS
3347 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3348 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3349 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3350 * gdb.threads/manythreads.exp: Ditto.
3351 * gdb.threads/print-threads.exp: Ditto.
3352 * gdb.threads/pthreads.exp: Ditto.
3353 * gdb.threads/schedlock.exp: Ditto.
3354 * gdb.threads/staticthreads.exp: Ditto.
3355 * gdb.threads/thread-specific.exp: Ditto.
3356 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3357 * gdb.threads/threadapply.exp: Ditto.
3358 * gdb.threads/watchthreads.exp: Ditto.
3359 * gdb.threads/watchthreads2.exp: Ditto.
3360
89493308
MS
3361 * gdb.python/py-block.exp: Use gdb_test_no_output.
3362 * gdb.python/py-prettyprint.exp: Ditto.
3363 * gdb.python/py-template.exp: Ditto.
3364 * gdb.python/py-value.exp: Ditto.
3365
3366 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3367 * gdb.reverse/watch-reverse.exp: Ditto.
3368
3369 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3370 * gdb.server/ext-run.exp: Ditto.
3371
019ebafc
MS
3372 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3373 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3374 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3375 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3376 * gdb.dwarf2/dw2-producer.exp: Ditto.
3377 * gdb.dwarf2/mac-fileno.exp: Ditto.
3378
3379 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3380 * gdb.gdb/selftest.exp: Ditto.
3381
3382 * gdb.multi/base.exp: Use gdb_test_no_output.
3383
3384 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3385
3e0ca3a5
JK
33862010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3387
3388 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3389
9db70545
MS
33902010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3391
a8d52276
MS
3392 * gdb.cp/class2.exp: Use gdb_test_no_output.
3393 * gdb.cp/classes.exp: Ditto.
3394 * gdb.cp/extern-c.exp: Ditto.
3395 * gdb.cp/inherit.exp: Ditto.
3396 * gdb.cp/maint.exp: Ditto.
3397 * gdb.cp/mb-inline.exp: Ditto.
3398 * gdb.cp/mb-templates.exp: Ditto.
3399 * gdb.cp/method2.exp: Ditto.
3400 * gdb.cp/misc.exp: Ditto.
3401 * gdb.cp/ovldbreak.exp: Ditto.
3402 * gdb.cp/punctuator.exp: Ditto.
3403 * gdb.cp/templates.exp: Ditto.
3404 * gdb.cp/virtbase.exp: Ditto.
3405
889bf7c5 3406 * gdb.threads/attach-stopped.exp:
9db70545 3407 Replace uses of send_gdb / gdb_expect.
889bf7c5 3408 * gdb.threads/attachstop-mt.exp:
9db70545 3409 Replace uses of send_gdb / gdb_expect.
889bf7c5 3410 * gdb.threads/gcore-thread.exp:
9db70545 3411 Replace uses of send_gdb / gdb_expect.
889bf7c5 3412 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3413 Replace uses of send_gdb / gdb_expect.
3414 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3415 * gdb.threads/print-threads.exp:
9db70545
MS
3416 Replace uses of send_gdb / gdb_expect.
3417 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3418 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3419 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3420
3421 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3422 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3423 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3424 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3425 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3426 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3427 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3428 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3429 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3430 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3431 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3432
359cc68c
JK
34332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3434
3435 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3436
7d3fe98e
SW
34372010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3438
3439 * gdb.cp/koenig.exp: Added new test case.
3440 * gdb.cp/koenig.cc: Ditto.
3441
27d3a1a2
MS
34422010-06-01 Michael Snyder <msnyder@vmware.com>
3443
3444 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3445 * gdb.base/arrayidx.exp: Ditto.
3446 * gdb.base/attach.exp: Ditto.
3447 * gdb.base/auxv.exp: Ditto.
3448 * gdb.base/bigcre.exp: Ditto.
3449 * gdb.base/break-always.exp: Ditto.
3450 * gdb.base/break-interp.exp: Ditto.
3451 * gdb.base/break.exp: Ditto.
3452 * gdb.base/breakpoint-shadow.exp: Ditto.
3453 * gdb.base/call-ar-st.exp: Ditto.
3454 * gdb.base/call-sc.exp: Ditto.
3455 * gdb.base/call-signal-resume.exp: Ditto.
3456 * gdb.base/callfuncs.exp: Ditto.
3457 * gdb.base/catch-syscall.exp: Ditto.
3458 * gdb.base/charset.exp: Ditto.
3459 * gdb.base/code-expr.exp: Ditto.
3460 * gdb.base/commands.exp: Ditto.
3461 * gdb.base/cond-expr.exp: Ditto.
3462 * gdb.base/condbreak.exp: Ditto.
3463 * gdb.base/cursal.exp: Ditto.
3464 * gdb.base/cvexpr.exp: Ditto.
3465 * gdb.base/default.exp: Ditto.
3466 * gdb.base/del.exp: Ditto.
3467 * gdb.base/detach.exp: Ditto.
3468 * gdb.base/display.exp: Ditto.
3469 * gdb.base/ena-dis-br.exp: Ditto.
3470 * gdb.base/eval-skip.exp: Ditto.
3471 * gdb.base/foll-fork.exp: Ditto.
3472 * gdb.base/foll-vfork.exp: Ditto.
3473 * gdb.base/frame-args.exp: Ditto.
3474 * gdb.base/funcargs.exp: Ditto.
3475 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3476 * gdb.base/gdbvars.exp: Ditto.
3477 * gdb.base/help.exp: Ditto.
3478 * gdb.base/ifelse.exp: Ditto.
3479 * gdb.base/included.exp: Ditto.
3480 * gdb.base/list.exp: Ditto.
3481 * gdb.base/macscp.exp: Ditto.
3482 * gdb.base/maint.exp: Ditto.
3483 * gdb.base/multi-fork.exp: Ditto.
3484 * gdb.base/overlays.exp: Ditto.
3485 * gdb.base/page.exp: Ditto.
3486 * gdb.base/pending.exp: Ditto.
3487 * gdb.base/pointers.exp: Ditto.
3488 * gdb.base/pr11022.exp: Ditto.
3489 * gdb.base/prelink.exp: Ditto.
3490 * gdb.base/printcmds.exp: Ditto.
3491 * gdb.base/psymtab.exp: Ditto.
3492 * gdb.base/randomize.exp: Ditto.
3493 * gdb.base/relational.exp: Ditto.
3494 * gdb.base/relocate.exp: Ditto.
3495 * gdb.base/remote.exp: Ditto.
3496 * gdb.base/sepdebug.exp: Ditto.
3497 * gdb.base/set-lang-auto.exp: Ditto.
3498 * gdb.base/setshow.exp: Ditto.
3499 * gdb.base/setvar.exp: Ditto.
3500 * gdb.base/signals.exp: Ditto.
3501 * gdb.base/signull.exp: Ditto.
3502 * gdb.base/sigstep.exp: Ditto.
3503 * gdb.base/sizeof.exp: Ditto.
3504 * gdb.base/solib-disc.exp: Ditto.
3505 * gdb.base/store.exp: Ditto.
3506 * gdb.base/structs.exp: Ditto.
3507 * gdb.base/structs2.exp: Ditto.
3508 * gdb.base/subst.exp: Ditto.
3509 * gdb.base/term.exp: Ditto.
3510 * gdb.base/trace-commands.exp: Ditto.
3511 * gdb.base/unwindonsignal.exp: Ditto.
3512 * gdb.base/valgrind-db-attach.exp: Ditto.
3513 * gdb.base/varargs.exp: Ditto.
3514 * gdb.base/watch-cond.exp: Ditto.
3515 * gdb.base/watch_thread_num.exp: Ditto.
3516 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3517 * gdb.base/watchpoint.exp: Ditto.
3518 * gdb.base/whatis-exp.exp: Ditto.
3519
f8d3bf8f
MS
35202010-06-01 Michael Snyder <msnyder@vmware.com>
3521
3522 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3523 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3524 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3525 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3526 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3527 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3528 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3529 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3530 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3531 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3532 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3533 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3534 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3535 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3536 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3537
3f9e0d32
JK
35382010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3541 trailing newline.
3542 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3543 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3544 (p *args): ... here and remove excessive trailing newline.
3545
f629457d
JB
35462010-05-31 Joel Brobecker <brobecker@adacore.com>
3547
3548 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3549
09eef106
JK
35502010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3551
3552 Accept the new Linux kernel "t (tracing stop)" string.
3553 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3554 Update comment.
3555 (state_wait) <T (tracing stop)>: New.
3556 (main): Update the state_wait expect string.
3557
94f31136
PA
35582010-05-28 Pedro Alves <pedro@codesourcery.com>
3559
3560 * limits.c, limits.exp: Delete files.
3561 * Makefile.in (clean mostlyclean): Adjust.
3562 * tracecmd.exp: Adjust.
3563
096554ab
JK
35642010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3565
3566 * gdb.base/tui-layout.exp: New.
3567
27d3a1a2 35682010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3569
889bf7c5 3570 * gdb.reverse/break-precsave.exp:
bcd2dc50 3571 Replace uses of send_gdb / gdb_expect.
889bf7c5 3572 * gdb.reverse/break-reverse.exp:
bcd2dc50 3573 Replace uses of send_gdb / gdb_expect.
889bf7c5 3574 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3575 Replace uses of send_gdb / gdb_expect.
889bf7c5 3576 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3577 Replace uses of send_gdb / gdb_expect.
889bf7c5 3578 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3579 Replace uses of send_gdb / gdb_expect.
889bf7c5 3580 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3581 Replace uses of send_gdb / gdb_expect.
889bf7c5 3582 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3583 Replace uses of send_gdb / gdb_expect.
889bf7c5 3584 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3585 Replace uses of send_gdb / gdb_expect.
889bf7c5 3586 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3587 Replace uses of send_gdb / gdb_expect.
889bf7c5 3588 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3589 Replace uses of send_gdb / gdb_expect.
889bf7c5 3590 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3591 Replace uses of send_gdb / gdb_expect.
889bf7c5 3592 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3593 Replace uses of send_gdb / gdb_expect.
889bf7c5 3594 * gdb.reverse/machinestate.exp:
bcd2dc50 3595 Replace uses of send_gdb / gdb_expect.
889bf7c5 3596 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3597 Replace uses of send_gdb / gdb_expect.
889bf7c5 3598 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3599 Replace uses of send_gdb / gdb_expect.
889bf7c5 3600 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3601 Replace uses of send_gdb / gdb_expect.
889bf7c5 3602 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3603 Replace uses of send_gdb / gdb_expect.
889bf7c5 3604 * gdb.reverse/step-precsave.exp:
bcd2dc50 3605 Replace uses of send_gdb / gdb_expect.
889bf7c5 3606 * gdb.reverse/step-reverse.exp:
bcd2dc50 3607 Replace uses of send_gdb / gdb_expect.
889bf7c5 3608 * gdb.reverse/until-precsave.exp:
bcd2dc50 3609 Replace uses of send_gdb / gdb_expect.
889bf7c5 3610 * gdb.reverse/until-reverse.exp:
bcd2dc50 3611 Replace uses of send_gdb / gdb_expect.
889bf7c5 3612 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3613 Replace uses of send_gdb / gdb_expect.
889bf7c5 3614 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3615 Replace uses of send_gdb / gdb_expect.
3616
3def43e0
JK
36172010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3618
3619 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3620 excessive newline.
3621
27d3a1a2 36222010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3623
3624 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3625 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3626 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3627 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3628 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3629 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3630 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3631 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3632 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3633 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3634 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3635 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3636 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3637 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3638 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3639 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3640 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3641 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3642 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3643
27d3a1a2 36442010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3645
22454424
MS
3646 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3647 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3648
3649 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3650 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3651 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3652
889bf7c5 3653 * gdb.reverse/consecutive-reverse.exp:
22454424 3654 Replace uses of send_gdb / gdb_expect.
889bf7c5 3655 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3656 Replace uses of send_gdb / gdb_expect.
3657
3658 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3659 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3660 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3661 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3662 Replace uses of send_gdb / gdb_expect.
3663 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3664 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3665 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3666 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3667 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3668 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3669 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3670 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3671 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3672
36732010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3674
22454424 3675 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3676
22454424 3677 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3678
22454424
MS
3679 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3680 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3681 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3682 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3683 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3684 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3685 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3686 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3687 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3688
6e5f2c59
TT
36892010-05-25 Tom Tromey <tromey@redhat.com>
3690
3691 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3692
bbc8b958
TT
36932010-05-25 Tom Tromey <tromey@redhat.com>
3694
3695 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3696 argument order.
3697 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3698 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3699 order.
3700 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3701 order.
3702 * gdb.base/call-sc.exp (setup_kfails): Remove.
3703 (setup_compiler_kfails): Remove.
3704 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3705 argument order.
3706 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3707 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3708 (advancei): Fix setup_kfail argument order.
3709 * gdb.base/radix.exp: Fix setup_kfail argument order.
3710 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3711 order.
3712 * gdb.base/structs.exp (setup_kfails): Remove.
3713 (setup_compiler_kfails): Fix setup_kfail argument order.
3714 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3715 order.
3716 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3717 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3718 setup_kfail argument order.
3719 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3720
83d1babf
TT
37212010-05-25 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3724
6acb16a2
MS
37252010-05-25 Michael Snyder <msnyder@vmware.com>
3726
3727 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3728 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3729 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3730 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3731 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3732 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3733 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3734 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3735 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3736 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3737 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3738 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3739 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3740 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3741 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3742 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3743 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3744 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3745 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3746 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3747 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3748 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3749 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3750 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3751 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3752 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3753 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3754 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3755 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3756 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3757 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3758 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3759 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3760 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3761 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3762 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3763 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3764 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3765 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3766 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3767 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3768 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3769 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3770 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3771 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3772 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3773 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3774 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3775
37762010-05-25 Doug Evans <dje@google.com>
3777
3778 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3779 gdb.string_to_argv.
ad3986f0 3780
d3b1e874
TT
37812010-05-21 Tom Tromey <tromey@redhat.com>
3782
3783 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3784 Call it.
3785 * gdb.dwarf2/pieces.S: Update.
3786 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3787
cb826367
TT
37882010-05-21 Tom Tromey <tromey@redhat.com>
3789
3790 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3791 Call it.
3792 * gdb.dwarf2/pieces.c (struct C): New.
3793 (f6): New function.
3794 * gdb.dwarf2/pieces.S: Replace.
3795
74de6778
TT
37962010-05-21 Tom Tromey <tromey@redhat.com>
3797
3798 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3799 Call it.
3800
afd74c5f
TT
38012010-05-21 Tom Tromey <tromey@redhat.com>
3802
3803 * gdb.dwarf2.pieces.exp: New file.
3804 * gdb.dwarf2.pieces.S: New file.
3805 * gdb.dwarf2.pieces.c: New file.
3806
a7b75dfd 38072010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3808 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3809
3810 * lib/gdb.exp (gdb_test_no_output): New function.
3811 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3812 when testing commands that should produce no output.
3813
c81c812a
JB
38142010-05-17 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3817 parameter that we want to watch being a constant.
3818
0cce5bd9
JB
38192010-05-17 Joel Brobecker <brobecker@adacore.com>
3820
3821 * gdb.ada/cond_lang: New testcase.
3822
47050449
JB
38232010-05-17 Joel Brobecker <brobecker@adacore.com>
3824
3825 * lib/gdb.exp (banned_variables): New variable/constant.
3826 (gdb_init): Add write trace on variables listed in banned_variables.
3827 (gdb_finish): Remove write traces on variables listed in
3828 banned_variables.
3829
77c01586
JB
38302010-05-17 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3833 * gdb.cp/koenig.exp: Likewise.
3834
88d4aea7
PM
38352010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3836
889bf7c5 3837 PR python/11482
88d4aea7
PM
3838
3839 * gdb.python/py-value.exp (test_value_hash): New function.
3840
f5a010c0
PM
38412010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3842
3843 PR exp/11530.
3844 * gdb.base/gdb11530.c: New file.
3845 * gdb.base/gdb11530.exp: New file.
3846
8ef4892f
JK
38472010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3848
3849 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3850 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3851
7322dca9
SW
38522010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3853
3854 * gdb.cp/koenig.exp: New test.
3855 * gdb.cp/koenig.cc: New test program.
3856
02e7ea18
JB
38572010-05-05 Joel Brobecker <brobecker@adacore.com>
3858
3859 Remove the use of prms_id and bug_id throughout the testsuite.
3860
e1c34c5d
PM
38612010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3862
3863 PR exp/11349.
3864 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3865 use a reference local variable.
3866
8e1d0c49
JK
38672010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3868
3869 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3870 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3871 variable different_dir. Move debugfile into a full directory pathname
3872 under DIFFERENT_DIR.
3873 * lib/gdb.exp (separate_debug_filename): Remove.
3874 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3875 variable debug_dir and mkdir of it. Update function comments.
3876
e66408ed
PA
38772010-04-29 Pedro Alves <pedro@codesourcery.com>
3878
3879 PR gdb/11557
3880
3881 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3882 files.
3883
d7b32ed3
PM
38842010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3885
889bf7c5 3886 * gdb.python/py-param.exp: New File.
d7b32ed3 3887
6aecb9c2
JB
38882010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3889
3890 * gdb.base/default.exp: Fix "set language" test.
3891
bdf92a1c
PM
38922010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3893
3894 PR breakpoints/11531.
3895 * gdb.base/gdb11531.c: New file.
3896 * gdb.base/gdb11531.exp: New file.
3897
3f172e24
TT
38982010-04-26 Tom Tromey <tromey@redhat.com>
3899
3900 * gdb.base/completion.exp: Add tests for completion and deprecated
3901 commands.
3902
64af4c92
JK
39032010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3904
3905 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3906 (print /x char_array): Escape curly brackets.
3907
492928e4
JK
39082010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3909
3910 Fix deadlock on looped list of loaded shared objects.
3911 * gdb.base/solib-corrupted.exp: New.
3912
66d09542
DE
39132010-04-23 Doug Evans <dje@google.com>
3914
3915 * gdb.python/py-section-script.c: New file.
3916 * gdb.python/py-section-script.exp: New file.
3917 * gdb.python/py-section-script.py: New file.
3918
8bd10a10
CM
39192010-04-20 Chris Moller <cmoller@redhat.com>
3920
3921 PR 10179
3922
3923 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3924 * gdb.base/pr10179-a.c:
3925 * gdb.base/pr10179-b.c:
3926 * gdb.base/pr10179.exp: New files.
3927
c0201579
JK
39282010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3929
3930 Fix crashes on dangling display expressions.
3931 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3932 is SEP.
3933 (lib_flags): Remove the "debug" keyword.
3934 (libsepdebug): New variable for iterating new loop.
3935 (save_pf_prefix): New variable wrapping the loop.
3936 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3937 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3938
793b0ff8
PM
39392010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3940
3941 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3942
097f51f7
PM
39432010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3944
3945 PR stabs/11479.
3946 * gdb.stabs/gdb11479.exp: New file.
3947 * gdb.stabs/gdb11479.c: New file.
3948
9a22f0d0
PM
39492010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3950
3951 * gdb.base/charset.c (Strin16, String32): New variables.
3952 * gdb.base/charset.exp (gdb_test): Test correct display
3953 of 16 or 32 bit strings.
3954
39552010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3956
3957 PR 9167
3958 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3959 * gdb.cp/pr9167.cc: New file.
3960 * gdb.cp/pr9167.exp: New file.
3961
3962
6e354e5e
PM
39632010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3964
3965 PR pascal/11492.
3966 * gdb.pascal/gdb11492.pas: New file.
3967 * gdb.pascal/gdb11492.exp: New file.
3968
be942545
JB
39692010-04-20 Joel Brobecker <brobecker@adacore.com>
3970
1667e6e3 3971 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3972
0c3acc09
JB
39732010-04-20 Joel Brobecker <brobecker@adacore.com>
3974
3975 * gdb.ada/dyn_loc: New testcase.
3976
ec31cde5
CM
39772010-04-20 Chris Moller <cmoller@redhat.com>
3978
3979 PR 10867
889bf7c5 3980
ec31cde5
CM
3981 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3982 * gdb.cp/pr10687.cc: New file.
3983 * gdb.cp/pr10687.exp: New file.
3984
3985
ce4b0682
SDJ
39862010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3987 Sergio Durigan Junior <sergiodj@redhat.com>
3988
3989 * gdb.fortran/logical.exp: New testcase.
3990 * gdb.fortran/logical.f90: New file.
3991
3436961f
DE
39922010-04-19 Doug Evans <dje@google.com>
3993
3994 * gdb.base/help.exp (help source): Update expected output.
3995
4d836c09
JK
39962010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3999 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4000 gdb_exit and return.
4001 (executable): New variable.
4002 (binfile): Use it.
4003
6149aea9
PA
40042010-04-19 Pedro Alves <pedro@codesourcery.com>
4005
4006 PR breakpoints/8554.
4007
4008 * gdb.trace/save-trace.exp: Adjust.
4009
ed41462c
L
40102010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 PR corefiles/11511
4013 * gdb.arch/system-gcore.exp: New.
4014 * gdb.arch/gcore.c: Likewise.
4015
3f7b2faa
DE
40162010-04-15 Doug Evans <dje@google.com>
4017
fa33c3cd
DE
4018 * gdb.python/py-progspace.c: New file.
4019 * gdb.python/py-progspace.exp: New file.
4020
3f7b2faa
DE
4021 * gdb.base/source.exp: Add tests for "source -s".
4022
79f283fe
PM
40232010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4024
4025 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4026 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4027 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4028 * gdb.python/py-mi.exp: New test for to_string returning None.
4029
fc8eb08a
PM
40302010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4031
4032 * gdb.python/py-breakpoint.c: Make result global.
4033
26e197f6
JK
40342010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4035
4036 Fix non-GNU make compatibility.
4037 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4038
adc36818
PM
40392010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4040
4041 * gdb.python/py-breakpoint.exp: New File.
4042 * gdb.python/py-breakpoint.C: Ditto.
4043
64e17368
SS
40442010-04-08 Stan Shebs <stan@codesourcery.com>
4045
4046 * gdb.trace/actions.exp: Clear default-collect.
4047 * gdb.trace/save-trace.exp: Clear default-collect.
4048
fff5cc64
PM
40492010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4050
4051 * gdb.python/py-value: Add null string variable.
4052 (test_lazy_string): Test zero length, NULL address lazy
4053 strings.
4054
a055a187
L
40552010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 * gdb.arch/i386-avx.c: New.
4058 * gdb.arch/i386-avx.exp: Likewise.
4059
4060 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4061
96e39866
DE
40622010-04-06 Doug Evans <dje@google.com>
4063
4064 * gdb.base/source-test.gdb: New file.
4065 * gdb.base/source.exp: Test source -v.
4066
5984a431
UW
40672010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4068
4069 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4070
ec8a089a
PM
40712010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4072
4073 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4074 within one line, unless it is followed by a double quote.
4075 * gdb.stabs/hppa.sed: Idem.
4076 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4077 * gdb.stabs/weird.exp: Check for correct parsing of
4078 char and string constants.
ec8a089a
PM
4079 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4080 in .stabs to .stabx substitution.
4081
fce3c1f0
SS
40822010-04-05 Stan Shebs <stan@codesourcery.com>
4083
4084 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4085 constant global.
4086 * gdb.trace/tfile.exp: Try to print them.
4087
d77f58be
SS
40882010-04-04 Stan Shebs <stan@codesourcery.com>
4089
4090 * gdb.base/completion.exp: Update for new "info watchpoints".
4091 * gdb.base/default.exp: Ditto.
4092 * gdb.base/help.exp: Ditto.
4093 * gdb.base/watchpoint.exp: Ditto.
4094 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4095
af54718e
SS
40962010-04-04 Stan Shebs <stan@codesourcery.com>
4097
4098 * gdb.trace/tfile.exp: Sharpen tfind test.
4099
74d1f91e
JK
41002010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 * gdb.base/break-entry.exp: New.
4103
eb8e76db 41042010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4105 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4106
4107 * gdb.reverse/i386-sse-reverse.exp: New file.
4108 * gdb.reverse/i386-sse-reverse.c: New file.
4109
bf65cad8
PA
41102010-04-02 Pedro Alves <pedro@codesourcery.com>
4111
4112 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4113
fff87407
SS
41142010-04-01 Stan Shebs <stan@codesourcery.com>
4115
4116 * gdb.trace/actions.exp: Tweak expected output.
4117 * gdb.trace/while-stepping.exp: Tweak expected output.
4118
fe01d668
L
41192010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4122
86b17b60
PA
41232010-04-01 Pedro Alves <pedro@codesourcery.com>
4124
4125 * gdb.base/commands.exp: Adjust.
4126 * gdb.cp/extern-c.exp: Adjust.
4127
2c58c0a9
PA
41282010-04-01 Pedro Alves <pedro@codesourcery.com>
4129
4130 * gdb.trace/collection.c (local_test_func): Define a local struct,
4131 and instanciate it.
4132
0db9b91c
PA
41332010-04-01 Pedro Alves <pedro@codesourcery.com>
4134
4135 * gdb.trace/collection.exp (gdb_collect_args_test)
4136 (gdb_collect_argarray_test): XFAIL the tests that assume the
4137 argarray argument's elements are collected.
4138
8072405b
JK
41392010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4140
4141 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4142 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4143
8bf6485c
SS
41442010-03-31 Stan Shebs <stan@codesourcery.com>
4145
4146 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4147 and tracepoint conditionals.
4148 (gdb_verify_tracepoints): Delete unused return.
4149
fd7f724a
KS
41502010-03-26 Keith Seitz <keiths@redhat.com>
4151
4152 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4153 appear in the output before main.
4154 Remove KFAIL for gdb/2215 aka bz 9320.
4155
8d9e7719
DE
41562010-03-30 Doug Evans <dje@google.com>
4157
0906dd0b
DE
4158 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4159 by dejagnu.
4160 * gdb.arch/amd64-dword.exp: Ditto.
4161
8d9e7719
DE
4162 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4163 match.
4164 (break printf): Ditto.
4165
1da644f0
SW
41662010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4167
4168 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4169 gcc < 4.4.
4170 * gdb.cp/shadow.exp: Ditto.
4171
a8121990
PA
41722010-03-29 Pedro Alves <pedro@codesourcery.com>
4173
4174 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4175 "tstart" is silent.
4176
6e79d367
PA
41772010-03-29 Pedro Alves <pedro@codesourcery.com>
4178
4179 * gdb.trace/collection.exp (executable): New.
4180 (binfile): Use it.
4181 (fpreg, spreg, pcreg): New.
4182 (test_register): Use gdb_test_multiple. Pass /x to print.
4183 (prepare_for_trace_test): New.
4184 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4185 (gdb_collect_args_test, gdb_collect_argstruct_test)
4186 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4187 prepare_for_trace_test.
4188 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4189 fpreg, spreg and pcreg.
4190 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4191 prepare_for_trace_test.
4192 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4193 try to detect tracing support here. Don't set breakpoints at
4194 `begin' or `end' here.
4195 <global scope>: Use clean_restart. Run to main before checking
4196 for tracing support. Check for for tracing support here.
4197
09248348
JK
41982010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4199
4200 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4201 " as $displacement" to "seen displacement message".
4202
d350db38
PA
42032010-03-28 Pedro Alves <pedro@codesourcery.com>
4204
4205 * gdb.trace/while-dyn.exp (executable): New variable.
4206 (binfile): Use it.
4207 (test_while_stepping): New function. Move most tests here. Call
4208 it once for each of the while-stepping, stepping and ws aliases.
4209
907af001
UW
42102010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4211
4212 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4213 that do not provide the tagless_struct type name at all.
4214 (test_print_anon_union): Do not check value of uninitialized
4215 union member. Do not use cp_test_ptype_class, so we can accept
4216 "long" as well as "long int".
4217
610197fd
PA
42182010-03-26 Pedro Alves <pedro@codesourcery.com>
4219
4220 * gdb.trace/tfile.c (tohex, bin2hex): New.
4221 (write_error_trace_file): Hexify error description.
4222
6c28cbf2
SS
42232010-03-25 Stan Shebs <stan@codesourcery.com>
4224
4225 * gdb.trace/tfile.c: Generate an additional trace file, improve
4226 portability.
4227 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4228 files in a better way.
4229
e62b8c7e
KS
42302010-03-25 Keith Seitz <keiths@redhat.com>
4231
4232 * gdb.java/jprint.exp: XFAIL printing of static class members
4233 because of GCC debuginfo problem.
4234
82ccf5a5
JK
42352010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4236
4237 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4238
293e2f9e
DJ
42392010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4240
4241 * gdb.base/completion.exp: Allow long instead of long int.
4242 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4243 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4244 variable p.
4245 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4246 * gdb.base/pointers.exp: Allow long instead of long int.
4247 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4248 * gdb.base/step-line.exp: Allow a directory before the source file name.
4249
95a42b64
TT
42502010-03-24 Tom Tromey <tromey@redhat.com>
4251
4252 PR breakpoints/9352:
4253 * gdb.base/default.exp: Update.
4254 * gdb.base/commands.exp: Update.
4255 * gdb.cp/extern-c.exp: Test setting commands on multiple
4256 breakpoints at once.
4257
2390201f
DJ
42582010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4259
4260 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4261 if gdb,nosignals.
4262 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4263 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4264 exited".
4265
8c9a6790
SS
42662010-03-24 Stan Shebs <stan@codesourcery.com>
4267
4268 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4269
a6c727b2
DJ
42702010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4271
4272 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4273 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4274 argument. Handle "short" and "long".
4275 (Top level): Pass overprototyped output for old_fptr and xptr.
4276
4dfd5423
PA
42772010-03-23 Pedro Alves <pedro@codesourcery.com>
4278
4279 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4280 format strings and add casts to avoid compiler warnings.
4281
42822010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4283
4284 * lib/trace-support.exp (gdb_trace_setactions):
4285 Don't expect whitespace after ">" prompt.
4286 * gdb.trace/actions.exp: Adjust for output changes.
4287 * gdb.trace/while-stepping.exp: Likewise.
4288
c847d045
JK
42892010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4290
4291 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4292 and r157645).
4293
5f717f1d
JK
42942010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4295
4296 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4297 New.
4298
7d6d51d5
DJ
42992010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4300
4301 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4302 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4303
3b11a015
SS
43042010-03-19 Stan Shebs <stan@codesourcery.com>
4305
4306 * gdb.trace/ax.exp: New file.
4307
d7d158ed
DE
43082010-03-19 Doug Evans <dje@google.com>
4309
6bb85cd1
DE
4310 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4311 output from gcc.
4312
d7d158ed
DE
4313 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4314 named /usr/sbin/prelink<foo>.
4315
4daf5ac0
SS
43162010-03-18 Stan Shebs <stan@codesourcery.com>
4317
4318 * gdb.trace/circ.exp: Test circular-trace-buffer.
4319 * gdb.trace/tfile.exp: Update tstatus test.
4320
e8d05480
JB
43212010-03-18 Joel Brobecker <brobecker@adacore.com>
4322
4323 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4324 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4325
441b986a
UW
43262010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4327
4328 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4329
4247603b
PA
43302010-03-18 Pedro Alves <pedro@codesourcery.com>
4331
4332 * gdb.base/default.exp: Adjust the expected output of the finish
4333 and until commands when the inferior is not being run.
4334
13387711
SW
43352010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4336
4337 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4338 * gdb.cp/nsusing.exp: Ditto.
4339
6e31430b
TT
43402010-03-15 Tom Tromey <tromey@redhat.com>
4341
4342 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4343 * gdb.cp/userdef.cc (operator==): New function.
4344 (main): New locals mem1, mem2.
4345
e2d69cb5
JZ
43462010-03-15 Jie Zhang <jie@codesourcery.com>
4347
4348 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4349 Declare and use new loadtimeout variable.
4350
f572f0a9
DJ
43512010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4352
4353 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4354 Use gdb_load later.
4355
51f4c0b0
PA
43562010-03-14 Pedro Alves <pedro@codesourcery.com>
4357
4358 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4359 literal. Add missing endlines to prints to stderr.
4360
1c809c68
TT
43612010-03-12 Tom Tromey <tromey@redhat.com>
4362
4363 PR c++/9708:
4364 * gdb.cp/m-static.exp: Add regression test.
4365 * gdb.cp/m-static.cc (method): New method.
4366 (main): Call it.
4367
00ae8fef
SW
43682010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4369
4370 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4371 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4372
759f0f0b
PA
43732010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4374
21e24d21
PA
4375 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4376
43772010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4378
759f0f0b
PA
4379 * lib/gdb.exp (skip_stl_tests): New.
4380 (gdb_compile): Symbian needs -ldl.
4381 (shlib_target_file): New.
4382 (shlib_symbol_file): New.
4383 (gdb_load_shlibs): Use shlib_target_file.
4384 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4385 * gdb.cp/exception.exp: Use skip_stl_tests.
4386 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4387 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4388 * gdb.cp/mb-templates.exp: Ditto.
4389 * gdb.base/commands.exp: Relax regexes.
4390 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4391 shlib_target_file and shlib_symbol_file.
4392 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4393 sections.
4394 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4395 * gdb.base/solib-disc.exp: Use
4396 shlib_target_file and shlib_symbol_file.
4397 * gdb.base/unload.exp: Don't skip on symbian. Use
4398 shlib_target_file and shlib_symbol_file.
4399 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4400
6a8f2671 44012010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4402
6a8f2671
PA
4403 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4404 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4405 Issue a tfind end before looking for a tracepoint frame.
4406 * gdb.trace/tfind.exp: Adjust tstatus output.
4407 Adjust disassembly output.
4408 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4409
ccf26247
JK
44102010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4411
4412 * gdb.base/break-interp.exp: Create new displacement parameter value
4413 for the test_ld calls.
4414 (reach): New parameter displacement, verify its content. New push of
4415 pf_prefix "reach-$func:". Import global expect_out.
4416 (test_core): New parameter displacement, verify its content. New push
4417 of pf_prefix "core:". New command "set verbose on". Import global
4418 expect_out.
4419 (test_attach): New parameter displacement, verify its content. New
4420 push of pf_prefix "attach:". New command "set verbose on". Import
4421 global expect_out.
4422 (test_ld): New parameter displacement, pass it to the reach, test_core
4423 and test_attach calls and verify its content in the "ld.so exit" test.
4424 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4425 (prelink): Update expected text, use gdb_test.
4426
e469c7fb
DE
44272010-03-10 Doug Evans <dje@google.com>
4428
4429 * gdb.base/checkpoint.exp: Fix comment.
4430 Lengthen timeout while doing >600 checkpoints test.
4431 Rename duplicate "kill all one" test to keep test names unique.
4432
60e1c644
PA
44332010-03-10 Pedro Alves <pedro@codesourcery.com>
4434
4435 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4436
cec808ec
KS
44372010-03-08 Keith Seitz <keiths@redhat.com>
4438
889bf7c5
PA
4439 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4440 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4441 (dm_type_long): New function.
4442 (dm_type_unsigned_short): New function.
4443 (dm_type_unsigned_long): New function.
4444 (myint): New typedef.
4445 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4446 long, unsigned shor and long, operator char*, and typedef.
4447 (test_lookup_operator_functions): Add operator char* test.
4448 (test_paddr_operator_functions): Likewise.
4449 (test_paddr_overloaded_functions): Use probe values for
4450 short, long, and unsigned short and long.
4451 (test_paddr_hairy_functions): If the demangler probe detected
4452 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4453 demangler.
4454 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4455 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4456 and "print null_pmf".
4457 Add test "ptype a.*pmf".
4458 * gdb.cp/overload.exp: Allow optional "int" to appear with
4459 "short" and "long".
4460 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4461 long expect value for men_overload1arg.
4462 Allow "int" to appear with "short" and "long".
4463 When testing "info break", add argument for main (void).
4464 Also allow "int" to appear with "short" and "long".
4465 Ditto with "unsigned" and "long long".
cec808ec
KS
4466 * gdb.java/jmain.exp: Do not enclose methods names in single
4467 quotes.
4468 * gdb.java/jmisc.exp: Likewise.
4469 * gdb.java/jprint.exp: Likewise.
4470 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4471
4472 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4473 * gdb.cp/exception.exp (backtrace after first throw)
4474 (backtrace after second throw): Allow a namespace before __cxa_throw.
4475 (backtrace after first catch, backtrace after second catch): Allow
4476 a namespace before __cxa_begin_catch.
4477
4478 * gdb.cp/cpexprs.exp: New file.
4479 * gdb.cp/cpexprs.cc: New file.
4480
4481 From Daniel Jacobowitz <dan@codesourcery.com>
4482 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4483 to use string_to_regexp.
4484 (ctor, dtor): New functions. Use them to match constructor
4485 and destructor function types.
4486 (Top level): Use runto_main.
4487
f870a310
TT
44882010-03-05 Tom Tromey <tromey@redhat.com>
4489
4490 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4491 gdb.target_charset.
4492 (pp_ns.to_string): Likewise.
4493
0c199f28
KS
44942010-03-04 Keith Seitz <keiths@redhat.com>
4495
4496 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4497 can be quoted. Test that both the filename and function/line
4498 portions can be quoted at the same time.
4499
c7437ca6
PA
45002010-03-04 Pedro Alves <pedro@codesourcery.com>
4501
4502 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4503
b111b805
DE
45042010-03-03 Doug Evans <dje@google.com>
4505
24486cb7
DE
4506 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4507 libc contains libpthread.
4508
b111b805
DE
4509 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4510 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4511 of gdb_compile. Add another pattern to match android backtrace.
4512
a0e0ef55
TT
45132010-03-03 Tom Tromey <tromey@redhat.com>
4514
4515 PR gdb/11345:
4516 * gdb.base/printcmds.exp (test_printf): Add test.
4517
1ba53b71
L
45182010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 * gdb.arch/amd64-byte.exp: New.
4521 * gdb.arch/amd64-dword.exp: Likewise.
4522 * gdb.arch/amd64-pseudo.c: Likewise.
4523 * gdb.arch/amd64-word.exp: Likewise.
4524 * gdb.arch/i386-byte.exp: Likewise.
4525 * gdb.arch/i386-pseudo.c: Likewise.
4526 * gdb.arch/i386-word.exp: Likewise.
4527
f5dff777
DJ
45282010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4529
4530 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4531 types. Add structreg, bitfields, and flags registers.
4532 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4533 registers.
4534
90884b2b
L
45352010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4536
4537 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4538 (load_description): Set architecture if defined.
4539
dc00d89f
PM
45402010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4541
4542 * gdb.python/py-frame.exp: Add read_var block tests.
4543 * gdb.python/py-frame.c (block): New function.
4544
0e095b7e
JK
45452010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4546 Daniel Jacobowitz <dan@codesourcery.com>
4547
4548 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4549
624f1a65
DM
45502010-02-25 David S. Miller <davem@davemloft.net>
4551
4552 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4553 fix logic for setting all_syscalls_numbers.
4554
f3e9a817
PM
45552010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4556
4557 * Makefile.in: Add py-block and py-symbol.
4558 * gdb.python/py-symbol.exp: New File.
4559 * gdb.python/py-symtab.exp: New File.
4560 * gdb.python/py-block.exp: New File.
4561 * gdb.python/py-symbol.c: New File.
4562 * gdb.python/py-block.c: New File.
4563
f6bbabf0
PM
45642010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4565
4566 PR python/11314
4567 * lib/gdb.exp (skip_python_tests): New function.
4568 * gdb.python/py-cmd.exp: Use skip_python_tests.
4569 * gdb.python/py-frame.exp: Likewise.
4570 * gdb.python/py-function.exp: Likewise.
4571 * gdb.python/py-prettyprint.exp: Likewise.
4572 * gdb.python/py-template.exp: Likewise.
4573 * gdb.python/py-type.exp: Likewise.
4574 * gdb.python/py-value.exp: Likewise.
4575
85d721b8
PA
45762010-02-22 Pedro Alves <pedro@codesourcery.com>
4577
4578 PR9605
4579
4580 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4581
48e32051
TT
45822010-02-19 Tom Tromey <tromey@redhat.com>
4583
4584 PR c++/8693, PR c++/9496:
4585 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4586 regression tests.
4587
ac9c0048
JK
45882010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4589
4590 Fix compatibility with m68k as.
4591 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4592 Use only /* comments */.
4593
57bb97a4
UW
45942010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4595
4596 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4597 * configure: Regenerate.
4598
7d1bf85c
DJ
45992010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4600
4601 * gdb.python/py-type.exp: Check for Python support.
4602
061b5285
PA
46032010-02-17 Pedro Alves <pedro@codesourcery.com>
4604
4605 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4606 `regsub' syntax available.
4607
f8a8bc2c
PA
46082010-02-17 Pedro Alves <pedro@codesourcery.com>
4609
4610 * gdb.base/shmain.c (main): Remove printf call.
4611 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4612 * gdb.base/unload.c (main): Make format of fprintf a string
4613 literal. Add missing endlines to prints to stderr.
4614 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4615
6f451e5e
TT
46162010-02-17 Tom Tromey <tromey@redhat.com>
4617
4618 * gdb.java/jprint.java (jprint.props): New field.
4619 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4620
12d79008
PA
46212010-02-17 Pedro Alves <pedro@codesourcery.com>
4622
ef801a0e 4623 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4624 available.
4625
d252f7e5
DJ
46262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4627
4628 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4629 creation to support remote host testing.
4630
67bdab6c
DJ
46312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4632
4633 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4634 Recognize "command not found".
4635
bb391223
DJ
46362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4637
4638 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4639 single-stepping.
4640
70362913
DJ
46412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4642
4643 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4644 if arguments are not supported.
4645
493f3c00
DJ
46462010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4647
4648 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4649 be const or non-const.
4650
8034c749
DJ
46512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4652
4653 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4654 mi_send_resuming_command to send -exec-continue.
4655
791dfb64
DJ
46562010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4657
4658 * gdb.base/list.exp (test_list_filename_and_function): Add test
4659 with single quotes.
4660 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4661 matching.
4662 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4663 Add KFAIL'd tests for PR gdb/11289.
4664
7c5fe868
DJ
46652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4666
4667 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4668
fdc498b8
DJ
46692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4670
4671 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4672 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4673 a temporary directory.
4674
b519e2a6
DJ
46752010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4676
4677 * gdb.base/charset.exp: Use a single regular expression to match
4678 show host-charset and show target-charset output.
4679
74164c56
JK
46802010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4681
4682 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4683 "Illegal process-id" expect string more exact.
4684 (attach to digits-starting nonsense is prohibited): New.
4685
701ed6dc
JK
46862010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.base/prelink.exp (set verbose on): New.
4689
889bf7c5 46902010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4691
4692 * mi-reverse.exp: New file. Test for reverse option to the
4693 following MI commands: exec-continue, exec-finish, exec-next,
4694 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4695
dadf0e9c
JB
46962010-02-09 Joel Brobecker <brobecker@adacore.com>
4697
4698 * gdb.ada/ptype_tagged_param: New testcase.
4699
714f19d5
TT
47002010-02-08 Tom Tromey <tromey@redhat.com>
4701
4702 PR c++/8017:
4703 * gdb.cp/overload.exp: Add tests.
4704 * gdb.cp/overload.cc (struct K): New.
4705 (namespace N): New.
4706 (main): Call new functions.
4707 (K::staticoverload): Define.
4708
889bf7c5 47092010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4710
4711 PR gdb/10728
4712 * gdb.cp/pr10728-x.h: New file.
4713 * gdb.cp/pr10728-x.cc: New file.
4714 * gdb.cp/pr10728-y.cc: New file.
4715 * gdb.cp/pr10728.exp: New file.
4716 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4717
889bf7c5 47182010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4719
4720 PR gdb/9067
4721 * gdb.cp/pr9067.exp: New
4722 * gdb.cp/pr9067.cc: New
4723 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4724
7b356089
JB
47252010-02-08 Joel Brobecker <brobecker@adacore.com>
4726
4727 * lib/gdb.exp (gdb_test_timeout): New global variable.
4728 Set it to timeout if not already set.
4729 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4730
1be00882
DE
47312010-02-05 Doug Evans <dje@google.com>
4732
4733 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4734 user.
4735
82856980
SW
47362010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4737
4738 PR c++/7935:
4739 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4740
1a334831
TT
47412010-02-04 Tom Tromey <tromey@redhat.com>
4742
4743 * gdb.cp/virtbase.exp: Make test case names unique.
4744
9c3c02fd
TT
47452010-02-02 Tom Tromey <tromey@redhat.com>
4746
4747 * gdb.cp/virtbase.exp: Add regression tests.
4748 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4749 (main): Instantiate RHC.
4750
0cc2414c
TT
47512010-02-02 Tom Tromey <tromey@redhat.com>
4752
4753 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4754 type-printing change.
4755
edf3d5f3
TT
47562010-02-02 Tom Tromey <tromey@redhat.com>
4757
4758 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4759 * gdb.cp/virtbase.cc: New file.
4760 * gdb.cp/virtbase.exp: New file.
4761 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4762
e4b7f41c
JK
47632010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 PR libc/11214:
4766 * gdb.threads/current-lwp-dead.c: Include features.h.
4767 (HAS_NOMMU): New.
4768 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4769
b381ea14
JK
47702010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4771
4772 * gdb.base/symbol-without-target_section.exp,
4773 gdb.base/symbol-without-target_section.c: New.
4774
c593ac0e
DJ
47752010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4776
4777 * gdb.base/bigcore.exp: Reset increased timeout.
4778 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4779
db25f29d
DJ
47802010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4781
4782 * gdb.base/gcore.exp (capture_command_output): Use
4783 gdb_test_multiple.
4784
f9d67f43
DJ
47852010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4786
4787 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4788 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4789 (Top level): Call it.
4790
177321bd
DJ
47912010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4792
4793 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4794
97f2ed50
DJ
47952010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4796
4797 * gdb.base/call-strs.exp, gdb.base/default.exp,
4798 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4799 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4800 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4801 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4802 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4803 * gdb.base/ending-run.exp: Correct restore of timeout.
4804 * gdb.base/page.exp: Remove unnecessary timeout setting.
4805
e4e2711a
JB
48062010-01-29 Joel Brobecker <brobecker@adacore.com>
4807
4808 * gdb.ada/rec_return: New testcase.
4809
ba581dc1
JB
48102010-01-29 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/call_pn: New testcase.
4813
4ea95be9
DJ
48142010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4815
4816 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4817 (Top level): Use it to resume.
4818 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4819 the Thumb mode displaced stepping error as unsupported.
4820
df83a9bf
SW
48212010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4822
889bf7c5
PA
4823 * gdb.cp/nsusing.exp: Added more tests.
4824 * gdb.cp/nsrecurs.exp: Ditto.
4825 * gdb.cp/nsusing.cc: Added test functions.
4826 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4827
40b27cdc
JK
48282010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4831 absolute directory pathnames in gdb.sum file.
4832
de958931
SW
48332010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4834
4835 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4836 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4837
708ead4e
TT
48382010-01-26 Tom Tromey <tromey@redhat.com>
4839
4840 PR exp/7643:
4841 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4842 setup_kfail.
4843
b14e635e
SW
48442010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4845
4846 * gdb.cp/nsrecurs.exp: New test.
4847 * gdb.cp/nsrecurs.cc: New test program.
4848 * gdb.cp/nsstress.exp: New test.
4849 * gdb.cp/nsstress.cc: New test program.
4850 * gdb.cp/nsdecl.exp: New test.
4851 * gdb.cp/nsdecl.cc: New test program.
4852
8540c487
SW
48532010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4854
4855 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4856 imported into file scope.
4857 Marked test as xfail.
4858 * gdb.cp/namespace-using.cc (marker5): New function.
4859 * gdb.cp/shadow.exp: New test.
4860 * gdb.cp/shadow.cc: New test program.
4861 * gdb.cp/nsimport.exp: New test.
4862 * gdb.cp/nsimport.cc: New test program.
4863
421d5d99
TT
48642010-01-25 Tom Tromey <tromey@redhat.com>
4865
4866 PR gdb/11049:
4867 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4868 with "set print null-stop on".
4869
691f8dc1
JK
48702010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4873 Adjust it for DISASSEMBLY_OMIT_FNAME.
4874
0b92b5bb
TT
48752010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4876
4877 PR symtab/11199:
4878 * gdb.dwarf2/member-ptr-forwardref.exp,
4879 gdb.dwarf2/member-ptr-forwardref.S: New.
4880
23787403
JK
48812010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4884 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4885 thread1_tid_mutex. Remove gdbstop_mutex handling.
4886 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4887 thread2_tid_mutex. Remove gdbstop_mutex handling.
4888 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4889 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4890 pthread_cond_wait conditionalizations by while loops.
4891
b966cb8a
TT
48922010-01-20 Tom Tromey <tromey@redhat.com>
4893
4894 PR backtrace/10770:
4895 * gdb.dwarf2/pr10770.exp: New file.
4896 * gdb.dwarf2/pr10770.c: New file.
4897 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4898
fcae584b
VP
48992010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4900
4901 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4902 that target was removed, and the test always runs native anyway.
4903
a0f49112
JK
49042010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4907 gdb.base/watchpoint-cond-gone-stripped.c: New.
4908
ceeb3d5a
TT
49092010-01-19 Tom Tromey <tromey@redhat.com>
4910
4911 PR c++/8000:
4912 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4913 existing tests.
4914 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4915 (main): Use AAA::SomeEnum.
4916
dd322c54
JK
49172010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4918
4919 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4920 (test_ignore_count): Declare line_callme_body global.
4921 (run to breakpoint with ignore count): Use line_callme_body.
4922 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4923 (set line_main_hello, set line_main_return): Reindent.
4924 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4925 New.
4926 (continue to callee4): Use line_callee4_body.
4927 (check *stopped from CLI command): Use line_callee4_next.
4928 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4929 (set line_main_hello, set line_main_return): Reindent.
4930 (set line_callee4_head, set line_callee4_body): New.
4931 (continue to callee4): Use line_callee4_body.
4932
4e8f195d
TT
49332010-01-18 Tom Tromey <tromey@redhat.com>
4934
4935 PR c++/9680:
4936 * gdb.cp/casts.cc: Add new classes and variables.
4937 * gdb.cp/casts.exp: Test new operators.
4938
9e14a9ba
JB
49392010-01-18 Tom Tromey <tromey@redhat.com>
4940 Thiago Jung Bauermann <bauerman@br.ibm.com>
4941
4942 * gdb.python/source2.py: New file.
4943 * gdb.python/source1: New file.
4944 * gdb.python/python.exp: Test "source" command.
4945
00bf0b85
SS
49462010-01-15 Stan Shebs <stan@codesourcery.com>
4947
4948 * gdb.trace/tfile.c: New file.
4949 * gdb.trace/tfile.exp: New file.
889bf7c5 4950
55235ad7
JK
49512010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4952
4953 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4954
9f2982ff
JK
49552010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4958
bbfba9ed
JK
49592010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4960
4961 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4962 (libfunc): New parameter action. Implement also selectable "sleep".
4963 * gdb.base/break-interp-main.c: Include assert.h.
4964 (libfunc): New parameter action.
4965 (main): New parameters argc and argv. Assert argc. Pass argv.
4966 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4967 (test_attach): New proc.
4968 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4969 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4970
61f0d762
JK
49712010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 * gdb.base/break-interp.exp (test_core): New proc.
4974 (test_ld): Call it.
4975
06a6f270
JK
49762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4977
4978 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4979 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4980 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4981 and gdb_compile_shlib. Use new -Wl compiler options.
4982 (dl bt, main bt): New tests.
4983
51bee8e9
JK
49842010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4985
4986 Support PIEs with no symfile_objfile.
4987 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4988 (test_ld): New parameter trynosym.
4989 (test_ld <$trynosym>): New block.
4990
b8040f19
JK
49912010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4992
4993 * gdb.base/break-interp.exp: New file.
4994
be759fcf
PM
49952010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4996
4997 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4998 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4999 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5000 test.
5001 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5002 * gdb.python/py-mi.exp: Add lazy string test.
5003
dc146f7c
VP
50042010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5005
5006 * lib/mi-support.exp (mi_check_thread_states): Handle
5007 core number in thread listing.
5008
b4ba55a1
JB
50092010-01-12 Joel Brobecker <brobecker@adacore.com>
5010
5011 * gdb.base/maint.exp: Adjust the expected output for the
5012 "maint print type" test. Use gdb_test_multiple instead of
5013 gdb_sent/gdb_expect.
5014
08e24bd4
DE
50152010-01-11 Doug Evans <dje@google.com>
5016
6496a609
DE
5017 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5018 from gdbserver_download. All callers updated.
5019
08e24bd4
DE
5020 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5021
b5cfddf5
JK
50222010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5023
5024 Implement binary numbers parsing.
5025 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5026 (test_integer_literals_rejected): New binary tests.
5027
3725885a
RW
50282010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5029
5030 * gdb.cell/configure: Regenerate.
5031
37aeb5df
JK
50322010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 * gdb.base/corefile.exp: Move the core finding block out and call it as
5035 core_find, new variable $corefile, replace corefile by $corefile and
5036 [file tail $corefile] for usage vs. test names resp.
5037 * lib/gdb.exp (core_find): Move it as a new function here. New
5038 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5039 $destcore. Return "" on error.
5040
d521f563
JK
50412010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 Workaround PR binutils/10802.
5044 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5045 (twice).
5046
28f24826
DJ
50472010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5048
5049 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5050
2de75e71
JB
50512010-01-08 Joel Brobecker <brobecker@adacore.com>
5052
5053 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5054 call, to avoid interruption.
5055
fe00719b 50562010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5057
5058 * gdb.stabs/weird.def (args93): New.
5059
d0ef5df8
DE
50602010-01-07 Doug Evans <dje@google.com>
5061
5062 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5063
3a08d52f
TT
50642010-01-07 Tom Tromey <tromey@redhat.com>
5065
5066 * gdb.base/source.exp: Use correct line number.
5067
7a697b8d
SS
50682010-01-05 Stan Shebs <stan@codesourcery.com>
5069
5070 * gdb.trace/tracecmd.exp: Test ftrace.
5071
7803799a
UW
50722010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5073
5074 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5075
c54eabfa
JK
50762010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5077
5078 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5079 "uint_for_mi_testing".
5080
02e7ef19
JB
50812010-01-01 Joel Brobecker <brobecker@adacore.com>
5082
5083 Test indented comment in file being sourced.
5084 * gdb.base/commands.exp: Test indented comment in file being sourced.
5085
abd775ce
JB
50862010-01-01 Joel Brobecker <brobecker@adacore.com>
5087
5088 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5089 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5090 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5091 notice.
5092
79b55b82
JB
50932010-01-01 Joel Brobecker <brobecker@adacore.com>
5094
5095 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5096 notice.
5097
8997583e
JK
50982010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5099
5100 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5101 missing $after_stopped and comma (,) expectation.
5102
6da95a67
SS
51032009-12-31 Stan Shebs <stan@codesourcery.com>
5104
5105 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5106
218d2fc6
TJB
51072009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5108
5109 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5110 (top level): Call test_watchpoint_in_big_blob.
5111 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5112 watchpoints.
5113 (func3): Write to buf.
5114
236f1d4d
SS
51152009-12-29 Stan Shebs <stan@codesourcery.com>
5116
5117 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5118
f61e138d
SS
51192009-12-28 Stan Shebs <stan@codesourcery.com>
5120
5121 * gdb.trace/tsv.exp: New file.
5122 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5123
0219b378
DJ
51242009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5125
5126 * gdb.base/find.c (main): Reference search buffers.
5127 * gdb.base/included.c (main): Reference integer.
5128 * gdb.base/ptype.c (charfoo): Declare.
5129 (intfoo): Call charfoo.
5130 * gdb.base/scope0.c (useitp): New function.
5131 (usestatics): Use useitp.
5132 (useit): Add a type for val.
5133 * gdb.base/scope1.c (useit1): Take a pointer argument.
5134 (usestatics1): Update calls to useit1.
5135 * gdb.cp/call-c.cc: Declare foo.
5136 (main): Call foo.
5137 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5138 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5139 (main): Call C::ensureRefs and ensureOtherRefs.
5140 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5141 variables.
5142 (ensureOtherRefs): New function.
5143 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5144 * gdb.cp/templates.cc (main): Call t5i.value.
5145
3f78692f
JK
51462009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5147
5148 Fix compatibility with G++-4.5.
5149 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5150 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5151 (uncaught return): Remove.
5152
429374b8
JK
51532009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 Phil Muldoon <pmuldoon@redhat.com>
5155
5156 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5157 (bp_location13, bp_location14, bp_location17, bp_location18)
5158 (marker3_proto, marker4_proto): New variables.
5159 (breakpoint info): Update output.
5160 (run until breakpoint at marker3, run until breakpoint at marker4): New
5161 tests.
5162
859825b8
JK
51632009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5164
5165 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5166 Replace the printf call of Y by provided "y-set-1" label. New block
5167 for the second shared library.
5168 * gdb.base/unload.exp: Compile also the second library, call
5169 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5170 (single pending breakpoint info): Rename to ...
5171 (pending breakpoint info before run): ... this extended test.
5172 (libfile2, libname2, libsrcfile2, libsrc2)
5173 (lib_sl2): New variables.
5174 (exec_opts): Set also SHLIB_NAME2.
5175 (pending breakpoint info on first run at shrfunc1)
5176 (pending breakpoint info on second run at shrfunc1)
5177 (pending breakpoint info on second run at shrfunc2)
5178 (print y from libfile, print y from libfile2): New tests.
5179 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5180 * gdb.base/unloadshr2.c: New.
5181
e6a386cd
HZ
51822009-12-22 Hui Zhu <teawater@gmail.com>
5183
5184 * gdb.reverse/sigall-reverse.exp: Adjust.
5185
9e19b45e
VP
51862009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5187
5188 PR gdb/10884
5189
5190 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5191 (main): Call do_bitfield_tests.
aacf5b1e 5192 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5193
d53a7b30
JB
51942009-12-20 Joel Brobecker <brobecker@adacore.com>
5195
5196 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5197 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5198 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5199 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5200 gdb.modula2/unbounded1.c: Update copyright header.
5201
191ca0a1
CM
52022009-12-10 Chris Moller <moller@mollerware.com>
5203
5204 PR gdb/9399
5205 * gdb.cp/virtfunc2.exp: New tests
5206 * gdb.cp/virtfunc2.cc: New tests
5207 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5208
0fa6cf1b
MS
52092009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5210
5211 * gdb.reverse/i387-env-reverse.c: New file.
5212 * gdb.reverse/i387-env-reverse.exp: New file.
5213 * gdb.reverse/i387-stack-reverse.c: New file.
5214 * gdb.reverse/i387-stack-reverse.exp: New file.
5215
361ae042
PM
52162009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5217
5218 * gdb.python/py-type.exp (test_range): New test.
5219
bfd31e71
PM
52202009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5221
5222 PR python/10805
5223
5224 * gdb.python/py-type.exp: New file.
5225 * gdb.python/py-type.c: New file.
5226 * Makefile.in: Add py-type.
5227
57a1d736
TT
52282009-12-03 Tom Tromey <tromey@redhat.com>
5229
5230 * gdb.python/py-value.exp (test_parse_and_eval): New
5231 function.
5232
1f3b5d1b
PP
52332009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5234
5235 PR gdb/11022
5236
5237 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5238 * gdb.base/pr11022.c: New test.
5239
8b7dbdc9
JK
52402009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 Fix spurious false FAILs.
5243 * gdb.base/structs.c (chartest): New.
5244 (main): Fill-in chartest.
5245 * gdb.base/structs.exp (anychar_re, first): New.
5246 (start_structs_test): Import global anychar_re and first.
5247 New gdb_test call "set print elements 300; ${testfile}"
5248 (start_structs_test <$first>): New block.
5249 (any): Import global anychar_re. New variable ac. Use ${ac}.
5250
6a53b2ec
JK
52512009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5254
d7167b4c
JK
52552009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5258 Force $srcfile file.
5259 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5260
b1798462
UW
52612009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5262
5263 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5264 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5265 * gdb.threads/watchthreads-reorder.exp: Likewise.
5266
b6199126
DJ
52672009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5268
5269 PR gdb/8704
5270
5271 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5272 "if", and "thread". Correct matching in the previous test.
5273
b22a0510
DJ
52742009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5275
5276 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5277
930636d2
MS
52782009-11-23 Michael Snyder <msnyder@vmware.com>
5279
5280 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5281 * gdb.reverse-watch-precsave.exp: Ditto.
5282
21a0512e
PP
52832009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5284
5285 * gdb.asm/asm-source.exp: Adjust.
5286 * gdb.base/help.exp: Adjust.
889bf7c5 5287
fc30d5e0
PA
52882009-11-22 Pedro Alves <pedro@codesourcery.com>
5289
5290 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5291 (do_syscall_tests_without_xml): Set data-directory to
5292 /the/path/to/nowhere.
5293
f6bc2008
PA
52942009-11-21 Pedro Alves <pedro@codesourcery.com>
5295
5296 * gdb.threads/local-watch-wrong-thread.c,
5297 gdb.threads/local-watch-wrong-thread.exp: New files.
5298
8c2fb5de
PA
52992009-11-21 Pedro Alves <pedro@codesourcery.com>
5300
5301 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5302 assume new `regsub' syntax available.
5303
ebec9a0f
PA
53042009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
a79d3c27
JK
5306 * gdb.base/watchpoint-hw-hit-once.exp,
5307 gdb.base/watchpoint-hw-hit-once.c: New.
5308
53092009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 * gdb.threads/watchthreads-reorder.exp,
5312 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5313
276a961b
MK
53142009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5315
5316 * gdb.xml/tdesc-regs.exp: Use for m68k.
5317
4867c1fb
PA
53182009-11-15 Pedro Alves <pedro@codesourcery.com>
5319
5320 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5321
f6838f81
DJ
53222009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5323
5324 * lib/gdb.exp (current_target_name): New procedure.
5325 (gdb_wrapper_target): New variable.
5326 (gdb_wrapper_init): Set gdb_wrapper_target.
5327 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5328 wrapper.
5329
4ac4dd3f
DJ
53302009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5331
5332 * gdb.base/remote.exp: Delete the slowest load test.
5333 Do not load with fixed packet sizes.
5334
a7881759
DJ
53352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5336
5337 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5338
97a5b505
DJ
53392009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5340
5341 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5342 srcfile when setting a breakpoint.
5343
d3e1fc54
DJ
53442009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5345
5346 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5347 macros.
5348
7cbcbded
DJ
53492009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5350
5351 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5352 to be in memory.
5353 * gdb.base/display.c (force_mem): New.
5354 (do_loops): Use it. Add breakpoint comments.
5355 (do_vars): Add a breakpoint comment.
5356 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5357 line numbers.
5358
bdea3a92
NF
53592009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5360
5361 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5362 instead of a bare "run".
5363
269f82e5
PP
53642009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5365
5366 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5367
a69b7d9d
DJ
53682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5369
5370 * lib/cell.exp (skip_cell_tests): Clean up test files before
5371 returning.
5372
b598bfda
DJ
53732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5374
5375 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5376 and the breakpoint menu. Do not call perror if a prompt is seen.
5377 Consume the following GDB prompt.
5378 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5379 * gdb.cp/namespace.exp: Use gdb_test.
5380 * gdb.cp/templates.exp: Use gdb_test.
5381 (test_template_breakpoints): Use gdb_test_multiple.
5382
87728fa0
DJ
53832009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5384
5385 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5386 (marker4): Reference values.
5387
b67c692f
DJ
53882009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5389
5390 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5391 is missing.
5392
f0df251a
DJ
53932009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5394
5395 * gdb.base/break.c (need_malloc): New.
5396 * gdb.base/constvars.c (main): Reference crass and crisp.
5397 * gdb.base/gdb1821.c (main): Reference bar.
5398 * gdb.cp/gdb1355.cc (main): Reference s1.
5399 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5400 (main): Call them.
5401 * gdb.cp/hang2.cc (dummy2): Define.
5402 * gdb.cp/hang3.cc (dummy3): Define.
5403 * gdb.cp/m-data.cc (main): Reference shadow.
5404
bdf7534a
NF
54052009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5406 Nathan Froyd <froydnj@codesourcery.com>
5407
5408 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5409 remote host.
5410
f24fce77
NF
54112009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5412
5413 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5414 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5415 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5416 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5417 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5418 * gdb.dwarf2/dw2-producer.exp: Likewise.
5419 * gdb.dwarf2/mac-fileno.exp: Likewise.
5420 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5421 py-prettyprint.py to the remote host.
5422 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5423
40f0318e
KS
54242009-11-11 Keith Seitz <keiths@redhat.com>
5425
5426 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5427 use it instead of "Foo".
5428 * gdb.cp/classes.exp (do_tests): Add a test to access
5429 a method through a typedef'd class name.
5430
f3d9f7fb
NF
54312009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5432
5433 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5434 exponents.
5435 * gdb.base/pointers.exp: Likewise.
5436 * gdb.cp/ref-types.exp: Likewise.
5437
a4216f37
KS
54382009-11-11 Keith Seitz <keiths@redhat.com>
5439
5440 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5441 new[] and delete[].
5442 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5443 "void".
5444 (probe_demangler): Remove all single-quoting of
5445 method and variable names.
5446 (info_func_regexp): Remove the word "void" from any
5447 occurrence of "(void)".
5448 (print_addr_2): Remove all single-quoting of
5449 method names.
5450 (print_addr_2_kfail): Likewise.
5451 (print_addr): Single-quote C function names before
5452 passing to print_addr_2.
5453 (test_paddr_operator_functions): Remove single-quoting
5454 for method names.
5455 Add tests for operator new[] and operator delete[].
5456
9b14d7aa
JK
54572009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5458
5459 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5460
85feb311
KS
54612009-11-09 Keith Seitz <keiths@redhat.com>
5462
5463 * gdb.cp/overload.exp: Add tests for resolving overloaded
5464 methods in expression parsing/evaluation.
5465
fa335448
DJ
54662009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5467
5468 * lib/gdb.exp (default_gdb_version): Use --version instead of
5469 --command.
5470
ec3c07fc
NS
54712009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5472
5473 * lib/gdb.exp (gdb_compile_test): New.
5474 (skip_ada_tests, skip_java_tests): New.
5475 (gdb_compile): Use gdb_compile_test for f77.
5476 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5477 * lib/java.exp (compile_java_from_source): Remove runtests check,
5478 use gdb_compile_test to record result.
5479 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5480 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5481 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5482 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5483 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5484 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5485 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5486 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5487 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5488 adjust gdb_compile invocations.
5489
b8b4e42b
JK
54902009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5491
5492 * Makefile.in (abs_builddir): New.
5493 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5494 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5495 `$(abs_builddir)/site.exp'.
5496
f8b7eaf3
DJ
54972009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5498
5499 * config/m68k-emc.exp, lib/emc-support.exp,
5500 gdb.trace/gdb_c_test.c: Delete.
5501 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5502 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5503 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5504 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5505 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5506 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5507 casing for m68k-*-elf.
5508
c4187697
NS
55092009-11-03 Pedro Alves <pedro@codesourcery.com>
5510
5511 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5512 * gdb.arch/i386-prologue.exp: Likewise.
5513 * gdb.arch/i386-unwind.exp: Likewise.
5514
db16b772
DJ
55152009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5516
5517 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5518
bcf71277
DJ
55192009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5520
5521 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5522
0105cee2
DJ
55232009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5524
5525 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5526
24ddea62
JK
55272009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5528
5529 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5530
287ccc17
JK
55312009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5532
5533 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5534 * gdb.base/sepdebug2.c: New file.
5535
08bca259 55362009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5537
5538 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5539 the modified warnings for catch syscall. Verify if GDB was compiled
5540 with support for lib expat, and choose which tests to run depending
5541 on this.
5542
5d4e2b76
VP
55432009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5544
5545 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5546 that composite commands are parsed OK. And also test
5547 that breakpoint commands do work.
5548
240e538a
MS
55492009-10-23 Michael Snyder <msnyder@vmware.com>
5550
5551 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5552 to allow for new disassembly style.
5553
9c419145
PP
55542009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5555
5556 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5557
02506ff1
MS
55582009-10-22 Michael Snyder <msnyder@vmware.com>
5559
5560 * gdb.reverse/break-precsave.exp: New test.
5561 * gdb.reverse/consecutive-precsave.exp: Ditto.
5562 * gdb.reverse/finish-precsave.exp: Ditto.
5563 * gdb.reverse/i386-precsave.exp: Ditto.
5564 * gdb.reverse/machinestate-precsave.exp: Ditto.
5565 * gdb.reverse/sigall-precsave.exp: Ditto.
5566 * gdb.reverse/solilb-precsave.exp: Ditto.
5567 * gdb.reverse/step-precsave.exp: Ditto.
5568 * gdb.reverse/until-precsave.exp: Ditto.
5569 * gdb.reverse/watch-precsave.exp: Ditto.
5570
4cf866a3
MS
55712009-10-22 Michael Snyder <msnyder@vmware.com>
5572
5573 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5574 for gdb_expect. Adjust one test's expect strings for the new
5575 format of disassemble.
5576 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5577 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5578 gdb_test_multiple.
5579 * gdb.reverse/step-reverse.exp: Delete 'return'.
5580 * gdb.reverse/until-reverse.exp: Delete blank lines.
5581 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5582
2b28d209
PP
55832009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5584
5585 * gdb.base/consecutive.exp: Adjust.
5586 * gdb.base/display.exp: Likewise.
5587 * gdb.base/pc-fp.exp: Likewise.
5588 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5589
33b9c32b
MS
55902009-10-19 Michael Snyder <msnyder@vmware.com>
5591
5592 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5593 * gdb.reverse/finish-reverse.c: Ditto.
5594 * gdb.reverse/sigall-reverse.c: Ditto.
5595 * gdb.reverse/solib-reverse.c: Ditto.
5596 * gdb.reverse/step-reverse.c: Ditto.
5597 * gdb.reverse/watch-reverse.c: Ditto.
5598
6c95b8df
PA
55992009-10-19 Pedro Alves <pedro@codesourcery.com>
5600 Stan Shebs <stan@codesourcery.com>
5601
5602 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5603 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5604 "Executing new program".
5605 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5606 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5607 left listed after having been killed.
5608 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5609 * gdb.base/maint.exp: Adjust test.
5610
5611 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5612 * gdb.multi/Makefile.in: New.
5613 * gdb.multi/base.exp: New.
5614 * gdb.multi/goodbye.c: New.
5615 * gdb.multi/hangout.c: New.
5616 * gdb.multi/hello.c: New.
5617 * gdb.multi/bkpt-multi-exec.c: New.
5618 * gdb.multi/bkpt-multi-exec.exp: New.
5619 * gdb.multi/crashme.c: New.
5620
279017b7
TG
56212009-10-13 Tristan Gingold <gingold@adacore.com>
5622
5623 * gdb.base/sepdebug.exp: Check debug info are found.
5624
0413d738
PA
56252009-10-08 Pedro Alves <pedro@codesourcery.com>
5626
5627 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5628 bits.
5629
c628eecc
JK
56302009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5631
5632 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5633
38af1bfe
JB
56342009-10-07 Joel Brobecker <brobecker@adacore.com>
5635
5636 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5637 of the comments.
5638
2b0adecd
PM
56392009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5640
5641 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5642 * gdb.base/annota3.exp: Idem.
5643 * gdb.base/maint.exp: Idem.
5644
8d417781
PM
56452009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5646
889bf7c5 5647 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5648 to default.
5649
bb61102d
PM
56502009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5651
889bf7c5 5652 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5653 mingw and cygwin targets.
5654
ace5c364
PM
56552009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5656 Pedro Alves <pedro@codesourcery.com>
5657
889bf7c5 5658 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5659 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5660
c2d494a0
PM
56612009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5662
e1b52ce2
PM
5663 * gdb.base/shr1.c: Use %p in format string.
5664 * gdb.base/unload.c: Avoid warning in fprintf.
5665 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5666
209f53f5
PM
56672009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5668
5669 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5670 long type.
5671 (test_unlink): Correct printf string.
5672 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5673 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5674
8172766a
JK
56752009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5676
5677 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5678 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5679 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5680
0f73703c
UW
56812009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5682
5683 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5684 * gdb.objc/nondebug.exp: Likewise.
5685
b32306ca
UW
56862009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5687
5688 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5689 target_info setting.
5690
5691 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5692 that detect new threads during "info threads".
5693
0057022f
UW
56942009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5695
5696 * gdb.threads/manythreads.c (main): Increase thread stack size
5697 to 2*PTHREAD_STACK_MIN.
5698 * gdb.threads/multi-create.c (main): Likewise.
5699 (create_function): Likewise.
5700
f29c0325
UW
57012009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5702
5703 * gdb.base/dump.exp: Pass difference of pointer types instead
5704 of integer types as offset to restore in intarr3.srec case.
5705
fcb34849
UW
57062009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5707
5708 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5709
d5142e3b
UW
57102009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5711
5712 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5713
087b74b2 57142009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5715
087b74b2
PM
5716 New test for two watchpoints, with disabling of
5717 the first inserted.
5718 * testsuite/gdb.base/watchpoints.c: New file.
5719 * testsuite/gdb.base/watchpoints.exp: New file.
5720
96c07c5b
TT
57212009-09-25 Tom Tromey <tromey@redhat.com>
5722
5723 * gdb.base/charset.exp: Test utf-16 strings with Python.
5724
b8899f2b
TT
57252009-09-25 Tom Tromey <tromey@redhat.com>
5726
5727 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5728 UCS-4.
5729 * gdb.base/charset.c (utf_32_string): Rename.
5730 (init_utf32): Rename.
5731 (main): Update.
5732
329719ec
TT
57332009-09-22 Tom Tromey <tromey@redhat.com>
5734
5735 * gdb.python/py-function.exp: Add regression tests.
5736
11ef0d76
KS
57372009-09-21 Keith Seitz <keiths@redhat.com>
5738
5739 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5740 with invalid operator.
5741
3fe8f3b3
KS
57422009-09-21 Keith Seitz <keiths@redhat.com>
5743
5744 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5745 and destructor using typedef name of class.
5746 * gdb.cp/classes.cc (class Base1): Add a destructor.
5747 (base1): New typedef.
5748 (use_methods): Instanitate an object of type base1.
5749 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5750 (do_tests): Call test_template_typedef.
5751 * gdb.cp/templates.cc (Baz::~Baz): New method.
5752 (intBazOne): New typedef.
5753 (main): Instantiate intBazOne.
5754
7a9fe101
PM
57552009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5756
5757 PR python/10633
5758
5759 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5760 Function.
5761 (run_lang_tests): Add print elements test.
5762
2e4d963f
PM
57632009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5764
5765 * gdb.python/py-value.exp (test_subscript_regression): New
5766 function. Test for invalid subscripts.
5767 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5768 (ptr_ref): New function.
5769
ec7e75e7
PP
57702009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5771
5772 * gdb.base/default.exp: Fix "show convenience".
5773
0cc7d26f
TT
57742009-09-15 Tom Tromey <tromey@redhat.com>
5775
5776 * lib/mi-support.exp (mi_create_varobj): Update.
5777 (mi_create_floating_varobj): Likewise.
5778 (mi_create_dynamic_varobj): New proc.
5779 (mi_varobj_update): Update.
5780 (mi_varobj_update_with_type_change): Likewise.
5781 (mi_varobj_update_kv_helper): New proc.
5782 (mi_varobj_update_dynamic_helper): Rewrite.
5783 (mi_varobj_update_dynamic): New proc.
5784 (mi_list_varobj_children): Update.
5785 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5786 * gdb.python/python-prettyprint.py (pp_outer): New class.
5787 (pp_nullstr): Likewise.
5788 (lookup_function): Register new printers.
5789 * gdb.python/python-prettyprint.c (struct substruct): New type.
5790 (struct outerstruct): Likewise.
5791 (substruct_test): New function.
5792 (struct nullstr): New type.
5793 (string_1, string_2): New globals.
5794 (main): Add new tests.
5795 * gdb.python/python-mi.exp: Added regression tests.
5796 * gdb.mi/mi2-var-display.exp: Update.
5797 * gdb.mi/mi2-var-cmd.exp: Update.
5798 * gdb.mi/mi2-var-child.exp: Update.
5799 * gdb.mi/mi2-var-block.exp: Update.
5800 * gdb.mi/mi-var-invalidate.exp: Update.
5801 * gdb.mi/mi-var-display.exp: Update.
5802 * gdb.mi/mi-var-cmd.exp: Update.
5803 * gdb.mi/mi-var-child.exp: Update.
5804 * gdb.mi/mi-var-block.exp: Update.
5805 * gdb.mi/mi-break.exp: Update.
5806 * gdb.mi/gdb701.exp: Update.
5807
a96d9b2e
SDJ
58082009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5809
5810 * Makefile.in: Inclusion of catch-syscall object.
5811 * gdb.base/catch-syscall.c: New file.
5812 * gdb.base/catch-syscall.exp: New file.
5813
b43b923a
MS
58142009-09-12 Michael Snyder <msnyder@vmware.com>
5815
5816 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5817 that can support reverse debuggnig.
5818
cec03d70
TT
58192009-09-11 Tom Tromey <tromey@redhat.com>
5820
5821 * gdb.dwarf2/valop.S: New file.
5822 * gdb.dwarf2/valop.exp: New file.
5823
e23bb3fc
MK
58242009-09-11 Mark Kettenis <kettenis@gnu.org>
5825
5826 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5827
37c3696d
DE
58282009-09-10 Doug Evans <dje@google.com>
5829
5830 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5831 Add $gdb_prompt to second breakpoint regexp.
5832
5172aecb
JB
58332009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5834
5835 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5836 names, add missing ones.
5837 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5838 * gdb.python/py-frame.c: Rename from python-frame.c.
5839 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5840 testfile name.
5841 * gdb.python/py-function.exp: Rename from python-function.exp.
5842 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5843 testfile name.
5844 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5845 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5846 Adjust testfile name.
5847 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5848 * gdb.python/py-template.cc: Rename from python-template.cc.
5849 * gdb.python/py-template.exp: Rename from python-template.exp.
5850 Adjust testfile name.
5851 * gdb.python/py-value.c: Rename from python-value.c.
5852 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5853 testfile name.
5854
b554e4bd
JK
58552009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5856
5857 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5858 $bpt2address.
5859 (Second breakpoint address is valid on ia64)
5860 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5861
9a68ae16
JM
58622009-09-03 Joseph Myers <joseph@codesourcery.com>
5863
5864 * gdb.base/ending-run.exp: Restrict regular expression matching
5865 line number to require closing brace following.
5866
146b9145
DE
58672009-09-03 Doug Evans <dje@google.com>
5868
5869 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5870
787d21e1
TT
58712009-09-02 Tom Tromey <tromey@redhat.com>
5872
5873 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5874
e7802207
TT
58752009-09-02 Tom Tromey <tromey@redhat.com>
5876
5877 * gdb.dwarf2/callframecfa.exp: New file.
5878 * gdb.dwarf2/callframecfa.S: New file.
5879
817aadd2
JK
58802009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5881
5882 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5883 gdb.base/solib-overlap-main.c: New.
5884
4a76eae5
DJ
58852009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5886
5887 PR gdb/10565
5888
5889 * gdb.base/bitfields.c (struct container, container): New.
5890 (main): Initialize it and call break5.
5891 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5892
d4b96c9a
JK
58932009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5896 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5897
4e22772d
JK
58982009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5899
5900 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5901
2efab443
MS
59022009-08-26 Michael Snyder <msnyder@vmware.com>
5903
5904 * gdb.base/i386-reverse.c: New file.
5905 * gdb.base/i386-reverse.exp: New file.
5906 * gdb.base/Makefile.in: Add new files to be removed.
5907
07ab73a0
JM
59082009-08-26 Joseph Myers <joseph@codesourcery.com>
5909
5910 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5911 environment-pwd for remote host.
5912 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5913
676accff
KS
59142009-08-24 Keith Seitz <keiths@redhat.com>
5915
5916 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5917 Add two new C++ completer tests which limit the output to a
889bf7c5 5918 given class.
676accff 5919
f9f7ad22
MS
59202009-08-24 Michael Snyder <msnyder@vmware.com>
5921
5922 * gdb.base/del.exp: Fix typo in comment.
5923 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5924
81ecdfbb
RW
59252009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5926
5927 * configure: Regenerate.
5928 * gdb.hp/configure: Likewise.
5929 * gdb.hp/gdb.aCC/configure: Likewise.
5930 * gdb.hp/gdb.base-hp/configure: Likewise.
5931 * gdb.hp/gdb.compat/configure: Likewise.
5932 * gdb.hp/gdb.defects/configure: Likewise.
5933 * gdb.hp/gdb.objdbg/configure: Likewise.
5934 * gdb.stabs/configure: Likewise.
5935
cab0c772
UW
59362009-08-19 Doug Evans <dje@google.com>
5937
5938 * gdb.base/gdbvars.c: New file.
5939 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5940
b8fa0bfa
PA
59412009-08-14 Pedro Alves <pedro@codesourcery.com>
5942
5943 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5944 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5945
b84aa90a
PA
59462009-08-13 Pedro Alves <pedro@codesourcery.com>
5947
5948 * gdb.base/default.exp: Adjust "set language test": it's now an
5949 enum command. Larger help string moved to "help set language".
5950 * gdb.base/help.exp: Adjust "help set language" expected output,
5951 now lists all known languages.
5952
0d8f9b2c
NF
59532009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5954
5955 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5956 all frame arguments.
5957 * gdb.arch/altivec-regs.exp: Likewise.
5958
bda180e0
TT
59592009-08-07 Tom Tromey <tromey@redhat.com>
5960
5961 * gdb.base/setshow.exp: Add tests for changes to set language, set
5962 check range, and set check type.
5963
48cb2d85
VP
59642009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5965
5966 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5967 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5968 Call it.
48cb2d85 5969
1ea34204
UW
59702009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5971
5972 * configure.ac: Run gdb.cell tests when appropriate.
5973 * configure: Regenerate.
5974 * lib/cell.exp: New file.
5975 * gdb.cell: New directory.
5976 * gdb.cell/configure.ac: New file.
5977 * gdb.cell/configure: New file.
5978 * gdb.cell/Makefile.in: New file.
5979 * gdb.cell/arch.exp: New file.
5980 * gdb.cell/break.c: New file.
5981 * gdb.cell/break.exp: New file.
5982 * gdb.cell/break-spu.c: New file.
5983 * gdb.cell/bt.c: New file.
5984 * gdb.cell/bt2-spu.c: New file.
5985 * gdb.cell/bt-spu.c: New file.
5986 * gdb.cell/bt.exp: New file.
5987 * gdb.cell/coremaker.c: New file.
5988 * gdb.cell/coremaker-spu.c: New file.
5989 * gdb.cell/core.exp: New file.
5990 * gdb.cell/gcore.exp: New file.
5991 * gdb.cell/data.c: New file.
5992 * gdb.cell/data.exp: New file.
5993 * gdb.cell/data-spu.c: New file.
5994 * gdb.cell/ea-cache.exp: New file.
5995 * gdb.cell/ea-cache.c: New file.
5996 * gdb.cell/ea-cache-spu.c: New file.
5997 * gdb.cell/ea-standalone.c: New file.
5998 * gdb.cell/ea-standalone.exp: New file.
5999 * gdb.cell/ea-test.c: New file.
6000 * gdb.cell/ea-test.exp: New file.
6001 * gdb.cell/f-regs.exp: New file.
6002 * gdb.cell/mem-access.c: New file.
6003 * gdb.cell/mem-access.exp: New file.
6004 * gdb.cell/mem-access-spu.c: New file.
6005 * gdb.cell/ptype.exp: New file.
6006 * gdb.cell/registers.exp: New file.
6007 * gdb.cell/size.c: New file.
6008 * gdb.cell/sizeof.exp: New file.
6009 * gdb.cell/size-spu.c: New file.
6010 * gdb.cell/solib.exp: New file.
6011 * gdb.cell/solib-symbol.exp: New file.
6012
85e747d2
UW
60132009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6014
6015 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6016
58d6951d
DJ
60172009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6018
6019 * gdb.base/float.exp: Handle VFP registers.
6020
6e0a4f15
MS
60212009-07-14 Michael Snyder <msnyder@vmware.com>
6022
dcd5da87
MS
6023 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6024 to bring gdb to the beginning of the calling line.
6025
6e0a4f15
MS
6026 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6027 confusing the i386 epilogue unwinder.
6028
782b2b07
SS
60292009-07-14 Stan Shebs <stan@codesourcery.com>
6030
6031 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6032
f662c3bc
MS
60332009-07-14 Michael Snyder <msnyder@vmware.com>
6034
6035 * gdb.reverse/step-reverse.exp (stepi into function call):
6036 Call instruction may not be first instruction in the line.
6037 (reverse stepi from a function call): Used wrong line number.
6038
8f313923
JK
60392009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6042
4662c76e
JK
60432009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6044
6045 Fix gdb.base/macscp.exp when using custom inputrc.
6046 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6047 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6048 env(TERM) set.
6049 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6050 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6051
aa81e255
JK
60522009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6055 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6056 Change the compilation target to match the testcase name.
6057 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6058 testcase name.
6059 * a2-run.exp: Use for setup prepare_for_testing. Change the
6060 compilation target to match the testcase name.
6061 * gdb.base/commands.exp: Likewise.
6062 * gdb.base/finish.exp: Likewise.
6063 * gdb.base/float.exp: Likewise.
6064 * gdb.base/info-target.exp: Likewise.
6065 * gdb.base/relational.exp: Likewise.
6066 * gdb.base/term.exp: Likewise.
6067 * gdb.base/until.exp: Likewise.
6068 * gdb.base/volatile.exp: Likewise.
6069 * gdb.base/whatis-exp.exp: Likewise.
6070
4c93b1d7
HZ
60712009-07-11 Hui Zhu <teawater@gmail.com>
6072
6073 * gdb.base/help.exp (disassemble): Update expected help text.
6074
812f7342
TT
60752009-07-09 Tom Tromey <tromey@redhat.com>
6076
6077 * lib/gdb.exp: Handle TRANSCRIPT.
6078 (remote_spawn, remote_close, send_gdb): New procs.
6079
fbb8f299
PM
60802009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6081
6082 * gdb.python/python-prettyprint.c: Add counted null string
6083 structure.
6084 * gdb.python/python-prettyprint.exp: Print null string. Test for
6085 embedded nulls.
6086 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6087 * gdb.python/python-value.exp (test_value_in_inferior): Add
6088 variable length string fetch tests.
6089 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6090
c0ac0ec7
JK
60912009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6092
6093 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6094
30b66ecc
TT
60952009-07-07 Tom Tromey <tromey@redhat.com>
6096
6097 * gdb.base/call-rt-st.exp: Update for change to escape output.
6098 * gdb.base/callfuncs.exp: Likewise.
6099 * gdb.base/charset.exp: Likewise.
6100 * gdb.base/constvars.exp: Likewise.
6101 * gdb.base/long_long.exp: Likewise.
6102 * gdb.base/pointers.exp: Likewise.
6103 * gdb.base/printcmds.exp: Likewise.
6104 * gdb.base/setvar.exp: Likewise.
6105 * gdb.base/store.exp: Likewise.
6106 * gdb.cp/ref-types.exp: Likewise.
6107 * gdb.mi/mi-var-child.exp: Likewise.
6108 * gdb.mi/mi-var-display.exp: Likewise.
6109 * gdb.mi/mi2-var-display.exp: Likewise.
6110 * gdb.base/charset.exp: Test octal escape sequence length.
6111 Update for change to escape output.
6112
187c4a2b
JK
61132009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6114
6115 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6116
d80a43f9
DJ
61172009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6118
6119 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6120
047427a8
JK
61212009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6124 gdbserver increasing $portnum if "Can't bind address" has been seen.
6125
8b5a0f4f
PA
61262009-07-05 Pedro Alves <pedro@codesourcery.com>
6127
6128 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6129 mingw32ce.
6130
7d93ba58
PA
61312009-07-05 Pedro Alves <pedro@codesourcery.com>
6132
6133 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6134 VFP format.
6135
2277426b
PA
61362009-07-02 Pedro Alves <pedro@codesourcery.com>
6137
6138 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6139 linux. Adjust to use "inferior", "info inferiors", "detach
6140 inferior" and "kill inferior" instead of "restart", "info fork",
6141 "detach fork" and "delete fork".
6142 * gdb.base/ending-run.exp: Spell out "info".
6143 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6144 the "kill" command.
6145
5af949e3
UW
61462009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6147
6148 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6149 change to prefix TLS offset in hex with 0x.
6150
5d3729b5
UW
61512009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6152
6153 * gdb.base/default.exp: Update test case for "x" changes.
6154
af589bd0
TG
61552009-07-01 Tristan Gingold <gingold@adacore.com>
6156
6157 * gdb.base/bigcore.exp: Make darwin untested.
6158
40974f91
JK
61592009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6160
6161 * gdb.base/completion.exp (directory completion): Create the directory.
6162 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6163 escapeuniquesub.
6164 (directory completion 2): Expect now ${escapeuniquesub}.
6165 (Glob remaining of directory test): Remove one excessive newline.
6166 Expect the real output.
6167
59dd3af6
JK
61682009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Fix `make check//%' target after `make check' has been ran.
6171 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6172 a mkdir call.
6173 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6174 (%/.dir): Remove.
6175
f4e164aa
JK
61762009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6177
6178 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6179 the expected result record.
6180
69af2122
JK
61812009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 Remove racy FAILs relying just on the timeouts.
6184 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6185 (annotation_level 2): Remove racy FAILs.
6186
2fd481e1
PP
61872009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6188
6189 gdb/10275
889bf7c5
PA
6190 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6191
c38f313d
DJ
61922009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6193
6194 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6195
8b777f02
VP
61962009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6197
6198 * gdb.mi/mi-stack.exp: Testing symbolic options
6199 to -stack-list-locals and -stack-list-arguments.
6200
00c7eacf
JK
62012009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6202
6203 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6204
6bc80edc
TT
62052009-06-29 Tom Tromey <tromey@redhat.com>
6206
6207 * dg-extract-results.sh: New file.
6208 * Makefile.in (FORCE_PARALLEL): New variable.
6209 (CHECK_TARGET): New conditional variable.
6210 (check): Use CHECK_TARGET.
6211 (DO_RUNTEST): New variable.
6212 (check-single): New target.
6213 (TEST_DIRS): New variable.
6214 (TEST_TARGETS): Likewise.
6215 (check-parallel): New target.
6216 (check-gdb.%): New pattern.
6217 (BASE1_FILES): New variable.
6218 (BASE2_FILES): Likewise.
6219 (check-gdb.base%): New pattern.
6220 (%/.dir): New pattern.
6221 * configure: Rebuild.
6222 * aclocal.m4 (AM_CONDITIONAL): New defun.
6223 * configure.ac: Check whether user is using GNU make.
6224 (GMAKE): New conditional.
6225
794684b6
SW
62262009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6227
6228 * gdb.cp/namespace-nested-import.cc: New test.
6229 * gdb.cp/namespace-nested-import.exp: New test.
6230
edb3359d
DJ
62312009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6232
6233 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6234 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6235 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6236 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6237 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6238 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6239 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6240 gdb.opt/inline-markers.c: New files.
6241 * lib/gdb.exp (skip_inline_frame_tests): New function.
6242 (skip_inline_var_tests): New function.
6243
cf657a0c
AS
62442009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6247 backtrace.
6248
28d41a99
MS
62492009-06-27 Michael Snyder <msnyder@vmware.com>
6250
6251 * gdb.reverse: New directory.
6252 * gdb.reverse/break-reverse.c: New test.
6253 * gdb.reverse/break-reverse.exp: New test.
6254 * gdb.reverse/consecutive-reverse.c: New test.
6255 * gdb.reverse/consecutive-reverse.exp: New test.
6256 * gdb.reverse/finish-reverse.c: New test.
6257 * gdb.reverse/finish-reverse.exp: New test.
6258 * gdb.reverse/machinestate.c: New test.
6259 * gdb.reverse/ms1.c: New test.
6260 * gdb.reverse/machinestate.exp: New test.
6261 * gdb.reverse/Makefile.in: New file.
6262 * gdb.reverse/shr2.c: New test.
6263 * gdb.reverse/solib-reverse.c: New test.
6264 * gdb.reverse/solib-reverse.exp: New test.
6265 * gdb.reverse/step-reverse.c: New test.
6266 * gdb.reverse/step-reverse.exp: New test.
6267 * gdb.reverse/until-reverse.c: New test.
6268 * gdb.reverse/ur1.c: New test.
6269 * gdb.reverse/until-reverse.exp: New test.
6270 * gdb.reverse/watch-reverse.c: New test.
6271 * gdb.reverse/watch-reverse.exp: New test.
6272 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6273 * configure: Regenerate.
6274
fe3c8b0d
DE
62752009-06-26 Doug Evans <dje@google.com>
6276
6277 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6278
3a72a602
PM
62792009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6280
6281 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6282 windows problem for 'file delete $binfile'.
6283
27aa8d6a
SW
62842009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6285
6286 * gdb.cp/namespace-using.exp: New test.
6287 * gdb.cp/namespace-using.cc: New test.
6288
8ac055f8
JB
62892009-05-20 Joel Brobecker <brobecker@adacore.com>
6290
6291 * gdb.ada/variant_record_packed_array: New testcase.
6292
85e306ed
TT
62932009-06-23 Tom Tromey <tromey@redhat.com>
6294
6295 * gdb.base/charset.exp (test_combination): Regression test.
6296 * gdb.base/charset.c (my_wchar_t): New typedef.
6297 (myvar): New global.
6298 (main): Set myvar.
6299
56643c5e
PM
63002009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6301
6302 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6303 target.
6304
1fac167a
UW
63052009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6306
6307 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6308
7ccb0be9
UW
63092009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6310
6311 * gdb.mi/gdb680.exp: Update test for error message.
6312
568d6575
UW
63132009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6314
6315 * gdb.base/annota1.exp: Allow multiple occurrences of the
6316 frames-invalid annotation.
6317 * gdb.cp/annota2.exp: Likewise.
6318
7cd1089b
PM
63192009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6320
6321 * gdb.cp/gdb2495.cc: New file.
6322 * gdb.cp/gdb2495.exp: New file.
6323
72c63395
JK
63242009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6325
6326 Report error on GDB crash during runto.
6327 * lib/gdb.exp (runto <eof>): New.
6328
3788363d
DJ
63292009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6330
6331 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6332 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6333 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6334 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6335 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6336 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6337 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6338 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6339 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6340 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6341 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6342 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6343 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6344 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6345 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6346 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6347 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6348 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6349 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6350 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6351 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6352 gdb.trace/passcount.exp, gdb.trace/report.exp,
6353 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6354 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6355 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6356 executable.
6357
17592de3
PA
63582009-06-07 Pedro Alves <pedro@codesourcery.com>
6359
6360 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6361 defined before referencing it.
6362
701e355d
DE
63632009-06-03 Doug Evans <dje@google.com>
6364
6365 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6366 * gdb.arch/i386-see.c: Ditto.
6367
f2292c65
PM
63682009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6369
6370 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6371 (check_macro): Return 1 if undefined.
6372 If first test fails, check if macro debug information is available,
6373 and report unsupported test if no macro information is found.
6374
5a437975
DE
63752009-05-29 Doug Evans <dje@google.com>
6376
6377 * gdb.threads/hand-call-in-threads.exp: New.
6378 * gdb.threads/hand-call-in-threads.c: New.
6379
c141c696
MS
63802009-05-29 Michael Snyder <msnyder@vmware.com>
6381
6382 * gdb.base/break-always.exp: Change "1" to "on".
6383 Add confirmation check.
6384
b3444185
PA
63852009-05-28 Pedro Alves <pedro@codesourcery.com>
6386
6387 * gdb.threads/threxit-hop-specific.c: New.
6388 * gdb.threads/threxit-hop-specific.exp: New.
6389 * gdb.threads/thread-execl.c: New.
6390 * gdb.threads/thread-execl.exp: New.
6391
b6313243
TT
63922009-05-27 Tom Tromey <tromey@redhat.com>
6393 Thiago Jung Bauermann <bauerman@br.ibm.com>
6394
6395 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6396 (mi_child_regexp): Likewise.
6397 (mi_list_varobj_children_range): Likewise.
6398 (mi_get_features): Likewise.
6399 (mi_list_varobj_children): Rewrite.
6400 * gdb.python/python-mi.exp: New file.
6401
a6bac58e
TT
64022009-05-27 Tom Tromey <tromey@redhat.com>
6403 Thiago Jung Bauermann <bauerman@br.ibm.com>
6404 Phil Muldoon <pmuldoon@redhat.com>
6405 Paul Pluzhnikov <ppluzhnikov@google.com>
6406
6407 * gdb.python/python-prettyprint.exp: New file.
6408 * gdb.python/python-prettyprint.c: New file.
6409 * gdb.python/python-prettyprint.py: New file.
6410 * gdb.base/display.exp: print/r is now valid.
6411
2c74e833
TT
64122009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6413 Tom Tromey <tromey@redhat.com>
6414 Pedro Alves <pedro@codesourcery.com>
6415 Paul Pluzhnikov <ppluzhnikov@google.com>
6416
6417 * gdb.python/python-template.exp: New file.
6418 * gdb.python/python-template.cc: New file.
6419 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6420 tests.
6421 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6422 Call it.
6423 (test_value_after_death): New proc.
6424 * gdb.python/python-value.c (PTR): New typedef.
6425 (main): New variable 'x'.
6426
89c73ade
TT
64272009-05-27 Tom Tromey <tromey@redhat.com>
6428
6429 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6430 tests.
6431 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6432 Call it.
6433
a75724bc
PA
64342009-05-27 Pedro Alves <pedro@codesourcery.com>
6435
6436 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6437
e58b0e63
PA
64382009-05-24 Pedro Alves <pedro@codesourcery.com>
6439
6440 * gdb.threads/fork-thread-pending.c: New.
6441 * gdb.threads/fork-thread-pending.exp: New.
6442
4ac36638
JK
64432009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6444
6445 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6446 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6447
889bf7c5 64482009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6449
889bf7c5 6450 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6451
b242c3c2
PA
64522009-05-17 Pedro Alves <pedro@codesourcery.com>
6453
6454 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6455 `gdb_get_line_number'. Call `callee' in both parent and child.
6456 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6457 `gdb_get_line_number' instead of hardcoding line numbers.
6458 (catch_fork_unpatch_child): New procedure to test detaching
6459 breakpoints from child fork.
6460 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6461 hardcoding line numbers.
6462 (do_fork_tests): Run `catch_fork_unpatch_child'.
6463
ee342b23
VP
64642009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6465
6466 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6467 of structure type enters or leaves the scope, it
6468 is reported by -var-update.
6469
e2009e98
DE
64702009-05-11 Doug Evans <dje@sebabeach.org>
6471
6472 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6473 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6474 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6475
00903456
JK
64762009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6479
dc621c35
DE
64802009-04-30 Doug Evans <dje@google.com>
6481
6482 * gdb.threads/watchthreads2.exp: New testcase.
6483 * gdb.threads/watchthreads2.c: New testcase.
6484
9ab4e744
DE
64852009-04-29 Doug Evans <dje@google.com>
6486
6487 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6488 * gdb.cp/mb-ctor.cc: Ditto.
6489 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6490 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6491 * gdb.cp/mb-inline1.cc: Call it.
6492 * gdb.cp/mb-inline2.cc: Ditto.
6493 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6494 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6495
484086b7
JK
64962009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6499 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6500 Replace all uses of `decimal' by `nonzero'.
6501 (info macro FROM_COMMANDLINE): New test.
6502
379a77b5
TT
65032009-04-27 Tom Tromey <tromey@redhat.com>
6504
6505 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6506
b92b73c2
DE
65072009-04-27 Doug Evans <dje@google.com>
6508
6509 * gdb.threads/watchthreads.c (main): Initialize args before starting
6510 the threads. Plus formatting cleanup.
6511 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6512 biased scheduling of one thread.
6513
945a118d
JG
65142009-04-27 Jerome Guitton <guitton@adacore.com>
6515
6516 * gdb.cp/templates.cc (GetMax): New template.
6517 (main): Declare two instances of GetMax.
6518 * gdb.cp/templates.exp: Add new test.
6519
d389af10
JK
65202009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6521
6522 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6523
e7f86de9
JM
65242009-04-22 Joseph Myers <joseph@codesourcery.com>
6525
6526 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6527
334cc82d
TT
65282009-04-15 Tom Tromey <tromey@redhat.com>
6529
6530 * gdb.base/charset.exp: Add regression test.
6531
d12672cc
JB
65322009-04-14 Joel Brobecker <brobecker@adacore.com>
6533
6534 * gdb.base/exe-lock.exp: New testcase.
6535
18e8c3bc
TT
65362009-04-13 Tom Tromey <tromey@redhat.com>
6537
6538 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6539 operator on Frame.
6540
5ecd5cbe
UW
65412009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6542
6543 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6544 * gdb.server/ext-attach.exp: Likewise.
6545
7309f756
VP
65462009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6547
6548 Eliminate some sleep usage.
6549
889bf7c5
PA
6550 * gdb.mi/basics.c (do_nothing): New.
6551 (main): Use do_nothing instead of printf, so that
6552 not to introduce race condition between output of
6553 inferiour and output of gdb. Do not use sleep as it
6554 is not generally available on embedded targets.
7309f756 6555
f4b95f6f
PA
65562009-04-02 Pedro Alves <pedro@codesourcery.com>
6557
6558 * gdb.server/ext-attach.exp: Expect an optional process id after
6559 "Detached from remote process".
6560
de40b933
JK
65612009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6562
6563 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6564 gdb.dwarf2/dw2-unresolved.exp: New.
6565
2ae101a4
PA
65662009-04-02 Pedro Alves <pedro@codesourcery.com>
6567
6568 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6569 mi_run_to_main.
6570
56a8e183
PA
65712009-04-02 Pedro Alves <pedro@codesourcery.com>
6572
6573 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6574 mi_run_to_main. Skip thread exit test on remote targets.
6575 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6576 mi_run_to_main.
6577 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6578 mi_run_to_main.
6579 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6580 when expecting ^connected. Detect when the target doesn't support
6581 non-stop mode.
6582 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6583 supported. Return -1 on error, 0 on success.
6584 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6585 (mi_runto): Return mi_runto_helper's result explicitly.
6586
c35fafde
PA
65872009-04-01 Pedro Alves <pedro@codesourcery.com>
6588
6589 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6590
f8a8dce6
JB
65912009-04-01 Tom Tromey <tromey@redhat.com>
6592
6593 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6594 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6595 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6596 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6597
71c25dea
TT
65982009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6599 Jan Kratochvil <jan.kratochvil@redhat.com>
6600
6601 PR gdb/931
6602 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6603 output.
6604 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6605 for gdb/931.
6606 * dw2-strp.S (DW_AT_language): Change to C++.
6607 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6608
02d9a9ce
JB
66092009-03-31 Joel Brobecker <brobecker@adacore.com>
6610
6611 * gdb.ada/tasks: New testcase.
6612
1042e4c0
SS
66132009-03-30 Stan Shebs <stan@codesourcery.com>
6614
6615 * gdb.trace/actions.exp: Update to match new info trace format.
6616 * gdb.trace/deltrace.exp: Ditto.
6617 * gdb.trace/infotrace.exp: Ditto.
6618 * gdb.trace/passcount.exp: Ditto.
6619 * gdb.trace/save-trace.exp: Ditto.
6620 * gdb.trace/while-stepping.exp: Ditto.
6621 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6622
f8f6f20b
TJB
66232009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6624
6625 * gdb.python/python-frame.c: New file.
6626 * gdb.python/python-frame.exp: New file.
6627
c0c6f777
TJB
66282009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6629
6630 * gdb.python/python-value.exp: Add tests for the address
6631 attribute.
6632
3cb51905
AS
66332009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6634
6635 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6636
88fc996f
DE
66372009-03-26 Doug Evans <dje@google.com>
6638
6639 * gdb.mi/mi-nonstop-exit.exp: New file.
6640 * gdb.mi/non-stop-exit.c: New file.
6641
56ef84b1
TT
66422009-03-26 Tom Tromey <tromey@redhat.com>
6643
6644 Update for change to prologue skipping:
6645 * gdb.mi/mi2-simplerun.exp: Update.
6646 * gdb.mi/mi2-break.exp: Update.
6647 * gdb.mi/mi-simplerun.exp: Update.
6648 * gdb.mi/mi-break.exp: Update.
6649 * gdb.base/ending-run.exp: Update.
6650
def2b000
TJB
66512009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6652
6653 * gdb.python/python-value.exp (test_value_in_inferior): Test
6654 gdb.Value.is_optimized_out attribute.
6655
442ddf59
JK
66562009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6657
6658 * gdb.dwarf2/dw2-noloc-main.c: New file.
6659 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6660 (.text): Remove.
6661 (.data): New.
6662 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6663 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6664 (DW_TAG_subprogram func_cu1, noloc): Remove.
6665 (main): New.
6666 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6667 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6668 (file_symbols): New procedure.
6669
a8df5de4
TT
66702009-03-25 Tom Tromey <tromey@redhat.com>
6671
6672 * gdb.base/charset.exp (valid_target_charset): New proc.
6673 Use it to skip tests on invalid charsets.
6674
cc1d7add
PM
66752009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6676
6677 * gdb.base/completion.exp: Add a test for directory completion.
6678
bcd5727b
JK
66792009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 Fix a racy FAIL.
6682 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6683 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6684
cc924cad
TJB
66852009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6686
6687 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6688 * gdb.python/python-function.exp: Add test for function returning
6689 a GDB value.
6690
bc3b79fd
TJB
66912009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6692
6693 * gdb.python/python-function.exp: New file.
6694
6c7a06a3
TT
66952009-03-20 Tom Tromey <tromey@redhat.com>
6696
6697 * gdb.base/store.exp: Update for change to escape output.
6698 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6699 to escape output.
6700 * gdb.base/pointers.exp: Update for change to escape output.
6701 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6702 to escape output.
6703 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6704 escape output.
6705 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6706 to escape output.
6707 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6708 escape output.
6709 * gdb.base/setvar.exp: Update for change to escape output.
6710 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6711 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6712 to escape output.
6713 (test_print_string_constants): Likewise.
6714 * gdb.base/charset.exp (valid_host_charset): Check size of
6715 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6716 cases. Handle "auto"-related output.
6717 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6718 (uvar, Uvar): New globals.
6719
c31af87b
JG
67202009-03-19 Jerome Guitton <guitton@adacore.com>
6721
6722 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6723 deltas.
6724 * gdb.ada/fixed_points.exp: Ditto.
6725
51272cf2
PA
67262009-03-18 Pedro Alves <pedro@codesourcery.com>
6727
6728 * return-nodebug.c: Don't include stdio.h.
6729 (init): Delete.
6730 (func): Delete definition and provide extern declaration.
6731 (t): New.
6732 (main): Don't call printf. Call func and store its result in t.
6733 * return-nodebug1.c: New.
6734 * return-nodebug.exp: Don't expect stdio output. Instead, print
6735 the global variable t. Drop printf formatters and cast types from
6736 foreach loop. Don't use prepare_for_testing. Compile
6737 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6738 define FORMAT or CAST.
6739
d24948ac
PP
67402009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6741
6742 * gdb.base/solib-display.exp: Disable test for remote targers.
6743
61ff14c6
JK
67442009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6745
6746 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6747
cb4dce93
JK
67482009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6749
6750 Fix a racy FAIL.
6751 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6752 code from `follow parent, print pids'.
6753 (`follow child, print pids', `follow parent, print pids'): Call it.
6754 Replace `gdb_test "break..."' by gdb_breakpoint.
6755
f7c60c5e
VP
67562009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6757
6758 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6759 sync and async modes.
f7c60c5e 6760
383ace49
JB
67612009-03-12 Joel Brobecker <brobecker@adacore.com>
6762
6763 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6764 that was checked in by mistake. Remove loading of ada.exp, since
6765 this is not necessary in this case.
6766
4ce102af
JB
67672009-03-12 Joel Brobecker <brobecker@adacore.com>
6768
6769 * gdb.ada/ptype_arith_binop.exp: New testcase.
6770
529a2aef
JB
67712009-03-12 Joel Brobecker <brobecker@adacore.com>
6772
6773 * gdb.ada/mod_from_name: New testcase.
6774
8a38181c
JB
67752009-03-12 Joel Brobecker <brobecker@adacore.com>
6776
6777 * gdb.ada/tick_last_segv: New testcase.
6778
11436dee
VP
67792009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6780
61ff14c6 6781 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6782
1f31650a
VP
67832009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6784
61ff14c6
JK
6785 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6786 include the token in ^running and frame info in *stopped.
1f31650a 6787
a3247a22
PP
67882009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6789
6790 * solib-display.exp: New file.
6791 * solib-display-main.c: New file.
6792 * solib-display-lib.c: New file.
61ff14c6 6793
aae64587
PA
67942009-03-05 Pedro Alves <pedro@codesourcery.com>
6795
6796 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6797
44aabfbc
JK
67982009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6799
6800 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6801 (list_and_check_macro): Use more specific test name.
6802 (next to definition): Make the test names unique.
6803
c087fcd3
PM
68042009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6805
6806 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6807
c86cf029
VP
68082009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6809
6810 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6811 notifications.
6812 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6813 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6814 * lib/mi-support.exp (library_loaded_re): New.
6815 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6816
3ea85240
VP
68172009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6818
6819 * gdb.gdb/observer.exp: Use test_notification observer, not
6820 normal_stop, everywhere.
6821 (test_normal_stop_notifications): Rename to...
6822 (test_notifications): ...this.
6823 (test_observer_normal_stop): Rename to...
6824 (test_observer): ...this.
6825
1903f0e6
DE
68262009-02-16 Doug Evans <dje@google.com>
6827
6828 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6829 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6830 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6831 (test_prefixed_syscall,test_int3): New tests.
6832 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6833 (test_prefixed_syscall,test_int3): New tests.
6834
1d33d6ba
VP
68352009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6836
3cb51905
AS
6837 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6838 (mi_expect_interrupt): Likewise.
6839 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6840 response.
1d33d6ba 6841
faafb047
PM
68422009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6843
6844 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6845 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6846 Replace calls to get_valueofx by get_hexadecimal_valueof.
6847
417e16e2
PM
68482009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6849
6850 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6851 (get_integer_valueof): New procedure.
6852 (get_sizeof): Use new get_integer_value_of.
6853 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6854 by get_integer_valueof.
6855
7065b901
TT
68562009-02-13 Tom Tromey <tromey@redhat.com>
6857
6858 * gdb.base/remote.exp (get_sizeof): Remove.
6859 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6860 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6861 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6862 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6863 (get_sizeof): Likewise.
6864
5d7cb8df
JK
68652009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6866
6867 PR fortran/9806
6868 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6869
b2febfff
PP
68702009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6871
6872 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6873
4aa995e1
PA
68742009-02-06 Pedro Alves <pedro@codesourcery.com>
6875
6876 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6877
d8906c6f
TJB
68782009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6879
6880 * gdb.python/python-cmd.exp: New file.
6881
ff4ab08d
TG
68822009-02-06 Tristan Gingold <gingold@adacore.com>
6883
6884 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6885
aacd552b
TG
68862009-02-05 Tristan Gingold <gingold@adacore.com>
6887
6888 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6889 pointer is dereferenced and use this signal name in regexp.
6890 * gdb.base/signull.exp: Ditto.
6891 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6892 * gdb.base/signull.c (main): Ditto.
6893
08c637de
TJB
68942009-02-04 Tom Tromey <tromey@redhat.com>
6895 Thiago Jung Bauermann <bauerman@br.ibm.com>
6896
6897 * gdb.python/python-value.exp: Use `gdb.history' instead of
6898 `gdb.value_from_history'.
6899 (test_value_numeric_ops): Add test for conversion of enum constant.
6900 * gdb.python/python-value.c (enum e): New type.
6901 (evalue): New global.
6902 (main): Use argv.
6903
20261af8
JG
69042009-02-04 Jerome Guitton <guitton@adacore.com>
6905
6906 * gdb.ada/uninitialized_vars: New test program.
6907 * gdb.ada/uninitialized_vars.exp: New testcase.
6908
52e44b43
TT
69092009-02-02 Tom Tromey <tromey@redhat.com>
6910
6911 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6912 * gdb.cp/pr2489.cc: Rename...
6913 * gdb.cp/pr9594.cc: ... to this.
6914
1c71341a
TT
69152009-02-02 Tom Tromey <tromey@redhat.com>
6916
6917 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6918 * gdb.cp/pr2489.cc: New file.
6919 * gdb.cp/cpcompletion.exp: New file.
6920
a4295225
TT
69212009-02-02 Tom Tromey <tromey@redhat.com>
6922
6923 PR exp/9059:
6924 * gdb.cp/call-c.exp: Add regression test.
6925 * gdb.cp/call-c.cc (FooHandle): New typedef.
6926 (main): New variable 'handle'.
6927
592375cd
VP
69282009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6929
6930 * lib/mi-support.exp (et_mi_thread_list)
6931 (check_mi_and_console_threads): Adjust for current thread in
6932 -thread-list-ids output.
6933
41447f92
VP
69342009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6935
889bf7c5
PA
6936 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6937 Call it.
41447f92 6938
35669430
DE
69392009-01-28 Doug Evans <dje@google.com>
6940
6941 * gdb.arch/amd64-disp-step.S: New file.
6942 * gdb.arch/amd64-disp-step.exp: New file.
6943 * gdb.arch/i386-disp-step.S: New file.
6944 * gdb.arch/i386-disp-step.exp: New file.
6945
09f00d9a
PM
69462009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6947
6948 * gdb.base/find.exp: Set newline variable
6949 using quotes instead of braces to fix cygwin failures.
6950
1e8fb976
PA
69512009-01-23 Pedro Alves <pedro@codesourcery.com>
6952
6953 * gdb.base/radix.exp: Add tests to ensure that that set
6954 input-radix 0 and set output-radix 0 are really rejected.
6955
da061712
PA
69562009-01-23 Pedro Alves <pedro@codesourcery.com>
6957
6958 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6959 copyright years.
6960
dd7e2d2b
PA
69612009-01-23 Pedro Alves <pedro@codesourcery.com>
6962
6963 PR gdb/9664:
6964 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6965
392452f6
PA
69662009-01-22 Pedro Alves <pedro@codesourcery.com>
6967
6968 PR c++/9631:
6969 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6970
8653e71c
PM
69712009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6972
6973 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6974 binfile definition to fix Windows OS failure.
6975
a12cc160
DJ
69762009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6977
6978 PR gdb/9346
6979 * gdb.base/interrupt.c (sigint_handler): New.
6980 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6981 on error.
6982 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6983 Test "signal SIGINT".
6984
b89667eb
DE
69852009-01-19 Doug Evans <dje@google.com>
6986
6987 * gdb.base/break.exp: Update expected gdb output.
6988 * gdb.base/sepdebug.exp: Ditto.
6989 * gdb.mi/mi-syn-frame.exp: Ditto.
6990 * gdb.mi/mi2-syn-frame.exp: Ditto.
6991 * gdb.base/call-signal-resume.exp: New file.
6992 * gdb.base/call-signals.c: New file.
6993 * gdb.base/unwindonsignal.exp: New file.
6994 * gdb.base/unwindonsignal.c: New file.
6995 * gdb.threads/interrupted-hand-call.exp: New file.
6996 * gdb.threads/interrupted-hand-call.c: New file.
6997 * gdb.threads/thread-unwindonsignal.exp: New file.
6998
adb483fe
DJ
69992009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7000
7001 * gdb.base/define.exp: Test defining and hooking prefix commands.
7002 * gdb.python/python.exp: Update test for "show user" output.
7003
60023297
JK
70042009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7005
7006 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7007 now the output exactly, using less wildcards. Expect also the output
7008 of gfortran-4.3. Update for the f-valprint.c modification from
7009 2008-04-22.
7010 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7011 Remove gdb_test test names where matching the command.
7012
ccc57cf9
PA
70132009-01-01 Pedro Alves <pedro@codesourcery.com>
7014
7015 PR breakpoints/9681:
7016 * gdb.base/watchpoint.exp: Add regression test.
7017
c7a6ca08
PA
70182008-12-31 Pedro Alves <pedro@codesourcery.com>
7019
7020 * gdb.threads/attach-into-signal.exp: Don't use
7021 gdb_suppress_entire_file.
7022 * gdb.threads/attach-stopped.exp: Ditto.
7023 * gdb.threads/attachstop-mt.exp: Ditto.
7024
3a031f65
PA
70252008-12-31 Pedro Alves <pedro@codesourcery.com>
7026
7027 PR gdb/8812:
7028 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7029
09e6485f
PA
70302008-12-29 Pedro Alves <pedro@codesourcery.com>
7031
7032 PR gdb/7536:
7033 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7034 and unsupported output radices are really rejected.
7035
0cd53049
JK
70362008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7037
7038 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7039
ba163c7e
TT
70402008-12-22 Tom Tromey <tromey@redhat.com>
7041
7042 * gdb.cp/punctuator.exp: New file.
7043
6f4de6c9
JK
70442008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7045
7046 * gdb.base/completion.exp (Completing non-existing component): New test.
7047
0f34d0b4
JK
70482008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7049
7050 Fix for PR gdb/8648.
7051 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7052 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7053 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7054 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7055
db2ad4c3
JK
70562008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7059
bb5ef15e
DP
70602008-12-16 Christophe Lyon <christophe.lyon@st.com>
7061
7062 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7063 compiler actually generate code at the expected line number.
7064
90142adc
JZ
70652008-12-15 Jie Zhang <jie.zhang@analog.com>
7066
7067 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7068
fad6eecd
TT
70692008-12-12 Tom Tromey <tromey@redhat.com>
7070
7071 * gdb.base/commands.exp (redefine_hook_test): New proc.
7072 Call it.
7073
17c8aaf5
TT
70742008-12-11 Tom Tromey <tromey@redhat.com>
7075
7076 * gdb.base/macscp.exp: New regression test.
7077
7c8adf68
TT
70782008-12-11 Tom Tromey <tromey@redhat.com>
7079
7080 * gdb.base/macscp.exp: Print "address.addr".
7081 * gdb.base/macscp1.c (struct outer): New struct.
7082 (address): New global.
7083
b05dcbb7
TT
70842008-12-09 Tom Tromey <tromey@redhat.com>
7085
7086 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7087 Call it.
7088
2d476de1
DE
70892008-12-04 Doug Evans <dje@google.com>
7090
7091 * gdb.server/ext-run.exp: Relax regexp for init program.
7092
87bdc959
TG
70932008-12-03 Tristan Gingold <gingold@adacore.com>
7094
7095 * gdb.base/macscp.exp: Generate an object file during compilation
7096 to work around Darwin dsymutil limitations.
7097
e0740f77
JK
70982008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7099
7100 Test resolving external references to TLS variables.
7101 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7102 FILE2_THREAD_LOCAL.
7103 (testfile2, srcfile2): New variables.
7104 * gdb.threads/tls.c (file2_thread_local)
7105 (function_referencing_file2_thread_local): New.
7106 * gdb.threads/tls2.c: New file.
7107
67f0aac5
JB
71082008-11-28 Joel Brobecker <brobecker@adacore.com>
7109
7110 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7111 rather than integer, as integer might not be big enough when
7112 on 64bit targets.
67f0aac5 7113
c332165e
JG
71142008-11-27 Jerome Guitton <guitton@adacore.com>
7115
7116 * gdb.cp/formatted-ref.exp: Add equality test.
7117 * gdb.ada/formatted_ref.exp: Ditto.
7118
fc9b693c
JK
71192008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7120
7121 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7122 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7123
a9c64011
AS
71242008-11-20 Andreas Schwab <schwab@suse.de>
7125
7126 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7127 matching syscall entry point.
7128 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7129 (tcatch_vfork_then_child_follow): Likewise. Finish through
7130 vfork even if we stopped at the syscall trampoline.
7131
e2fd701e
DE
71322008-11-20 Doug Evans <dje@google.com>
7133
7134 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7135
69abc51c
TJB
71362008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7137
7138 * gdb.arch/ppc-dfp.exp: New file.
7139 * gdb.arch/ppc-dfp.c: New file.
7140
c14c28ba
PP
71412008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7142
7143 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7144
2e74121d
DE
71452008-11-17 Doug Evans <dje@google.com>
7146
7147 * gdb.mi/mi-syn-frame.exp: Update expected output.
7148 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7149
66bb093b
VP
71502008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7151
7152 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7153 "thread N" results in =thread-selected.
7154 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7155 (mi_send_resuming_command_raw): Be prepared for
7156 =thread-selected.
7157
3d043ef6
VP
71582008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7159
a9c64011
AS
7160 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7161 * lib/mi-support.exp: Likewise.
3d043ef6 7162
808104c8
JB
71632008-11-16 Joel Brobecker <brobecker@adacore.com>
7164
7165 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7166 commands from the expected output for "help catch".
7167
00b22944
JB
71682008-11-15 Joel Brobecker <brobecker@adacore.com>
7169
7170 * gdb.ada/int_deref.exp: New testcase.
7171
59669435
TT
71722008-11-14 Nick Roberts <nickrob@snap.net.nz>
7173
7174 * gdb.mi/gdb2549.exp: New file.
7175
de04a248
DE
71762008-11-11 Doug Evans <dje@google.com>
7177
7178 * gdb.base/callexit.exp: New file.
7179 * gdb.base/callexit.c: New file.
7180
6b8ce727
DE
71812008-11-10 Doug Evans <dje@google.com>
7182
7183 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7184 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7185 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7186 (default_gdb_start,default_gdb_exit): Ditto.
7187 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7188 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7189 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7190 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7191 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7192 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7193
1b14b8aa
AS
71942008-11-03 Andreas Schwab <schwab@suse.de>
7195
7196 * gdb.base/hashline2.exp: Fix typo.
7197 * gdb.base/hashline3.exp: Likewise.
7198
f3134b88
TT
71992008-10-30 Tom Tromey <tromey@redhat.com>
7200
7201 * gdb.base/pointers.exp: Add test.
7202 * gdb.base/pointers.c (k, S): New typedefs.
7203 (instance): New global.
7204
c2226152
AS
72052008-10-30 Andreas Schwab <schwab@suse.de>
7206
7207 * gdb.base/args.exp: Add tests for newlines.
7208
462f405c
JB
72092008-10-30 Joel Brobecker <brobecker@adacore.com>
7210
7211 gdb.base/foll-exec.exp: Update the expected output of a couple
7212 of "info breakpoints" tests.
7213
79a45b7d
TT
72142008-10-28 Tom Tromey <tromey@redhat.com>
7215
7216 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7217
adc13a14
PA
72182008-10-24 Pedro Alves <pedro@codesourcery.com>
7219
7220 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7221 gdb_start_cmd.
7222 Use runto_main before any test that requires execution.
7223
252fbfc8
PA
72242008-10-23 Pedro Alves <pedro@codesourcery.com>
7225
7226 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7227 instead of SIGINT.
7228
28148e3d
JB
72292008-10-22 Joel Brobecker <brobecker@adacore.com>
7230
7231 * gdb.base/completion.exp: Update expected output following
7232 the addition of the "info tasks" command.
7233
c209f847
TT
72342008-10-22 Tom Tromey <tromey@redhat.com>
7235
7236 * gdb.base/exprs.exp (test_expr): Add test for string
7237 concatenation.
7238
f177e350
PA
72392008-10-19 Pedro Alves <pedro@codesourcery.com>
7240
7241 * configure.ac: Output gdb.python/Makefile.
7242 * configure: Regenerate.
7243 * gdb.python/Makefile.in: New.
7244
cce89356
JB
72452008-10-16 Joel Brobecker <brobecker@adacore.com>
7246
7247 * gdb.base/foll-fork.exp: Adjust the expected output to match
7248 the new description for fork/vfork catchpoints in the "info
7249 breakpoints" output.
7250
176d289d
TJB
72512008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7252
7253 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7254
a08702d6
TJB
72552008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7256
7257 * gdb.python/python-value.c: New file.
7258 * gdb.python/python-value.exp: New file.
7259
1c5cfe86
PA
72602008-10-15 Pedro Alves <pedro@codesourcery.com>
7261
7262 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7263
5a98ad69
DP
72642008-10-15 Denis Pilat <denis.pilat@st.com>
7265
41702f1b 7266 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7267
dcb1a1e2
TT
72682008-10-09 Tom Tromey <tromey@redhat.com>
7269
7270 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7271 'fprintf' and 'stderr'.
7272
9124fe48
JB
72732008-10-07 Joel Brobecker <brobecker@adacore.com>
7274
7275 * gdb.ada/ref_tick_size.exp: New testcase.
7276
45452591
DE
72772008-10-06 Doug Evans <dje@google.com>
7278
7279 * gdb.dwarf2/dw2-cu-size.exp: New file.
7280 * gdb.dwarf2/dw2-cu-size.S: New file.
7281
7282 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7283 .Ltype_int for clarity.
7284
4fc5b208
PP
72852008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7286
7287 PR gdb/2384:
7288 * gdb.cp/gdb2384.exp: Extended to test more cases.
7289 * gdb.cp/gdb2384.cc: Likewise.
7290 * gdb.cp/gdb2384-base.h: Likewise.
7291 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7292
d78df370
JK
72932008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7294
7295 * gdb.base/maint.exp (maint print type): Remove printing
7296 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7297
9a044a89
TT
72982008-09-30 Tom Tromey <tromey@redhat.com>
7299
7300 * gdb.base/macscp.exp: Add completion tests.
7301 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7302 (TWENTY_THREE): Likewise.
7303 (FORTY_EIGHT): Likewise.
7304
506800a9
TT
73052008-09-30 Tom Tromey <tromey@redhat.com>
7306
7307 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7308 everywhere.
7309 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7310
1a6f01b5
JK
73112008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7312
7313 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7314 testcase is derived from. Fix racy dependency on an expected PID
7315 number. No longer support the testcase on Linux kernel 2.4.x.
7316
2fae03e8
TT
73172008-09-27 Tom Tromey <tromey@redhat.com>
7318
7319 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7320 and varargs.
7321
1ad15515
PA
73222008-09-22 Pedro Alves <pedro@codesourcery.com>
7323
7324 * lib/mi-support.exp (mi_expect_interrupt): New.
7325 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7326 from gdb.mi/mi-nonstop.exp.
7327 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7328 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7329 lib/mi-support.exp.
7330 Use mi_check_thread_states throughout. Avoid ".*" and do not
7331 require an anchor after -exec-run.
7332
d0b76dc6
DJ
73332008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7334
7335 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7336 stop is pending. Avoid ".*" when two stops are pending.
7337 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7338 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7339 newlines in fullnames.
7340 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7341 (mi_expect_stop): Update comments. Only anchor in sync mode.
7342 Do not match newlines.
7343 (mi_send_resuming_command_raw): Always return status.
7344 (mi_get_stop_line): Do not match more than one line by accident.
7345 Only anchor in sync mode.
7346 (mi_run_inline_test): If -exec-next fails, give up.
7347
9990c830
UW
73482008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7349
7350 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7351 on SPU.
7352
ebcf6f00
JB
73532008-09-10 Joel Brobecker <brobecker@adacore.com>
7354
7355 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7356
b6db24e5
JB
73572008-09-10 Joel Brobecker <brobecker@adacore.com>
7358
7359 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7360 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7361 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7362 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7363 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7364 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7365 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7366 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7367 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7368 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7369 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7370 Include the "= " sequence in the expected output of print tests.
7371
2bf448e0
JB
73722008-09-10 Joel Brobecker <brobecker@adacore.com>
7373
7374 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7375 description for boolean types.
7376
d51fd4c8
PA
73772008-09-09 Pedro Alves <pedro@codesourcery.com>
7378
7379 * gdb.base/hook-stop-continue.c: New.
7380 * gdb.base/hook-stop-continue.exp: New.
7381
694182d2
DJ
73822008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7383
7384 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7385
3b8a7fc0
JG
73862008-09-08 Jerome Guitton <guitton@adacore.com>
7387
7388 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7389 (stack_check_probe_2, stack_check_probe_loop_1)
7390 (stack_check_probe_loop_2): New functions.
7391 (main): Add call to these new functions.
7392 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7393 functions, check that the breakpoint is inserted at the appropriate
7394 location.
7395 (insert_breakpoint): Slightly refine this procedure so that it can
7396 be called several times in the test.
7397
96cc0ae8
JG
73982008-09-08 Jerome Guitton <guitton@adacore.com>
7399
7400 * gdb.base/stack-checking.c: New file.
7401 * gdb.base/stack-checking.exp: New file.
7402
1f08b409
TJB
74032008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7404
7405 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7406 * gdb.arch/altivec-regs.exp: Likewise.
7407 * gdb.arch/vsx-regs.exp: Likewise.
7408
3099e1c4
TJB
74092008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7410
7411 * gdb.arch/ppc-fp.exp: New file.
7412 * gdb.arch/ppc-fp.c: New file.
7413
cc69bfc1
PP
74142008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7415
7416 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7417 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7418
b02a33db
MS
74192008-09-04 Michael Snyder <msnyder@vmware.com>
7420
7421 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7422 as "at" (for non-debug functions such as _start).
7423
2992cbe0
UW
74242008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7425
7426 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7427 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7428 software watchpoints.
7429 * gdb.base/watch_thread_num.exp: Likewise.
7430
514f746b
AR
74312008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7432
7433 * gdb.arch/i386-bp_permanent.exp: New test.
7434
876cecd0
TT
74352008-08-24 Tom Tromey <tromey@redhat.com>
7436
7437 * gdb.base/maint.exp: Update "maint print type".
7438
80f73d71
VP
74392008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7440
7441 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7442 support. Adjust the order of "*running" notifications.
7443 * gdb.mi/non-stop.c: Don't cast from int to void* and
7444 back.
7445
d9c78d7d
MK
74462008-08-20 Mark Kettenis <kettenis@gnu.org>
7447
7448 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7449 expect to find it in the "info frame" output.
7450
97a2d1d3
DJ
74512008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7452
7453 * gdb.base/interp.exp: Always consume both prompts.
7454
b96e2927
PA
74552008-08-20 Pedro Alves <pedro@codesourcery.com>
7456
7457 * gdb.base/pending.exp: Test pending breakpoints without symbols
7458 loaded.
7459
8cf6e61a
VP
74602008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7461
7462 * lib/mi-support.exp (mi_expect_stop): Produce
7463 more details on failures.
7464 * gdb.mi/mi-nonstop.exp: New.
7465 * gdb.mi/non-stop.c: New.
7466
c6ebd6cf
VP
74672008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7468
a9c64011
AS
7469 * gdb.mi/mi-async.exp: Use 'set target-async'.
7470 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7471
46a9b8ed
DJ
74722008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7473
7474 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7475
44feb3ce
TT
74762008-08-17 Tom Tromey <tromey@redhat.com>
7477
7478 * gdb.base/help.exp (help catch): Rewrite.
7479
311a4e6b
TJB
74802008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7481
7482 * gdb.base/define.exp: Test indented command documentation.
7483 * gdb.python/python.exp: Test indented multi-line command.
7484
604c2f83
LM
74852008-08-15 Luis Machado <luisgpm@br.ibm.com>
7486
7487 * testsuite/gdb.arch/vsx-regs.c: New source file.
7488 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7489 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7490
886a217c
TT
74912008-08-14 Tom Tromey <tromey@redhat.com>
7492
7493 * gdb.base/macscp.exp: Add regression test for "macro define" or
7494 "macro undef" with no arguments.
7495
c814a4f3
PP
74962008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7497
7498 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7499
12ab8a60
UW
75002008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7501
7502 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7503
d57a3c85
TJB
75042008-08-06 Tom Tromey <tromey@redhat.com>
7505
7506 * gdb.python/python.exp: New file.
7507
c7b778ff
JK
75082008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7509
7510 Fix for PR gdb/1543.
7511 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7512 $LOCATION.
7513 (location): New variable.
7514 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7515 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7516 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7517 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7518 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7519 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7520 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7521 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7522 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7523 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7524 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7525 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7526 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7527 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7528 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7529 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7530 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7531 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7532 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7533 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7534 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7535 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7536 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7537 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7538 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7539 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7540 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7541 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7542 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7543 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7544 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7545 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7546 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7547 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7548 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7549 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7550 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7551 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7552 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7553 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7554 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7555 gdb.base/type-opaque.exp, gdb.base/until.exp,
7556 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7557 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7558 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7559 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7560 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7561 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7562 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7563 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7564 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7565 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7566 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7567 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7568 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7569 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7570 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7571 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7572 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7573 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7574 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7575 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7576 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7577 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7578 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7579 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7580 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7581 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7582 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7583 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7584 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7585 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7586 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7587 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7588 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7589 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7590 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7591 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7592 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7593 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7594 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7595 to bug-gdb@prep.ai.mit.edu .
7596
5e06a3d1
VP
75972008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7598
7599 * lib/mi-support.exp (mi_load_shlibs): New.
7600 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7601
9d81d21b
VP
76022008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7603
7604 * lib/mi-support.exp (get_mi_thread_list)
7605 (check_mi_and_console_threads): New, moved from ...
7606 * gdb.mi/mi-pthread.exp: ...here.
7607 * gdb.mi/gdb669.exp (get_mi_thread_list)
7608 (check_mi_and_console_threads): Delete.
7609 * gdb.mi/mi2-pthread.exp: Likewise.
7610
bae98fe0
TT
76112008-07-28 Tom Tromey <tromey@redhat.com>
7612
7613 * Makefile.in (just-check): Remove. Move body to...
7614 (check): ... here.
7615
57380f4e
DJ
76162008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7617
7618 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7619 Add a test for duplicated SIGINTs.
7620
e09490f1
DJ
76212008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7622
7623 * gdb.threads/schedlock.exp (get_args): Update to work for any
7624 value of NUM.
7625 (Top level): Report the number of threads that did not resume.
7626
6387b45f
DJ
76272008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7628
7629 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7630
62f64ff2
DJ
76312008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7632
7633 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7634 non-MI prompt.
7635
fa8de41e
TT
76362008-07-26 Tom Tromey <tromey@redhat.com>
7637
7638 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7639 (function_struct, function_struct_ptr): New globals.
7640 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7641 function pointer in a struct.
7642
ccb3ac8a
TT
76432008-07-26 Tom Tromey <tromey@redhat.com>
7644
7645 * gdb.base/macscp.exp: Add test for macro lexing bug.
7646
d7d9f01e
TT
76472008-07-18 Tom Tromey <tromey@redhat.com>
7648
7649 * gdb.base/macscp.exp: Add macro tests.
7650
9bf07184
PP
76512008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7652
7653 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7654
becf6477
PP
76552008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7656
7657 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7658
0709f7d3
PP
76592008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7660
7661 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7662
7093c834
PP
76632008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7664
7665 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7666
b432ffe3
JK
76672008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7668
7669 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7670
b1a268e5
VP
76712008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7672
7673 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7674
e2995f8e
KB
76752008-07-11 Kevin Buettner <kevinb@redhat.com>
7676
7677 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7678 of regexp to account for changes made to GDB in the printing of
7679 byte vectors.
7680
14032a66
TT
76812008-07-11 Tom Tromey <tromey@redhat.com>
7682
7683 * gdb.base/completion.exp: Add 'help' completion test.
7684
981505ef
JK
76852008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7686
7687 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7688
10568435
JK
76892008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7690
7691 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7692
4487aabf
PA
76932008-07-09 Pedro Alves <pedro@codesourcery.com>
7694
7695 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7696
a4a9b1c4
PA
76972008-07-09 Pedro Alves <pedro@codesourcery.com>
7698
7699 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7700
3c3185ac
JK
77012008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7702
7703 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7704
7ebd49dc
VP
77052008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7706
7707 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7708 previous commit. Add a comment.
7709
84e46146
PA
77102008-06-28 Pedro Alves <pedro@codesourcery.com>
7711
7712 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7713
0f8d4a2f
VP
77142008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7715
7716 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7717
f747e0ce
PA
77182008-06-27 Pedro Alves <pedro@codesourcery.com>
7719
7720 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7721 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7722 compiling an executable, link in an object that forces unbuffered
7723 output.
7724 * lib/set_unbuffered_mode.c: New file.
7725
734a5c36
JK
77262008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7727
7728 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7729
a2840c35
VP
77302008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7731
a9c64011
AS
7732 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7733 mi_expect_stop.
7734 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7735 Demand that *running is output.
7736 (detect_async): Perform checking every time.
7737 (mi_send_resuming_command): Extract everything into...
7738 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7739 (mi_expect_stop): Don't accept any output before *stopped.
7740
6ae37fef
VP
77412008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7742
7743 Robustify mi-simplerun.
a9c64011
AS
7744 * gdb.mi/basics.c (main): Add a call to sleep.
7745 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7746 * gdb.mi/mi2-cli.exp: Likewise.
7747 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7748
b4aa76f0 77492008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7750
7751 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7752
e1ac3328
VP
77532008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7754
a9c64011
AS
7755 * gdb.mi/mi-console.exp: Adjust.
7756 * gdb.mi/mi-syn-frame.exp: Adjust.
7757 * gdb.mi/mi2-console.exp: Adjust.
7758 * gdb.mi/mi2-syn-frame.exp: Adjust.
7759 * lib/mi-support.exp (mi_run_cmd): Adjust.
7760 (mi_send_resuming_command): Adjust.
e1ac3328 7761
f7f9a841
VP
77622008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7763
7764 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7765 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7766 testing of stopped.
7767 * gdb.mi/mi2-syn-frame.exp: Likewise.
7768 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7769 (async, detect_async): New.
7770 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7771 depending on if we're running in sync or async mode.
f7f9a841 7772
37cd5d19
TT
77732008-06-09 Tom Tromey <tromey@redhat.com>
7774
7775 * gdb.base/completion.exp: New tests for field name completion
7776 with spaces, and field name completion with '->'.
7777
65d12d83
TT
77782008-06-06 Tom Tromey <tromey@redhat.com>
7779
7780 * gdb.base/break1.c (struct some_struct): New struct.
7781 (values): New global.
7782 * gdb.base/completion.exp: Add field name completion test.
7783
ebfe2e3f
PP
77842008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7785
7786 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7787 to pointer.
7788 * gdb.cp/call-c.cc: Likewise.
7789
bcf6fc3a
NR
77902008-06-06 Nick Roberts <nickrob@snap.net.nz>
7791
7792 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7793 annotation.
7794
49fd4a42 77952008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7796 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7797
7798 * gdb.threads/execl.c, gdb.threads/execl1.c,
7799 gdb.threads/execl.exp: New tests.
a9c64011 7800
8a34ac3f
AR
78012008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7802 Daniel Jacobowitz <dan@codesourcery.com>
7803
7804 * gdb.cp/exception.exp: Activate test, make it work with pending
7805 catchpoints.
7806
86ae69ef
JK
78072008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7808
7809 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7810
f7f9ae2c
VP
78112008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7812
a9c64011
AS
7813 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7814 now printed.
7815 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7816
2a2d4dc3
AS
78172008-05-27 Andreas Schwab <schwab@suse.de>
7818
7819 * gdb.base/frame-args.exp: Handle arguments that are optimized
7820 out.
7821
5099e4d9
LM
78222008-05-26 Luis Machado <luisgpm@br.ibm.com>
7823
7824 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7825 quiet for ppc32 and group options into a single variable.
7826
d9c36a91
JB
78272008-05-23 Joel Brobecker <brobecker@adacore.com>
7828
7829 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7830 of zero-size elements.
7831 * gdb.ada/null_array.exp: Test printing this new array.
7832
103a8671
JK
78332008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7834
7835 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7836
07a4cc1a 78372008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7838
7839 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7840 of the "finish" command.
7841
55f996a7
NR
78422008-05-21 Nick Roberts <nickrob@snap.net.nz>
7843
7844 * gdb.base/annota1.exp: Test for new annotation.
7845
907fc202
UW
78462008-05-16 Pedro Alves <pedro@codesourcery.com>
7847
7848 * gdb.base/fixsection.exp: New file.
7849 * gdb.base/fixsection0.c: New file.
7850 * gdb.base/fixsection1.c: New file.
7851
e8f97270
UW
78522008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7853
7854 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7855 * gdb.base/annota3.exp: Likewise.
7856
ac0bb574
NF
78572008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7858
7859 * gdb.base/watch_thread_num.exp: Don't run tests that require
7860 watchpoints if the target doesn't support them.
7861
6fadd07a
DE
78622008-05-12 Doug Evans <dje@google.com>
7863
7864 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7865
6e9a4a30
JB
78662008-05-09 Joel Brobecker <brobecker@adacore.com>
7867
7868 * gdb.ada/assign_1.exp: New testcase.
7869
08388c79
DE
78702008-05-09 Doug Evans <dje@google.com>
7871
a3c83fae
DE
7872 * gdb.base/find.exp: New file.
7873 * gdb.base/find.c: New file.
08388c79 7874
bd5ddfe8
DJ
78752008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7876
7877 * gdb.base/commands.exp (watchpoint_command_test): Handle
7878 gdb,no_hardware_watchpoints.
7879 * gdb.base/float.exp: Allow ARM targets without floating point.
7880 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7881
b5dd68e2 78822008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7883 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7884
7885 * gdb.ada/lang_switch: New test program.
7886 * gdb.ada/lang_switch.exp: New testcase.
7887
382d13d1
DE
78882008-05-05 Doug Evans <dje@google.com>
7889
7890 * gdb.base/help.exp (disassemble): Update expected help text.
7891
9dd789d0
PA
78922008-05-04 Pedro Alves <pedro@codesourcery.com>
7893
7894 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7895
611c83ae
PA
78962008-05-04 Pedro Alves <pedro@codesourcery.com>
7897
7898 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7899 different times.
7900
ff013f42
JK
79012008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7902
7903 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7904 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7905 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7906 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7907
96dff6a2
VP
79082008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7909
7910 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7911 notification to appear.
7912
55cd6f92
DJ
79132008-05-04 Daniel Jacobowitz <dan@debian.org>
7914
7915 * gdb.base/fullname.c: New file.
7916 * gdb.base/fullname.exp: New file.
7917 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7918
d705c43c
PA
79192008-05-03 Pedro Alves <pedro@codesourcery.com>
7920
7921 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7922 expressions with macros.
7923
333222e1
JK
79242008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7925
7926 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7927
5ac01682
DJ
79282008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7929
7930 * gdb.base/completion.exp: Handle lack of other symbols beginning
7931 with "a".
7932
7933 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7934
237fc4c9
PA
79352008-05-02 Jim Blandy <jimb@codesourcery.com>
7936
7937 * gdb.asm/asmsrc1.s: Add scratch space.
7938
ed5e9466
DJ
79392008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7940 Daniel Jacobowitz <dan@codesourcery.com>
7941
7942 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7943 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7944 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7945
b39cc962
DJ
79462007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7947
7948 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7949
36d520f5
JB
79502008-05-01 Joel Brobecker <brobecker@adacore.com>
7951
7952 * gdb.base/info-target.exp: New testcase.
7953
8d4e3071
DJ
79542008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7955
7956 * gdb.cp/hang.exp: Use .cc instead of .C.
7957 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7958 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7959
6f3f3097
DJ
79602008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7961
7962 * gdb.base/gdb1250.exp: Remove perror.
7963 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7964
5550a914
PA
79652008-04-30 Pedro Alves <pedro@codesourcery.com>
7966
7967 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7968 .2byte.
7969
d848e687
DJ
79702008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7971
7972 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7973 (maybe_kfail): New.
7974
93b5768b
PA
79752008-04-25 Pedro Alves <pedro@codesourcery.com>
7976
7977 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7978
721c02de
VP
79792008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7980
a9c64011
AS
7981 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7982 * gdb.mi/mi2-syn-frame.exp: Likewise.
7983 * lib/mi-support.exp: Likewise.
721c02de 7984
74960c60
VP
79852008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7986
7987 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7988 to specify regexp for the location to stop at.
7989 * gdb.base/break-always.c: New.
7990 * gdb.base/break-always.exp: New.
7991
d24317b4
VP
79922008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7993
7994 * lib/mi-support.exp (mi_runto_helper): Adjust
7995 for the original-location field.
7996 (mi_create_breakpoint, mi_list_breakpoints): New.
7997 * gdb.mi/mi-break.exp: Adjust.
7998 * gdb.mi/mi2-break.exp: Adjust.
7999 * gdb.mi/mi-pending.exp: Adjust.
8000 * gdb.mi/mi-simplerun.exp: Adjust.
8001 * gdb.mi/mi2-simplerun.exp: Adjust.
8002 * gdb.mi/mi-syn-frame.exp: Adjust.
8003 * gdb.mi/mi2-syn-frame.exp: Adjust.
8004 * gdb.mi/mi-until.exp: Adjust.
8005 * gdb.mi/mi2-until.exp: Adjust.
8006 * gdb.mi/mi-var-display.exp: Adjust.
8007 * gdb.mi/mi2-var-display.exp: Adjust.
8008 * gdb.mi/mi-watch.exp: Adjust.
8009 * gdb.mi/mi2-watch.exp: Adjust.
8010
fdc59709 80112008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 8012
a9c64011
AS
8013 * aclocal.m4: Add override.m4.
8014 * configure: Regenerate.
fdc59709 8015
8e91f023
VP
80162008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8017
8018 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8019 '-var-update --all-values' reports new value even the type
8020 of a variable object has changed.
8021
233a11ab
CS
80222008-04-18 Craig Silverstein <csilvers@google.com>
8023
8024 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8025 files.
d24317b4 8026
9c1137ad
JB
80272008-04-18 Joel Brobecker <brobecker@adacore.com>
8028
8029 * gdb.ada/atomic_enum: New test program.
8030 * gdb.ada/atomic_enum.exp: New testcase.
8031
66d0bbc7
DE
80322008-04-17 Doug Evans <dje@google.com>
8033
8034 * gdb.opt/Makefile.in: Fix whitespace.
8035
100906b0
UW
80362008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8037
8038 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8039
4584e32e
DE
80402008-04-17 Doug Evans <dje@google.com>
8041
8042 * gdb.base/hashline1.exp: New testcase.
8043 * gdb.base/hashline2.exp: New testcase.
8044 * gdb.base/hashline2.exp: New testcase.
8045
0a320680
PA
80462008-04-17 Pedro Alves <pedro@codesourcery.com>
8047
8048 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8049
18ac113b
AR
80502008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8051
8052 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8053 temporary breakpoint to match "Temporary breakpoint".
8054 * gdb.base/break.exp (delete_breakpoints): Likewise.
8055 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8056 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8057 * gdb.base/display.exp: Likewise.
8058 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8059 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8060 * gdb.base/restore.exp (restore_tests): Likewise.
8061 * gdb.base/sepdebug.exp: Likewise.
8062 * gdb.base/watchpoint.exp: Likewise.
8063 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8064 * gdb.mi/mi-pending.exp: Likewise.
8065 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8066 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8067 * gdb.mi/mi-var-cmd.exp: Likewise.
8068 * gdb.mi/mi-var-display.exp: Likewise.
8069 * gdb.mi/mi2-cli.exp: Likewise.
8070 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8071 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8072 * gdb.mi/mi2-var-display.exp: Likewise.
8073 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8074 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8075 new "disp" field.
a9c64011 8076 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8077 reason. This is to support fix for PR2424.
8078
add38693
JK
80792008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8080
8081 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8082
fcacd99f
VP
80832008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8084
8085 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8086 field. Add more floating varobj tests.
fcacd99f 8087 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8088 field.
8089 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8090 (main): Call do_at_tests.
8091 * lib/mi-support.exp (mi_create_floating_varobj)
8092 (mi_varobj_update_with_type_change): New.
fcacd99f 8093
de051565
MK
80942008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8095
8096 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8097 option of -var-evaluate-expression.
8098 * gdb.mi/mi2-var-display.exp: Likewise.
8099
dbc52822
VP
81002008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8101
8102 Introduce test setup helpers.
a9c64011
AS
8103 * lib/gdb.exp (build_executable, clean_restart)
8104 (prepare_for_testing): New.
8105 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8106 * gdb.base/return.exp: Likewise.
8107 * gdb.base/ending-run.exp: Likewise.
dbc52822 8108
473591da
NR
81092008-04-07 Nick Roberts <nickrob@snap.net.nz>
8110
8111 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8112 Interface (MI) responses.
8113
2b2d9e11
VP
81142008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8115
a9c64011
AS
8116 * gdb.cp/breakpoint.cc: New code to test conditions involving
8117 member variables.
8118 * gdb.cp/breakpoint.exp: Test condition involving member
8119 variables.
2b2d9e11 8120
bb378428
VP
81212008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8122
8123 * lib/mi-support.exp (mi_expect_stop): New.
8124 (mi_run_cmd): Change the
8125 token. Use mi_send_resuming_command, use
8126 mi_expect_stop.
8127 (mi_execute_to_helper): Rename to mi_execute_to.
8128 (mi_send_resuming_command): Add more error patterns.
8129 (mi_wait_for_stop): Renamed to...
8130 (mi_get_stop_line): ...this.
8131 (mi_run_inline_test): Adjust.
8132
8133 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8134 * gdb.mi/mi-console.exp: Likewise.
8135 * gdb.mi/mi-pending.exp: Likewise.
8136 * gdb.mi/mi-simplerun.exp: Likewise.
8137 * gdb.mi/mi-stack.exp: Likewise.
8138 * gdb.mi/mi-stepi.exp: Likewise.
8139 * gdb.mi/mi-syn-frame.exp: Add comment.
8140 * gdb.mi/mi-until.exp: Likewise.
8141 * gdb.mi/mi-var-display.exp: Likewise.
8142 * gdb.mi/mi-watch.exp: Likewise.
8143 * gdb.mi/mi2-cli.exp: Likewise.
8144 * gdb.mi/mi2-console.exp: Likewise.
8145 * gdb.mi/mi2-simplerun.exp: Likewise.
8146 * gdb.mi/mi2-stack.exp: Likewise.
8147 * gdb.mi/mi2-stepi.exp: Likewise.
8148 * gdb.mi/mi2-until.exp: Likewise.
8149 * gdb.mi/mi2-var-display.exp: Likewise.
8150 * gdb.mi/mi2-watch.exp: Likewise.
8151
62172bb9
UW
81522008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8153
8154 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8155
8156 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8157
a13e061a
PA
81582008-04-04 Pedro Alves <pedro@codesourcery.com>
8159
8160 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8161 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8162 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8163 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8164 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8165 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8166 expect an mi error duplicated in stderr.
8167
eae06beb
JB
81682008-04-03 Joel Brobecker <brobecker@adacore.com>
8169
8170 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8171 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8172 Add a couple of tests that verify the behavior when the new setting
8173 is set to "cancel" and "all".
8174 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8175 "ask" before we start the testing.
8176
79c6ced6
AR
81772008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8178
8179 * gdb.cp/casts.cc: Add class reference variables.
8180 * gdb.cp/casts.exp: New test cases for up/down casting references.
8181
6c2d1a6b
MK
81822008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8183
8184 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8185 instead of beginning to make an extra test pass.
8186 * gdb.mi/mi2-var-display.exp: Likewise.
8187
55b411d9
MR
81882008-03-31 Maciej W. Rozycki <macro@mips.com>
8189
8190 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8191
c6140da2
MD
81922008-03-31 Markus Deuling <deuling@de.ibm.com>
8193 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8194
8195 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8196 value. Add xfail for older kernels.
8197
79732189
AR
81982008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8199
8200 Bring mi-support in line with gdb.exp.
8201 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8202 (mi_gdb_start): New function.
8203
33c3676e
MR
82042008-03-28 Maciej W. Rozycki <macro@mips.com>
8205
8206 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8207
92e28119
VP
82082008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8209
8210 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8211 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8212
9e8e3afe
VP
82132008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8214
8215 * lib/mi-support.exp (mi_create_varobj_checked): New.
8216 (mi_list_varobj_children): Allow to check for a
8217 value.
8218 (mi_list_array_varobj_children): New.
8219
8220 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8221 and mi_list_varobj_children, as opposed to hardcoding
8222 expected strings.
8223 * gdb.mi/gdb701.exp: Likewise.
8224 * gdb.mi/gdb792.exp: Likewise.
8225 * gdb.mi/mi-var-block.exp: Likewise.
8226 * gdb.mi/mi-var-cmd.exp: Likewise.
8227 * gdb.mi/mi-var-invalidate.exp: Likewise.
8228 * gdb.mi/mi2-var-block.exp: Likewise.
8229 * gdb.mi/mi2-var-child.exp: Likewise.
8230 * gdb.mi/mi2-var-cmd.exp: Likewise.
8231 * gdb.mi/mi2-var-display.exp: Likewise.
8232
9df50351
JK
82332008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8234
8235 Fix random false FAILs on i386.
8236 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8237
31e5d73a
DJ
82382008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8239
8240 PR gdb/544
8241 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8242
12f4afab
DJ
82432008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8244
8245 PR gdb/544
8246 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8247
b562a0cb
DJ
82482008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8249
8250 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8251 fixed PR gdb/544.
8252
17faa917
DJ
82532008-03-21 Pedro Alves <pedro@codesourcery.com>
8254
8255 * gdb.threads/fork-child-threads.exp: Test next over fork.
8256
6214f497
DJ
82572008-03-21 Chris Demetriou <cgd@google.com>
8258
8259 * gdb.base/break.exp (rbreak junk): New test for rbreak
8260 "Junk at end of arguments" issue.
8261
63092375
DJ
82622008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8263
8264 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8265 *& to work on created array elements.
8266 (Top level): Test print $pc with a file. Test string operations
8267 without a target.
8268 * gdb.base/ptype.exp: Do not expect *& to work on created array
8269 elements.
8270
b21991b0
DJ
82712008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8272
8273 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8274 gdb.threads/staticthreads.exp: Update exit query.
8275
c4b347c7
SL
82762008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8277
8278 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8279
fa4727a6
DJ
82802008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8281
8282 * gdb.base/watchpoint.c (global_ptr, func4): New.
8283 (main): Call func4.
8284 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8285 (test_inaccessible_watchpoint): New.
8286
2f34202f
MR
82872008-02-29 Maciej W. Rozycki <macro@mips.com>
8288
8289 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8290 select the largest.
8291
0d6ba1b1
DJ
82922008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8293
8294 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8295 frames-invalid annotations.
8296
e691325a
PM
82972008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8298
a9c64011 8299 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8300
f85b5ecc
DE
83012008-02-27 Doug Evans <dje@google.com>
8302
8303 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8304 for bug 1738.
8305 (breakpoint_to_handler_entry): Ditto.
8306
b40e7bf3
JB
83072008-02-27 Joel Brobecker <brobecker@adacore.com>
8308
8309 * gdb.base/ending-run.exp: Use the first line of code inside
8310 function body to test breakpoints.
8311 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8312 location where the breakpoint is inserted when using the line
8313 where a function is declared. Fix typo in the description of
8314 one of the tests.
8315 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8316
2faca73a
PM
83172008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8318
8319 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8320 tests.
2faca73a 8321
6f439c36
PM
83222008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8323
8324 * gdb.base/args.exp: avoid same output for tests
8325 with single quotes.
8326
54e52265
VP
83272008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8328
a9c64011
AS
8329 * gdb.base/annota1.exp: Adjust for 'info break'
8330 format changes.
8331 * gdb.base/annota3.exp: Likewise.
8332 * gdb.base/break.exp: Likewise.
8333 * gdb.base/condbreak.exp: Likewise.
8334 * gdb.base/pending.exp: Likewise.
8335 * gdb.base/sepdebug.exp: Likewise.
8336 * gdb.base/unload.exp: Likewise.
8337 * gdb.cp/ovldbreak.exp: Likewise.
8338 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8339
897b09ca
DE
83402008-02-07 Doug Evans <dje@google.com>
8341
8342 * gdb.cp/mb-inline.exp: New.
8343 * gdb.cp/mb-inline.h: New.
8344 * gdb.cp/mb-inline1.cc: New.
8345 * gdb.cp/mb-inline2.cc: New.
8346
b1c32d35
PM
83472008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8348
8349 * gdb.pascal/floats.pas: New test program.
8350 * gdb.pascal/floats.exp: New testcase.
8351
1a4ca44a
TJB
83522008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8353
8354 * gdb.base/callfuncs.c (t_float_many_args): New function.
8355 (t_double_many_args): New function.
8356 * gdb.base/callfuncs.exp: Add tests for exceeding float
8357 and double parameters passed through the stack.
8358
439048e8
JB
83592008-02-05 Joel Brobecker <brobecker@adacore.com>
8360
8361 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8362 gdb.ada/complete/foo.adb: New files.
8363 * gdb.ada/complete.exp: New testcase.
8364
81fe8080
DE
83652008-02-03 Doug Evans <dje@google.com>
8366
301f0ecf
DE
8367 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8368
81fe8080
DE
8369 * gdb.cp/gdb2384.exp: New file.
8370 * gdb.cp/gdb2384.cc: New file.
8371 * gdb.cp/gdb2384-base.h: New file.
8372 * gdb.cp/gdb2384-base.cc: New file.
8373
4b071aec
DE
83742008-02-02 Doug Evans <dje@google.com>
8375
8376 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8377
61137ba6
JB
83782007-02-01 Joel Brobecker <brobecker@adacore.com>
8379
8380 * gdb.ada/sym_print_name: New test program.
8381 * gdb.ada/sym_print_name.exp: New testcase.
8382
83832007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8384
8385 * gdb.ada/nested/hello.adb: New file.
8386 * gdb.ada/nested.exp: New testcase.
8387 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8388
98deb0da
VP
83892008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8390
8391 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8392 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8393 don't cause future evaluations of function to report
8394 creation of internal breakpoints.
98deb0da 8395
723a2275
VP
83962008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8397
8398 * gdb.mi/mi-break.exp (test_error): New.
8399 Call it.
8400
fb546a2f
LM
84012008-01-31 Luis Machado <luisgpm@br.ibm.com>
8402
8403 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8404 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8405
2d8fd90a
PM
84062008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8407
8408 * gdb.pascal/integers.pas: New test program.
8409 * gdb.pascal/integers.exp: New testcase.
8410
a7fa0ded
PM
84112008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8412
8413 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8414
5e1a1926
TJB
84152008-01-30 Luis Machado <luisgpm@br.ibm.com>
8416
8417 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8418 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8419
8d04f9f0
JB
84202008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8421
8422 * gdb.ada/formatted_ref: New test program.
8423 * gdb.ada/formatted_ref.exp: New testcase.
8424
8425 * gdb.cp/formatted-ref.cc: New file.
8426 * gdb.cp/formatted-ref.exp: New testcase.
8427
ce75a98f
JB
84282008-01-30 Joel Brobecker <brobecker@adacore.com>
8429
8430 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8431
e835f6bf
NR
84322008-01-30 Nick Roberts <nickrob@snap.net.nz>
8433
8434 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8435 (test_file_list_exec_source_file): Update to new macro-info field.
8436
d118ef87
PH
84372008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8438
8439 * gdb.ada/exprs: New test program.
8440 * gdb.ada/exprs.exp: New testcase.
8441
7d35ab09
TJB
84422008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8443
8444 * dfp-test.c (DELTA, DELTA_B): New definitions.
8445 (double_val1, double_val2, double_val3, double_val4, double_val5,
8446 double_val6, double_val7, double_val8, double_val9, double_val10,
8447 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8448 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8449 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8450 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8451 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8452 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8453 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8454 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8455 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8456 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8457 dec128_val16): New global variables.
8458 (decimal_dec128_align): New function.
8459 (decimal_mixed): Likewise.
8460 (decimal_many_args_dec32): Likewise.
8461 (decimal_many_args_dec64): Likewise.
8462 (decimal_many_args_dec128): Likewise.
8463 (decimal_many_args_mixed): Likewise.
8464 * dfp-test.exp: Add tests calling new inferior functions.
8465
2d717e4f
DJ
84662008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8467
8468 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8469 gdb.server/ext-run.exp: New files.
8470 * lib/gdbserver-support.exp (gdbserver_download): New.
8471 (gdbserver_start): New. Update gdbserver expected
8472 output.
8473 (gdbserver_spawn): Use them.
8474 (gdbserver_start_extended): New.
8475
e85a822c
DJ
84762008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8477
8478 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8479 Run on GNU/Linux.
8480 (do_exec_tests): Check for systems which do not support catchpoints.
8481 Do not match START.
8482 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8483 Run on GNU/Linux. Enable verbose output.
8484 (check_fork_catchpoints): New.
8485 (explicit_fork_child_follow, catch_fork_child_follow)
8486 (tcatch_fork_parent_follow): Update expected messages.
8487 (do_fork_tests): Use check_fork_catchpoints.
8488 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8489 Run on GNU/Linux. Enable verbose output.
8490 (check_vfork_catchpoints): New.
8491 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8492 expected messages.
8493 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8494
401ea829
JB
84952008-01-29 Jim Blandy <jimb@red-bean.com>
8496
8497 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8498 host' errors.
8499 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8500
aceaf3ad
JB
85012008-01-29 Jim Blandy <jimb@red-bean.com>
8502
8503 * gdb.threads/sigthread.c: Use barriers to ensure that
8504 child_thread and child_thread_two are always initialized before we
8505 start to use them.
8506
a5606eee
VP
85072008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8508
8509 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8510 * gdb.base/watchpoint-solib.c: New.
8511 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8512
c55a82bb
PM
85132008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8514
8515 * gdb.base/gdb1056.exp: Add unsigned integer test.
8516
0993fe05
DE
85172008-01-28 Doug Evans <dje@google.com>
8518
8519 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8520
4fe42e7f
JB
85212008-01-27 Jim Blandy <jimb@codesourcery.com>
8522
c7a69933
JB
8523 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8524
4fe42e7f
JB
8525 * gdb.base/expand-psymtabs.exp: Doc fix.
8526
5def8285
MK
85272008-01-26 Mark Kettenis <kettenis@gnu.org>
8528
8529 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8530
5313c911
NR
85312008-01-24 Nick Roberts <nickrob@snap.net.nz>
8532
a9c64011 8533 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8534 -var-set-format.
8535
93815fbf
VP
85362008-01-23 Chris Demetriou <cgd@google.com>
8537
8538 * gdb.threads/thread_events.c: New testcase source file.
8539 * gdb.threads/thread_events.exp: New testcase expect file.
8540
467a88ee
NR
85412008-01-23 Nick Roberts <nickrob@snap.net.nz>
8542
8543 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8544
8545 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8546 -var-set-format.
8547
d8f82aba
DJ
85482008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8549 Vladimir Prus <vladimir@codesourcery.com>
8550
8551 * gdb.base/float.exp: Allow missing floating point for m68k and
8552 PowerPC.
8553
60c46647
VP
85542008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8555
8556 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8557 ignore count.
8558 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8559 * gdb.mi/mi-cli.exp: Adjust.
8560 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8561
c7dd36a1
PA
85622008-01-17 Pedro Alves <pedro@codesourcery.com>
8563
8564 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8565 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8566 with dummy_ptr's address.
8567 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8568 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8569 all targets.
8570 * gdb.mi/mi2-var-child.exp: Likewise.
8571
39d5313e
JB
85722008-01-09 Joel Brobecker <brobecker@adacore.com>
8573
8574 * gdb.ada/null_array: New test program.
8575 * gdb.ada/null_array.exp: New testcase.
8576
0aea4bf3
LM
85772008-01-09 Luis Machado <luisgpm@br.ibm.com>
8578
8579 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8580 with required float modifiers.
8581
0b354900
JB
85822008-01-08 Joel Brobecker <brobecker@adacore.com>
8583
8584 * gdb.ada/funcall_param: New test program.
8585 * gdb.ada/funcall_param.exp: New testcase.
8586
cdb7f5d4
JB
85872008-01-08 Joel Brobecker <brobecker@adacore.com>
8588
8589 * gdb.ada/arrayparam: New test program.
8590 * gdb.ada/arrayparam.exp: New testcase.
8591
88e2547f
JB
85922008-01-08 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8595 landed. Should also fix random failures in the test following it.
8596
f6867ce0
TJB
85972008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8598
8599 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8600 for expressions with decimal float values.
8601 (test_dfp_conversions): New function to test casts to and from
8602 decimal float types.
8603 Call test_dfp_conversions.
8604 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8605 elements.
8606 (main): Initialize ds.float4 and ds.double8 elements.
8607 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8608 string to new error message.
8609 (d64_set_tests): Likewise.
8610 (d128_set_tests): Likewise.
8611 Add tests for expressions with decimal float variables. Add tests for
8612 conversions to and from decimal float types.
8613
f9c11282
JB
86142008-01-05 Joel Brobecker <brobecker@adacore.com>
8615
8616 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8617 * gdb.ada/packed_tagged.exp: New testcase.
8618
0ecbca72
JB
86192008-01-04 Joel Brobecker <brobecker@adacore.com>
8620
8621 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8622 gdb.ada/homonym/homonym_main.adb: New files.
8623 * gdb.ada/homonym.exp: New testcase.
8624
c18d3d89
JB
86252008-01-04 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.ada/packed_array.exp: Add testing of references to
8628 a packed array.
8629
ecc7085b
JB
86302008-01-04 Joel Brobecker <brobecker@adacore.com>
8631
8632 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8633 New files.
8634 * gdb.ada/type_coercion.exp: New testcase.
8635
c474c922
JB
86362008-01-04 Joel Brobecker <brobecker@adacore.com>
8637
8638 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8639 gdb.ada/tagged/foo.adb: New file.
8640 * gdb.ada/tagged.exp: New testcase.
8641
9005b927
JB
86422008-01-04 Joel Brobecker <brobecker@adacore.com>
8643
8644 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8645 gdb.ada/ptype_field/foo.adb: New files.
8646 * gdb.ada/ptype_field.exp: New testcase.
8647
1a6aaad8
JB
86482008-01-03 Joel Brobecker <brobecker@adacore.com>
8649
8650 * gdb.ada/print_pc.exp: New testcase.
8651
0ef22f53
JB
86522008-01-03 Joel Brobecker <brobecker@adacore.com>
8653
8654 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8655 gdb.ada/taft_type/p.adb: New files.
8656 * gdb.ada/taft_type.exp: New testcase.
8657
1689ecf8
JB
86582008-01-03 Joel Brobecker <brobecker@adacore.com>
8659
8660 * gdb.ada/array_bounds/bar.adb: New file.
8661 * gdb.ada/array_bounds.exp: New testcase.
8662
a4d0b9c3
JB
86632008-01-03 Joel Brobecker <brobecker@adacore.com>
8664
8665 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8666 gdb.ada/arrayptr/foo.adb: New files.
8667 * gdb.ada/arrayptr.exp: New testcase.
8668
a31ace00
JB
86692008-01-03 Joel Brobecker <brobecker@adacore.com>
8670
8671 * gdb.base/set-lang-auto.exp: New testcase.
8672
a97fced3
JB
86732008-01-03 Joel Brobecker <brobecker@adacore.com>
8674
8675 * gdb.ada/fun_addr/foo.adb: New file.
8676 * gdb.ada/fun_addr.exp: New testcase.
8677
ef29ce1a
JK
86782008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8679
8680 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8681 New files
8682
0fafefe3
JB
86832008-01-02 Joel Brobecker <brobecker@adacore.com>
8684
8685 * array_subscript_addr/p.adb: New file.
a9c64011 8686 * array_subscript_addr.exp: New testcase.
0fafefe3 8687
c4359f8d
JB
86882008-01-02 Joel Brobecker <brobecker@adacore.com>
8689
a9c64011 8690 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8691 New files.
8692 * gdb.ada/str_cmp_ref.exp: New testcase.
8693
1aa1b15b
JB
86942008-01-01 Joel Brobecker <brobecker@adacore.com>
8695
8696 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8697 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8698 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8699
81c9b2cf
JB
87002008-01-01 Joel Brobecker <brobecker@adacore.com>
8701
8702 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8703 gdb.ada/ref_param/pck.ads: New files.
8704 * gdb.ada/ref_param.exp: New testcase.
8705
319e4674
JB
87062008-01-01 Joel Brobecker <brobecker@adacore.com>
8707
8708 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8709 gdb.ada/interface/foo.adb: New files.
8710 * gdb.ada/interface.exp: New testcase.
8711
ef682c56
JB
87122007-12-31 Jim Blandy <jimb@codesourcery.com>
8713
8714 * gdb.base/multi-forks.exp: Consume all output from child
8715 processes before proceeding to next test.
8716
f6f3eb6c
JB
87172007-12-29 Jim Blandy <jimb@codesourcery.com>
8718
8719 * configure: Regenerated.
8720
f652e42f
JB
87212007-12-27 Joel Brobecker <brobecker@adacore.com>
8722
8723 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8724 gdb.ada/fixed_cmp/fixed.adb: New files.
8725 * gdb.ada/fixed_cmp.exp: New testcase.
8726
6943e596
JB
87272007-12-27 Joel Brobecker <brobecker@adacore.com>
8728
8729 * gdb.ada/boolean_expr.exp: New testcase.
8730
aad9a193
JB
87312007-12-26 Jim Blandy <jimb@codesourcery.com>
8732
8733 * gdb.base/multi-forks.exp: Doc fix.
8734
fb5f3683
JB
87352007-12-26 Joel Brobecker <brobecker@adacore.com>
8736
8737 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8738 * gdb.ada/char_param.exp: Do not compile our test program with
8739 -gnata, this is unnecessary.
8740 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8741
384e4a9c
JB
87422007-12-24 Joel Brobecker <brobecker@adacore.com>
8743
8744 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8745 gdb.ada/print_chars/foo.adb: New files.
8746 * gdb.ada/print_chars.exp: New testcase.
8747
01e044f7
JB
87482007-12-24 Joel Brobecker <brobecker@adacore.com>
8749
8750 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8751 gdb.ada/char_param/foo.adb: New files.
8752 * gdb.ada/char_param.exp: New testcase.
8753
0ce17860
JB
87542007-12-22 Jim Blandy <jimb@codesourcery.com>
8755
8756 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8757 hard-coding source line numbers into the test.
8758 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8759 gdb_get_line_number to find.
8760
919809b9
JB
87612007-12-22 Joel Brobecker <brobecker@adacore.com>
8762
8763 * gdb.base/ptype.c (highest): New struct type.
8764 (the_highest): New variable of that type.
8765 (main): Add dummy assignment to a field of variable the_highest.
8766 * gdb.base/ptype.exp: Test type printing of our new variable.
8767
abc8a88d
PM
87682007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8769
8770 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8771 and record first explicitly generated thread number.
abc8a88d
PM
8772 Use that thread number for thread specific watchpoint test.
8773 Add iteration number to repetitive tests.
8774
5158f3e3
CES
87752007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8776 Jim Blandy <jimb@codesourcery.com>
8777
8778 * gdb.base/expand-psymtabs.c: New testcase
8779 source file.
8780 * gdb.base/expand-psymtabs.exp: New testcase
8781 expect file.
8782
37e4754d
LM
87832007-12-17 Luis Machado <luisgpm@br.ibm.com>
8784
8785 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8786 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8787
551e5d04
JB
87882007-12-17 Joel Brobecker <brobecker@adacore.com>
8789
8790 * gdb.ada/frame_args/foo.adb: New file.
8791 * gdb.ada/frame_args/pck.ads: New file.
8792 * gdb.ada/frame_args/pck.adb: New file.
8793 * gdb.ada/frame_args.exp: New testcase.
8794
a05ee097
JB
87952007-12-17 Joel Brobecker <brobecker@adacore.com>
8796
8797 * gdb.base/frame-args.c: New file.
8798 * gdb.base/frame-args.exp: New testcase.
8799
c162e8c9 88002007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8801 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8802
8803 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8804
afe8ab22 88052007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8806
afe8ab22
VP
8807 * gdb.mi/mi-pending.exp: New.
8808 * gdb.mi/mi-pending.c: New.
8809 * gdb.mi/mi-pendshr.c: New.
8810
dfdfb3ca
JB
88112007-12-06 Jim Blandy <jimb@codesourcery.com>
8812
8813 * gdb.base/default.exp: Update expected output for 'info catch'.
8814
b7fca990
JK
88152007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8816
8817 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8818 must be set to binary.
8819
6a1afc1e
PA
88202007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8821
8822 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8823
a6b151f1
DJ
88242007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8825
8826 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8827 gdb.mi/mi-file-transfer.exp: New.
8828
43039443
JK
88292007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8830
8831 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8832
0ef2251b
MR
88332007-11-22 Maciej W. Rozycki <macro@mips.com>
8834
8835 * gdb.trace/backtrace.exp: Fix a typo.
8836 * gdb.trace/circ.exp: Likewise.
8837 * gdb.trace/collection.exp: Likewise.
8838 * gdb.trace/limits.exp: Likewise.
8839 * gdb.trace/report.exp: Likewise.
8840 * gdb.trace/tfind.exp: Likewise.
8841 * gdb.trace/while-dyn.exp: Likewise.
8842
5443631e
NR
88432007-11-21 Nick Roberts <nickrob@snap.net.nz>
8844
8845 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8846 objects of pointers that can't be dereferenced are now
8847 "noneditable".
8848
a4ce5b0d
UW
88492007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8850
8851 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8852 (target_cpu): Remove.
8853
d6e956e5
VP
88542007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8855
8856 * gdb.base/ending-run.exp: Expect the list of cleared
8857 breakpoint to come in natural order, not the reversed one.
a9c64011 8858
214270ab
VP
88592007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8860
8861 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8862 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8863
1a619819
LM
88642007-11-05 Luis Machado <luisgpm@br.ibm.com>
8865
8866 * gdb.base/printcmds.exp: New function
8867 test_printf_with_dfp.
8868
5b01a6fa
DE
88692007-11-02 Doug Evans <dje@google.com>
8870
8871 * gdb.disasm/t01_mov.s: Remove carriage returns.
8872 * gdb.disasm/t02_mova.s: Ditto.
8873 * gdb.disasm/t03_add.s: Ditto.
8874 * gdb.disasm/t04_sub.s: Ditto.
8875 * gdb.disasm/t05_cmp.s: Ditto.
8876 * gdb.disasm/t06_ari2.s: Ditto.
8877 * gdb.disasm/t07_ari3.s: Ditto.
8878 * gdb.disasm/t08_or.s: Ditto.
8879 * gdb.disasm/t09_xor.s: Ditto.
8880 * gdb.disasm/t10_and.s: Ditto.
8881 * gdb.disasm/t11_logs.s: Ditto.
8882 * gdb.disasm/t12_bit.s: Ditto.
8883 * gdb.disasm/t13_otr.s: Ditto.
8884
ec33ab7f
JK
88852007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8886
8887 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8888
ae0d01ff
UW
88892007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8890
8891 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8892 provide DFP support.
8893
55eddb0f
DJ
88942007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8895
8896 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8897 Test "set powerpc vector-abi". Skip auto-detection tests for old
8898 toolchains.
8899
7020f05c
PA
89002007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8901
8902 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8903 with [string compare].
8904
84bc3db9
PA
89052007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8906
8907 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8908 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8909
5876dc88
LM
89102007-10-25 Luis Machado <luisgpm@br.ibm.com>
8911
8912 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8913 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8914 * gdb.opt/Makefile.in: New makefile.
8915 * Makefile.in: Create new directory "gdb.opt".
8916 * configure.ac: Add "gdb.opt" directory.
8917 * configure: Regenerated.
a9c64011 8918
c3ea9a14
DE
89192007-10-25 Doug Evans <dje@google.com>
8920
8921 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8922 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8923
a9c64011 89242007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8925 Thiago Jung Bauermann <bauerman@br.ibm.com>
8926
8927 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8928 Floating Point expressions.
8929 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8930 Floating Point variables.
8931 * gdb.base/dfp-test.c: new file containing program with Decimal
8932 Floating variables, used by gdb.base/dfp-test.exp.
8933
62a24a2b
DJ
89342007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8935
8936 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8937
e7b1eae6
UW
89382007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8939
8940 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8941 compiling test case with GCC.
8942 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8943
c641edcc
UW
89442007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8945
8946 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8947 format changes.
8948
5e5ebfe6
MS
89492007-10-18 Michael Snyder <msnyder@specifix.com>
8950
8951 * gdb.base/dbx.exp: Add missing "-re " operator.
8952
e831e7b6
GM
89532007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8954
8955 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8956 * configure.ac: Removed trailing spaces after backslash.
8957 * gdb.modula2: New directory.
8958 * gdb.modula2/Makefile.in: New file.
8959 * gdb.modula2/unbounded-array.exp: New file.
8960 * gdb.modula2/unbounded1.c: New file.
8961
7cc46491
DJ
89622007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8963
8964 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8965
89662007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8967
8968 * gdb.base/sigstep.c (main): Add checks for
8969 return values for setitimer call.
8970 Call setitimer again with itimer = ITIMER_REAL
8971 if first call to setitimer fails.
8972
e91528f0
KH
89732007-10-11 Kazu Hirata <kazu@codesourcery.com>
8974
8975 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8976 of $timeout.
8977
2ec9a4f8
DJ
89782007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8979
8980 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8981
89822007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8983
8984 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8985 of gdb_expect call, to avoid interruption.
8986
64b2fa04
PA
89872007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8988
8989 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8990 (v_unsigned_long_long, v_long_long_array)
8991 (v_signed_long_long_array, v_unsigned_long_long_array)
8992 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8993 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8994 [!NO_LONG_LONG]: New.
8995 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8996 v_long_long_member.
8997
8998 (v_long_long_func, v_signed_long_long_func)
8999 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9000 (main) [!NO_LONG_LONG]: Initialize long long variants.
9001
9002 * gdb.base/whatis.exp: If board file requests no_long_long, build
9003 test with NO_LONG_LONG defined. Test long long, signed long long,
9004 and unsigned long long variants but only if board file doesn't
9005 disable it.
9006
a912286e 90072007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 9008 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
9009
9010 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9011 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9012 * configure: Regenerated.
9013 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9014 gdb.pascal/types.exp, lib/pascal.exp: New files.
9015
471ba8c9
DJ
90162007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9017
9018 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9019 call.
9020 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9021 to return to the call.
9022 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9023 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9024 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9025 * gdb.mi/mi-until.exp (test_until): Likewise.
9026 * gdb.mi/mi2-until.exp (test_until): Likewise.
9027
fef8a650
DJ
90282007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9029
9030 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9031 two-char array.
9032 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9033
d983da9c
DJ
90342007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9035
9036 * gdb.threads/watchthreads.c (thread_function): Sleep between
9037 iterations.
9038 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9039 at once for S/390. Generate matching fails and passes.
9040
17f62551
VP
90412007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9042
9043 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9044 the 'struct_declarations' variable to zeros.
a9c64011 9045
ed0616c6
VP
90462007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9047
9048 * gdb.cp/mb-ctor.cc: New.
9049 * gdb.cp/mb-ctor.exp: New.
9050 * gdb.cp/mb-templates.cc: New.
9051 * gdb.cp/mb-templates.exp: New.
9052
41f1b697
DJ
90532007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9054
9055 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9056
3f213f78
PA
90572007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9058
9059 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9060 targets.
9061 * configure: Regenerate.
9062
0d381245 90632007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9064
0d381245
VP
9065 * gdb.base/annota1.exp: Adjust for 'info break'
9066 format changes.
9067 * gdb.base/annota3.exp: Likewise.
9068 * gdb.base/break.exp: Likewise.
9069 * gdb.base/condbreak.exp: Likewise.
9070 * gdb.base/pending.exp: Likewise.
9071 * gdb.base/sepdebug.exp: Likewise.
9072 * gdb.base/unload.exp: Likewise.
9073 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9074
fe3f5fa8
VP
90752007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9076
9077 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9078 messages.
9079 * gdb.base/chng-syms.exp: Likewise.
9080 * gdb.base/unload.exp: Likewise.
a9c64011 9081
a75cf6c0
DJ
90822007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9083
9084 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9085
18ecae38
DJ
90862007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9087
9088 * schedlock.c (NUM): Change to 1.
9089 (main): Use args[0] for the main thread.
9090 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9091 regardless of the number of threads.
9092
5509918f
MR
90932007-09-14 Maciej W. Rozycki <macro@mips.com>
9094
4a543daf
MR
9095 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9096 type down.
9097 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9098 test.
9099 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9100 watchpoint type down.
9101 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9102 test.
9103
91042007-09-14 Maciej W. Rozycki <macro@mips.com>
9105
5509918f
MR
9106 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9107 Move all the tests here and run them twice, once using software
9108 watchpoints and once using hardware watchpoints.
9109 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9110
40b53987
DJ
91112007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9112
9113 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9114 test.
9115
695e2681
MK
91162007-09-10 Mark Kettenis <kettenis@gnu.org>
9117
8b3fc8d8
MK
9118 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9119 build-id.
9120
695e2681
MK
9121 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9122 know about $ORIGIN. Calculate output dir from $dest instead of
9123 using ${objdir}/{$subdir}.
9124
58d69f29
MK
91252007-09-09 Mark Kettenis <kettenis@gnu.org>
9126
9127 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9128 gcore, before continuing with the test.
9129
3e347599
DJ
91302007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9131
9132 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9133 * gdb.mi/mi-watch.exp: Likewise.
9134
ea37ba09
DJ
91352007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9136 Jim Blandy <jimb@codesourcery.com>
9137
9138 * gdb.arch/i386-sse.exp: Do not expect character constants.
9139 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9140 * gdb.base/display.exp: Allow print/s.
9141 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9142 and unsigned char array changes.
9143
2025a643
DJ
91442007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9145
9146 * gdb.base/display.exp: Add tests for printf %p.
9147
26669a27
PA
91482007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9149
9150 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9151 the dll name to unicode.
9152
c8f021f8
JK
91532007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9154
9155 * gdb.base/default.exp (show version): Update the version text.
9156 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9157
4cf31eea
JK
91582007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9159
9160 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9161 New files.
9162
4935890f
JK
91632007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9164
9165 * lib/gdb.exp (build_id_debug_filename_get): New function.
9166 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9167 Remove the generate DEBUG file for the future testcase runs.
9168 New testcase for the NT_GNU_BUILD_ID retrieval.
9169 Move the final testing step to ...
9170 (test_different_dir): ... a new function.
9171 New parameter XFAIL to XFAIL all the tests performed.
9172 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9173 New parameter TYPE to PF_PREFIX all the tests performed.
9174
02142340
VP
91752007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9176
9177 * gdb.mi/mi-var-cp.cc (path_expression): New
9178 function.
9179 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9180
36acd84e
UW
91812007-08-27 Markus Deuling <deuling@de.ibm.com>
9182
9183 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9184 to fit into SPU Local Store memory.
9185
a896d121
JB
91862007-08-23 Joel Brobecker <brobecker@adacore.com>
9187
9188 * gdb.base/default.exp: Adjust the expected output of "info
9189 warranty" after the switch to GPLv3.
9190
7b433602
JB
91912007-08-23 Joel Brobecker <brobecker@adacore.com>
9192
9193 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9194 to 30000 (from 20000).
9195
e22f8b7c
JB
91962007-08-23 Joel Brobecker <brobecker@adacore.com>
9197
9198 Switch the license of all .exp files to GPLv3.
9199 Switch the license of all .f and .f90 files to GPLv3.
9200 Switch the license of all .s and .S files to GPLv3.
9201
5a0e3bd0
JB
92022007-08-23 Joel Brobecker <brobecker@adacore.com>
9203
9204 * configure.ac: Switch license to GPLv3.
9205
cc00619d
JB
92062007-08-23 Joel Brobecker <brobecker@adacore.com>
9207
9208 Switch the licensing to GPLv3 for all .ads and .adb files.
9209
8d26208a
DJ
92102007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9211
9212 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9213 and t_int_double.
9214 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9215
4fcb9948
JB
92162007-08-17 Joel Brobecker <brobecker@adacore.com>
9217
9218 * gdb.base/step-line.c: Switch license to GPL version 3, and
9219 update copyright year.
9220 * gdb.base/step-line.inp: Likewise.
9221
b9c34f67
JB
92222007-08-17 Joel Brobecker <brobecker@adacore.com>
9223
9224 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9225 changes inside gdb1555.c.
9226 * gdb.base/pending.exp: Likewise.
9227
2cc17678
DJ
92282007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9229
9230 * config/default.exp: New file.
9231
e48883f7
DJ
92322007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9233
9234 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9235 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9236
1ab80e5b
MR
92372007-07-30 Maciej W. Rozycki <macro@mips.com>
9238
9239 * gdb.base/dump.exp: Force the correct endianness for binary
9240 formats not carrying this information.
9241
aba471f5
DJ
92422007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9243
9244 * gdb.threads/staticthreads.exp: Match .*sem_post.
9245
d4e07204
DJ
92462007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9247
9248 * gdb.base/readline.exp (operate_and_get_next): Match the final
9249 prompt.
9250
2b97317d
KB
92512007-07-23 Kevin Buettner <kevinb@redhat.com>
9252
9253 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9254 to restarting SID.
9255
44efa07a
KB
92562007-07-18 Kevin Buettner <kevinb@redhat.com>
9257
9258 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9259 prior to `gdb_start'.
9260
7b5ebade
KB
92612007-07-18 Kevin Buettner <kevinb@redhat.com>
9262
9263 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9264 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9265 Remove call to gdb_unload.
9266
255e7678
DJ
92672007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9268 Daniel Jacobowitz <dan@codesourcery.com>
9269
9270 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9271 for __WIN32__.
9272 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9273 * gdb.base/unload.exp: Use shared library test routines.
9274
3a40aaa0
UW
92752007-07-03 Markus Deuling <deuling@de.ibm.com>
9276
9277 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9278 * gdb.base/solib-symbol-lib.c: Likewise.
9279 * gdb.base/solib-symbol-main.c: Likewise.
9280
b0f4b84b
DJ
92812007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9282
9283 * config/gdbserver.exp (gdb_reconnect): New.
9284 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9285 gdb.base/solib-disc.exp: New files.
9286 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9287 remote debugging".
9288 (gdb_compile): Add shlib_load flag.
9289 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9290 port.
9291 (gdbserver_reconnect): New.
9292
1b05479a
DJ
92932007-07-01 Nick Roberts <nickrob@snap.net.nz>
9294 Daniel Jacobowitz <dan@codesourcery.com>
9295
9296 * gdb.base/annota3.exp: Test for if construct.
9297
86f78eb2
DJ
92982007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9299
9300 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9301
6a2eb474 93022007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9303 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9304
9305 * gdb.base/display.exp: Allow a newline after display/i.
9306 * gdb.base/pc-fp.exp: Likewise.
9307 * gdb.base/sigbpt.exp: Likewise.
9308
f8b73d13
DJ
93092007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9310
9311 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9312 required features to be included.
9313
4339e69e
DJ
93142007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9315
9316 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9317 in info threads output.
9318
23d964e7
UW
93192007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9320 Markus Deuling <deuling@de.ibm.com>
9321
9322 * gdb.arch/spu-info.exp: New testcase.
9323 * gdb.arch/spu-info.c: New file.
9324
fd20f75b
DJ
93252007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9326
9327 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9328 tpcs_offset. Restore lr after the call.
9329 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9330
2226f861
DJ
93312007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9332
9333 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9334 (gdbserver_run): Kill any running gdbserver.
9335 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9336
d12371a9
MR
93372007-05-17 Maciej W. Rozycki <macro@mips.com>
9338
9339 * gdb.base/sigbpt.exp: Preset segv_addr.
9340
93f02886
DJ
93412007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9344 (gdb_compile_shlib): Likewise.
9345 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9346 (default_gdb_init): Clear cleanfiles.
9347 (gdb_finish): Delete recorded cleanfiles.
9348 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9349
9350 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9351 Do not use isnative.
9352 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9353 gdb.base/so-impl-ld.exp: Likewise.
9354 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9355 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9356 gdb_compile.
9357
b04e06d7
VP
93582007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9359
9360 * config/unknown.exp: Remove.
9361
069ed931
UW
93622007-05-15 Markus Deuling <deuling@de.ibm.com>
9363
9364 * gdb.base/info-proc.exp: Check is_remote.
9365
09db0d03
UW
93662007-05-14 Markus Deuling <deuling@de.ibm.com>
9367
9368 * gdb.base/gcore.exp: Initialize variable core_supported.
9369
af2cbe8c
DJ
93702007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9371
9372 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9373
027c0295
DJ
93742007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9375
9376 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9377 * gdb.threads/print-threads.exp (test_all_threads): Allow
9378 negative and hexadecimal thread IDs.
9379
dc5000e7
DJ
93802007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9381
9382 * gdb.java/jprint.java (public): Avoid invalid call to static
9383 method.
9384
2e74ed18
DP
93852007-05-14 Denis Pilat <denis.pilat@st.com>
9386
9387 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9388 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9389 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9390 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9391 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9392
83547f02
UW
93932007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9394
9395 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9396 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9397 this mode.
9398 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9399 * gdb.base/spu.ld: New file.
9400
b18be20d
DJ
94012007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9402
9403 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9404
be444858
DJ
94052007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9406
9407 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9408
b1d53152
DJ
94092007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9410
9411 * gdb.java/jmain.exp: Handle demangled names with and without method
9412 signatures.
9413
d084b331
DJ
94142007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9415
9416 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9417 (have_a_very_merry_interrupt): Remove calls to puts.
9418 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9419 inferior output.
9420 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9421 test names.
9422
db9d7fc5
DJ
94232007-04-29 Markus Deuling <deuling@de.ibm.com>
9424 Daniel Jacobowitz <dan@codesourcery.com>
9425
9426 * gdb.base/auxv.exp (core_works): Also check is_remote.
9427 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9428
ef783a7d 94292007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9430
ef783a7d
VP
9431 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9432 message, not the undefined 'module' variable.
9433 * gdb.base/siginfo.exp: Likewise.
9434 * gdb.base/sigstep.exp: Likewise.
9435 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9436 serialport.
9437 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9438
b7b73cae
CV
94392007-04-25 Corinna Vinschen <vinschen@redhat.com>
9440
9441 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9442 target sim fails. Return 0 otherwise.
9443 (gdb_load): Return prematurely if gdb_target_sim fails.
9444
7d90fdfa
DP
94452007-04-16 Denis Pilat <denis.pilat@st.com>
9446
9447 * gdb.base/setshow.exp: Reset height after having set it to 100.
9448
5d3e9c85
DP
94492007-04-16 Denis Pilat <denis.pilat@st.com>
9450
9451 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9452
18e75969
DP
94532007-04-16 Denis Pilat <denis.pilat@st.com>
9454
9455 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9456
25d5ea92
VP
94572007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9458
9459 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9460 tests. Run the frozen varobjs test.
9461 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9462 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9463
0b49cb80
JK
94642007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9465
9466 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9467 gdb.base/type-opaque.exp: New files.
9468
a73bafbc 94692007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9470
9471 * gdb.mi/mi-var-child.c
a73bafbc
VP
9472 (do_children_tests): User char[2] instead of
9473 char so that automatic printing of pointers to char
9474 don't give unpredicable result.
9475 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9476 local variables.
9477 * gdb.mi/mi-var-child.exp: Step to right line
9478 of do_children_tests.
9479 * gdb.mi/mi2-var-child.exp: Likewise.
9480 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9481 do_locals_tests.
a73bafbc
VP
9482 (do_children_tests): User char[2] instead of
9483 char so that automatic printing of pointers to char
a9c64011 9484 don't give unpredicable result.
a73bafbc 9485 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9486 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9487 Pass test name to mi_wait_for_stop.
9488
7ce59000
DJ
94892007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9490
9491 * gdb.asm/asm-source.exp: Remove d10v case.
9492 * lib/gdb.exp (skip_cplus_tests): Likewise.
9493 * gdb.asm/d10v.inc: Deleted.
9494
20389057
DJ
94952007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9496
9497 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9498
8807d78b
DJ
94992007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9500
9501 * config/netware.exp: Delete file.
9502
aa3edb8e
JB
95032007-03-29 Joel Brobecker <brobecker@adacore.com>
9504
9505 * gdb.dwarf2/dw2-noloc.S: New file.
9506 * gdb.dwarf2/dw2-noloc.exp: New file.
9507
297561ac
PA
95082007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9509
9510 * gdb.cp/method2.cc: New test.
9511 * gdb.cp/method2.exp: New test.
9512 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9513
1f81bd39
DJ
95142007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9515
9516 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9517
9453113a
DJ
95182007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9519
9520 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9521
b741e217
DJ
95222007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9523
9524 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9525 (gdb_load): Delete, replace with...
9526 (gdb_reload): ...this.
9527 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9528 * gdb.server/server-mon.exp: Likewise.
9529 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9530 (gdb_start_cmd): New.
9531 (gdb_file_cmd): Save the last loaded file.
9532 (gdb_reload): New.
9533 (gdb_gnu_strip_debug): Use transform.
9534 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9535 support here. Use new $last_loaded_file. Check mtime.
9536 (gdb_target_cmd): Handle ObjC failure case.
9537 (infer_host_exec): Delete.
9538 (gdbserver_load): Rename to...
9539 (gdbserver_run): ...this. Simplify.
9540 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9541 (mi_gdb_load): Move most contents to a new function...
9542 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9543 (mi_run_cmd): Use mi_gdb_target_load.
9544 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9545 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9546 Use gdb_run_cmd.
9547 * gdb.base/charsign.exp: Remove incorrect comment.
9548 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9549 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9550 gdb.base/start.exp: Use gdb_start_cmd.
9551
446ab585 95522007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9553 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9554
9555 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9556 * gdb.base/signull.exp: Similarly.
9557
bbb88ebf
UW
95582007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9559
9560 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9561 messages available to test cases (like chng-sym.exp).
9562
cb8c4a99
AS
95632007-03-14 Andreas Schwab <schwab@suse.de>
9564
9565 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9566 format changes.
9567
4e463ff5
DJ
95682007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9569
9570 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9571 (optimized_1): New.
9572 (main): Call optimized_1.
9573 (gdb2029): Correct typos. Call gdb2029_marker.
9574 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9575 for gdb2029.
9576
b6db2c47
MK
95772007-03-12 Mark Kettenis <kettenis@gnu.org>
9578
9579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9580 as tabs. Remove redundant test pattern.
9581
70ed3737
UW
95822007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9583
9584 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9585 for /a format output.
9586
47b67b60
DJ
95872007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9588
9589 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9590 collect output incrementally.
9591
b8953b0e
UW
95922007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9593
9594 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9595 for -var-create lpcharacter test.
9596 * gdb.mi/mi2-var-cmd.exp: Likewise.
9597
7acd5c40
UW
95982007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9599
9600 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9601 pass on targets where address zero is readable.
9602
9c6759c1
UW
96032007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9604
9605 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9606 just a single architecture.
9607
a2f1aeb4
UW
96082007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9609
9610 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9611 (fetch_all_registers): New function, uses gdb_test_multiple and
9612 exp_continue to fetch inferior output line-by-line.
9613 Replace all uses of do_get_all_registers by fetch_all_registers.
9614
46579ac2
UW
96152007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9616
9617 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9618 in target_info.
9619
fc133f24
MS
96202007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9621
a9c64011 9622 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9623 consistancy; add a default (timeout) case.
9624
7646a51d
MS
96252007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9626
9627 * gdb.base/watchpoint.exp: Fix truncated comment.
9628
dcfff61f
MS
96292007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9630
9631 * Makefile.in: Remove spurious single-quotes from sed command.
9632
664e3ee9
DJ
96332007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9634
9635 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9636 func.
9637 * gdb.mi/mi2-var-cmd.exp: Likewise.
9638
d7cc6f2f
JB
96392007-02-27 Joel Brobecker <brobecker@adacore.com>
9640
a9c64011
AS
9641 * gdb.dwarf2/dw2-producer.S: New file.
9642 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9643
96442007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9645
9646 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9647 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9648 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9649 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9650 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9651 Revert tests to use mi_gdb_test and include value field in output
9652 of -var-create.
9653
93d42b30
DJ
96542007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9655
9656 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9657
c499ed39
DJ
96582007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9659
9660 * gdb.base/maint.exp: Remove full paths from test names.
9661 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9662 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9663
9836f81b
JB
96642007-02-27 Joel Brobecker <brobecker@adacore.com>
9665
9666 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9667
c74d0ad8
DJ
96682007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9669
9670 * gdb.server/server-mon.exp: New test.
9671
2711e456
DJ
96722007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9673
9674 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9675
ff6f572f
DJ
96762007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9677
9678 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9679 register capitalization.
9680
fada3feb
DP
96812007-02-13 Denis Pilat <denis.pilat@st.com>
9682
9683 * gdb.mi/mi-var-invalidate.exp: New file.
9684
fb1e4ffc
DJ
96852007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9686
9687 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9688
3da939d7
DJ
96892007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9690
9691 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9692
123dc839
DJ
96932007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9694
9695 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9696 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9697
877e3645 96982007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9699
9700 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9701 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9702 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9703 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9704 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9705 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9706 Update tests to include value field in output of -var-create.
a9c64011 9707
3c0a2960
AS
97082007-02-08 Andreas Schwab <schwab@suse.de>
9709
9710 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9711
108546a0
DJ
97122007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9713
9714 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9715 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9716
d701dcab
DP
97172007-02-02 Denis Pilat <denis.pilat@st.com>
9718
9719 * gdb.threads/threadapply.exp: check that frame is not changed by
9720 the thread apply all command.
9721
783e3e2f
AS
97222007-01-31 Andreas Schwab <schwab@suse.de>
9723
6d9c3a87
AS
9724 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9725
3c50d7b9
AS
9726 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9727 in the dwarf sections.
9728 * gdb.dwarf2/mac-fileno.S: Likewise.
9729
783e3e2f
AS
9730 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9731 bspstore register on ia64.
9732
78ff580e
AS
97332007-01-29 Andreas Schwab <schwab@suse.de>
9734
cc8e9b12
AS
9735 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9736 "frame-begin" annotation.
9737
78ff580e
AS
9738 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9739 number of "frames-invalid" annotations.
9740
704a4f78
DJ
97412007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9742
9743 * gdb.base/commands.exp: Call if_commands_test.
9744 (gdb_test_no_prompt, if_commands_test): New.
9745
e741bf94
MK
97462007-01-28 Mark Kettenis <kettenis@gnu.org>
9747
9748 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9749
474d0ad3
AS
97502007-01-27 Andreas Schwab <schwab@suse.de>
9751
9752 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9753 .short/.int/.quad in the dwarf sections.
9754 * gdb.dwarf2/dw2-intercu.S: Likewise.
9755 * gdb.dwarf2/dw2-intermix.S: Likewise.
9756
e784b426
JK
97572007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9758
9759 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9760 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9761 array.
e784b426
JK
9762 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9763 * gdb.base/setvar.exp: Likewise.
9764
37f08e04
AS
97652007-01-26 Andreas Schwab <schwab@suse.de>
9766
9a01813a
AS
9767 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9768 test.
9769
37f08e04
AS
9770 * gdb.base/multi-forks.exp ("restart $i"): Also match
9771 __kernel_syscall_via_break.
9772
6e2a9270
VP
97732007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9774
9775 * lib/mi-support.exp (mi_delete_varobj): New.
9776 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9777 testcase.
9778 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9779 (main): Call the above.
9780 (reference_update_test, base_in_reference_test)
9781 (reference_to_pointer): Delete the created varobjs.
a9c64011 9782
e515b470
DJ
97832007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9784
9785 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9786 * configure: Regenerated.
9787 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9788 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9789 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9790 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9791 * lib/gdb.exp (gdb_skip_xml_test): New function.
9792
08d8bcd7
DJ
97932007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9794
9795 * gdb.base/sigrepeat.exp: Correct error message.
9796
97972007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9798 Daniel Jacobowitz <dan@codesourcery.com>
9799
9800 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9801 gdb.arch/i386-gnu-cfi-asm.S: New files.
9802
97c3f1f3
JK
98032007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9804
9805 * lib/gdb.exp: Abort on missing `site.exp'.
9806
cb1df416
DJ
98072007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9808 Daniel Jacobowitz <dan@codesourcery.com>
9809
9810 * gdb.base/included.c, gdb.base/included.exp,
9811 gdb.base/included.h: New files.
9812
35990120
DJ
98132007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9814
9815 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9816 (maximize_rlimit): Reduce limits on 64-bit systems.
9817
6e81a116 98182007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9819
9820 From Marcus Deuling <deuling@de.ibm.com>:
9821 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9822 every case.
9823
6c3c41f3
NR
98242007-01-13 Nick Roberts <nickrob@snap.net.nz>
9825
9826 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9827 (test_path_specification): Use objdir instead of srcdir to always
9828 get an absolute filename.
9829
2f12c312
DJ
98302007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9831
9832 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9833
81121995
VP
98342007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9835
9836 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9837 Make sure the variable we're using is in scope.
9838 (reference_to_pointer): Likewise.
9839
4741b737
DJ
98402007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9841
9842 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9843 has no debug information.
9844
054410c3
DJ
98452007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9846
9847 * gdb.base/annota1.exp: Remove extra send_gdb.
9848
818f79f6
DJ
98492007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9850
9851 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9852
f7a6bb70
DJ
98532007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9854
9855 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9856
57e66780
DJ
98572007-01-08 Nick Roberts <nickrob@snap.net.nz>
9858 Daniel Jacobowitz <dan@codesourcery.com>
9859
9860 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9861 lcharacter or linteger change. Correct duplicated test name.
9862 * gdb.mi/mi2-var-cmd.exp: Likewise.
9863
3d799a95
DJ
98642007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9865
9866 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9867
98682007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9869
a9c64011
AS
9870 * gdb.base/nofield.c: New file.
9871 * gdb.base/nofield.exp: New testcase.
51679ba9 9872
eafb94e8
NR
98732007-01-05 Nick Roberts <nickrob@snap.net.nz>
9874
9875 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9876
9877 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9878 test.
9879
5e572bb4
DJ
98802007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9881
9882 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9883
74a44383
DJ
98842007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9885
9886 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9887 when continuing.
9888
1b572db9
DJ
98892007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9890
9891 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9892 Expect ".exe" extension.
9893
381bc39b
DJ
98942007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9895
9896 * gdb.base/charset.exp: Add explicit filename to break.
9897 * gdb.base/dbx.exp: Add explicit filename to breaks.
9898
2b70e4c6
DJ
98992007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9900
9901 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9902 * gdb.mi/mi2-file.exp: Likewise.
9903
303b6f5d
DJ
99042007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9905
9906 Implement specification of MI tests as comments
9907 in C and C++ sources.
9908 * lib/mi-support.exp (mi_autotest_data): New variable.
9909 (mi_autotest_source): New variable.
9910 (count_newlines, mi_prepare_inline_tests)
9911 (mi_get_inline_test, mi_continue_to_line)
9912 (mi_run_inline_test, mi_tbreak)
9913 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9914 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9915 Run inline tests.
9916 * gdb.mi/mi-var-cp.cc: Define tests here.
9917
23da0d94
VP
99182007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9919
9920 Simplify usage of mi_continue_to.
9921 * lib/mi-support.exp (mi_runto_helper): Renamed
9922 from mi_runto, added new parameter 'run_or_continue'.
9923 (mi_runto): Use mi_runto_helper.
9924 (mi_continue_to): Accept just function name as parameter.
9925 Use mi_runto_helper.
9926 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9927 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9928
f9e18282
JB
99292006-01-04 Joel Brobecker <brobecker@adacore.com>
9930
9931 Make this testcase a bit more realistic. The current code
9932 is too simplistic, and allows the compiler to optimize out
9933 some of the entities we need for this testcase.
9934 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9935 (Do_Nothing): Add extra parameter.
9936 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9937 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9938 by using a variable of type Void_Star.
9939
fd678c65
JB
99402006-01-04 Joel Brobecker <brobecker@adacore.com>
9941
9942 * gdb.ada/catch_ex/foo.adb: New file.
9943 * gdb.ada/catch_ex.exp: New testcase.
9944
05cfdb42
DJ
99452007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9946
9947 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9948 pass --image-base to linker.
9949
2e03ee74
DJ
99502007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9951 Daniel Jacobowitz <dan@codesourcery.com>
9952
9953 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9954 secondary prompts.
9955
0d5de010
DJ
99562007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9957
9958 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9959 output. Test the types of members and member pointers.
9960 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9961 gdb/2092.
9962 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9963 statement. Enable for GCC. Update expected output for some tests
9964 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9965 layout.
9966 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9967 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9968 (Diamond::vget_base): New.
9969 (main): Add new tests.
9970 * gdb.cp/printmethod.exp: Update expected output for member functions.
9971 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9972 print pEe->D::vg().
9973
61a771aa
DJ
99742007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9975
9976 * gdb.threads/tls.exp: Allow stops in sem_post.
9977
2fa63963
DJ
99782006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9979
9980 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9981 * gdb.base/annota3.exp: Likewise.
9982 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9983 again (instead of timing out).
9984 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9985 GCC bug 26475.
9986 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9987 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9988 test from jmisc1.exp.
9989 * gdb.java/jmisc1.exp: Delete.
9990 * gdb.java/jprint.exp: Adjust to work with method signatures including
9991 return types.
9992 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9993 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9994 * lib/java.exp (compile_java_from_source): Pass the correct type
9995 to target_compile.
9996
5eefc2b7
JB
99972006-12-31 Joel Brobecker <brobecker@adacore.com>
9998
9999 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10000 (stack_align_edx): New function.
10001 (stack_align_eax): New function.
10002 (main): Add calls to stack_align_edx and stack_align_eax.
10003 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10004 Add testing for the cases where the register used during a stack
10005 realignment is edx. Same for eax.
10006
227c54da
DJ
100072006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10008
10009 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10010 and generic PE targets.
10011
cab8ac94
JB
100122006-12-29 Joel Brobecker <brobecker@adacore.com>
10013
10014 * gdb.ada/array_return.exp: Update copyright date list.
10015
ba54f318
JB
100162006-12-27 Joel Brobecker <brobecker@adacore.com>
10017
10018 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10019 (Create_Small_Float_Vector): New function.
10020 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10021 function body.
10022 * gdb.ada/array_return/p.adb: Use new type and function from
10023 package Pck.
10024 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10025 able to print the value returned by a function returning an
10026 array of float.
10027
6b7a35dd
JB
100282006-12-20 Joel Brobecker <brobecker@adacore.com>
10029
10030 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10031 The associated tests should be PASSing.
10032
038224f6
VP
100332006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10034
10035 Test for base in references.
10036 * gdb.mi/mi-var-cp.cc: Add test code.
10037 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10038 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10039 * gdb.mi/mi2-watch.exp: Likewise.
10040 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10041 (mi_list_varobj_children): New function.
10042
b26ed50d
VP
100432006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10044
10045 * lib/mi-support.exp
10046 (mi_runto): Accept "()" after function name.
10047 (mi_create_varobj): New function.
10048 (mi_varobj_update): New function.
10049 (mi_Check_varobj_value): New function.
10050 * gdb.mi/mi-var-cp.exp: New file.
10051 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10052
08232497
DJ
100532006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10054
10055 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10056 gdb.base/weaklib2.c: New files.
10057
d394c993 100582006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10059
ac6c2fba
NS
10060 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10061 info. Adjust test names.
10062
8ec659a0 10063 * gdb.base/break.c (main): Move position of malloc.
d394c993 10064 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10065
acd65feb
VP
100662006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10067
10068 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10069 assignement of arrays and function pointers.
10070 * gdb.mi/var-cmd.c: Add declaration necessary for above
10071 tests.
10072
f556d5e5
NS
100732006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10074
10075 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10076
10077 * gdb.threads/linux-dp.exp: Read thread table before and after
10078 creating each philosopher and verify it.
10079
697bc68d
NS
100802006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10081 Paul Brook <paul@codesourcery.com>
10082 Daniel Jacobowitz <dan@codesourcery.com>
10083
10084 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10085 main to remove duplication. Add start function of the form
697bc68d
NS
10086 '_*start[1-9]*'. Add RVDS start function.
10087
29d73ae4
DJ
100882006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10089
10090 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10091
c1d88655
UW
100922006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10093
10094 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10095 * gdb.asm/spu.inc: New file.
10096 * gdb.base/term.exp: Disable if [target_info exists noargs].
10097 * gdb.gdb/complaints.exp: Disable if ![isnative].
10098 * gdb.gdb/selftest.exp: Likewise.
10099 * gdb.gdb/observer.exp: Likewise.
10100 * gdb.gdb/xfullpath.exp: Likewise.
10101 * gdb.base/attach.exp: Disable on SPU target.
10102 * gdb.cp/bs145503.exp: Likewise.
10103 * gdb.cp/exception.exp: Likewise.
10104 * gdb.cp/userdef.exp: Likewise.
10105
32a13b1a
DJ
101062006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10107
10108 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10109
d8295fe9
VP
101102006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10111
10112 * gdb.base/completion.exp: Fix completion tests for
10113 'info' and 'info '.
10114 * gdb.base/help.exp (help_test_raw, test_class_help)
10115 (test_prefix_command_help): Move...
10116 * lib/gdb.exp: Here.
10117 * gdb.base/main.exp: Adjust.
10118 * gdb.cp/maint.exp: Adjust.
10119 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10120
8c394015
VP
101212006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10122
10123 * gdb.stabs/weird.exp (print_weird_var): Use
10124 gdb_test_multiple instead of gdb_expect.
10125
027fc1bc
VP
101262006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10127
10128 * gdb.base/help.exp (help_test_raw): New.
10129 (test_class_help): New.
10130 (test_prefix_command_help): New.
10131 Adjust testcases.
10132
67609209
FR
101332006-11-09 Christophe Lyon <christophe.lyon@st.com>
10134
10135 * gdb.base/constvars.c (main): Write to crass and crips, so that
10136 they are allocated by the compiler.
10137
f73adfeb
AS
101382006-10-27 Andreas Schwab <schwab@suse.de>
10139
10140 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10141 "detach-fork".
10142
2f83a18e
DJ
101432006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10144
10145 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10146 of patterns.
10147
94277a38
DJ
101482006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10149
10150 * gdb.base/sepdebug.exp: Remove debug format test.
10151 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10152 Handle no-symtab.
10153 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10154
5bd2f6e2
DJ
101552006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10158 int to pointer or pointer to int.
10159 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10160
8c008720
DJ
101612006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10162
10163 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10164
9e35dae4
DJ
101652006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10166
10167 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10168
d9639e13
DJ
101692006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 PR c++/2116
10172 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10173
390a1bd0
JB
101742006-10-06 Joel Brobecker <brobecker@adacore.com>
10175
10176 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10177 the corresponding bug has been fixed in GDB (PR/2018).
10178
dd920c33
JB
101792006-10-06 Joel Brobecker <brobecker@adacore.com>
10180
10181 * gdb.base/subst.exp: New testcase.
10182
53bbefe9
JB
101832006-10-06 Joel Brobecker <brobecker@adacore.com>
10184
10185 * gdb.ada/array_return/pck.ads: Add copyright notice.
10186 * gdb.ada/array_return/pck.adb: Likewise.
10187 * gdb.ada/array_return/p.adb: Likewise.
10188 * gdb.ada/exec_changed/first.adb: Likewise.
10189 * gdb.ada/exec_changed/second.adb: Likewise.
10190
09851417
JB
101912006-10-06 Joel Brobecker <brobecker@adacore.com>
10192
10193 * gdb.ada/watch_arg/watch.adb: New file.
10194 * gdb.ada/watch_arg.exp: New testcase.
10195
041bf30d
VP
101962006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10197
10198 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10199 via string_to_regexp.
041bf30d 10200 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10201
f286fbdd 102022006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10203
10204 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10205 Remove unused / obsolete files.
10206
7c07f349
NR
102072006-09-19 Nick Roberts <nickrob@snap.net.nz>
10208
10209 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10210
cd5ff84a
VP
102112006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10212
10213 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10214 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10215 the number of frames.
cd5ff84a 10216
ae018d1a
DJ
102172006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10218
10219 * gdb.base/args.c (main): Add breakpoint marker.
10220 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10221 really test empty arguments.
10222 (args_load): Delete.
10223 (args_test): New.
10224
b399c549
NR
102252006-09-13 Nick Roberts <nickrob@snap.net.nz>
10226
10227 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10228 check for one file.
b399c549 10229
2ab1eb7a
VP
102302006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10231
10232 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10233 HIGH_FRAME argument to -stack-list-locals can be larger than
10234 the number of frames.
a9c64011 10235
476308bf
FF
102362006-08-18 Fred Fish <fnf@specifix.com>
10237
10238 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10239 '$' in front of skip_vmx_tests_saved when setting that.
10240
8625200f
AS
102412006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10242
10243 * gdb.base/trace-commands.exp: New file.
10244
089ec8f1
DJ
102452006-08-10 Joel Brobecker <brobecker@adacore.com>
10246 Daniel Jacobowitz <dan@codesourcery.com>
10247
10248 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10249 expected output of the backtrace commands.
10250
b60f0898
JB
102512006-08-09 Joel Brobecker <brobecker@adacore.com>
10252
10253 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10254 untested followed by return combination.
10255 * gdb.arch/altivec-regs.exp: Likewise.
10256 * gdb.arch/e500-abi.exp: Likewise.
10257 * gdb.arch/e500-regs.exp: Likewise.
10258 * gdb.arch/gdb1291.exp: Likewise.
10259 * gdb.arch/gdb1431.exp: Likewise.
10260 * gdb.arch/gdb1558.exp: Likewise.
10261 * gdb.arch/i386-prologue.exp: Likewise.
10262 * gdb.arch/i386-unwind.exp: Likewise.
10263 * gdb.asm/asm-source.exp: Likewise.
10264 * gdb.base/a2-run.exp: Likewise.
10265 * gdb.base/advance.exp: Likewise.
10266 * gdb.base/all-bin.exp: Likewise.
10267 * gdb.base/annota1.exp: Likewise.
10268 * gdb.base/annota3.exp: Likewise.
10269 * gdb.base/args.exp: Likewise.
10270 * gdb.base/arithmet.exp: Likewise.
10271 * gdb.base/assign.exp: Likewise.
10272 * gdb.base/async.exp: Likewise.
10273 * gdb.base/attach.exp: Likewise.
10274 * gdb.base/bang.exp: Likewise.
10275 * gdb.base/bigcore.exp: Likewise.
10276 * gdb.base/bitfields.exp: Likewise.
10277 * gdb.base/bitfields2.exp: Likewise.
10278 * gdb.base/break.exp: Likewise.
10279 * gdb.base/call-sc.exp: Likewise.
10280 * gdb.base/call-strs.exp: Likewise.
10281 * gdb.base/callfuncs.exp: Likewise.
10282 * gdb.base/checkpoint.exp: Likewise.
10283 * gdb.base/chng-syms.exp: Likewise.
10284 * gdb.base/code-expr.exp: Likewise.
10285 * gdb.base/commands.exp: Likewise.
10286 * gdb.base/completion.exp: Likewise.
10287 * gdb.base/cond-expr.exp: Likewise.
10288 * gdb.base/condbreak.exp: Likewise.
10289 * gdb.base/consecutive.exp: Likewise.
10290 * gdb.base/constvars.exp: Likewise.
10291 * gdb.base/corefile.exp: Likewise.
10292 * gdb.base/cvexpr.exp: Likewise.
10293 * gdb.base/dbx.exp: Likewise.
10294 * gdb.base/define.exp: Likewise.
10295 * gdb.base/detach.exp: Likewise.
10296 * gdb.base/display.exp: Likewise.
10297 * gdb.base/dump.exp: Likewise.
10298 * gdb.base/ena-dis-br.exp: Likewise.
10299 * gdb.base/ending-run.exp: Likewise.
10300 * gdb.base/environ.exp: Likewise.
10301 * gdb.base/eval-skip.exp: Likewise.
10302 * gdb.base/exprs.exp: Likewise.
10303 * gdb.base/fileio.exp: Likewise.
10304 * gdb.base/finish.exp: Likewise.
10305 * gdb.base/float.exp: Likewise.
10306 * gdb.base/foll-exec.exp: Likewise.
10307 * gdb.base/foll-fork.exp: Likewise.
10308 * gdb.base/foll-vfork.exp: Likewise.
10309 * gdb.base/freebpcmd.exp: Likewise.
10310 * gdb.base/funcargs.exp: Likewise.
10311 * gdb.base/gcore.exp: Likewise.
10312 * gdb.base/gdb1090.exp: Likewise.
10313 * gdb.base/gdb1250.exp: Likewise.
10314 * gdb.base/huge.exp: Likewise.
10315 * gdb.base/info-proc.exp: Likewise.
10316 * gdb.base/interrupt.exp: Likewise.
10317 * gdb.base/jump.exp: Likewise.
10318 * gdb.base/langs.exp: Likewise.
10319 * gdb.base/lineinc.exp: Likewise.
10320 * gdb.base/list.exp: Likewise.
10321 * gdb.base/logical.exp: Likewise.
10322 * gdb.base/long_long.exp: Likewise.
10323 * gdb.base/macscp.exp: Likewise.
10324 * gdb.base/maint.exp: Likewise.
10325 * gdb.base/mips_pro.exp: Likewise.
10326 * gdb.base/miscexprs.exp: Likewise.
10327 * gdb.base/multi-forks.exp: Likewise.
10328 * gdb.base/opaque.exp: Likewise.
10329 * gdb.base/overlays.exp: Likewise.
10330 * gdb.base/pc-fp.exp: Likewise.
10331 * gdb.base/pointers.exp: Likewise.
10332 * gdb.base/printcmds.exp: Likewise.
10333 * gdb.base/psymtab.exp: Likewise.
10334 * gdb.base/ptype.exp: Likewise.
10335 * gdb.base/recurse.exp: Likewise.
10336 * gdb.base/relational.exp: Likewise.
10337 * gdb.base/relocate.exp: Likewise.
10338 * gdb.base/remote.exp: Likewise.
10339 * gdb.base/reread.exp: Likewise.
10340 * gdb.base/restore.exp: Likewise.
10341 * gdb.base/return.exp: Likewise.
10342 * gdb.base/return2.exp: Likewise.
10343 * gdb.base/scope.exp: Likewise.
10344 * gdb.base/sect-cmd.exp: Likewise.
10345 * gdb.base/sep.exp: Likewise.
10346 * gdb.base/sepdebug.exp: Likewise.
10347 * gdb.base/setshow.exp: Likewise.
10348 * gdb.base/setvar.exp: Likewise.
10349 * gdb.base/sigall.exp: Likewise.
10350 * gdb.base/sigbpt.exp: Likewise.
10351 * gdb.base/signals.exp: Likewise.
10352 * gdb.base/signull.exp: Likewise.
10353 * gdb.base/sizeof.exp: Likewise.
10354 * gdb.base/solib.exp: Likewise.
10355 * gdb.base/step-line.exp: Likewise.
10356 * gdb.base/step-test.exp: Likewise.
10357 * gdb.base/structs.exp: Likewise.
10358 * gdb.base/structs2.exp: Likewise.
10359 * gdb.base/term.exp: Likewise.
10360 * gdb.base/twice.exp: Likewise.
10361 * gdb.base/until.exp: Likewise.
10362 * gdb.base/varargs.exp: Likewise.
10363 * gdb.base/volatile.exp: Likewise.
10364 * gdb.base/watchpoint.exp: Likewise.
10365 * gdb.base/whatis-exp.exp: Likewise.
10366 * gdb.base/whatis.exp: Likewise.
10367 * gdb.cp/ambiguous.exp: Likewise.
10368 * gdb.cp/annota2.exp: Likewise.
10369 * gdb.cp/annota3.exp: Likewise.
10370 * gdb.cp/bool.exp: Likewise.
10371 * gdb.cp/breakpoint.exp: Likewise.
10372 * gdb.cp/casts.exp: Likewise.
10373 * gdb.cp/class2.exp: Likewise.
10374 * gdb.cp/classes.exp: Likewise.
10375 * gdb.cp/cplusfuncs.exp: Likewise.
10376 * gdb.cp/ctti.exp: Likewise.
10377 * gdb.cp/derivation.exp: Likewise.
10378 * gdb.cp/exception.exp: Likewise.
10379 * gdb.cp/gdb1355.exp: Likewise.
10380 * gdb.cp/hang.exp: Likewise.
10381 * gdb.cp/inherit.exp: Likewise.
10382 * gdb.cp/local.exp: Likewise.
10383 * gdb.cp/m-data.exp: Likewise.
10384 * gdb.cp/m-static.exp: Likewise.
10385 * gdb.cp/member-ptr.exp: Likewise.
10386 * gdb.cp/method.exp: Likewise.
10387 * gdb.cp/misc.exp: Likewise.
10388 * gdb.cp/namespace.exp: Likewise.
10389 * gdb.cp/overload.exp: Likewise.
10390 * gdb.cp/ovldbreak.exp: Likewise.
10391 * gdb.cp/pr-1023.exp: Likewise.
10392 * gdb.cp/pr-1210.exp: Likewise.
10393 * gdb.cp/pr-574.exp: Likewise.
10394 * gdb.cp/printmethod.exp: Likewise.
10395 * gdb.cp/psmang.exp: Likewise.
10396 * gdb.cp/ref-params.exp: Likewise.
10397 * gdb.cp/ref-types.exp: Likewise.
10398 * gdb.cp/rtti.exp: Likewise.
10399 * gdb.cp/templates.exp: Likewise.
10400 * gdb.cp/try_catch.exp: Likewise.
10401 * gdb.cp/userdef.exp: Likewise.
10402 * gdb.cp/virtfunc.exp: Likewise.
10403 * gdb.disasm/am33.exp: Likewise.
10404 * gdb.disasm/h8300s.exp: Likewise.
10405 * gdb.disasm/mn10300.exp: Likewise.
10406 * gdb.disasm/sh3.exp: Likewise.
10407 * gdb.disasm/t01_mov.exp: Likewise.
10408 * gdb.disasm/t02_mova.exp: Likewise.
10409 * gdb.disasm/t03_add.exp: Likewise.
10410 * gdb.disasm/t04_sub.exp: Likewise.
10411 * gdb.disasm/t05_cmp.exp: Likewise.
10412 * gdb.disasm/t06_ari2.exp: Likewise.
10413 * gdb.disasm/t07_ari3.exp: Likewise.
10414 * gdb.disasm/t08_or.exp: Likewise.
10415 * gdb.disasm/t09_xor.exp: Likewise.
10416 * gdb.disasm/t10_and.exp: Likewise.
10417 * gdb.disasm/t11_logs.exp: Likewise.
10418 * gdb.disasm/t12_bit.exp: Likewise.
10419 * gdb.disasm/t13_otr.exp: Likewise.
10420 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10421 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10422 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10423 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10424 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10425 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10426 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10427 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10428 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10429 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10430 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10431 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10432 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10433 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10434 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10435 * gdb.mi/gdb701.exp: Likewise.
10436 * gdb.mi/gdb792.exp: Likewise.
10437 * gdb.mi/mi-basics.exp: Likewise.
10438 * gdb.mi/mi-break.exp: Likewise.
10439 * gdb.mi/mi-cli.exp: Likewise.
10440 * gdb.mi/mi-console.exp: Likewise.
10441 * gdb.mi/mi-disassemble.exp: Likewise.
10442 * gdb.mi/mi-eval.exp: Likewise.
10443 * gdb.mi/mi-file.exp: Likewise.
10444 * gdb.mi/mi-read-memory.exp: Likewise.
10445 * gdb.mi/mi-regs.exp: Likewise.
10446 * gdb.mi/mi-return.exp: Likewise.
10447 * gdb.mi/mi-simplerun.exp: Likewise.
10448 * gdb.mi/mi-stack.exp: Likewise.
10449 * gdb.mi/mi-stepi.exp: Likewise.
10450 * gdb.mi/mi-syn-frame.exp: Likewise.
10451 * gdb.mi/mi-until.exp: Likewise.
10452 * gdb.mi/mi-var-block.exp: Likewise.
10453 * gdb.mi/mi-var-child.exp: Likewise.
10454 * gdb.mi/mi-var-cmd.exp: Likewise.
10455 * gdb.mi/mi-var-display.exp: Likewise.
10456 * gdb.mi/mi-watch.exp: Likewise.
10457 * gdb.mi/mi2-basics.exp: Likewise.
10458 * gdb.mi/mi2-break.exp: Likewise.
10459 * gdb.mi/mi2-cli.exp: Likewise.
10460 * gdb.mi/mi2-console.exp: Likewise.
10461 * gdb.mi/mi2-disassemble.exp: Likewise.
10462 * gdb.mi/mi2-eval.exp: Likewise.
10463 * gdb.mi/mi2-file.exp: Likewise.
10464 * gdb.mi/mi2-read-memory.exp: Likewise.
10465 * gdb.mi/mi2-regs.exp: Likewise.
10466 * gdb.mi/mi2-return.exp: Likewise.
10467 * gdb.mi/mi2-simplerun.exp: Likewise.
10468 * gdb.mi/mi2-stack.exp: Likewise.
10469 * gdb.mi/mi2-stepi.exp: Likewise.
10470 * gdb.mi/mi2-syn-frame.exp: Likewise.
10471 * gdb.mi/mi2-until.exp: Likewise.
10472 * gdb.mi/mi2-var-block.exp: Likewise.
10473 * gdb.mi/mi2-var-child.exp: Likewise.
10474 * gdb.mi/mi2-var-cmd.exp: Likewise.
10475 * gdb.mi/mi2-var-display.exp: Likewise.
10476 * gdb.mi/mi2-watch.exp: Likewise.
10477 * gdb.stabs/exclfwd.exp: Likewise.
10478 * gdb.stabs/weird.exp: Likewise.
10479 * gdb.threads/gcore-thread.exp: Likewise.
10480 * gdb.trace/actions.exp: Likewise.
10481 * gdb.trace/backtrace.exp: Likewise.
10482 * gdb.trace/circ.exp: Likewise.
10483 * gdb.trace/collection.exp: Likewise.
10484 * gdb.trace/deltrace.exp: Likewise.
10485 * gdb.trace/infotrace.exp: Likewise.
10486 * gdb.trace/limits.exp: Likewise.
10487 * gdb.trace/packetlen.exp: Likewise.
10488 * gdb.trace/passc-dyn.exp: Likewise.
10489 * gdb.trace/passcount.exp: Likewise.
10490 * gdb.trace/report.exp: Likewise.
10491 * gdb.trace/save-trace.exp: Likewise.
10492 * gdb.trace/tfind.exp: Likewise.
10493 * gdb.trace/tracecmd.exp: Likewise.
10494 * gdb.trace/while-dyn.exp: Likewise.
10495 * gdb.trace/while-stepping.exp: Likewise.
10496
f4b618d1
JB
104972006-08-08 Joel Brobecker <brobecker@adacore.com>
10498
10499 * gdb.base/step-bt.c: New file.
10500 * gdb.base/step-bt.exp: New testcase.
10501
3d00d119
DJ
105022006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10503
10504 * config/monitor.exp (gdb_load): Remove support for obsolete
10505 download-write-size.
10506 * gdb.base/remote.exp: Likewise. Update all callers of
10507 gdb_timed_load.
10508
017b5bd4
DJ
105092006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10510
10511 * cursal.exp: Pass binfile to gdb_load.
10512
837c599d
DJ
105132006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10514
10515 * gdb.base/cursal.exp: Add "" to gdb_load call.
10516
8dd4540b
MK
105172006-07-29 Mark Kettenis <kettenis@gnu.org>
10518
10519 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10520 NetBSD/ELF targets.
10521
ab5c9f60
DJ
105222006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10523
10524 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10525 operator*.
10526
4c42eaff
DJ
105272006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10528
10529 * gdb.base/completion.exp: Update for change in "file" behavior.
10530 * gdb.stabs/weird.exp: Likewise.
10531 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10532 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10533
0155cc76
NS
105342006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10535
10536 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10537 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10538
16026cd7
AS
105392006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10540
10541 * gdb.base/default.exp: Update source command error message.
10542 * gdb.base/help.exp: Update 'help source' message.
10543
16963cb6
DJ
105442006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10545
10546 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10547 test.
10548
6d7fd486
AS
105492006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10550
10551 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10552
29e8a844
DJ
105532006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10554
10555 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10556
6afcfa39
DJ
105572006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10558
10559 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10560
267a692b
MK
105612006-07-17 Mark Kettenis <kettenis@gnu.org>
10562
10563 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10564 *-*-openbsd* from targets for wich we expect ARM FPA floating
10565 point format.
10566
85d2fec4
NR
105672006-07-17 Nick Roberts <nickrob@snap.net.nz>
10568
10569 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10570
105712006-07-17 Mark Kettenis <kettenis@gnu.org>
10572
10573 * gdb.base/annota3.exp: Expect frame-begin annotation.
10574
85b4c6e8
JB
105752006-07-14 Joel Brobecker <brobecker@adacore.com>
10576
10577 * gdb.base/help.exp: Adjust "help unset" test to accept
10578 any list of unset commands.
10579
fb933624
DJ
105802006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10581 Daniel Jacobowitz <dan@codesourcery.com>
10582
10583 * gdb.cp/ref-params.exp: New test.
10584 * gdb.cp/ref-params.cc: New source file.
10585 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10586
1dff4b64
MK
105872006-07-08 Mark Kettenis <kettenis@gnu.org>
10588
10589 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10590 spaces/tabs in regular expressions since they might not be there.
10591
40d2e0e3
AS
105922006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10593
10594 * gdb.base/ifelse.exp: New file.
10595
f6c957d2
NS
105962006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10597
10598 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10599 line.
10600 * gdb.base/huge.exp: Loop over compilation to find a size that
10601 is acceptable.
10602 * gdb.base/remote.exp: Correct expected strings.
10603 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10604
b9c5a23d
DJ
106052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10606
10607 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10608
9af2e58d
DJ
106092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10610
10611 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10612 native.
10613
30930ca5
DJ
106142006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10615
10616 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10617 enable stabs testing.
10618
aa32fa1d
DJ
106192006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10620
bd4a4c80 10621 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10622 gdb_test_multiple does.
10623
321fef15
DJ
106242006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10625
10626 * Makefile.in (host_alias): Remove.
10627 (target_alias): Use @target_noncanonical@.
10628 (site.exp): Don't set host_alias.
10629 * aclocal.m4: Remove contents. Include acx.m4.
10630 * configure: Regenerated.
10631 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10632
e1c2defa
NS
106332006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10634
e63b55d1
NS
10635 * lib/gdb.exp (gdb_load_cmd): New.
10636
5600ea19
NS
10637 * gdb.base/fileio.c: Add system(NULL) test.
10638 * gdb.base/fileio.exp: Check it.
10639
e1c2defa
NS
10640 * gdb.base/break.c: Add 10a breakpoint at }
10641 * gdb.base/break.exp: Add test for breakpoint at }
10642 * gdb.cp/anon-union.cc: Add code at end of function.
10643 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10644 * gdb.mi/var-cmd.c: Add code at end of function.
10645 * gdb.mi/mi-var-display.exp: Adjust end of next.
10646 * gdb.mi/mi2-var-display.exp: Likewise.
10647 * gdb.base/fileio.c: Add stop function and insert calls at
10648 stopping places.
10649 * gdb.base/fileio.exp: Breakpoint stop function and remove
10650 explicit line number references.
10651
6c0112ec
JB
106522006-05-19 Joel Brobecker <brobecker@adacore.com>
10653
a9c64011
AS
10654 * gdb.base/del.exp (test_delete_alias): New function.
10655 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10656
154189a4
FF
106572006-05-18 Fred Fish <fnf@specifix.com>
10658
10659 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10660 required. Check for spurious output after program exits normally.
10661
582e64c2
FF
106622006-05-17 Fred Fish <fnf@specifix.com>
10663
10664 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10665 gdb_load, so it works in the simulator.
10666
8ef6493a
FF
106672006-05-11 Fred Fish <fnf@specifix.com>
10668
10669 * gdb.base/bang.exp: Ignore unexpected output between the
10670 "program exited normally" and the gdb prompt, as many other
10671 tests do.
10672
692b141c
MK
106732006-05-07 Mark Kettenis <kettenis@gnu.org>
10674
10675 * gdb.base/help.exp: Make "delete checkpoint" part option for
10676 "help d" and "help delete" tests.
10677
540b8a30
UW
106782006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10679
a9c64011 10680 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10681 expected output in some mi_gdb_test statements.
10682 * gdb.mi/mi2-basics.exp: Likewise.
10683
9b6462d9
JB
106842006-05-05 Joel Brobecker <brobecker@adacore.com>
10685
10686 * gdb.base/del.c: New file.
10687 * gdb.base/del.exp: New testcase.
10688
954de43b
DM
106892006-05-05 David S. Miller <davem@sunset.davemloft.net>
10690
10691 * gdb.base/break.exp: Do not assume a breakpoint on
10692 main will actually be in $srcfile when optimizing.
1303f75e
DM
10693 * gdb.base/savedregs.exp: Do not require that the dummy
10694 frame location match up to a symbol and source file location.
c3242428
DM
10695 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10696 will get printed without a mi_cmd_data_list_register_values prefix.
10697 (*-data-list-register-*): Correct regular expressions to expect the new
10698 pseudo d? floating point registers.
10699 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10700
c7e64c9a
DJ
107012006-05-05 Christophe Lyon <christophe.lyon@st.com>
10702
10703 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10704 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10705 is allocated by the compiler.
10706 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10707 anons, e, anone to force their allocation by the compiler.
10708
107092006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10710
10711 * gdb.base/help.exp: Update expected text for help d and
10712 help delete.
10713
27ce9a6d
MK
107142006-05-02 Mark Kettenis <kettenis@gnu.org>
10715
10716 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10717 NetBSD/ELF targets.
10718
8608915f
MK
107192006-04-30 Mark Kettenis <kettenis@gnu.org>
10720
10721 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10722 single-step breakpoint fails; make this a KFAIL on
10723 sparc*-*-openbsd*.
10724 * gdb.base/siginfo.exp: Likewise.
10725 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10726
b8db102d
MS
107272006-04-26 Michael Snyder <msnyder@redhat.com>
10728
10729 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10730 which may have to consume output from other forks.
10731 Add tests to make sure that "delete fork" succeeded.
10732
c702009a
MS
107332006-04-20 Michael Snyder <msnyder@redhat.com>
10734
10735 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10736 Add support for the Renesas M32C and M16C.
10737
10738 * gdb.asm/asm-source.exp: Add m32c target.
10739 * gdb.asm/m32c.inc: Support for m32c target.
10740
e28493f2
AS
107412006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10742
10743 * gdb.base/commands.exp (recursive_source_test): New test.
10744
880da185
DM
107452006-04-04 David S. Miller <davem@sunset.davemloft.net>
10746
10747 * gdb.base/float.exp: Add pattern for sparc targets.
10748
61d9b92f
DJ
107492006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10750
10751 * gdb.base/commands.exp (stray_arg0_test): New test.
10752
bd717df8
PB
107532006-03-30 Paul Brook <paul@codesourcery.com>
10754
10755 * gdb.mi/mi-until.exp: kfail broken until command.
10756 * gdb.mi/mi2-until.exp: Ditto.
10757
ec793d3c
NR
107582006-03-27 Nick Roberts <nickrob@snap.net.nz>
10759
10760 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10761
831004b7
AO
107622006-03-08 Alexandre Oliva <aoliva@redhat.com>
10763
10764 * gdb.base/prelink.exp: Anchor tested-for regular expression
10765 on gdb prompt.
10766
effe49a0
PB
107672006-03-07 Paul Brook <paul@codesourcery.com>
10768
10769 * gdb.base/assign.exp: Correct fail message.
10770
e5461016
PB
107712006-03-07 Paul Brook <paul@codesourcery.com>
10772
10773 * lib/compiler.c: Extract armcc version number.
10774 * lib/compiler.cc: Ditto.
10775
fc91c6c2
PB
107762006-03-07 Paul Brook <paul@codesourcery.com>
10777
10778 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10779 additional_flags=-w.
10780 * gdb.arch/altivec-regs.exp: Ditto.
10781 * gdb.arch/e500-abi.exp: Ditto.
10782 * gdb.arch/e500-regs.exp: Ditto.
10783 * gdb.base/all-bin.exp: Ditto.
10784 * gdb.base/annota1.exp: Ditto.
10785 * gdb.base/annota3.exp: Ditto.
10786 * gdb.base/args.exp: Ditto.
10787 * gdb.base/arithmet.exp: Ditto.
10788 * gdb.base/assign.exp: Ditto.
10789 * gdb.base/async.exp: Ditto.
10790 * gdb.base/bang.exp: Ditto.
10791 * gdb.base/break.exp: Ditto.
10792 * gdb.base/call-rt-st.exp: Ditto.
10793 * gdb.base/completion.exp: Ditto.
10794 * gdb.base/cond-expr.exp: Ditto.
10795 * gdb.base/condbreak.exp: Ditto.
10796 * gdb.base/consecutive.exp: Ditto.
10797 * gdb.base/define.exp: Ditto.
10798 * gdb.base/display.exp: Ditto.
10799 * gdb.base/ena-dis-br.exp: Ditto.
10800 * gdb.base/environ.exp: Ditto.
10801 * gdb.base/eval-skip.exp: Ditto.
10802 * gdb.base/info-proc.exp: Ditto.
10803 * gdb.base/jump.exp: Ditto.
10804 * gdb.base/logical.exp: Ditto.
10805 * gdb.base/long_long.exp: Ditto.
10806 * gdb.base/maint.exp: Ditto.
10807 * gdb.base/miscexprs.exp: Ditto.
10808 * gdb.base/pc-fp.exp: Ditto.
10809 * gdb.base/pointers.exp: Ditto.
10810 * gdb.base/relational.exp: Ditto.
10811 * gdb.base/reread.exp: Ditto.
10812 * gdb.base/sect-cmd.exp: Ditto.
10813 * gdb.base/sep.exp: Ditto.
10814 * gdb.base/sepdebug.exp: Ditto.
10815 * gdb.base/until.exp: Ditto.
10816 * gdb.base/whatis-exp.exp: Ditto.
10817 * gdb.cp/annota2.exp: Ditto.
10818 * gdb.cp/annota3.exp: Ditto.
10819 * gdb.trace/actions.exp: Ditto.
10820 * gdb.trace/backtrace.exp: Ditto.
10821 * gdb.trace/circ.exp: Ditto.
10822 * gdb.trace/collection.exp: Ditto.
10823 * gdb.trace/deltrace.exp: Ditto.
10824 * gdb.trace/infotrace.exp: Ditto.
10825 * gdb.trace/limits.exp: Ditto.
10826 * gdb.trace/packetlen.exp: Ditto.
10827 * gdb.trace/passc-dyn.exp: Ditto.
10828 * gdb.trace/passcount.exp: Ditto.
10829 * gdb.trace/report.exp: Ditto.
10830 * gdb.trace/save-trace.exp: Ditto.
10831 * gdb.trace/tfind.exp: Ditto.
10832 * gdb.trace/tracecmd.exp: Ditto.
10833 * gdb.trace/while-dyn.exp: Ditto.
10834 * gdb.trace/while-stepping.exp: Ditto.
10835 * lib/gdb.exp: Ditto.
10836 (gdb_compile): Handle nowarning option.
10837
5f4a23d9
AO
108382006-03-07 Alexandre Oliva <aoliva@redhat.com>
10839
10840 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10841 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10842 Rename executable to prelinkt. Don't re-prelink if we didn't
10843 get a core file. Test prelink -u exit status to tell whether
10844 prelinking failed. Use gdb_test_multiple.
10845
9733fc94
DJ
108462006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10847
10848 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10849 (do_tests): Call it.
10850
cc10cae3
AO
108512006-02-28 Alexandre Oliva <aoliva@redhat.com>
10852
10853 * gdb.base/prelink.exp: New test.
10854 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10855
15c46491
WZ
108562006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10857
10858 * gdb.fortran/derived-type.f90: New file.
10859 * gdb.fortran/derived-type.exp: New testcase.
10860
5c9f7ded
DJ
108612006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10862
10863 * gdb.base/default.exp: Allow ';' as a directory separator.
10864
5b96932b
AS
108652006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10866
10867 * gdb.base/help.exp (help add-symbol-file): Update.
10868
1986bccd
AS
108692006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10870
10871 * gdb.base/help.exp (help load): Update expected results.
10872
a8b7528f
FF
108732006-02-19 Fred Fish <fnf@specifix.com>
10874
10875 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10876 specifix hex value as part of results.
10877 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10878
f8261448
FF
108792006-02-16 Fred Fish <fnf@specifix.com>
10880
10881 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10882 ushort_addr, and slong_addr, so the typedefs are not optimized
10883 away.
10884 * gdb.base/whatis.exp: Add tests using type name for struct type,
10885 union type, enum type, and typedef.
a9c64011 10886
31d8bdd2
MK
108872006-02-13 Mark Kettenis <kettenis@gnu.org>
10888
10889 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10890
34e41e63
JB
108912006-02-13 Jim Blandy <jimb@redhat.com>
10892
10893 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10894 case where it takes two "next" commands to skip past the init
10895 call.
10896
ac6e4f31
FF
108972006-02-12 Fred Fish <fnf@specifix.com>
10898
10899 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10900 to handle cases where it takes two "next" commands to skip
10901 past the init call.
10902
2db2d571
JB
109032006-02-07 Joel Brobecker <brobecker@adacore.com>
10904
10905 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10906 on hppa32 targets.
10907
38fcd64c
DJ
109082006-02-06 Vladimir Prus <ghost@cs.msu.su>
10909
10910 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10911 field.
10912
1315ad46
MK
109132006-01-29 Mark Kettenis <kettenis@gnu.org>
10914
10915 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10916
5625b943
DJ
109172006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10918
10919 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10920 files.
10921
80df1bbe
DJ
109222006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10923
10924 * gdb.cp/maint.exp: Set complaints to a positive value.
10925
9078e690
DJ
109262006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10927
10928 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10929 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10930 function name.
10931
9c903399
DJ
109322006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10933
10934 * gdb.base/checkpoint.c: Update copyright notice. Include
10935 <stdlib.h>.
10936
761ae4d6
JB
109372006-01-04 Jim Blandy <jimb@redhat.com>
10938
10939 * gdb.asm/asm-source.exp: Independently provide default values for
10940 asm-flags and debug-flags. Use 'string equal' to do the
10941 comparison, not the implicit expr's '==' operator. Remove
10942 now-unneeded assignments to asm-flags. In h8300 case, place
10943 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10944
099ac3dd
MS
109452006-01-04 Michael Snyder <msnyder@redhat.com>
10946
10947 * gdb.base/checkpoint.c: New file.
10948 * gdb.base/checkpoint.exp: New file.
10949 * gdb.base/multi-fork.c: New file.
10950 * gdb.base/multi-fork.exp: New file.
10951 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10952
f4d85314
FF
109532006-01-04 Fred Fish <fnf@specifix.com>
10954
10955 * gdb.base/ptype.c (foo): Add typedef.
10956 (intfoo): Add function.
10957 * gdb.base/ptype1.c: New file.
10958 * gdb.base/ptype.exp: Handle compilation and linking with two
10959 source files. Test that proper type for "foo" is found based
10960 on source context rather than first match found in symtabs.
10961
a1b06f35
MK
109622005-12-28 Mark Kettenis <kettenis@gnu.org>
10963
10964 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10965 * gdb.asm/openbsd.inc: Indent commands.
10966
d082a1e2
MK
109672005-12-26 Mark Kettenis <kettenis@gnu.org>
10968
c65016bd
MK
10969 * gdb.base/freebpcmd.exp: Increase timeout.
10970
d082a1e2
MK
10971 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10972
d3c32a0e
DJ
109732005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10974
10975 * gdb.base/default.exp: Update check for "show version".
10976
9fdb1f50
RC
109772005-12-09 Randolph Chung <tausq@debian.org>
10978
10979 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10980 * gdb.asm/pa64.inc: New file.
10981
5f2c56f7
RC
109822005-12-09 Randolph Chung <tausq@debian.org>
10983
10984 * gdb.asm/common.inc: Indent commands.
10985 * gdb.asm/asmsrc1.s: Likewise.
10986 * gdb.asm/asmsrc2.s: Likewise.
10987
8117349c
RC
109882005-12-09 Randolph Chung <tausq@debian.org>
10989
10990 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10991 (get_addr_of_sym): Remove duplicate print.
10992 (gen_core): xfail hppa*-*-hpux*, update expected output.
10993 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10994 * gdb.arch/pa64-nullify.s: New file.
10995
8f07f25a
RC
109962005-12-09 Randolph Chung <tausq@debian.org>
10997
10998 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10999
55b39184
DJ
110002005-12-07 Christophe Lyon <christophe.lyon@st.com>
11001
11002 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11003 code generation for these functions.
11004 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11005 error message.
11006
31e2b00f
AS
110072005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11008
11009 * gdb.base/help.exp (help b, help br, help bre, help brea)
11010 (help break): Update the expected message.
11011
c3d0b56e
SC
110122005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11013
11014 * gdb.asm/m68hc11.inc: Setup the data section.
11015 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11016 script for this test.
11017 (m6812-*-*): Likewise.
11018
36ae0ea9
RC
110192005-11-09 Randolph Chung <tausq@debian.org>
11020
11021 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11022
9d6f42e9
WZ
110232005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11024
11025 * gdb.base/break.exp: Fix a comment typo.
11026
e2126a14
EZ
110272005-11-03 Jim Blandy <jimb@redhat.com>
11028
a9c64011
AS
11029 Checked in by Elena Zannoni <ezannoni@redhat.com>
11030
889bf7c5 11031 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11032
e0ac7199
CV
110332005-11-02 Corinna Vinschen <vinschen@redhat.com>
11034
11035 * gdb.arch/gdb1558.c: Include stdio.h.
11036
31d3fb18
MK
110372005-10-31 Mark Kettenis <kettenis@gnu.org>
11038
11039 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11040
e52b687c
MK
110412005-10-31 Mark Kettenis <kettenis@gnu.org>
11042
11043 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11044
f4711d79
PG
110452005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11046
a9c64011
AS
11047 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11048 vscr" tests to better match output.
f4711d79 11049
987a9106
JB
110502005-10-12 Jim Blandy <jimb@redhat.com>
11051
11052 * gdb.base/structs.exp (any): New function.
11053 (test_struct_returns): Don't make any assumptions at all about
11054 what value the function returns when GDB can't set the return
11055 value.
11056
2336bb58
JB
110572005-10-09 Joel Brobecker <brobecker@adacore.com>
11058
11059 * gdb.ada/arrayidx/p.adb: New file.
11060 * gdb.ada/arrayidx.exp: New testcase
11061
110622005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11063
11064 * gdb.ada/array_return/pck.ads: New file.
11065 * gdb.ada/array_return/pck.adb: New file.
11066 * gdb.ada/array_return/p.adb: New file.
11067 * gdb.ada/array_return.exp: New testcase.
11068
705335ea
JB
110692005-10-03 Joel Brobecker <brobecker@adacore.com>
11070
a9c64011
AS
11071 * gdb.base/arrayidx.c: New file.
11072 * gdb.base/arrayidx.exp: New testcase.
705335ea 11073
11ee9940
NR
110742005-09-29 Nick Roberts <nickrob@snap.net.nz>
11075
11076 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11077 frames-invalid and breakpoints-invalid are no longer generated
11078 with level 3 so don't expect them in the output.
11079
39fb8e9e
BR
110802005-09-27 Bob Rossi <bob@brasko.net>
11081
a9c64011 11082 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11083 from test. Escape the | in mi_gdb_test call.
11084 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11085 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11086 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11087 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11088 expected regex's in mi_gdb_test calls.
11089 * lib/mi-support.exp: Remove arbitrary .* from tests.
11090 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11091 Fully anchor GDB/MI expected results in mi_gdb_test.
11092 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11093 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11094
2af48f68
PB
110952005-09-26 Paul Brook <paul@codesourcery.com>
11096
11097 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11098
f34502bc
WZ
110992005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11100
11101 * bfp-test.c: New file.
11102 * bfp-test.exp: New testcase.
11103
ca929517
WZ
111042005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11105
11106 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11107 of subarray and substring variable.
11108 * gdb.fortran/subarray.f: New source file for the test of subarray
11109 and substring variable evaluation.
11110 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11111 of string constant.
11112
c761af65
DJ
111132005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11114
11115 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11116 copyright dates.
11117
561d7a1d
PG
111182005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11119
11120 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11121 powerpc altivec' test with an almost identical 'info vector' test.
11122
b2b64cc9
PG
111232005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11124
a9c64011
AS
11125 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11126 vscr" tests to match output.
b2b64cc9 11127
6ac4d15a
PG
111282005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11129
a9c64011
AS
11130 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11131 output.
6ac4d15a 11132
40e55bef
BR
111332005-09-11 Bob Rossi <bob@brasko.net>
11134
889bf7c5
PA
11135 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11136 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11137 commands that return an MI output command and an asyncronous MI output
11138 command.
40e55bef
BR
11139 * gdb.mi/mi-console.exp: Ditto.
11140
3c7385ec
BR
111412005-09-11 Bob Rossi <bob@brasko.net>
11142
11143 * gdb.mi/mi-var-child.c: Include <string.h>.
11144
a6cd0eb3
DJ
111452005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * killed.exp: Correct gdb_expect syntax.
11148
2f168eed
CV
111492005-08-09 Corinna Vinschen <vinschen@redhat.com>
11150
11151 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11152
ecd3fd0f
BR
111532005-08-02 Bob Rossi <bob@brasko.net>
11154
11155 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11156 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11157 Change tests to inferior-tty-set/show.
11158 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11159 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11160 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11161 inferior. Use mi_gdb_test to get GDB and Inferior output.
11162 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11163 descriptor.
11164 (mi_inferior_tty_name): Add inferior PTY file name.
11165 (mi_gdb_start): Add INFERIOR_PTY parameter.
11166 (mi_gdb_test): Add IPATTERN parameter.
11167
f1ea48cb 111682005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11169
f1ea48cb
BR
11170 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11171 parameter to mi_gdb_test.
11172 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11173
6e650a67
DJ
111742005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11175
11176 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11177 struct_declarations.
11178 * gdb.mi/mi-var-child.exp: Step over the initialization of
11179 struct_declarations.
11180
8be260b6
DJ
111812005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11182
11183 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11184 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11185 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11186 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11187 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11188 file.
11189
4e660f07
NR
111902005-07-27 Nick Roberts <nickrob@snap.net.nz>
11191
11192 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11193 (do_children_tests): Assign values to the extra elements.
11194
11195 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11196 them for tests for "-var-update --no-values" and
a9c64011 11197 "-var-update --all-values".
4e660f07
NR
11198 Add test for "-var-list-children --simple-values".
11199
11200 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11201
11202 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11203 "-stack-list-locals --simple-values" Improve doc strings and
11204 comments.
11205
6bdae935
MK
112062005-07-18 Mark Kettenis <kettenis@gnu.org>
11207
598b7a6f
MK
11208 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11209 *-*-openbsd*.
11210 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11211
6bdae935
MK
11212 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11213 sigaltsatck'.
11214
1323e929 112152005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11216
1323e929
BR
11217 * gdb.base/default.exp (tty): Changed output of command.
11218 * gdb.base/help.exp (help tty): Ditto.
11219
b1a9c082
MK
112202005-07-12 Mark Kettenis <kettenis@gnu.org>
11221
11222 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11223
10a844a2
MK
112242005-07-10 Mark Kettenis <kettenis@gnu.org>
11225
11226 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11227 -stack-select-frame without arguments.
11228 (test_stack_frame_listing): Add test for newly implemented command
11229 -stack-info-frame.
11230
3cb3b8df
BR
112312005-07-06 Bob Rossi <bob@brasko.net>
11232
11233 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11234 command.
11235 (Copyright): Update copyright.
11236
a0c5fbcf
WZ
112372005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11238
11239 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11240 tests to evaluate exponentiation expression.
11241
984971d0
AS
112422005-06-29 Andreas Schwab <schwab@suse.de>
11243
11244 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11245 main to avoid warnings.
11246
11247 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11248
fe03833f
NR
112492005-06-20 Nick Roberts <nickrob@snap.net.nz>
11250
11251 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11252 -stack-select-frame without arguments.
11253 (test_stack_frame_listing): Add test for newly implemented command
11254 -stack-info-frame.
a9c64011 11255
7a55f279
WZ
112562005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11257
0ffa0ea5
DJ
11258 * gdb.fortran/array-element.f: New file.
11259 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11260
26585198
DJ
112612005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11262
11263 * gdb.base/bigcore.exp: Correct checks for systems which can
11264 not dump a large core file.
11265
c1bd25fd
DJ
112662005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11267
11268 * gdb.base/relocate.c: Add a copyright notice.
11269 (dummy): Remove.
11270 * gdb.base/relocate.exp: Test printing the values of variables
11271 from a relocatable file.
11272
589e074d
DJ
112732005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11274
11275 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11276 excess MI output after an error.
11277
0915f927
JB
112782005-05-29 Joel Brobecker <brobecker@adacore.com>
11279
11280 * gdb.arch/alpha-step.c: New file.
11281 * gdb.arch/alpha-step.exp: New testcase.
11282
76ff342d
DJ
112832005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11284 Dennis Brueni <dennis@slickedit.com>
11285
11286 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11287 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11288 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11289 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11290 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11291 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11292 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11293
96b0c7ac
DJ
112942005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11295 Wu Zhou <woodzltc@cn.ibm.com>
11296
11297 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11298 IBM's xlc compiler.
11299 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11300 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11301
f21565d2
JB
113022005-05-13 Jim Blandy <jimb@redhat.com>
11303
11304 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11305 calling gdb_suppress_entire_file.
11306 * gdb.base/charset.exp: Same.
11307 * gdb.base/call-rt-st.exp: Same.
11308
6006a3a1
BR
113092005-05-05 Bob Rossi <bob_rossi@cox.net>
11310
11311 * lib/gdb.exp (fullname_syntax): Added global regex.
11312 (fullname_syntax_POSIX): Ditto.
11313 (fullname_syntax_UNC): Ditto.
11314 (fullname_syntax_DOS_CASE): Ditto.
11315 (fullname_syntax_DOS): Ditto.
11316 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11317 fullname_syntax variable to scope and use it.
11318 (test_file_list_exec_source_files): Ditto.
11319 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11320
c3b69c04
DJ
113212005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11322
11323 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11324
3c95e6af
PG
113252004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11326
a9c64011
AS
11327 * lib/gdb.exp (skip_altivec_tests): New function, based on
11328 check_vmx_hw_available from the GCC testsuite.
11329 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11330 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11331
78df6c56
JB
113322005-05-02 Jim Blandy <jimb@redhat.com>
11333
11334 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11335 calling gdb_suppress_entire_file.
11336
1690f9cf
DJ
113372005-04-30 Randolph Chung <tausq@debian.org>
11338
11339 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11340 Slightly relax "sem_post" name checking.
11341
5ea106f7
PG
113422005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11343
11344 * gdb.base/unload.exp: Use new shared library infrastructure.
11345
bf7234cf
PG
113462005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11347
11348 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11349 infrastructure.
bf7234cf 11350
547b869a
CV
113512005-04-29 Corinna Vinschen <vinschen@redhat.com>
11352
11353 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11354 * gdb.asm/h8300.inc: New file.
11355
f07e55f0
PG
113562005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11357
11358 * gdb.base/shlib-call.exp: Change to use new shared library
11359 infrastructure.
11360
3cbba3d1
PG
113612005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11362
a9c64011
AS
11363 * gdb.base/pending.exp: Change to use new shared library
11364 infrastructure.
3cbba3d1 11365
ed6df200
PG
113662005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11367
a9c64011
AS
11368 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11369 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11370
8c8f4ebe
PG
113712005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11372
a9c64011
AS
11373 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11374 shared objects being adjusted and update copyright years.
8c8f4ebe 11375
607fbc54
DJ
113762005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11377
11378 * ChangeLog: Correct some 2003-01-13 dates.
11379 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11380 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11381 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11382 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11383 gdb.trace/tfind.exp: Update copyright years.
11384
57bf0e56
DJ
113852005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11386 Daniel Jacobowitz <dan@codesourcery.com>
11387
11388 * lib/gdb.exp (gdb_compile): Handle shlib=.
11389 (gdb_compile_shlib): New function.
11390
9b593790
PG
113912005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11392
a9c64011 11393 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11394
9494c6a5
DJ
113952005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11396
11397 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11398 gdb.server.
11399 * configure.ac: Likewise.
11400 * configure: Regenerated.
11401 * gdb.gdbserver/Makefile.in: Moved to...
11402 * gdb.server/Makefile.in: ... here.
11403 * gdb.gdbserver/server.c: Moved to...
11404 * gdb.server/server.c: ... here.
11405 * gdb.gdbserver/server-run.exp: Moved to...
11406 * gdb.server/server-run.exp: ... here.
11407
6f8eac0e
DJ
114082005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11409
11410 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11411 * configure.ac: Create gdb.gdbserver/Makefile.
11412 * configure: Regenerated.
11413 * lib/gdbserver-support.exp: New file, derived from
11414 config/gdbserver.exp.
11415 * config/gdbserver.exp: Use gdbserver-support.exp.
11416 * gdb.gdbserver/Makefile.in: New file.
11417 * gdb.gdbserver/server.c: New file.
11418 * gdb.gdbserver/server-run.exp: New file.
11419
6e87504d
PG
114202005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11421
a9c64011
AS
11422 * lib/gdb.exp (test_compiler_info): Return compiler_info
11423 if no arguments are given.
6e87504d 11424
d1779be4
PG
114252005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11426
11427 * gdb.arch/altivec-abi.exp: Check for compiler and set
11428 use altivec' flag accordingly.
11429 * gdb.arch/altivec-regs.exp: Likewise.
11430
88750304
DJ
114312005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11432
11433 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11434
f3fb768d
AS
114352005-03-27 Andreas Schwab <schwab@suse.de>
11436
11437 * gdb.base/bigcore.c (main): Add missing mode argument in open
11438 call.
11439
7e813ac5
DJ
114402005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11441
11442 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11443 downloads.
11444 * config/gdbserver.exp (gdb_load): Likewise.
11445
8e3049aa
PB
114462005-03-14 Paul Brook <paul@codesourcery.com>
11447
11448 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11449 targets.
11450
a9df7c44
JB
114512005-03-09 Joel Brobecker <brobecker@adacore.com>
11452
11453 * gdb.dwarf2/dup-psym.S: New file.
11454 * gdb.dwarf2/dup-psym.exp: New testcase.
11455
9f0d94e8
JB
114562005-03-09 Joel Brobecker <brobecker@adacore.com>
11457
11458 * gdb.ada/exec_changed/first.adb: New file.
11459 * gdb.ada/exec_changed/second.adb: New file.
11460 * gdb.ada/exec_changed.exp: New testcase.
11461
5f579bc5
NS
114622005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11463
36e9969c
NS
11464 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11465 (A2): New class.
11466 (main): Test operator+.
11467 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11468 breakpoint test.
11469
5f579bc5
NS
11470 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11471 * gdb.base/signull.exp: Disable if gdb,nosignals.
11472 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11473 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11474 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11475 * gdb.mi/mi2-console.exp: Likewise.
11476 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11477 continue output at start.
11478 (gdb_collect_locals_test): Robustify regexp.
11479 * gdb.trace/passc-dyn.exp: Fix comment typo.
11480 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11481
be46087e
CV
114822005-03-08 Corinna Vinschen <vinschen@redhat.com>
11483
11484 * gdb.asm/asm-source.exp: Add iq2000 case.
11485 * gdb.asm/iq2000.inc: New file.
11486
384e1a61 114872005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11488
384e1a61
MI
11489 * gdb.base/command.exp: Change hardcoded value to regular expression.
11490 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11491
584b6e9e
DJ
114922005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11493
11494 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11495 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11496 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11497 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11498 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11499
ab5b5d61
MK
115002005-03-05 Mark Kettenis <kettenis@gnu.org>
11501
11502 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11503 changes.
11504
ae051c1b
PG
115052004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11506
a9c64011
AS
11507 * lib/compiler.c: Add test for IBM's xlc compiler.
11508 * lib/compiler.cc: Likewise.
ae051c1b 11509
3f0f6ed2
JB
115102004-02-24 Joel Brobecker <brobecker@adacore.com>
11511
11512 * gdb.ada/fixed_points.exp: Create compilation object directory
11513 before running the test.
11514 * gdb.ada/null_record.exp: Likewise.
11515 * gdb.ada/packed_array.exp: Likewise.
11516 * gdb.ada/start.exp: Likewise.
11517
724f452b
JB
115182005-02-15 Joel Brobecker <brobecker@adacore.com>
11519
11520 * gdb.ada/packed_array/pa.adb: New file.
11521 * gdb.ada/packed_array.exp: New testcase.
11522
57f5cdfb 115232005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11524
1f393151
MK
11525 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11526 files.
11527
ebdda337
MK
11528 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11529 on *-*-openbsd*. Correctly match whitespace in regukar
11530 expressions.
11531
cf309262
DJ
115322005-02-10 Daniel Jacobowitz <dan@debian.org>
11533
11534 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11535 PR exp/1821
11536 * gdb.base/gdb1821.c: New test file.
11537 * gdb.base/gdb1821.exp: New test file.
11538
3be49e7a
JB
115392005-02-09 Joel Brobecker <brobecker@adacore.com>
11540
11541 * gdb.base/start.c: New file.
11542 * gdb.base/start.exp: New testcase.
11543
e292e67d
JB
115442005-02-09 Joel Brobecker <brobecker@adacore.com>
11545
11546 * gdb.ada/start/dummy.adb: New file.
11547 * gdb.ada/start.exp: New testcase.
11548
dbdfa66c
CV
115492005-02-09 Corinna Vinschen <vinschen@redhat.com>
11550
11551 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11552 for printing symbols and statistics.
11553 Add test for using relative pathnames in "maint print msymbols" test.
11554 Mark "maint info sections DATA" XFAIL on Cygwin.
11555 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11556 tests.
11557
d7941671
AC
115582005-02-09 Andreas Schwab <schwab@suse.de>
11559
11560 Committed by Andrew Cagney <cagney@gnu.org>
11561 * gdb.base/remotetimeout.exp: New file.
11562
74e5ef44
MK
115632005-02-07 Mark Kettenis <kettenis@gnu.org>
11564
11565 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11566
464dd14d
JB
115672005-02-03 Joel Brobecker <brobecker@adacore.com>
11568
11569 * gdb.ada/gnat_ada.gpr: New file.
11570 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11571 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11572 * configure.ac: No longer generate gnat_ada.gpr.
11573 * configure: Regenerate.
11574 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11575 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11576 * gdb.ada/null_record/bar.ads: Likewise.
11577 * gdb.ada/null_record/bar.adb: Likewise.
11578 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11579 * gdb.ada/null_record.exp (testdir): New variable.
11580 (testfile): executable is now in testdir subdirectory.
11581 (srcfile): Use full path to the main compilation unit.
11582 * gdb.ada/fixed_points.exp: Same changes as above.
11583
30d756ae
NR
115842005-02-03 Nick Roberts <nickrob@snap.net.nz>
11585
11586 * gdb.base/interp.exp: New test.
11587
9d799f85
AC
115882005-01-24 Andrew Cagney <cagney@gnu.org>
11589
11590 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11591
15656118
AC
115922005-01-19 Andrew Cagney <cagney@gnu.org>
11593
a892c31b
AC
11594 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11595 configure.ac not configure.in.
11596
15656118
AC
11597 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11598 of powerpc*-*-*.
11599 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11600 * gdb.base/list.exp (test_list_function)
15656118
AC
11601 (test_list_filename_and_function): Ditto.
11602 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11603
a7b01baf
AC
116042005-01-16 Andrew Cagney <cagney@gnu.org>
11605
17d92a02
AC
11606 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11607
a7b01baf
AC
11608 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11609
bc8332bb
AC
116102005-01-14 Andrew Cagney <cagney@gnu.org>
11611
11612 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11613 * gdb.mi/mi2-var-cmd.exp: Ditto.
11614
4d074752
CV
116152005-01-10 Corinna Vinschen <vinschen@redhat.com>
11616
11617 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11618
bec39cab
AC
116192005-01-07 Andrew Cagney <cagney@gnu.org>
11620
11621 * configure.ac: Rename configure.in, require autoconf 2.59.
11622 * configure: Re-generate.
11623 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11624 * gdb.stabs/configure: Re-generate.
11625 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11626 * gdb.hp/configure: Re-generate.
11627 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11628 autoconf 2.59.
11629 * gdb.hp/gdb.objdbg/configure: Re-generate.
11630 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11631 autoconf 2.59.
11632 * gdb.hp/gdb.defects/configure: Re-generate.
11633 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11634 autoconf 2.59.
11635 * gdb.hp/gdb.compat/configure: Re-generate.
11636 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11637 autoconf 2.59.
11638 * gdb.hp/gdb.base-hp/configure: Re-generate.
11639 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11640 autoconf 2.59.
11641 * gdb.hp/gdb.aCC/configure: Re-generate.
11642
f10b16d4
JB
116432004-12-15 Jim Blandy <jimb@redhat.com>
11644
11645 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11646 under NPTL when there is debugging info available for libpthread.
11647
fb6e1814
JG
116482004-12-13 Jerome Guitton <guitton@gnat.com>
11649
11650 * gdb.ada/fixed_points.c: New file.
11651 * gdb.ada/fixed_points.exp: New file.
11652
fe46cd3a
RC
116532004-12-03 Randolph Chung <tausq@debian.org>
11654
11655 * gdb.arch/pa-nullify.exp: New file.
11656 * gdb.arch/pa-nullify.s: New file.
11657
8de0841b
RC
116582004-11-30 Randolph Chung <tausq@debian.org>
11659
11660 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11661 instead of "tbug". Fix regexp to work properly with gdb_test.
11662
c8170782
PH
116632004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11664
11665 * gdb.base/bitfields2.exp: New test.
11666 * gdb.base/bitfields2.c: New file.
11667
954269c2
RE
116682004-11-28 Richard Earnshaw <rearnsha@arm.com>
11669
11670 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11671
0107feed
RC
116722004-11-16 Randolph Chung <tausq@debian.org>
11673
11674 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11675
f073ae8c
DJ
116762004-11-14 Daniel Jacobowitz <dan@debian.org>
11677
11678 * gdb.threads/threadapply.exp: Correct "macro details" test.
11679
19ad59e7
JJ
116802004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11681
11682 * gdb.threads/threadapply.exp: New test.
11683 * gdb.threads/threadapply.c: New file.
11684
9cf0961b
MK
116852004-11-07 Mark Kettenis <kettenis@gnu.org>
11686
11687 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11688 frames.
11689
c789492a
FL
116902004-11-05 Felix Lee <felix+log1@specifixinc.com>
11691
11692 * gdb.base/cursal.exp: New file.
11693 * gdb.base/cursal.c: New file.
11694
a1e167bb
AC
116952004-11-03 Andrew Cagney <cagney@gnu.org>
11696
11697 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11698
b7cbf173
MK
116992004-10-30 Mark Kettenis <kettenis@gnu.org>
11700
11701 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11702 NetBSD/ELF targets.
11703
88f9d34f
JB
117042004-10-29 Joel Brobecker <brobecker@gnat.com>
11705
11706 * gdb.threads/bp_in_thread.c: New file, copied from
11707 pthread_cond_wait.c.
11708 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11709 file, rather than reusing the .c file from another testcase.
11710
ca7d6a0c
JB
117112004-10-20 Joel Brobecker <brobecker@gnat.com>
11712
11713 * gdb.ada/null_record.exp: Check where we stopped after
11714 sending the start command, instead of where the associated
11715 temporary breakpoint was inserted.
11716
0d863d03
AC
117172004-10-14 Andrew Cagney <cagney@gnu.org>
11718
11719 * gdb.mi/gdb701.c (main): Return 0.
11720
d11e72cb
DJ
117212004-10-13 Daniel Jacobowitz <dan@debian.org>
11722
d40539a4 11723 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11724
e1923096
JJ
117252004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11726
11727 * gdb.threads/schedlock.c: Add comment markers to use to find
11728 line numbers.
11729 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11730 comments.
11731 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11732 breakpoint lines.
11733
ec8ba2c9
DJ
117342004-10-12 Daniel Jacobowitz <dan@debian.org>
11735
11736 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11737
0eb3658b
DJ
117382004-10-12 Daniel Jacobowitz <dan@debian.org>
11739
11740 * configure.in: Add gdb.dwarf2.
11741 * configure: Regenerated.
11742 * Makefile.in: Add gdb.dwarf2.
11743 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11744 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11745 gdb.dwarf2/file1.txt: New files.
11746
a271cc33
OF
117472004-10-11 Orjan Friberg <orjanf@axis.com>
11748
a9c64011 11749 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11750 of "run", since the latter doesn't work with remote targets. Adjust
11751 the breakpoint numbering accordingly.
11752 * gdb.threads/pthread_cond_wait.exp: Ditto.
11753
895ce074
MC
117542004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11755
11756 * gdb.base/overlays.exp: Update copyright years.
11757
6be3092d
KI
117582004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11759
11760 * gdb.base/overlays.exp: Disable if target is Linux.
11761
e05389b8
FL
117622004-10-06 Felix Lee <felix+log1@specifixinc.com>
11763
11764 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11765
73cb587d
KI
117662004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11767
11768 * gdb.asm/asm-source.exp: Add m32r-linux target.
11769 * gdb.asm/m32r-linux.inc: New file.
11770
3c0edcdc
AC
117712004-09-24 Andrew Cagney <cagney@redhat.com>
11772 David Anderson <anderson@redhat.com>
11773
11774 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11775 command fails, assume things will work.
11776 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11777 (_GNU_SOURCE): Define.
11778 (print_unsigned, print_hex): Change parameter to "long long".
11779 (print_byte_count): New function, use to print byte counts.
11780 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11781 O_LARGEFILE.
11782 (main): Compute an upper bound on a corefile in max_core_size.
11783 Limit memory chunk size to max_core_size. Limit total memory
11784 allocated to max_core_size.
11785
4bb3667f
AC
117862004-09-23 Andrew Cagney <cagney@gnu.org>
11787
11788 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11789 from a separate process with code that creates a corefile by
11790 making the inferior dump core.
11791
60fe1a51
MK
117922004-09-23 Mark Kettenis <kettenis@gnu.org>
11793
11794 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11795 block.
11796
8e937346
MC
117972004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11798
11799 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11800 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11801 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11802 Likewise.
11803
7213f6d6
JJ
118042004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11805
11806 * gdb.java/jprint.exp: New test case for java inferior call.
11807 * gdb.java/jprint.java: Ditto.
11808
eac69dca
JB
118092004-09-15 Joel Brobecker <brobecker@gnat.com>
11810
11811 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11812
22227696
MC
118132004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11814
11815 * gdb.threads/killed.c: Include <stdlib.h>.
11816 * gdb.threads/pthreads.c: Likewise.
11817
7dd403a4
MC
118182004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11819
11820 * gdb.threads/killed.c: Add copyright notice.
11821
33f2d567
JM
118222004-09-10 Jason Molenda (jmolenda@apple.com)
11823
a9c64011
AS
11824 * gdb.base/define.exp: Two new tests to verify zero space chars
11825 after 'if' and 'while' commands in a user-defined command is correctly
11826 parsed.
33f2d567 11827
e05b62ac
AC
118282004-09-08 Andrew Cagney <cagney@gnu.org>
11829
11830 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11831 delivery test with duplicate at end of file.
11832
9cbe82da
MK
118332004-09-06 Mark Kettenis <kettenis@jive.nl>
11834
11835 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11836
564803d9
MC
118372004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11838
11839 * config/hppro.exp: Removed.
11840
7c6807ce
MC
118412004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11842
11843 * config/sparclet.exp: Removed.
11844
bf7e26dd
MC
118452004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11846
11847 * config/udi.exp: Removed.
11848
714e341b
MC
118492004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11850
11851 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11852 of "exp_continue".
11853 (advancei): Likewise.
11854
1236e623
JJ
118552004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11856
11857 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11858
3bdcad15
MI
118592004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11860
228af206 11861 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11862 to check for nodebug in executable.
11863 * gdb.gdb/observer.exp (setup_test): Likewise.
11864 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11865 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11866
c72b934c
AC
118672004-09-01 Andrew Cagney <cagney@gnu.org>
11868
11869 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11870 files.
11871
edd9b715
JJ
118722004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11873
11874 * gdb.base/unload.exp: Fix expected warning message to match
11875 latest format.
11876
fb4ce06b
CV
118772004-09-01 Corinna Vinschen <vinschen@redhat.com>
11878
11879 * gdb.base/call-rt-st.exp: Fix typos.
11880
ce78e7c3
MI
118812004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11882
11883 * gdb.threads/thread_check.exp: New testcase.
11884 * gdb.threads/thread_check.c: New testcase.
11885
2dedb159
AC
118862004-08-31 Andrew Cagney <cagney@gnu.org>
11887
11888 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11889 (skip_to_handler_entry): New procedures. Test stepping into a
11890 handler when the breakpoint is at the handler's entry point.
11891
68f53502
AC
118922004-08-30 Andrew Cagney <cagney@gnu.org>
11893
11894 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11895 gdb/1757.
11896
3e3ffd2b
MC
118972004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11898
11899 With code from Manoj Iyer <manjo@austin.ibm.com>:
11900 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11901 return value. Add an arm for "no debugging symbols found".
11902 Change a stray "error" to "perror".
11903 (gdb_run_cmd): Adapt to new return value.
11904 * gdb.base/remote.exp: Adapt to new return value.
11905 * gdb.gdb/complaints.exp: Likewise.
11906 * gdb.gdb/observer.exp: Likewise.
11907 * gdb.gdb/selftest.exp: Likewise.
11908 * gdb.gdb/xfullpath.exp: Likewise.
11909
4b6f5fd2
JB
119102004-08-27 Joel Brobecker <brobecker@gnat.com>
11911
11912 * gdb.threads/bp_in_thread.exp: New testcase.
11913
e5b25496
MC
119142004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11915
11916 Fix PR testsuite/1735.
11917 * gdb.threads/schedlock.c (thread_function): Add a cast
11918 to suppress a gcc warning.
11919 * gdb.threads/thread-specific.c (thread_function): Likewise.
11920
934353d6
MC
119212004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11922
11923 * gdb.base/unload.c: Include <stdlib.h>.
11924
f98a0aef 119252004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11926
f98a0aef 11927 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11928 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11929 synchronized after the "return".
11930
5a2e8882
MC
119312004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11932
11933 * gdb.mi/basics.c: Include <stdio.h>.
11934 * gdb.mi/pthreads.c: Include <stdlib.h>.
11935 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11936
a9640423
MC
119372004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11938
11939 * gdb.threads/schedlock.c: Add copyright notice.
11940
b04e311d
AC
119412004-08-25 Andrew Cagney <cagney@gnu.org>
11942
11943 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11944 (skip_over_handler, breakpoint_over_hander): New test procedures.
11945 (advance, advancei): Add a proper prefix, do not use
11946 rerun_to_main.
11947 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11948
7c27f15b
MC
119492004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11950
11951 * gdb.mi/basics.c: Add copyright notice.
11952 * gdb.mi/var-cmd.c: Add copyright notice.
11953
fffc87ae
MC
119542004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11955
11956 * lib/gdb.exp: Remove signed_keyword_not_used.
11957 * lib/compiler.c: Likewise.
11958 * lib/compiler.cc: Likewise.
11959
d782e0bf
MC
119602004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11961
11962 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11963 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11964
96033e83
MC
119652004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11966
11967 * gdb.base/whatis.c: Add copyright notice.
11968
cf38c229
MK
119692004-08-20 Mark Kettenis <kettenis@gnu.org>
11970
11971 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11972 it to skip the breakpoints encoded in the inline assembly.
11973
f4b49756
MC
119742004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11975
11976 * Makefile.in: Add gdb.fortran.
11977
2f193b69
MC
119782004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11979
11980 * gdb.base/call-sc.exp (test_scalar_returns):
11981 Fix cut-and-paste glitch in "Make fun return now".
11982
89a237cb
MC
119832004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11984
11985 * configure.in: Add gdb.fortran.
11986 * configure: Regenerate.
11987 * gdb.fortran/Makefile.in: New file.
11988 * lib/gdb.exp (skip_fortran_tests): New procedure.
11989
469aff8e
MC
119902004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11991
11992 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11993 reference to bug-gnu@prep.ai.mit.edu.
11994 * gdb.mi/mi-var-child.exp: Likewise.
11995 * gdb.mi/mi-var-cmd.exp: Likewise.
11996 * gdb.mi/mi-var-display.exp: Likewise.
11997 * gdb.mi/mi2-var-block.exp: Likewise.
11998 * gdb.mi/mi2-var-child.exp: Likewise.
11999 * gdb.mi/mi2-var-cmd.exp: Likewise.
12000 * gdb.mi/mi2-var-display.exp: Likewise.
12001
00b51b9f
MK
120022004-08-15 Mark Kettenis <kettenis@gnu.org>
12003
12004 * gdb.base/unload.c (main): Make local variable msg const.
12005
45f07fef
MC
120062004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12007
12008 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12009 to bug-gnu@prep.ai.mit.edu.
12010 * gdb.mi/mi-disassemble.exp: Likewise.
12011 * gdb.mi/mi-eval.exp: Likewise.
12012 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12013 default line number.
12014 * gdb.mi/mi-return.exp: Likewise.
12015 * gdb.mi/mi-simplerun.exp: Likewise.
12016 * gdb.mi/mi-stack.exp: Likewise.
12017 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12018 number with explicit range test.
12019 * gdb.mi/mi-watch.exp: Likewise.
12020 * gdb.mi/mi2-break.exp: Likewise.
12021 * gdb.mi/mi2-cli.exp: Likewise.
12022 * gdb.mi/mi2-disassemble.exp: Likewise.
12023 * gdb.mi/mi2-eval.exp: Likewise.
12024 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12025 default line number.
12026 * gdb.mi/mi2-return.exp: Likewise.
12027 * gdb.mi/mi2-simplerun.exp: Likewise.
12028 * gdb.mi/mi2-stack.exp: Likewise.
12029 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12030 number with explicit range test.
12031 * gdb.mi/mi2-watch.exp: Likewise.
12032
dd8c8ee7
MC
120332004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12034
12035 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12036 * gdb.cp/m-static.exp: Likewise.
12037 * gdb.cp/rtti.exp: Likewise.
12038
4e838464
MK
120392004-08-14 Mark Kettenis <kettenis@gnu.org>
12040
12041 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12042
8d8cb839
EZ
120432004-08-14 Eli Zaretskii <eliz@gnu.org>
12044
12045 * ChangeLog: Prefix Local Variables with semi-colons and indent
12046 the reference to older ChangeLog files, to fix fontification in
12047 Emacs.
12048
deea8bb0
MC
120492004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12050
12051 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12052 * gdb.mi/mi2-break.exp: Likewise.
12053
c3297504
MC
120542004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12055
12056 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12057
25808999
MC
120582004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12059
12060 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12061
226a8d71
MC
120622004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12063
12064 * gdb.cp/classes.exp: Remove unused declarations. Just let
12065 test names default instead of providing special names. Remove
12066 extraneous demangler test.
12067
37fdf854
JJ
120682004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12069
12070 * gdb.base/unload.exp: New test for breakpoints in dynamically
12071 loaded libraries.
12072 * gdb.base/unload.c: Ditto.
12073 * gdb.base/unloadshr.c: Ditto.
12074
2d3a7986
MC
120752004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12076
12077 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12078 cp_test_ptype_class.
12079 (test_enums): Likewise.
12080
c72b934c
AC
120812004-08-10 Andrew Cagney <cagney@gnu.org>
12082
12083 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12084 files.
12085
cc503c8a
AC
120862004-08-10 Andrew Cagney <cagney@gnu.org>
12087
12088 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12089 init_malloc call.
12090
902f2ccb
MC
120912004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12092
12093 * ChangeLog: Add copyright notice. The notice is copied
12094 from emacs 21.3 top level ChangeLog.
12095
78c90502
MC
120962004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12097
12098 * lib/cp-support.exp: New file.
12099 * lib/cp-support.exp (cp_test_type_class): New function.
12100 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12101 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12102 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12103 cp_test_ptype_class.
12104
88e5ea78
MC
121052004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12106
12107 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12108 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12109 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12110 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12111 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12112 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12113 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12114 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12115 gdb.mi/mi2-watch.exp: Update copyright years.
12116
6a89fc9c
MK
121172004-08-09 Mark Kettenis <kettenis@gnu.org>
12118
12119 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12120
1482e0de
MC
121212004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12122
12123 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12124 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12125 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12126 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12127 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12128 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12129 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12130 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12131 gdb.mi/mi-watch.exp: Update copyright years.
12132
1a5ce3f3
DJ
121332004-08-08 Daniel Jacobowitz <dan@debian.org>
12134
12135 PR gdb/1738
12136 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12137 from a breakpoint with a pending signal.
12138
04f6ecf2
DJ
121392004-08-08 Daniel Jacobowitz <dan@debian.org>
12140
12141 PR gdb/1736
12142 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12143 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12144 the prompt.
12145 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12146
54d90d35
DJ
121472004-08-08 Daniel Jacobowitz <dan@debian.org>
12148
12149 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12150
d2f6abb0
DJ
121512004-08-08 Daniel Jacobowitz <dan@debian.org>
12152
12153 PR gdb/1736
12154 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12155 for i?86-*-linux*.
12156
5598c03d
DJ
121572004-08-08 Daniel Jacobowitz <dan@debian.org>
12158
12159 * gdb.arch/i386-prologue.exp: Compile without debug information.
12160
c6fee705
MC
121612004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12162
12163 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12164 rather than asking gdb to search.
12165
dd90efdb
MC
121662004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12167
12168 * gdb.base/gcore.c: Include <string.h>.
12169
1e84bec1
MC
121702004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12171
12172 * gdb.base/gcore.c: Add copyright notice.
12173
e425eb2b
MC
121742004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12175
12176 * gdb.base/freebpcmd.c: Include <stdio.h>.
12177 * gdb.base/long_long.c: Include <string.h>.
12178 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12179 * gdb.base/siginfo.c: Include <string.h>.
12180 * gdb.base/sigstep.c: Include <string.h>.
12181
cb9aaed5
MC
121822004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12183
12184 * gdb.base/complex.c: Include <stdlib.h>.
12185
55944f3d
MC
121862004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12187
12188 * gdb.base/complex.c: Add copyright notice.
12189
7b2953d9
MC
121902004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12191
12192 * gdb.base/charset.c: Include <stdlib.h>.
12193
c9133d23
MC
121942004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12195
12196 * gdb.base/auxv.c: Include <stdlib.h>.
12197
0a8490ad
MC
121982004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12199
12200 * gdb.base/auxv.c: Add copyright notice.
12201
3426d5ec
MC
122022004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12203
12204 * gdb.base/coremaker.c: Add copyright notice.
12205 * gdb.base/coremaker2.c: Add copyright notice.
12206
8da195dd
AC
122072004-08-04 Andrew Cagney <cagney@gnu.org>
12208
12209 * gdb.base/store.exp: Update copyright.
12210 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12211 names, do not import gdb_prompt.
12212
8d394f98
AC
122132004-08-01 Andrew Cagney <cagney@gnu.org>
12214
12215 Fix PR testsuite/1729.
12216 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12217 not use capture_value with value 4.
12218 (capture_value): Add optional test name parameter.
12219 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12220 the prefix, pass to capture_value.
12221
b6702b23
MK
122222004-08-01 Mark Kettenis <kettenis@gnu.org>
12223
12224 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12225 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12226 (main): Call new function.
12227
c203e0ca
MC
122282004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12229
12230 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12231
a7995a30
MC
122322004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12233
12234 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12235
9366563b
MC
122362004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12237
b6eeaf26 12238 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12239 Accept more values of vtbl pointer. Remove some messages
12240 about "obsolete gcc or gdb".
12241
2fc1f950
MC
122422004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12243
12244 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12245
c724d49b
MC
122462004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12247
12248 * gdb.base/asm-source.exp: Properly convert target board
12249 debug flags from gcc format to binutils format.
12250
736b0fce
MK
122512004-07-28 Mark Kettenis <kettenis@gnu.org>
12252
12253 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12254 gdb1718". PR backtrace/1718 partially fixed.
12255
5633ea5c
JJ
122562004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12257
12258 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12259
575eebb1
NC
122602004-07-26 Nick Clifton <nickc@redhat.com>
12261
12262 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12263 good default value for a specific architecture is available then
12264 set it to that value. Otherwise default to the -gstabs switch.
12265 Remove the -g... switches from the asm-flags variable. Allow the
12266 target board info to override the value if it wants to. Pass the
12267 switch on the assembler command line.
12268
62104619
MK
122692004-07-23 Mark Kettenis <kettenis@gnu.org>
12270
12271 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12272 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12273 (main): Call new function.
12274
4a1135b8
MC
122752004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12276
12277 Test for PR exp/1715.
12278 * gdb.base/radix.exp: Refactor common procedures. Make all
12279 test names unique. Change XFAIL to KFAIL.
12280
8a12c1f0
MC
122812004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12282
12283 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12284 * gdb.ada/gnat_ada.gin: ... to here.
12285 * configure.in: Use gnat_ada.gin.
12286 * configure: Regenerate.
12287
23b451cf
AC
122882004-07-20 Andrew Cagney <cagney@gnu.org>
12289
12290 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12291 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12292 XFAILs. Clean up test messages and comments. Check backtraces.
12293 Delete re-sync code.
12294
ab618a02
MC
122952004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12296
12297 Fix PR cli/740.
12298 * gdb.base/annota1.exp: Honor gdb,nosignals.
12299 * gdb.base/annota3.exp: Likewise.
12300
46dad340
MC
123012004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12302
12303 * lib/java.exp: Update copyright notice.
12304
756d8c70
AC
123052004-07-19 Andrew Cagney <cagney@gnu.org>
12306
12307 * gdb.base/selftest.exp: Copy file from here ...
12308 * gdb.gdb/selftest.exp: ... to here.
12309
586027e6
AC
123102004-07-16 Andrew Cagney <cagney@redhat.com>
12311
12312 * lib/insight-support.exp: Delete file.
12313 * lib/java.exp (java_init): Fix copyright.
12314
029d2200
AC
123152004-07-16 Andrew Cagney <cagney@gnu.org>
12316
12317 * gdb.base/restore.c: Append "prologue" to comments marking the a
12318 function's prologue.
12319 * gdb.base/restore.exp: Update copyright, re-indent.
12320 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12321 callerN" prefix where needed. Update patterns that match a
12322 function's prologue.
12323
653b62c5
MC
123242004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * gdb.base/restore.c: Add copyright notice.
12327
f7d690e5
AC
123282004-07-16 Andrew Cagney <cagney@gnu.org>
12329
12330 * gdb.base/logical.exp: Update copyright.
12331 (evaluate): New procedure. Use to re-implement tests using
12332 several tables.
12333
d629a7cb
MH
123342004-07-14 Martin Hunt <hunt@redhat.com>
12335
12336 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12337 which fixes some problems where init.tcl was not found.
12338
9c7bb332
AC
123392004-07-13 Andrew Cagney <cagney@gnu.org>
12340
6bf46641
AC
12341 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12342 (check_sizeof, check_valueof): Do not include the output in the
12343 test name. Use gdb_test.
12344 (get_valueof): Use gdb_test_multiple.
12345
c4ffd4c0
AC
12346 * gdb.base/step-test.exp: Update copyright. Use
12347 gdb_test_multiple. Ensure that test names do not include
12348 architecture dependent output.
12349
ab89363a
AC
12350 * gdb.gdb/observer.exp: Update copyright.
12351 (setup_test): Use gdb_test_multiple.
12352 (attach_first_observer, attach_second_observer)
12353 (attach_third_observer, detach_first_observer)
12354 (detach_second_observer, detach_third_observer)
12355 (reset_counters, check_counters): Make $message a prefix.
12356 (test_normal_stop_notifications): Add "args" parameter - a list of
12357 init functions to be called. Make $message a prefix,
12358 (test_observer_normal_stop): Change the message prefixes so that
12359 they are unique, pass the attach / detach procedures to
12360 test_normal_stop_notifications.
12361
ec58997a
AC
12362 * gdb.base/signull.exp (test_segv): Prefix all tests with
12363 "${name}". Clean up test messages.
12364
b475183b
AC
12365 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12366
9c7bb332
AC
12367 * gdb.base/ena-dis-br.exp: Update copyright.
12368 (break_at): New function. Replace send_gdb with gdb_test,
12369 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12370 ignore count, not stopped at bpt", with KFAIL.
12371
2dd95497
CV
123722004-07-13 Corinna Vinschen <vinschen@redhat.com>
12373
12374 * gdb.base/attach.exp: Remove cleanupfile handling.
12375
419e626b
AC
123762004-07-12 Andrew Cagney <cagney@gnu.org>
12377
12378 * gdb.base/annota1.exp: Cleanup corefile test name.
12379 * gdb.base/annota3.exp: Ditto.
12380
8b1b3228
AC
123812004-07-12 Andrew Cagney <cagney@gnu.org>
12382
78650829
AC
12383 * gdb.base/signals.exp: Clean up copyright, re-indent.
12384
8b1b3228
AC
12385 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12386 gdb_test and gdb_test_multiple.
12387
935c2760
JJ
123882004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12389
12390 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12391 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12392 provide line number info for first statement in main.
12393
1544280f
AC
123942004-07-08 Andrew Cagney <cagney@gnu.org>
12395
1279f4ff
AC
12396 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12397
1544280f
AC
12398 * gdb.base/sigbpt.exp: Make the common part of each test name a
12399 prefix instead of suffix.
12400
bcc82369
BR
124012004-07-07 Bob Rossi <bob_rossi@cox.net>
12402
12403 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12404 test from test_tbreak_creation_and_listing to
12405 test_file_list_exec_source_file
12406 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12407 Changed name of test from test_tbreak_creation_and_listing to
12408 test_file_list_exec_source_file
12409
23f4b0aa
JJ
124102004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12411
12412 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12413 the jmisc() constructor instead of <init>.
12414 * gdb.java/jmisc1.exp: Ditto.
12415
56401cd5
AC
124162004-07-07 Andrew Cagney <cagney@gnu.org>
12417
12418 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12419 corrupting the PC.
12420
44ae2f6a
MC
124212004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12422
12423 * gdb.cp/templates.exp: Accept whitespace change in demangler
12424 output.
12425
45a83408
AC
124262004-07-06 Andrew Cagney <cagney@gnu.org>
12427
12428 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12429
d205ad70
MC
124302004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12431
12432 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12433 * lib/compiler.cc: Likewise.
12434
06ea1a61
MC
124352004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12436
12437 * lib/compiler.cc: Work around string preprocessing problem
12438 with old hp c++ compiler.
12439 * lib/compiler.c: Likewise.
12440
daab1251
CV
124412004-06-29 Corinna Vinschen <vinschen@redhat.com>
12442
12443 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12444 directives to conditionalize symbol prefixing.
12445 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12446 additional_flags handling. Add underscore prefix for Cygwin.
12447 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12448 conditionalize symbol prefixing.
12449 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12450 additional_flags handling. Add underscore prefix for Cygwin.
12451
cc984116
CV
124522004-06-29 Corinna Vinschen <vinschen@redhat.com>
12453
12454 * gdb.base/bigcore.exp: Skip test on Cygwin.
12455
c279b077
MC
124562004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12457
12458 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12459 formats for "info register". Use gdb_test_multiple. Fix
12460 the "invalid register" test.
12461
0e915747
CV
124622004-06-28 Corinna Vinschen <vinschen@redhat.com>
12463
12464 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12465 PID for Cygwin. Add Cygwin specific strings to check for in some
12466 tests.
12467 (do_attach_tests): Add a test for user interaction when attaching
12468 to a process with no matching symbol table already loaded.
12469
11422c86
AC
124702004-06-26 Andrew Cagney <cagney@gnu.org>
12471
12472 Test PR java/1567 and PR java/1565.
12473 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12474 * gdb.java/jmisc2.exp: Delete file.
12475
cefbce26
MC
124762004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12477
12478 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12479
e19f872c
CV
124802004-06-25 Corinna Vinschen <vinschen@redhat.com>
12481
12482 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12483 attach process.
12484
d931ba3b
MC
124852004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12486
12487 * gdb.cp/pr-1553.exp: Remove.
12488
aef68c48
MC
124892004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12490
12491 * gdb.cp/pr-1553.cc: Remove.
12492 * gdb.cp/pr-1553.exp: Disable this test.
12493
8d5df71a
JB
124942004-06-20 Jim Blandy <jimb@redhat.com>
12495
a9c64011 12496 Fix PR testsuite/1680.
8d5df71a
JB
12497 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12498 regular expressions.
12499
4ac6f39d
MC
125002004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12501
12502 Fix PR testsuite/1679.
12503 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12504 Issue an UNSUPPORTED result instead.
12505
1b413552
JB
125062004-06-18 Jim Blandy <jimb@redhat.com>
12507
12508 * gdb.base/charset.exp: Only send a control-C if we see a new
12509 prompt and incomplete command.
12510
6daa6ebd
MC
125112004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12512
12513 * gdb.cp/pr-574.cc: Add copyright notice.
12514
51fa4ae0
JB
125152004-06-17 Jim Blandy <jimb@redhat.com>
12516
12517 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12518 cases where the regexp has no groups; this grabs random text from
12519 the previous test suite, whatever that was.
12520
8fea26c5
MC
125212004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12522
12523 * gdb.cp/printmethod.cc: Add copyright notice.
12524
1e3aeb41
MC
125252004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12526
12527 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12528
9d9030bc
AC
125292004-06-16 Andrew Cagney <cagney@gnu.org>
12530
12531 * gdb.base/signull.c: Update copyright. Include <string.h>.
12532 (bowler): Replace data_pointer with data_read
12533 and data_write cases. Add code_descriptor case.
12534 (zero, desc): New array and pointer.
12535 (data, code): Change to simple pointers.
12536 * gdb.base/signull.exp: Fix probe pattern matching a function
12537 descriptor SIGSEGV. Replace data_pointer with data_read and
12538 data_write tests.
12539
acd4ad44
AC
125402004-06-16 Andrew Cagney <cagney@gnu.org>
12541
12542 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12543
08fd625c
MC
125442004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12545
12546 * gdb.base/long_long.c: Add copyright notice.
12547
1903502c
MC
125482004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12549
12550 * gdb.base/long_long.exp: Remove reference to
12551 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12552 to gdb_breakpoint and gdb_continue_to_breakpoint.
12553
83313cb1
JB
125542004-06-14 Jim Blandy <jimb@redhat.com>
12555
12556 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12557 endian case.
12558
1bf404ef
AC
125592004-06-14 Andrew Cagney <cagney@gnu.org>
12560
12561 * gdb.base/gcore.exp (capture_command_output): Delete the always
12562 passing tests containing inferior values.
12563 * gdb.base/ending-run.exp: Do not include the breakpoint address
12564 in the test message. Update copyright.
12565 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12566 size in the test name, use gdb_test_multiple. Update copyright.
12567
ef220b33
MC
125682004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12569
12570 * gdb.cp/ref-types.cc: Add copyright notice.
12571
4f70a4c9
MC
125722004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12573
12574 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12575 hp_aCC_compiler.
12576 * lib/compiler.cc: Likewise.
12577 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12578 'set' commands. Log diagnostics for other lines. Set
12579 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12580
335928ac
MC
125812004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12582
12583 * gdb.cp/try_catch.cc: Add copyright notice.
12584
2efb12e8
MC
125852004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12586
12587 * gdb.cp/userdef.cc: Add copyright notice.
12588
0bbed51a
MC
125892004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12590
12591 * gdb.cp/virtfunc.cc: Add copyright notice.
12592
e12a46c9
RC
125932004-06-11 Randolph Chung <tausq@debian.org>
12594
12595 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12596 problem.
12597
338e05af
AC
125982004-06-10 Andrew Cagney <cagney@gnu.org>
12599
12600 * lib/compiler.cc, lib/compiler.c: Append either
12601 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12602 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12603 instead of gcc-3-3.
12604
dc3f10cb
AC
126052004-06-09 Andrew Cagney <cagney@gnu.org>
12606
b4d946af
AC
12607 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12608 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12609
dc3f10cb
AC
12610 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12611 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12612 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12613 fixed.
12614
b5c0bfa2
AC
126152004-06-09 Andrew Cagney <cagney@gnu.org>
12616
12617 * gdb.base/structs.exp (test_struct_returns): Replace
12618 "return_value_unknown" and "finish_value_unknown" by
12619 "return_value_known" and "finish_value_known". Instead of
12620 "return_value_unknown" iff "finish_value_unknown", check
12621 "return_value_known" implies "finish_value_known".
12622
caeb605f
MH
126232004-06-08 Martin Hunt <hunt@redhat.com>
12624
12625 * gdb.base/float.exp: Add pattern for mips targets.
12626
c892bb64
RC
126272004-06-08 Randolph Chung <tausq@debian.org>
12628
12629 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12630 message for unknown architectures more clear.
12631
48306d3e
JB
126322004-06-08 Joel Brobecker <brobecker@gnat.com>
12633
12634 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12635 start the execution of the program.
12636
83ecb59f
JB
126372004-06-07 Jim Blandy <jimb@redhat.com>
12638
12639 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12640 * gdb.arch/i386-cpuid.h: New helper file.
12641
55264cb4
RC
126422004-06-07 Randolph Chung <tausq@debian.org>
12643
12644 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12645 has started.
12646
23cadb28
RM
126472004-06-04 Roland McGrath <roland@redhat.com>
12648
12649 Fix PR gdb/1647.
12650 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12651 differently to be robust to output buffering differences.
12652
51d01eda
MC
126532004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12654
12655 * gdb.threads/pthreads.exp: Update copyright years.
12656 (check_control_c): Change asynchronous 'after' to synchronous.
12657
f4fc3b93
RM
126582004-06-04 Roland McGrath <roland@redhat.com>
12659
12660 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12661 next gdb prompt.
12662
4013522b
MC
126632004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12664
12665 Fix PR gdb/1636.
12666 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12667 calls to synchronous.
12668
7a8f1e6b
JB
126692004-05-26 Jim Blandy <jimb@redhat.com>
12670
12671 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12672
81bb3443
RC
126732004-05-24 Randolph Chung <tausq@debian.org>
12674
12675 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12676 * gdb.asm/pa.inc: New file.
12677
8f5a3103
MK
126782004-05-22 Mark Kettenis <kettenis@gnu.org>
12679
12680 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12681
734b8fe8 126822004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12683 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12684
12685 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12686 GDB prompt.
12687
725603e1
UW
126882004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12689
f4fc3b93 12690 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12691 setjmp/longjmp. Use sigaction instead of signal.
12692
8b923272 126932004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12694 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12695
12696 * gdb.threads/pthread_cond_wait.c: New file.
12697 * gdb.threads/pthread_cond_wait.exp: New testcase.
12698
8bfabb04
AC
126992004-05-13 Andrew Cagney <cagney@redhat.com>
12700
12701 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12702 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12703
42edda50
AC
127042004-05-11 Andrew Cagney <cagney@redhat.com>
12705
12706 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12707 fixed but revealed gdb/1639.
12708
d303a6c7
AC
127092004-05-10 Andrew Cagney <cagney@redhat.com>
12710
12711 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12712 func1" and "next to 2nd alarm", kernel bug avoided.
12713
bf08c2a1
DJ
127142004-05-10 Daniel Jacobowitz <dan@debian.org>
12715
12716 PR external/1568
12717 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12718 XFAIL if it is smaller than bytes_allocated.
12719 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12720 (main): Make chunks_allocated unsigned. Correct comment.
12721
c0586a34
JB
127222004-05-07 Joel Brobecker <brobecker@gnat.com>
12723
12724 * gdb.arch/powerpc-aix-prologue.c: New file.
12725 * gdb.arch/powerpc-aix-prologue.exp: New file.
12726
f2785d12
JB
127272004-05-07 Jim Blandy <jimb@redhat.com>
12728
12729 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12730 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12731
bd7f6e30
JB
127322004-05-06 Joel Brobecker <brobecker@gnat.com>
12733
12734 * gdb.base/sep.exp: No longer setup_kfail when the program was
12735 built with dwarf2.
12736
0a5e7efe
JI
127372004-05-05 Jim Ingham <jingham@apple.com>
12738
12739 * gdb.base/pending.exp: Make sure pending breakpoints
12740 preserve the ignore count.
f4fc3b93 12741
a8958849
MK
127422004-04-27 Jerome Guitton <guitton@gnat.com>
12743
12744 * i386-prologue.exp: Add testcase for jump instruction as first
12745 instruction of the real code.
12746 * i386-prologue.c (jump_at_beginning): New function.
12747
7e103f5b
MK
127482004-04-28 Mark Kettenis <kettenis@gnu.org>
12749
12750 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12751 x86_64-*-*.
12752
5d38b224
MK
127532004-04-28 Mark Kettenis <kettenis@gnu.org>
12754
12755 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12756 i*86-*-*.
12757
0ef32fd9
MK
127582004-04-25 Mark Kettenis <kettenis@gnu.org>
12759
12760 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12761 expression that checks the return type.
12762
71d7dd7c
AC
127632004-04-23 Andrew Cagney <cagney@redhat.com>
12764
12765 * gdb.base/call-sc.exp: New test of scalar call/return values.
12766 * gdb.base/call-sc.c: Ditto.
12767
1e9f977e
JJ
127682004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12769
12770 * gdb.threads/manythreads.c: Reduce thread stack size.
12771
899d9e3a
JJ
127722004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12773
12774 * gdb.threads/manythreads.c: Add copyright notice.
12775
61bcae62
AC
127762004-04-23 Andrew Cagney <cagney@redhat.com>
12777
12778 * gdb.base/siginfo.exp: Better handle step out of signal.
12779 * gdb.base/sigstep.exp: Ditto.
12780
7339a42e 127812004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12782 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12783
12784 * gdb.threads/manythreads.c: New testcase.
12785 * gdb.threads/manythreads.exp: Ditto.
12786
5c98409b
JB
127872004-04-22 Jim Blandy <jimb@redhat.com>
12788
12789 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12790 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12791
3b611f1a
MC
127922004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12793
12794 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12795
f0fd9238
AC
127962004-04-21 Andrew Cagney <cagney@redhat.com>
12797
12798 * gdb.base/sigstep.c: New file.
12799 * gdb.base/sigstep.exp: New file.
12800
90990674
JB
128012004-04-16 Joel Brobecker <brobecker@gnat.com>
12802
12803 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12804 call to observer_notify_normal_stop.
12805
78cef34b
AC
128062004-04-15 Andrew Cagney <cagney@redhat.com>
12807
12808 * gdb.base/siginfo.c: New file.
12809 * gdb.base/siginfo.exp: New file.
12810
d2343407
JB
128112004-04-12 J. Brobecker <brobecker@gnat.com>
12812
12813 * gdb.base/sep.exp: Fix typo in comment.
12814
a2dba3c8
JB
128152004-04-12 J. Brobecker <brobecker@gnat.com>
12816
12817 * gdb.base/sep.c: New file.
12818 * gdb.base/sep-proc.c: New file.
12819 * gdb.base/sep.exp: New testcase.
12820
15f7b60e
MK
128212004-04-09 Mark Kettenis <kettenis@gnu.org>
12822
12823 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12824 support.
12825
44f4de1a
AC
128262004-04-05 Andrew Cagney <cagney@redhat.com>
12827
12828 * gdb.base/sigaltstack.c: New file.
12829 * gdb.base/sigaltstack.exp: New file.
12830
ef04f396
JB
128312004-04-04 Joel Brobecker <brobecker@gnat.com>
12832
12833 * gdb.base/foll-fork.exp: Update the expected output for
12834 "help set follow-fork-mode", to match a change that was made
12835 to the help of this variable on 2004-01-13.
12836
d40d2c92
JB
128372004-04-01 Joel Brobecker <brobecker@gnat.com>
12838
12839 * lib/ada.exp: Add copyright notice.
12840 * bar.ads: Likewise.
12841 * bar.adb: Likewise.
12842 * null_record.adb: Likewise.
12843 * null_record.exp: Likewise.
12844 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12845
f86ef5a3
JB
128462004-04-01 Joel Brobecker <brobecker@gnat.com>
12847
12848 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12849 * configure: Regenerate.
12850
414e70e3
JB
128512004-04-01 Joel Brobecker <brobecker@gnat.com>
12852
12853 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12854 to build the application. Remove the message printed when in
12855 verbose mode, redundant with the UNSUPPORTED message above.
12856
f0aaee49
JB
128572004-03-31 Joel Brobecker <brobecker@gnat.com>
12858
12859 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12860 * gdb.ada (null_record.exp): New testcase.
12861
ac81cb54
JB
128622004-03-31 Joel Brobecker <brobecker@gnat.com>
12863
12864 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12865
854af2f7
JB
128662004-03-31 Joel Brobecker <brobecker@gnat.com>
12867
12868 * gdb.ada: New subdirectory.
12869 * gdb.ada/Makefile.in: New file.
12870 * gdb.ada/gnat_ada.gpr.in: New file.
12871
034cb681
JB
128722004-03-31 Joel Brobecker <brobecker@gnat.com>
12873
12874 * lib/ada.exp: New file.
12875
78a1a894
DJ
128762004-03-24 Daniel Jacobowitz <drow@mvista.com>
12877
12878 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12879 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12880
4b2b3b3e
AC
128812004-03-22 Andrew Cagney <cagney@redhat.com>
12882
12883 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12884 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12885 Problem identified by Ulrich Weigand.
12886
23c73aa3
DC
128872004-03-17 David Carlton <carlton@kealia.com>
12888
12889 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12890 PR c++/826.
12891
d63a86f8
RM
128922004-03-16 Roland McGrath <roland@redhat.com>
12893
12894 * gdb.base/auxv.exp: New file.
12895 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12896
0e02aa50
DC
128972004-03-12 David Carlton <carlton@kealia.com>
12898
12899 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12900 * gdb.cp/pr-1553.cc: Ditto.
12901 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12902 pass branch.
12903
c20b71be
MC
129042004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12905
12906 * gdb.cp/templates.exp: Accept more template types.
12907
c7414a01
MC
129082004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12909
12910 From Corinna Vinschen with modifications.
12911 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12912 local variable obj_with_enum.
12913 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12914 results with obj_with_enum.
12915
ed69573c
MC
129162004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12917
12918 * gdb.cp/classes.cc: New file, copied from misc.cc.
12919 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12920
28301461
MC
129212004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12922
12923 * gdb.cp/misc.cc: Add copyright notice.
12924
1198ecbe
DC
129252004-03-05 David Carlton <carlton@kealia.com>
12926
12927 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12928 * gdb.cp/rtti.h: Update copyright.
12929 (namespace n2::n3): New.
12930 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12931 (n2::n3::func3): New.
12932 (main): Call n2::n3::func3.
12933 * gdb.cp/rtti2.cc: Update copyright.
12934 (n2::create3): New.
12935
9e08c470
MK
129362004-03-04 Mark Kettenis <kettenis@gnu.org>
12937
12938 * gdb.asm/openbsd.inc: Fix typo.
12939
4bebc3aa
FF
129402004-03-03 Fred Fish <fnf@redhat.com>
12941
12942 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12943 "val" instead of unused "size". Update copyright year.
12944
6ea9fb37
DJ
129452004-02-29 Daniel Jacobowitz <drow@mvista.com>
12946
12947 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12948 to use unsigned char.
12949 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12950 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12951
23b23974
DJ
129522004-02-29 Daniel Jacobowitz <drow@mvista.com>
12953
12954 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12955 line of output.
12956
7574fd53
DJ
129572004-02-28 Daniel Jacobowitz <drow@mvista.com>
12958
12959 * gdb.base/relocate.c (dummy): Initialize.
12960
a195357f
DJ
129612004-02-28 Daniel Jacobowitz <drow@mvista.com>
12962
12963 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12964 a breakpoint at exit.
12965
72fd54a9
FF
129662004-02-27 Fred Fish <fnf@redhat.com>
12967
12968 * gdb.base/chng-syms.exp: Add expect condition to match failing
12969 case that isn't a timeout.
12970
b9d23137
AC
129712004-02-27 Andrew Cagney <cagney@redhat.com>
12972
12973 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12974 support.
12975
15d208f6 129762004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12977
15d208f6
FF
12978 * gdb.arch/gdb1431.c: Remove.
12979 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12980 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12981 of "until" incorrectly.
12982
98f9cd2d
JB
129832004-02-26 J. Brobecker <brobecker@gnat.com>
12984
12985 * gdb.cp/class2.cc (empty): New class.
12986 (refer): New function.
12987 (main): Declare an object of type empty and use it.
12988 * gdb.cp/class2.exp: Print the value of an object of type empty.
12989
9b50c11b
JJ
129902004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12991
12992 * gdb.base/langs.exp: Update query string to match the
12993 new nquery format used for pending breakpoints.
12994
0dcd613f
AC
129952004-02-26 Andrew Cagney <cagney@redhat.com>
12996
12997 Fix PR i18n/1570.
12998 * gdb.base/charset.c: Update copyright notice.
12999 (main, init_string): Remove the escape character '\e' tests.
13000 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13001 * gdb.base/charset.exp (valid_host_charset): Ditto.
13002 * gdb.base/setvar.exp: Ditto.
13003
b8a56647
AC
130042004-02-24 Andrew Cagney <cagney@redhat.com>
13005
90d59e34
AC
13006 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13007 mmapped data in core file" PASS and FAIL messages consistent.
13008
b8a56647
AC
13009 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13010 setting a breakpoint. Work around PR java/1565.
13011
9f27c604
JJ
130122004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13013
13014 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13015 new nquery format.
13016 * gdb.base/pending.exp: Ditto.
13017
3224a706
MK
130182004-02-22 Mark Kettenis <kettenis@gnu.org>
13019
13020 * configure.in: Run stabs tests on *BSD.
13021 * configure: Regenerated.
13022
41e0a9ca
MK
130232004-02-21 Mark Kettenis <kettenis@gnu.org>
13024
13025 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13026
1e1b3428
FF
130272004-02-20 Fred Fish <fnf@redhat.com>
13028
13029 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13030 blank in test for "returns short", for consistency with other
13031 "returns xxx" tests. Update copyright year.
13032
f9a7572a
FF
130332004-02-19 Fred Fish <fnf@redhat.com>
13034
13035 New testcase for PR breakpoint/1558.
13036 * gdb.arch/gdb1558.exp: New file.
13037 * gdb.arch/gdb1558.c: New file.
13038
b2ce2854
EZ
130392004-02-19 Elena Zannoni <ezannoni@redhat.com>
13040
13041 * gdb.base/nodebug.exp: Fix typo.
13042
e7c9ff01
JB
130432004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13044
13045 Committed by Jim Blandy <jimb@redhat.com>.
13046
62f4b920
JB
13047 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13048
2db536a1
JB
13049 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13050
e7c9ff01
JB
13051 * gdb.base/float.exp: Support s390*-*-* targets.
13052
f3205b34
AF
130532004-02-17 Adam Fedor <fedor@gnu.org>
13054
13055 * gdb.base/gdb1555.exp: New file.
13056 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13057
9d62932d
EZ
130582004-02-17 Elena Zannoni <ezannoni@redhat.com>
13059
13060 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13061
344c9711
FF
130622004-02-16 Fred Fish <fnf@redhat.com>
13063
13064 * gdb.arch/gdb1291.c: Remove
13065 * gdb.arch/gdb1291.s: New test input file.
13066 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13067 fail. Test for correct result, known incorrect result, other
13068 failures and timeouts.
13069
2d822687
AC
130702004-02-16 Andrew Cagney <cagney@redhat.com>
13071
13072 * gdb.base/bigcore.exp: New file.
13073 * gdb.base/bigcore.c: New file.
13074
dac15b66
AC
130752004-02-13 Andrew Cagney <cagney@redhat.com>
13076
13077 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13078 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13079 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13080 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13081 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13082 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13083 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13084 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13085 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13086 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13087
6bdfc2c4
JJ
130882004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13089
13090 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13091 executed is an alloc instruction.
13092
87b3ede8
DC
130932004-02-11 David Carlton <carlton@kealia.com>
13094
13095 * gdb.cp/breakpoint.exp: New.
13096 * gdb.cp/breakpoint.cc: New.
13097
6e19e2bf
MC
130982004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13099
13100 Partial fix for PR gdb/1543.
13101 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13102 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13103 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13104 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13105 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13106 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13107 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13108 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13109 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13110 to bug-gdb@prep.ai.mit.edu .
13111 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13112 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13113 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13114 Likewise.
13115
5c5455dc
AC
131162004-02-10 Andrew Cagney <cagney@redhat.com>
13117
13118 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13119 using gdb_internal_error_resync.
13120
9cf689d7
DJ
131212004-02-09 Daniel Jacobowitz <drow@mvista.com>
13122
13123 * gdb.threads/thread-specific.exp: Stop early if no threads are
13124 found.
13125
d2dc51db
MC
131262004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13127
13128 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13129
14b1a056
DJ
131302004-02-08 Daniel Jacobowitz <drow@mvista.com>
13131
13132 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13133 breakpoints.
13134
83f66e8f
DJ
131352004-02-07 Daniel Jacobowitz <drow@mvista.com>
13136
13137 * config/sim.exp (gdb_load): Handle $arg == "".
13138 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13139 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13140
30fc0091
EZ
131412004-02-07 Elena Zannoni <ezannoni@redhat.com>
13142
a9c64011
AS
13143 * gdb.base/maint.exp: Update test to reflect
13144 obstack changes.
30fc0091 13145
4d806929
JJ
131462004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13147
13148 * gdb.base/pendshr.c (pendfunc): New function that calls
13149 pendfunc1.
13150 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13151
7bfdd688
FF
131522004-02-04 Fred Fish <fnf@redhat.com>
13153
13154 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13155 function symbols and update copyright years.
13156 * gdb.arch/gdb1291.c: Ditto.
13157
aaa08ee4
MC
131582004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13159
13160 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13161
dbad7755
MC
131622004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13163
13164 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13165
ec4646ef
MC
131662004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13167
13168 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13169
1b802196
FF
131702004-02-02 Fred Fish <fnf@redhat.com>
13171
13172 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13173 remote targets. Update copyright years.
13174
18fe2033
JJ
131752004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13176
13177 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13178 support.
13179 * gdb.base/langs.exp: Fix test which attempts to create
13180 breakpoint on non-existent function to handle new pending
13181 support.
13182 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13183 a breakpoint.
13184 * gdb.base/pending.exp: New test.
13185 * gdb.base/pending.c: New file.
13186 * gdb.base/pendshr.c: Ditto.
13187
8d577d32
DC
131882004-02-02 David Carlton <carlton@kealia.com>
13189
13190 * gdb.cp/overload.exp: Add overloadNamespace tests.
13191 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13192 (overloadNamespace, XXX): New.
13193 (main): Call XXX::marker2.
13194
3ad13771
FF
131952004-02-01 Fred Fish <fnf@redhat.com>
13196
13197 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13198 * gdb.base/finish.exp: Ditto.
13199 * gdb.base/gcore.exp: Ditto.
13200 * gdb.base/huge.exp: Ditto.
13201 * gdb.base/info-proc.exp: Ditto.
13202 * gdb.base/return2.exp: Ditto.
13203 * gdb.threads/gcore-thread.exp: Ditto.
13204
44c75849
DJ
132052004-02-01 Daniel Jacobowitz <drow@mvista.com>
13206
13207 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13208
005bc093
MK
132092004-02-01 Mark Kettenis <kettenis@gnu.org>
13210
13211 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13212 that opening the file succeeds on OpenBSD.
13213
c47cebdb
DJ
132142004-02-01 Daniel Jacobowitz <drow@mvista.com>
13215
13216 * gdb.threads/thread-specific.c: New file.
13217 * gdb.threads/threads-specific.exp: New test script.
13218 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13219 to expect_out.
13220
5a01311c
MK
132212004-02-01 Mark Kettenis <kettenis@gnu.org>
13222
13223 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13224 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13225 only on the "print_small_structs from print_long_arg_list" test.
13226
ce22a4f1
DJ
132272004-02-01 Daniel Jacobowitz <drow@mvista.com>
13228
13229 * gdb.base/completion.exp: Kill a stray backslash.
13230
13231 From Jim Ingham <jingham@apple.com>:
13232 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13233 agrees with the result from sending a tab.
13234
abbab9d3
DJ
132352004-01-31 Daniel Jacobowitz <drow@mvista.com>
13236
13237 * gdb.base/chng-syms.exp: Remove stray newline.
13238
53904d1e
MK
132392004-01-31 Mark Kettenis <kettenis@gnu.org>
13240
13241 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13242 *-*-openbsd*.
13243 * gdb.asm/openbsd.inc: New file.
13244
3a4b3aac
MK
132452004-01-30 Mark Kettenis <kettenis@gnu.org>
13246
13247 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13248 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13249 *-*solaris2*. Remove commented out default settings for
13250 asm-flags. Replace gdb_compile with target_link.
13251
ebac27b4
MC
132522004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13253
13254 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13255 for all tests. Remove old hp-ux and cygnus xfail cases.
13256
d8679d84
PH
132572004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13258
13259 * gdb.base/chng-syms.exp: New file.
13260 * gdb.base/chng-syms.c: New file.
13261
0a55bc22
MC
132622004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13263
13264 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13265 Provide arms for current output in all my configurations.
13266
94b8e876
MC
132672004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13268
13269 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13270 * lib/compiler.cc: Likewise.
13271 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13272 get the right preprocessor. Eval the output directly. Remove
13273 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13274 hp_f77_compiler and hp_f90_compiler completely.
13275 (gdb_preprocess): Delete.
13276 (get_compiler): Delete.
13277
7cf03d44
MK
132782004-01-24 Mark Kettenis <kettenis@gnu.org>
13279
13280 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13281 <string.h>.
13282
68b6dce9
NR
132832004-01-24 Nick Roberts <nick@nick.uklinux.net>
13284
13285 * gdb.mi/mi-stack.exp: Update copyright.
13286
b368761e
DC
132872004-01-23 David Carlton <carlton@kealia.com>
13288
13289 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13290 test for cp_lookup_transparent_type.
13291 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13292 call them.
13293
f2061b53
DJ
132942004-01-23 Daniel Jacobowitz <drow@mvista.com>
13295
13296 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13297 after -var-update.
13298
37fc574a
DC
132992004-01-23 David Carlton <carlton@kealia.com>
13300
13301 * gdb.cp/namespace.cc (C::ensureRefs): New.
13302 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13303
8e94b928
NR
133042004-01-20 Nick Roberts <nick@nick.uklinux.net>
13305
13306 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13307 case "-stack-list-locals 2".
13308 * gdb.mi/mi-var-child.exp: Test for case
13309 "-var-list-children --all-values NAME".
13310
997b0952
MC
133112004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13312
13313 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13314
52470da3
MK
133152004-01-18 Mark Kettenis <kettenis@gnu.org>
13316
7049b4b8
MK
13317 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13318 used with gdb_test_multiple.
13319
52470da3
MK
13320 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13321 read at address 0. This fixes PR testsuite/1504.
13322
da6012e5
DJ
133232004-01-18 Daniel Jacobowitz <drow@mvista.com>
13324
13325 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13326 Remove downloading, guessing the host executable, the calls to
13327 gdb_file_cmd and gdb_target_cmd, and "load" support.
13328 (infer_host_exec): New function broken out from gdb_load.
13329 (gdb_load): New wrapper for gdbserver_gdb_load.
13330 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13331 gdb_target_cmd. Use -target-select.
13332 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13333 Download binaries to the host. Clear last_mi_remote_file when
13334 we load a new binary.
13335 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13336 call gdbserver_gdb_load and mi_gdb_target_cmd.
13337
32c70722
MC
133382004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13339
13340 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13341 type patterns.
13342
b0cecf36
MC
133432004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13344
13345 * gdb.cp/templates.exp: Fix typo in test name of
13346 "print Foo<volatile char*>::foo".
13347
4120d7e6
MC
133482004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13349
13350 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13351
f679e530
BE
133522004-01-16 Ben Elliston <bje@wasabisystems.com>
13353
13354 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13355 (clean mostlyclean): Remove empty rm.
13356
091c48f6
MC
133572004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13358
13359 * gdb.base/setvar.exp: Add copyright years.
13360
3e5fc8d2
DC
133612004-01-14 David Carlton <carlton@bactrian.org>
13362
13363 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13364 PR c++/1511 and update coment.
13365 * gdb.cp/templates.exp: Update patterns to match current output.
13366 If changes involve something other than whitespace, KFAIL
13367 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13368
63d06c5c
DC
133692004-01-14 David Carlton <carlton@kealia.com>
13370
13371 * gdb.cp/namespace.exp: Add tests involving classes defined within
13372 namespaces.
13373 * gdb.cp/namespace.cc (C::CClass): New.
13374 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13375
a51dab88
EZ
133762004-01-14 Elena Zannoni <ezannoni@redhat.com>
13377
13378 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13379 what debug info we have. Print a better message if something goes
13380 wrong while producing the separate debug info file.
13381
a476ccc9
MC
133822004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13383
13384 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13385
f453692c
MC
133862004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13387
13388 * gdb.base/callfuncs.c: Add copyright notice.
13389
f40063a5
MC
133902004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13391
13392 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13393 inheritance. PR gdb/1498, PR gcc/13539.
13394
19ac3974
EZ
133952004-01-13 Elena Zannoni <ezannoni@redhat.com>
13396
a9c64011
AS
13397 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13398 test specific name.
13399 * gdb.mi/gdb669.exp: Ditto.
13400 * gdb.mi/mi-pthreads.exp: Ditto.
13401 * gdb.mi/mi1-pthreads.exp: Ditto.
13402 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13403
56c97c6e
MC
134042004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13405
13406 * gdb.cp/member-ptr.cc: Add copyright notice.
13407
a0644324
MC
134082004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13409
13410 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13411 some patterns for recent versions of gcc and hpacc. Delete
13412 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13413 Delete tests that access a NULL pointer-to-member-data. This
13414 script is still disabled for gcc.
13415
32fabe09
EZ
134162004-01-12 Elena Zannoni <ezannoni@redhat.com>
13417
13418 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13419 escaped correctly.
32fabe09 13420
1f8a6abb
EZ
134212004-01-12 Elena Zannoni <ezannoni@redhat.com>
13422
13423 * gdb.base/sepdebug.exp: New file.
13424 * gdb.base/sepdebug.c: New file.
13425 * lib/gdb.exp (separate_debug_filename): New procedure.
13426 (gdb_gnu_strip_debug): New procedure.
13427
48efe704
AC
134282004-01-12 Andrew Cagney <cagney@redhat.com>
13429
13430 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13431 * gdb.mi/ChangeLog-1999-2003: New file.
13432
a9415475
AC
134332004-01-12 Andrew Cagney <cagney@redhat.com>
13434
13435 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13436 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13437 or EEXIST", treat EBUSY as an XFAIL.
13438
83b8cf9d
MC
134392004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13440
13441 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13442 hp_cc_compiler.
13443
9939d2a8
MC
134442004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13445
13446 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13447 decorations.
13448
1ff8cadf
MC
134492004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13450
13451 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13452 and "(aCC)" decorations. Remove obsolete doco about old
13453 test results.
13454
6fa9022e
MC
134552004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13456
13457 * gdb.cp/exception.exp: Fix typo in doco.
13458
209721fe
MK
134592004-01-09 Mark Kettenis <kettenis@gnu.org>
13460
13461 * gdb.base/gdb1476.exp: Fix typo.
13462
ef11303e
MC
134632004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13464
13465 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13466 file.
13467
041ab88c
MC
134682004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13469
13470 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13471 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13472 Use gdb_compile. Remove restriction on gcc. Add some patterns
13473 for recent version of gdb. Delete second half, which was a copy
13474 of the first half with different build flags. This test is
13475 still disabled because it is still not ready for production.
13476
e36d075a
MC
134772004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13478
13479 * gdb.cp/exception.cc: Add copyright notice.
13480 * gdb.cp/exception.exp: Add a notice that this file is broken
13481 because of line number changes caused by addition of copyright
13482 notice.
13483
42b190ad
MC
134842004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13485
13486 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13487 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13488
8f25f06b
MC
134892004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13490
13491 * gdb.cp/classes.exp: Accept gnu abi 2.
13492 * gdb.cp/derivation.exp: Likewise.
13493 * gdb.cp/overload.exp: Likewise.
13494 * gdb.cp/virtfunc.exp: Likewise.
13495
06ded8b8
MC
134962004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13497
13498 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13499 semicolon after end of function.
13500
77c26ae3
MC
135012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13502
13503 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13504 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13505 boilerplate code for compiling and running the program under
13506 test. Add some string method tests.
13507
20757486
MC
135082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13509
13510 * gdb.cp/bs15503.cc: Add copyright notice.
13511 * gdb.cp/bs15503.exp: Adjust line number.
13512
0fd3b503
MC
135132004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13514
13515 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13516 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13517
10d1bea8
MC
135182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13519
13520 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13521 hp_cc_compiler.
13522
2789202a
MC
135232004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13524
13525 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13526 * gdb.cp/ctti.exp: Use the marker instead of "next".
13527 With gcc, run further before bailing.
13528
b862f14c
MC
135292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13530
13531 * gdb.cp/cttiadd.cc: Add copyright notice.
13532 * gdb.cp/cttiadd1.cc: Likewise.
13533 * gdb.cp/cttiadd2.cc: Likewise.
13534 * gdb.cp/cttiadd3.cc: Likewise.
13535
96da2469
MC
135362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13537
13538 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13539 Use gdb_test, gdb_test_multiple. Use floating-point values that
13540 have exact representations in IEEE-ish formats.
13541
053248ff
MC
135422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13543
13544 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13545 compilers. Delete duplicate call to get_compiler_info.
13546 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13547 * gdb.base/volatile.exp: Likewise.
13548
84acecdd
MK
135492004-01-07 Mark Kettenis <kettenis@gnu.org>
13550
13551 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13552 memory at address 0.
13553
fe11a27f
MC
135542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13555
13556 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13557 to test for hp-ux assembler. Fix copyright years.
13558
60ad077b
AC
135592004-01-07 Andrew Cagney <cagney@redhat.com>
13560
13561 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13562
1c9b8f33
AC
135632004-01-07 Andrew Cagney <cagney@redhat.com>
13564
13565 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13566 when creating the read-only file. From analysis by Roland McGrath
13567 and Elena Zannoni.
13568
753ccc7a
MC
135692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13570
13571 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13572
eca3e36b
MC
135732004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13574
13575 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13576 data pointers.
13577
f8d4bac4
MC
135782004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13579
13580 * gdb.cp/m-static.exp: Compile one source file at a time.
13581 Delete unused call to get_compiler_info.
13582
9b4e0f94
MC
135832004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13584
13585 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13586 * gdb.base/call-rt-st.exp: Likewise.
13587 * gdb.base/nodebug.exp: Likewise.
13588 * gdb.base/volatile.exp: Likewise.
13589 * gdb.cp/ref-types.exp: Likewise.
13590 * gdb.cp/templates.exp: Likewise.
13591
023c1024
MK
135922004-01-05 Mark Kettenis <kettenis@gnu.org>
13593
13594 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13595
19703c4a
MC
135962004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13597
13598 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13599 hppa*-hp-hpux*.
13600
18b67037
MK
136012004-01-04 Mark Kettenis <kettenis@gnu.org>
13602
ba6219c8
MK
13603 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13604 x86_64-*-*.
13605
18b67037
MK
13606 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13607 sparc64-*-* and sparc*-solaris2*.
13608
1bfbbb9d
MK
136092004-01-04 Mark Kettenis <kettenis@gnu.org>
13610
13611 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13612 return ${tests}" test. The ${tests} already mentions the
13613 filename.
13614
06846494
MC
136152004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13616
13617 * gdb.cp/local.exp: Accept gcc abi 2.
13618
3b0cb202
MC
136192004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13620
13621 * gdb.cp/templates.exp: Accept gcc abi 2.
13622
0643ec3f
MC
136232004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * lib/compiler.cc: Remove supports_template_debugging.
13626 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13627
d231d0b1
MC
136282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13629
13630 * gdb.cp/namespace.exp: Accept gcc abi 2.
13631
44ffb27c
MC
136322004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13633
13634 * gdb.cp/method.exp: Accept gcc abi 2.
13635
184ad485
MC
136362004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13637
13638 * gdb.cp/classes.exp: Generate identical results as old version.
13639 * gdb.cp/derivation.exp: Likewise.
13640 * gdb.cp/overload.exp: Likewise.
13641 * gdb.cp/virtfunc.exp: Likewise.
13642
116f09e7
MC
136432004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13644
13645 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13646 mysterious bug with sourceware version of expect.
13647
b1379776
MC
136482004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13649
13650 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13651 current versions of gcc, including gcc abi 2. Remove gratuitous
13652 restart of test program. Use gdb_test_multiple and gdb_test for
13653 all tests. Add patterns to xfail missing "const" in "const char *"
13654 and kfail PR gdb/1155.
13655
6b7a4c0e
MC
136562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13657
13658 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13659 current versions of gcc, including gcc abi 2. Remove gratuitous
13660 restart of test program. Use gdb_test_multiple and gdb_test for
13661 all tests. Add patterns to kfail PR gdb/1498.
13662
51615d72
MC
136632003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13664
13665 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13666 current versions of gcc, including gcc abi 2. Use "breakpoint"
13667 and "continue" instead of restarting the target program. Use
13668 gdb_test_multiple and gdb_test for all tests.
13669
7b79a9d7
MK
136702004-01-01 Mark Kettenis <kettenis@gnu.org>
13671
13672 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13673 for *-*-solaris2*.
13674
1cd3489f
MC
136752003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13676
13677 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13678 current versions of gcc, including gcc abi 2. Use "breakpoint"
13679 and "continue" instead of restarting the target program several
13680 times. Use gdb_test_multiple and gdb_test for all tests.
13681
850742db
MC
136822003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13683
13684 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13685 source files.
13686
eb4bbda8
MC
136872003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13688
13689 * gdb.base/environ.exp: Handle compiling test case from multiple
13690 source files.
13691
e42c7771
MC
136922003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13693
13694 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13695
80e4b428
JB
136962003-12-17 Jim Blandy <jimb@redhat.com>
13697
5f06973a
JB
13698 * gdb.base/freebpcmd.c: Add copyright notice.
13699
80e4b428
JB
13700 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13701
0ab84fb7
MC
137022003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13703
13704 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13705
1b3bb3d0
JB
137062003-12-13 Jim Blandy <jimb@redhat.com>
13707
13708 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13709
3a4c9371
KB
137102003-12-12 Kevin Buettner <kevinb@redhat.com>
13711
13712 * gdb.asm/frv.inc: New file.
13713 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13714
a1dea79a
FF
137152003-12-09 Fred Fish <fnf@redhat.com>
13716
13717 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13718 functions to break1.c and leave prototypes behind. Add more
13719 "set breakpoint NN here" comments.
13720 * gdb.base/break1.c: New file.
13721
13722 * gdb.base/break.exp: Handle compiling test case from multiple
13723 source files and change source file references as needed.
13724 * gdb.base/completion.exp: Ditto.
13725 * gdb.base/condbreak.exp: Ditto.
13726 * gdb.base/define.exp: Ditto.
13727 * gdb.base/ena-dis-br.exp: Ditto.
13728 * gdb.base/info-proc.exp: Ditto.
13729 * gdb.base/maint.exp: Ditto.
13730 * gdb.base/until.exp: Ditto.
13731
13732 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13733 hardcoded line numbers.
13734 * gdb.base/define.exp: Ditto.
13735 * gdb.base/ena-dis-br.exp: Ditto.
13736 * gdb.base/maint.exp: Ditto.
13737 * gdb.base/until.exp: Ditto.
13738
13739 * gdb.base/completion.exp: Use "break1" for completion tests since
13740 "break" is no longer a unique prefix.
13741
5266b69c
AC
137422003-12-06 Andrew Cagney <cagney@redhat.com>
13743
13744 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13745 "return_value_unimplemented". When an unimplemented struct return
13746 architecture, report incorrect values as a KFAIL
13747
374451f0
MC
137482003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13749
13750 * gdb.cp/rtti.exp: Accept new wording of warning from
13751 cp_lookup_rtti_type.
13752
ba9b20a7
MC
137532003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13754
13755 Partial fix for PR testsuite/1456.
13756 * gdb.base/scope.exp (test_at_main): Replace references to
13757 gcc_compiled with calls to test_compiler_info.
13758 (test_at_foo): Likewise.
13759 (test_at_bar): Likewise.
13760
b74b6d0b
MC
137612003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13762
13763 Partial fix for PR testsuite/1456.
13764 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13765 to test_compiler_info.
13766
ccfa3402
MC
137672003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13768
13769 * gdb.base/so-impl-ld.exp: Update copyright notice.
13770
f6246aba
MC
137712003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13772
13773 Partial fix for PR testsuite/1456.
13774 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13775 to test_compiler_info.
13776
13ae734a
MC
137772003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13778
13779 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13780 from current versions of gdb. Clean up regular expressions.
13781 Delete redundant timeout case.
13782
d8e1cdee
MC
137832003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13784
13785 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13786 from current versions of gdb. Clean up regular expressions.
13787 Delete redundant timeout case.
13788
96457b64
MC
137892003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13790
13791 Partial fix for PR testsuite/1456.
13792 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13793 gcc_compiled with call to test_compiler_info.
13794
f35309fc
MC
137952003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13796
13797 Partial fix for PR testsuite/1456.
13798 * gdb.base/list.exp (test_list_function): Delete unused declaration
13799 of gcc_compiled.
13800
d7afdf9b
MC
138012003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13802
13803 Partial fix for PR testsuite/1456.
13804 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13805 call to test_compiler_info.
13806
71507b56
MK
138072003-11-29 Mark Kettenis <kettenis@gnu.org>
13808
13809 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13810 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13811 it to create the appropriate note.inc.
13812 * gdb.asm/asmsrc1.s: Include "note.inc".
13813 * gdb.asm/netbsd.inc: New file.
13814 * gdb.asm/empty.inc: New file.
13815
f81f93f7
MC
138162003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13817
13818 Partial fix for PR testsuite/1456.
13819 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13820 calls to test_compiler_info.
13821
9a77938e
MC
138222003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13823
13824 Partial fix for PR testsuite/1456.
13825 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13826 calls to test_compiler_info.
13827
e8367dc7
MK
138282003-11-27 Mark Kettenis <kettenis@gnu.org>
13829
13830 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13831 pattern for the KFAILs.
13832
526c61ee
AF
138332003-11-25 Adam Fedor <fedor@gnu.org>
13834
13835 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13836 * gdb.objc/objcdecode.m: New file.
13837
28f2d600
AF
138382003-11-25 Adam Fedor <fedor@gnu.org>
13839
13840 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13841 * gdb.objc/nondebug.m: New file.
13842
a3895cee
BE
138432003-11-26 Ben Elliston <bje@wasabisystems.com>
13844
13845 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13846 NetBSD as it does on FreeBSD. Modelled on a similar change by
13847 Mark Kettenis on 2003-05-30.
13848 (link-flags): Set to "--entry _start" regardless of target.
13849 Special linker flags are to be appended to $link-flags.
13850 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13851
c9f2c8a3
MC
138522003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13853
13854 * gdb.cp/method.exp: Accept output of new demangler.
13855
15a0587a 138562003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13857
13858 * gdb/class2.exp: New file.
13859 * gdb/class2.cc: New file.
13860
3c00b570
MC
138612003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13862
13863 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13864 of new demangler.
13865
7027acc7
MK
138662003-11-23 Mark Kettenis <kettenis@gnu.org>
13867
13868 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13869 of gdb_test "run".
13870
b0e1598a
MK
138712003-11-23 Mark Kettenis <kettenis@gnu.org>
13872
13873 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13874 "continue" into "run".
13875
4d9eda44
MC
138762003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13877
13878 Partial fix for PR testsuite/1456.
13879 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13880 call to test_compiler_info.
13881 * gdb.cp/ctti.exp: Likewise.
13882 * gdb.cp/derivation.exp: Likewise.
13883 * gdb.cp/member-ptr.exp: Likewise.
13884 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13885 reference to gcc_compiled.
13886
138872003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13888
13889 Fix PR testsuite/1463.
13890 * gdb.base/structs.exp (start_structs_test): Call
13891 get_debug_format before using the debug format.
13892
d422fe19
AC
138932003-11-22 Andrew Cagney <cagney@redhat.com>
13894
13895 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13896 * gdb.base/structs.exp: Use gdb_test_multiple.
13897
039cf96d
AC
138982003-11-20 Andrew Cagney <cagney@redhat.com>
13899
6882279b
AC
13900 * gdb.base/structs.exp: Handle and recover from internal errors.
13901 Replace "foo${n}" with "foo<n>" in test messages.
13902
e53890ae
AC
13903 * gdb.base/structs.exp: Update copyright. Rewrite.
13904 * gdb.base/structs.c: Update copyright. Rewrite.
13905
2b211c59
AC
13906 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13907 resync count exceeded.
d63a86f8 13908
039cf96d
AC
13909 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13910 from the internal error.
13911 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13912 Original from Jim Blandy.
13913 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13914
eac98b22
AC
139152003-11-19 Andrew Cagney <cagney@redhat.com>
13916
13917 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13918 KFAIL.
13919
67455b2a
MK
139202003-11-17 Mark Kettenis <kettenis@gnu.org>
13921
13922 New testcase for PR backtrace/1435.
13923 * gdb.arch/i386-unwind.exp: New file.
13924 * gdb.arch/i386-unwind.c: New file.
13925
853d6e5b
AC
139262003-11-17 Andrew Cagney <cagney@redhat.com>
13927
13928 * lib/gdb.exp (compiler_info): New global.
13929 (test_compiler_info): New function.
13930 (get_compiler_info): Set compiler_info.
13931 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13932 "compiler_info" to gcc-<major>-<minor>.
13933
38cf6e11
MC
139342003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13935
13936 * gdb.trace/configure: Remove.
13937
a50d3602
EZ
139382003-11-13 Elena Zannoni <ezannoni@redhat.com>
13939
13940 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13941 breakpoints.
a50d3602
EZ
13942 * gdb.base/break.exp: Remove all references to explicit line
13943 numbers.
13944
d9407aaa
NC
139452003-11-11 Nick Clifton <nickc@redhat.com>
13946
13947 * gdb.base/shreloc.exp: Do not run for targets which do not
13948 support shared objects.
13949
db488fc1
CV
139502003-11-10 Corinna Vinschen <vinschen@redhat.com>
13951
13952 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13953 Don't run tests if nofileio flag is given.
13954
6a90a18e
EZ
139552003-11-07 Elena Zannoni <ezannoni@redhat.com>
13956
13957 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13958 as well as 'Watchpoint'.
6a90a18e 13959
0b915e9c
EZ
139602003-11-06 Elena Zannoni <ezannoni@redhat.com>
13961
13962 Reported by Jim Ingham <jingham@apple.com>:
13963 * gdb.base/annota1.exp: Match at least one occurrence of the
13964 signal handler annotation.
13965
d7e4b55f
EZ
139662003-11-06 Elena Zannoni <ezannoni@redhat.com>
13967
a9c64011
AS
13968 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13969 as well as 'Watchpoint'.
d7e4b55f 13970
2fe4e8d0
MC
139712003-11-05 Michael Chastain <mec@shout.net>
13972
13973 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13974
6ef88553
KW
139752003-11-03 Kris Warkentin <kewarken@qnx.com>
13976
13977 * gdb.arch/gdb1291.c: New test file.
13978 * gdb.arch/gdb1291.exp: New test script.
13979 * gdb.arch/gdb1431.c: New test file.
13980 * gdb.arch/gdb1431.exp: New test script.
13981
ae7dc4d8
MC
139822003-10-22 Michael Chastain <mec@shout.net>
13983
13984 * gdb.mi/pthreads.c: Add copyright notice.
13985
c39d7427
MC
139862003-10-22 Michael Chastain <mec@shout.net>
13987
13988 * gdb.threads/pthreads.c: Add copyright notice.
13989
8b7d96c1
MC
139902003-10-20 Michael Chastain <mec@shout.net>
13991
13992 * gdb.base/gdb1056.exp: New test script.
13993
d1d69fdd
DJ
139942003-10-13 Daniel Jacobowitz <drow@mvista.com>
13995
13996 * gdb.threads/killed.exp: Use gdb_run_cmd.
13997
7d605576
DJ
139982003-10-13 Daniel Jacobowitz <drow@mvista.com>
13999
14000 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14001 create a core file.
14002 * gdb.threads/gcore-thread.exp: Likewise.
14003
618ec112
CV
140042003-10-13 Corinna Vinschen <vinschen@redhat.com>
14005
14006 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14007 type, based on char type.
14008 (struct bit_flags_short_t): New bitfield type, based on short type.
14009 (init_bit_flags_char): New fuction.
14010 (init_bit_flags_short): Ditto.
14011 (print_bit_flags_char): Ditto.
14012 (print_bit_flags_short): Ditto.
14013 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14014
9367a73c
MC
140152003-10-11 Michael Chastain <mec@shout.net>
14016
14017 * gdb.base/call-rt-st.exp: Update copyright year.
14018
1decf120
KI
140192003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14020
14021 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14022 * gdb.disasm/sh3.s: Ditto.
14023
5445b2ae
DJ
140242003-10-07 Daniel Jacobowitz <drow@mvista.com>
14025
14026 * gdb.threads/switch-threads.exp: New test.
14027 * gdb.threads/switch-threads.c: New source file.
14028
aec24853
CV
140292003-10-07 Corinna Vinschen <vinschen@redhat.com>
14030
14031 * gdb.base/ending-run.exp: Add sh specific case.
14032
adc7428d
AC
140332003-10-06 Andrew Cagney <cagney@redhat.com>
14034
14035 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14036 * gdb.disasm/mn10200.exp: Delete obsolete file.
14037
c9d37158
DJ
140382003-09-29 Daniel Jacobowitz <drow@mvista.com>
14039
14040 * ChangeLog: Correct an entry command.exp -> commands.exp.
14041 * gdb.base/commands.exp (bp_deleted_in_command_test)
14042 (temporary_breakpoint_commands): Check noargs.
14043
79c2c32d
DC
140442003-09-25 David Carlton <carlton@kealia.com>
14045
14046 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14047 of some print tests, where appropriate. Add tests for C::D::cd,
14048 E::ce, F::cXfX, G::XgX.
14049 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14050
594e6d67
RE
140512003-09-25 Richard Earnshaw <rearnsha@arm.com>
14052
14053 * lib/java.exp (java_init): Import target_alias before using it.
14054
10f0d451
DC
140552003-09-25 David Carlton <carlton@kealia.com>
14056
14057 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14058
274bcba0
EZ
140592003-09-23 Elena Zannoni <ezannoni@redhat.com>
14060
d63a86f8 14061 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14062 weirdness.
274bcba0 14063
cdbf20f7
MC
140642003-09-17 Michael Chastain <mec@shout.net>
14065
14066 * gdb.cp/gdb1355.exp: New file.
14067 * gdb.cp/gdb1355.c: New file.
14068
71e06f80
CV
140692003-09-15 Corinna Vinschen <vinschen@redhat.com>
14070
14071 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14072 * gdb.asm/sh.inc: New file.
14073
5c4e30ca
DC
140742003-09-11 David Carlton <carlton@kealia.com>
14075
bd45b7af
DC
14076 * gdb.cp/namespace.exp: Add tests for namespace types.
14077 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14078 (test_namespace): New.
14079
1c199746
EZ
140802003-09-11 Elena Zannoni <ezannoni@redhat.com>
14081
a9c64011 14082 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14083 * gdb.stabs/weird.exp: Ditto.
1c199746 14084
04ed252f
MC
140852003-09-08 Michael Chastain <mec@shout.net>
14086
14087 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14088
d8a2d9e7
MC
140892003-09-07 Michael Chastain <mec@shout.net>
14090
14091 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14092 'parse error'.
14093
161afb24
MK
140942003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14095
14096 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14097
49f2741a
MC
140982003-08-30 Michael Chastain <mec@shout.net>
14099
14100 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14101 * gdb.gdb/observer.exp: Ditto.
14102 * gdb.gdb/xfullpath.exp: Ditto.
14103
8afa723e
MK
141042003-08-29 Mark Kettenis <kettenis@gnu.org>
14105
14106 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14107 *-*-*bsd*.
14108
f31dfe3b
JJ
141092003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14110
14111 * gdb.base/dump.exp: Skip for ia64.
14112
4630e498
JJ
141132003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14114
14115 * gdb.asm/asm-source.exp: Add ia64 support.
14116 * gdb.asm/ia64.inc: New file.
14117
1105b7ef
MC
141182003-08-22 Michael Chastain <mec@shout.net>
14119
14120 * gdb.cp: New directory.
14121 * gdb.cp/*: Copy from gdb.c++/*.
14122 * gdb.c++/*: Remove.
14123 * Makefile.in: Change gdb.c++ to gdb.cp.
14124 * configure.in: Ditto.
14125 * configure: Regnerate.
14126
c945b932
MK
141272003-08-18 Mark Kettenis <kettenis@gnu.org>
14128
14129 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14130 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14131
2b66634b
DJ
141322003-08-17 Daniel Jacobowitz <drow@mvista.com>
14133
14134 * mi-var-display.exp (-var-list-children weird): Accept function
14135 pointers with argument types.
14136 * mi1-var-display.exp (-var-list-children weird): Likewise.
14137 * mi2-var-display.exp (-var-list-children weird): Likewise.
14138
a356f73b
DJ
141392003-08-17 Daniel Jacobowitz <drow@mvista.com>
14140
14141 * gdb.base/annota3.exp: Add missing newline.
14142
483417b8
MC
141432003-08-06 Michael Chastain <mec@shout.net>
14144
14145 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14146
c99c59c3
MS
141472003-08-12 Michael Snyder <msnyder@redhat.com>
14148
14149 * gdb.base/float.exp: Add test for SH.
14150
55ed7501
MK
141512003-08-10 Mark Kettenis <kettenis@gnu.org>
14152
14153 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14154
1a371f2e
EZ
141552003-08-07 Elena Zannoni <ezannoni@redhat.com>
14156
14157 * gdb.base/completion.exp: Remove reduntant completion test
14158 on filename.
14159
e0f353ce
EZ
141602003-08-07 Elena Zannoni <ezannoni@redhat.com>
14161
a9c64011
AS
14162 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14163 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14164 gdb.trace/save-trace.exp: Make sure that full pathnames are
14165 escaped correctly.
e0f353ce 14166
5710a1af 141672003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14168
a9c64011
AS
14169 * configure.in: Don't generate config.h from config.hin.
14170 * configure: Regenerate.
14171 * config.hin: Remove file.
14172 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14173 * gdb.threads/pthreads.c: Ditto.
5710a1af 14174
dcd81ce9
DJ
141752003-08-07 Daniel Jacobowitz <drow@mvista.com>
14176
14177 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14178 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14179 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14180 Replace ld24 with seth/add3.
14181
6009d884
AC
141822003-08-02 Andrew Cagney <cagney@redhat.com>
14183
14184 * gdb.base/annota3.exp: New file.
14185 * gdb.base/annota3.c: New file.
14186 * gdb.c++/annota3.exp: New file.
14187 * gdb.c++/annota3.cc: New file.
14188
51514e06
MC
141892003-07-29 Michael Chastain <mec@shout.net>
14190
14191 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14192 actually failed.
14193 (do_pass): Likewise.
14194 * gdb.threads/tls.exp: Always initialize no_of_threads.
14195
4ee6625b
DJ
141962003-07-27 Daniel Jacobowitz <drow@mvista.com>
14197
14198 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14199 pattern.
14200 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14201 * gdb.threads/tls.exp: Recognize one case of the host library not
14202 supporting TLS.
14203
225f2bf6
AC
142042003-07-27 Andrew Cagney <cagney@redhat.com>
14205
14206 * gdb.base/fileio.exp: Use SH when running commands using
14207 remote_exec.
14208
bcb27c9f
DJ
142092003-07-24 Daniel Jacobowitz <drow@mvista.com>
14210
14211 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14212 * gdb.base/relocate.c (dummy): New padding array.
14213
3d67be83
MS
142142003-07-22 Michael Snyder <msnyder@redhat.com>
14215
d63a86f8 14216 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14217
14218 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14219 patterns to be more general, accepting old and new output.
14220 Some output chars (such as '+') also must be quoted.
d63a86f8 14221 Some addresses are displayed numerically instead of
3d67be83
MS
14222 symbolically.
14223
57ba3b85
MS
142242003-07-23 Michael Snyder <msnyder@redhat.com>
14225
686d097c
MS
14226 * gdb.base/return2.exp: Don't test long-long return.
14227
57ba3b85
MS
14228 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14229 * gdb.disasm/t01_mov.exp: Ditto.
14230 * gdb.disasm/t02_mova.s: Ditto.
14231 * gdb.disasm/t02_mova.exp: Ditto.
14232 * gdb.disasm/t03_add.s: Ditto.
14233 * gdb.disasm/t03_add.exp: Ditto.
14234 * gdb.disasm/t04_sub.s: Ditto.
14235 * gdb.disasm/t04_sub.exp: Ditto.
14236 * gdb.disasm/t05_cmp.s: Ditto.
14237 * gdb.disasm/t05_cmp.exp: Ditto.
14238 * gdb.disasm/t06_ari2.s: Ditto.
14239 * gdb.disasm/t06_ari2.exp: Ditto.
14240 * gdb.disasm/t07_ari3.s: Ditto.
14241 * gdb.disasm/t07_ari3.exp: Ditto.
14242 * gdb.disasm/t08_or.s: Ditto.
14243 * gdb.disasm/t08_or.exp: Ditto.
14244 * gdb.disasm/t09_xor.s: Ditto.
14245 * gdb.disasm/t09_xor.exp: Ditto.
14246 * gdb.disasm/t10_and.s: Ditto.
14247 * gdb.disasm/t10_and.exp: Ditto.
14248 * gdb.disasm/t11_logs.s: Ditto.
14249 * gdb.disasm/t11_logs.exp: Ditto.
14250 * gdb.disasm/t12_bit.s: Ditto.
14251 * gdb.disasm/t12_bit.exp: Ditto.
14252 * gdb.disasm/t13_otr.s: Ditto.
14253 * gdb.disasm/t13_otr.exp: Ditto.
14254
e00759ef
EZ
142552003-07-22 Elena Zannoni <ezannoni@redhat.com>
14256
14257 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14258
8bc2021f
EZ
142592003-07-22 Elena Zannoni <ezannoni@redhat.com>
14260
a9c64011
AS
14261 * gdb.threads/tls.c : New file.
14262 * gdb.threads/tls.exp : New file.
14263 * gdb.threads/tls-main.c : New file.
14264 * gdb.threads/tls-shared.c : New file.
14265 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14266
89320c4c
AS
142672003-07-22 Andreas Schwab <schwab@suse.de>
14268
14269 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14270
180dea7c
AS
142712003-07-20 Andreas Schwab <schwab@suse.de>
14272
14273 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14274 due to insn reordering.
14275
0714963c
AC
142762003-07-15 Andrew Cagney <cagney@redhat.com>
14277
14278 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14279
98a23b3f
MC
142802003-07-15 Michael Chastain <mec@shout.net>
14281
14282 * gdb.base/gdb1250.exp: New file.
14283 * gdb.base/gdb1250.c: New file.
14284
27e417a2
ML
142852003-07-09 Michal Ludvig <mludvig@suse.cz>
14286
14287 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14288 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14289
8bc2021f
EZ
142902003-07-09 Elena Zannoni <ezannoni@redhat.com>
14291
a9c64011
AS
14292 * gdb.threads/tls.c: New file.
14293 * gdb.threads/tls.exp: New file.
14294 * gdb.threads/tls-main.c: New file.
14295 * gdb.threads/tls-shared.c: New file.
14296 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14297
d99968dc
EZ
142982003-07-09 Elena Zannoni <ezannoni@redhat.com>
14299
14300 * gdb.base/annota1.exp: Make sure that we properly escape the
14301 full path of the source file. Xfail more permissive patterns,
d63a86f8 14302 due to a compiler debug info problem.
d99968dc 14303
83876b3b
AS
143042003-07-07 Andreas Schwab <schwab@suse.de>
14305
2705e972
AS
14306 * gdb.asm/m68k.inc: New file.
14307 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14308
83876b3b
AS
14309 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14310 arguments"): Also match negative number.
14311
14312 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14313
3a871b37
DJ
143142003-07-03 Daniel Jacobowitz <drow@mvista.com>
14315
14316 * gdb.base/store.c (charest): New typedef.
14317 (add_char): Rename to add_charest, update.
14318 (wack_char): Rename to wack_charest, update types. Return l + r
14319 to keep r live across the call.
14320 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14321 (wack_double, wack_doublest): Return l + r to keep r live across
14322 the call.
14323 * gdb.base/store.exp: Accomodate store.c changes.
14324
b2a7f303
DC
143252003-06-30 David Carlton <carlton@kealia.com>
14326
14327 * gdb.c++/maint.exp (test_invalid_name): New.
14328 (test_first_component): Add tests for invalid names.
14329
3c6cb4a1
MC
143302003-06-29 Michael Chastain <mec@shout.net>
14331
14332 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14333 output of '<VTT for class>' for virtual base classes.
14334
f1c2644b
DJ
143352003-06-29 Daniel Jacobowitz <drow@mvista.com>
14336
14337 * gdb.base/completion.exp: Tab-complete "complet" instead of
14338 "compl".
14339 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14340
18080350
DJ
143412003-06-29 Daniel Jacobowitz <drow@mvista.com>
14342
14343 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14344 * gdb.base/volatile.exp: Likewise.
14345
f56973f8
DJ
143462003-06-29 Daniel Jacobowitz <drow@mvista.com>
14347
14348 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14349 gdb/1265.
14350
143512003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14352 Daniel Jacobowitz <drow@mvista.com>
14353
14354 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14355 initial line count of 'captured_main' from 26 to 32.
14356 (test_with_self): Allow xmalloc call to be interleaved with the
14357 preceding two lines.
14358
e766d4d6
JB
143592003-06-24 Joel Brobecker <brobecker@gnat.com>
14360
14361 * gdb.base/bang.exp: New testcase.
14362
f125c9a4
JB
143632003-06-23 Joel Brobecker <brobecker@gnat.com>
14364
14365 * gdb.base/langs.exp: Add some tests for the "minimal" language
14366 support.
14367
6e25beaf
EZ
143682003-06-23 Elena Zannoni <ezannoni@redhat.com>
14369
14370 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14371 the testcase.
14372
2f816dda
DJ
143732003-06-22 Daniel Jacobowitz <drow@mvista.com>
14374
14375 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14376 offset.
14377
db5a5748
DJ
143782003-06-22 Daniel Jacobowitz <drow@mvista.com>
14379
14380 * gdb.c++/pr-1210.cc: New file.
14381 * gdb.c++/pr-1210.exp: New file.
14382
1df0c130
DJ
143832003-06-21 Daniel Jacobowitz <drow@mvista.com>
14384
14385 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14386 000-exec-continue.
14387
a92feac0
MK
143882003-06-15 Mark Kettenis <kettenis@gnu.org>
14389
14390 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14391 on *-*-*bsd* instead of *-*-freebsd*.
14392
81a58f5b
AC
143932003-06-14 Andrew Cagney <cagney@redhat.com>
14394
14395 * gdb.base/store.exp: Test longest and doublest. Test all
14396 parameters. Weaken return statement match.
14397 * gdb.base/store.c: Add longest and doublest - aka long long and
14398 long double functions. Put all parameters into local register
14399 variables. Use negative values.
14400
b257a0d3
AC
144012003-06-14 Andrew Cagney <cagney@redhat.com>
14402
14403 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14404 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14405 exit status.
14406 * gdb.base/fileio.exp: Disable target when nointerrupts and
14407 noinferiorio, instead of limiting it to remote. Use remote_exec
14408 instead of system.
d63a86f8 14409
21c38304
JJ
144102003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14411
14412 * gdb.base/float.exp: Add ia64 support.
14413
1bcdb424
CV
144142003-06-12 Corinna Vinschen <vinschen@redhat.com>
14415
14416 * gdb.base/fileio.exp: Run only on remote targets.
14417
6aeb981f
CV
144182003-06-10 Corinna Vinschen <vinschen@redhat.com>
14419
14420 * gdb.base/fileio.c: New file, testing File-I/O.
14421 * gdb.base/fileio.exp: Ditto.
14422
53df362e
RG
144232003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14424
14425 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14426 shared objects after relocation at load time (gdb PR/1132).
14427 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14428 as above, part of the shared object relocation test.
53df362e 14429
ffee1b46
MK
144302003-06-08 Mark Kettenis <kettenis@gnu.org>
14431
b5ca3722
MK
14432 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14433 fully filled history list.
14434 * gdb.base/gdb_history: New file.
14435
03ed860d
MK
14436 * gdb.base/signals.exp: XFAIL "continue to func1" on
14437 i*86-*-freebsd*.
14438
ffee1b46
MK
14439 * gdb.base/attach.exp: When trying to attach to a nonexistent
14440 process, make it possible to specify the PID based on the target,
14441 and do so for *-*-freebsd*.
14442
d80dbb52
RH
144432003-06-02 Richard Henderson <rth@redhat.com>
14444
14445 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14446
6dd77b81
RH
144472003-06-02 Richard Henderson <rth@redhat.com>
14448
14449 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14450
f6347e16
RH
144512003-06-02 Richard Henderson <rth@redhat.com>
14452
14453 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14454
2c161407
DJ
144552003-06-01 Daniel Jacobowitz <drow@mvista.com>
14456
14457 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14458 of globalvar.
14459
572eb746
MK
144602003-06-01 Mark Kettenis <kettenis@gnu.org>
14461
14462 * gdb.asm/asm-source.exp: Check for memory read errors in
14463 disassembler test on *BSD too.
14464
9e9617a5
RH
144652003-06-01 Richard Henderson <rth@redhat.com>
14466
14467 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14468 for .frame.
14469 (gdbasm_call): Lose ldgp.
14470 (gdbasm_startup): Add frame information.
14471 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14472
7b34ad4e
MK
144732003-05-31 Mark Kettenis <kettenis@gnu.org>
14474
14475 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14476 i?86-*-*.
14477
10059fdf
MK
144782003-05-30 Mark Kettenis <kettenis@gnu.org>
14479
14480 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14481 FreeBSD.
14482
acf4b816
RH
144832003-05-29 Richard Henderson <rth@redhat.com>
14484
14485 * gdb.asm/alpha.inc: New file.
14486 * gdb.asm/asm-source.exp: Use it.
14487
e9ecd949
JB
144882003-05-29 Jim Blandy <jimb@redhat.com>
14489
14490 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14491 'core.PID'.
14492
e3e5a4f3
JB
144932003-05-22 Jim Blandy <jimb@redhat.com>
14494
14495 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14496 backtrace.
d63a86f8 14497
72fe3d25
DC
144982003-05-20 David Carlton <carlton@math.stanford.edu>
14499
14500 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14501 this time.
14502
58da2eb2
DC
145032003-05-19 David Carlton <carlton@bactrian.org>
14504
14505 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14506 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14507
1fcb5155
DC
145082003-05-19 David Carlton <carlton@bactrian.org>
14509
14510 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14511 namespace tests.
14512 Bump copyright date.
14513 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14514 (main): Call C::D::marker2.
14515 * gdb.c++/namespace1.cc: New file.
14516
85e85163
JJ
145172003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14518
14519 Roland McGrath <roland@redhat.com>
d63a86f8 14520 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14521 there is no manager thread.
14522
a25fbfec
JJ
145232003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14524
d63a86f8
RM
14525 * gdb.threads/schedlock.exp: Remove assumption that all threads
14526 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14527 in one of the child threads rather than the main thread.
14528
be375bae
JB
145292003-05-07 Jim Blandy <jimb@redhat.com>
14530
09bf6082
JB
14531 Add support for assembly source testing on the s390x.
14532 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14533 architecture.
14534 * gdb.asm/s390x.inc: New file.
14535
be375bae
JB
14536 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14537 succession of 'if' statements.
14538
00905d52
AC
145392003-05-05 Andrew Cagney <cagney@redhat.com>
14540
14541 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14542
b1e29e33
AC
145432003-05-05 Andrew Cagney <cagney@redhat.com>
14544
14545 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14546 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14547
e33d66ec
EZ
145482003-05-02 Elena Zannoni <ezannoni@redhat.com>
14549
14550 * gdb.base/charset.exp: Update based on new behavior of set/show
14551 charset commands.
14552
2b6fd0d8
AC
145532003-05-01 Andrew Cagney <cagney@redhat.com>
14554
14555 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14556 variable do not give memory errors.
14557
130cacce
AF
145582003-04-30 Adam Fedor <fedor@gnu.org>
14559
14560 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14561 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14562 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14563 gdb.objc/basicclass.m: : New files
14564
14565 * lib/gdb.exp (gdb_compile_objc): New procedure.
14566
bea71854
DJ
145672003-04-27 Daniel Jacobowitz <drow@mvista.com>
14568
14569 * gdb.base/signals.exp: Make backtrace tests more specific.
14570
0f20eeea
DC
145712003-04-23 David Carlton <carlton@bactrian.org>
14572
14573 * gdb.c++/maint.exp (test_first_component): Add tests for
14574 'operator' in more locations.
14575
c8c4d8dc
KB
145762003-04-16 Kevin Buettner <kevinb@redhat.com>
14577
14578 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14579
3fe60e3c
EZ
145802003-04-16 Elena Zannoni <ezannoni@redhat.com>
14581
14582 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14583 func marke' instead. Update test name.
3fe60e3c 14584
9219021c
DC
145852003-04-15 David Carlton <carlton@math.stanford.edu>
14586
14587 * gdb.c++/maint.exp: New file.
14588
5dd55bdd
EZ
145892003-04-14 Elena Zannoni <ezannoni@redhat.com>
14590
14591 * gdb.threads/schedlock.c: Change type of thread function argument
14592 to long, to avoid warnings on 64-bit platforms.
14593
00890572
EZ
145942003-04-14 Elena Zannoni <ezannoni@redhat.com>
14595
a9c64011
AS
14596 * gdb.base/attach.exp: Add new message from ptrace in case of
14597 attaching to nonexistent process.
d63a86f8 14598
93201743
JB
145992003-04-11 Jim Blandy <jimb@redhat.com>
14600
14601 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14602 gdb.c++/userdef.cc: Place comments on the lines to which the
14603 marker function might return.
14604 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14605 gdb.c++/userdef.exp: Look for those comments to check that we've
14606 returned to the right place, instead of checking line numbers.
14607
2a11c64d
EZ
146082003-04-11 Elena Zannoni <ezannoni@redhat.com>
14609
a9c64011
AS
14610 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14611 match on sourcefile name, instead of directory name.
2a11c64d 14612
68ab8fc5
EZ
146132003-04-10 Elena Zannoni <ezannoni@redhat.com>
14614
d63a86f8 14615 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14616 working directory name.
14617
5624293a
JB
146182003-04-09 Jim Blandy <jimb@redhat.com>
14619
14620 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14621 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14622 after an inferior function call, report the failure, but allow the
14623 test to continue.
14624
f1f02ee4
SC
146252003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14626
14627 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14628 with -DPROTOTYPES.
14629
6eb79af0
SC
146302003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14631
14632 * gdb.base/break.exp: Revert last patch.
14633
8dfb4cf0
SC
146342003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14635
14636 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14637 with -DPROTOTYPES.
14638
ed4c619a
AC
146392003-04-02 Andrew Cagney <cagney@redhat.com>
14640
14641 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14642 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14643 matching directories by the name breakpoint.
14644 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14645 Make "continue to marker1" consistent.
14646 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14647 message consistent.
14648 * lib/gdb.exp: Put "the program is no longer running", and "the
14649 program exited" in parenthesis.
14650 * lib/mi-support.exp: Ditto.
d63a86f8 14651
4e35d5f0 146522003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14653
4e35d5f0
BR
14654 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14655
71900fe8
AC
146562003-03-29 Andrew Cagney <cagney@redhat.com>
14657
14658 * gdb.base/sizeof.c (main): Print the value of '\377'.
14659 * gdb.base/sizeof.exp: Check the sign of '\377'.
14660
c0655a16
MC
146612003-03-27 Michael Chastain <mec@shout.net>
14662
14663 * gdb.base/gdb1090.exp: New file.
14664 * gdb.base/gdb1090.cc: New file.
14665
5b2a3989
JB
146662003-03-27 J. Brobecker <brobecker@gnat.com>
14667
14668 * gdb.gdb/observer.exp: New regression test.
14669
79876890
MC
146702003-03-27 Michael Chastain <mec@shout.net>
14671
14672 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14673 * gdb.base/ptype.exp: Likewise.
14674
6eac95e3
CV
146752003-03-27 Corinna Vinschen <vinschen@redhat.com>
14676
14677 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14678
e8c71839
MC
146792003-03-26 Michael Chastain <mec@shout.net>
14680
14681 * gdb.base/ptype.exp: Actually use some typedef'd types.
14682
71b10041
SC
146832003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14684
14685 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14686 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14687
2512cf80
CV
146882003-03-20 Corinna Vinschen <vinschen@redhat.com>
14689
14690 * gdb.base/default.exp: Fix regular expression.
14691
0d195a4f
CV
146922003-03-20 Corinna Vinschen <vinschen@redhat.com>
14693
14694 * gdb.base/args.exp: Fix regular expression.
14695
8a2dbca8
CV
146962003-03-20 Corinna Vinschen <vinschen@redhat.com>
14697
14698 * gdb.base/help.exp: Allow Win32 child process.
14699
bf028682
CV
147002003-03-20 Corinna Vinschen <vinschen@redhat.com>
14701
14702 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14703 when stepping out of main().
14704
182dbe85
CV
147052003-03-20 Corinna Vinschen <vinschen@redhat.com>
14706
14707 * gdb.base/default.exp: Check for win32 specific message when calling
14708 "run" without executable.
14709
d67a6ba5
CV
147102003-03-20 Corinna Vinschen <vinschen@redhat.com>
14711
14712 * gdb.base/args.exp: Expect .exe in output.
14713
a955b5bb
CV
147142003-03-20 Corinna Vinschen <vinschen@redhat.com>
14715
14716 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14717 Cygwin native.
14718
bf6bad4b
AC
147192003-03-17 Andrew Cagney <cagney@redhat.com>
14720
14721 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14722 vector registes.
14723 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14724 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14725
293e9a31
DC
147262003-03-17 David Carlton <carlton@math.stanford.edu>
14727
14728 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14729 test, for PR breakpoints/38.
14730 Call test_watchpoint_and_breakpoint.
14731 * gdb.base/watchpoint.c (func3): New function.
14732 (main): Call func3.
14733
5330f2db
DC
147342003-03-04 David Carlton <carlton@math.stanford.edu>
14735
14736 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14737 Garply<Garply<char> >:: garply".
14738 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14739 with respect to PR c++/1111; note also PR c++/1113.
14740 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14741 respect to PR c++/1062.
14742 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14743
6ece72da
DC
147442003-03-03 David Carlton <carlton@math.stanford.edu>
14745
14746 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14747 with respect to PR c++/57.
14748 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14749 c++/826.
14750 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14751 respect to PR c++/57.
14752
85ca1584
DC
147532003-03-03 David Carlton <carlton@math.stanford.edu>
14754
14755 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14756 respect to PR c++/33 into FAILs.
14757
98e9c5b8
MC
147582003-03-03 Michael Chastain <mec@shout.net>
14759
7bedbf27
MC
14760 * configure.in: Update copyright years.
14761
147622003-03-03 Michael Chastain <mec@shout.net>
14763
14764 * Makefile.in: Update copyright years.
98e9c5b8 14765
f683e100
DC
147662003-02-28 David Carlton <carlton@math.stanford.edu>
14767
14768 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14769 print class instead of struct and/or superfluous protection
14770 specifiers, as long as the resulting output is equivalent to the
14771 source code.
14772 Delete FIXME from end of messages on tests that don't need
14773 fixing.
14774
a9e0cf2c
DC
147752003-02-28 David Carlton <carlton@math.stanford.edu>
14776
14777 * gdb.c++/templates.exp (do_tests): Allow const in the two
14778 Foo<volatile char *>::foo tests.
14779
e8d359df
MS
147802003-02-27 Michael Snyder <msnyder@redhat.com>
14781
d63a86f8 14782 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14783 will be consistant.
14784
0b71dc91
DC
147852003-02-26 David Carlton <carlton@math.stanford.edu>
14786
14787 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14788 char *>::foo" test with respect to PR c++/33. Create a new test
14789 which is identical to that one except that it doesn't put the
14790 space between the "char" and the "*"; KFAIL it, too.
14791
dd14ab43
DC
147922003-02-26 David Carlton <carlton@math.stanford.edu>
14793
14794 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14795 template types into either PASSes or KFAILs (corresponding to PR
14796 c++/57). Tweak indentation. Update copyright.
14797
1146c7f1
SC
147982003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14799
14800 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14801
74641dfb
MC
148022003-02-13 Michael Chastain <mec@shout.net>
14803
14804 * gdb.base/exprs.exp: Remove i960 remnants.
14805 * gdb.base/funcargs.exp: Likewise.
14806 * gdb.base/list.exp: Likewise.
14807 * gdb.base/ptype.exp: Likewise.
14808
559cd2d0
DC
148092003-02-14 David Carlton <carlton@math.stanford.edu>
14810
14811 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14812 pEe->D::vg()" from XFAIL to KFAIL.
14813
c4f90d87
JM
148142003-02-13 Jason Molenda (jmolenda@apple.com)
14815
14816 * gdb.base/maint.exp: Update maint print statistics regexp to include
14817 new entries.
14818
cbc4d97c
MC
148192003-02-13 Michael Chastain <mec@shout.net>
14820
14821 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14822
40f235b7
MC
148232003-02-12 Michael Chastain <mec@shout.net>
14824
14825 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14826 * gdb.c++/inherit.exp: Likewise.
14827 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14828 * gdb.c++/templates.exp: Likewise.
14829 * gdb.c++/virtfunc.exp: Likewise.
14830
c56716b0
JM
148312003-02-06 Jason Molenda (jason-cl@molenda.com)
14832
14833 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14834 why the code is written that way.
14835
070afcf8
MC
148362003-02-05 Michael Chastain <mec@shout.net>
14837
14838 * gdb.base/dump.exp: Add missing copyright line.
14839
5d0331e5
JM
148402003-02-05 Jason Molenda (jason-cl@molenda.com)
14841
f7ae6d3e 14842 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14843 at the beginning so the breakpoint doesn't get set on the loop.
14844
92851186
MC
148452003-02-05 Michael Chastain <mec@shout.net>
14846
14847 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14848 output for configurations with gcc 2.95.3.
14849
cbf1e085
AC
148502003-02-05 Keith Seitz <keiths@redhat.com>
14851 Andrew Cagney <ac131313@redhat.com>
14852
14853 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14854
29518e1e
MC
148552003-02-04 Michael Chastain <mec@shout.net>
14856
14857 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14858 Call perror and then continue.
14859
5af1d5f3
MC
148602003-02-03 Michael Chastain <mec@shout.net>
14861
14862 * gdb.c++/pr-1023.cc: New file.
14863 * gdb.c++/pr-1023.exp: New file.
14864
6b549786
JB
148652003-02-05 Jim Blandy <jimb@redhat.com>
14866
14867 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14868 it's local to foobar. Check for it there, and check that it's not
14869 present in main.
14870 * gdb.c++/local.cc (marker2): New function.
14871 (foobar): Call marker1.
14872 (main): Call marker2 instead of marker1.
14873
67f16606
AC
148742003-02-04 Andrew Cagney <ac131313@redhat.com>
14875
14876 * gdb.disasm/mn10200.exp: Obsolete file.
14877 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14878 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14879 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14880
1c5cb38e
DC
148812003-02-04 David Carlton <carlton@math.stanford.edu>
14882
14883 * gdb.c++/overload.exp: Test intToChar(1).
14884 * gdb.c++/overload.cc (intToChar): New.
14885 (main): Call intToChar.
14886
d1fe6965
DC
148872003-02-03 David Carlton <carlton@math.stanford.edu>
14888
14889 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14890 'might_kfail' arg.
14891 KFAIL some of the continue_to_bp_overloaded calls, according to
14892 PR c++/1025.
14893
9ba61c5d
MC
148942003-02-01 Michael Chastain <mec@shout.net>
14895
14896 * gdb.base/advance.c (marker1): New marker function.
14897 * gdb.base/advance.exp: When the 'advance' command lands on the
14898 return breakpoint, it can legitimately stop on either the
14899 current line or the next line. Accommodate both outcomes.
14900 * gdb.base/until.exp: Likewise.
14901
e7494ffb
AC
149022003-02-02 Andrew Cagney <ac131313@redhat.com>
14903
14904 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14905 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14906 now a list, not a tuple.
14907 * gdb.mi/mi-var-display.exp: Ditto.
14908 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14909
075559bc
AC
149102003-02-01 Andrew Cagney <ac131313@redhat.com>
14911
14912 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14913 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14914 stack backtraces.
14915 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14916
2bd4c7b1
MK
149172003-02-01 Mark Kettenis <kettenis@gnu.org>
14918
14919 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14920 gdb.mi/mi1-pthreads.exp: Return instead of calling
14921 gdb_suppress_entire_file.
14922
eabd8992
MS
149232003-02-01 Mark Salter <msalter@redhat.com>
14924
14925 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14926
71469e2f
MS
149272003-01-31 Mark Salter <msalter@redhat.com>
14928
14929 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14930 Support empty arg.
14931
38a94d44
MC
149322003-01-30 Michael Chastain <mec@shout.net>
14933
14934 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14935 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14936 has been fixed in gdb/readline on 2003-01-09.
14937
19ea9e73
MS
149382003-01-29 Michael Snyder <msnyder@redhat.com>
14939
e8d359df
MS
14940 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14941 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14942 * gdb.base/args.exp: Skip if target does not support args passing.
14943
2307bd6a
DJ
149442003-01-22 Daniel Jacobowitz <drow@mvista.com>
14945
19ea9e73 14946 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14947 gdb_test. Accept a list of expect arguments as the third
14948 parameter.
14949 (gdb_test): Use it.
14950
f2dd3617
EZ
149512003-01-20 Elena Zannoni <ezannoni@redhat.com>
14952
14953 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14954 allow for different test tree configurations. Update some
14955 tescases accordingly.
14956 * gdb.arch/altivec-regs.exp: Ditto.
14957 * gdb.asm/asm-source.exp: Ditto.
14958 * gdb.base/advance.exp: Ditto.
14959 * gdb.base/display.exp: Ditto.
d63a86f8 14960 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14961 * gdb.base/mips_pro.exp: Ditto.
14962 * gdb.base/overlays.exp: Ditto.
14963 * gdb.base/relocate.exp: Ditto.
14964 * gdb.base/setshow.exp: Ditto.
14965 * gdb.base/step-line.exp: Ditto.
14966 * gdb.base/step-test.exp: Ditto.
14967 * gdb.base/until.exp: Ditto.
14968 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14969
c71cdefd
DC
149702003-01-17 David Carlton <carlton@math.stanford.edu>
14971
14972 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14973 corresponding to PR c++/945.
14974 Update copyright.
14975
fdba05d7
DC
149762003-01-17 David Carlton <carlton@math.stanford.edu>
14977
14978 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14979 corresponding to PR c++/68.
14980
149812003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14982
14983 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14984 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14985 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14986
c362c33a
EZ
149872003-01-15 Elena Zannoni <ezannoni@redhat.com>
14988
0fbc361c
EZ
14989 * gdb.base/break.exp: Fix change of default location, because of
14990 removal of until tests.
14991 * gdb.base/help.exp: Update test for new 'until' help message.
14992 Add test for help on 'advance'.
a9c64011 14993 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14994
dabf8a35
MK
149952003-01-15 Mark Kettenis <kettenis@gnu.org>
14996
14997 * gdb.base/default.exp: Adapt "info float" test for recent changes
14998 to that command. Add test for "info vector".
14999 * gdb.base/float.exp: New file. Add test for "info float" that
15000 resembles the old test in gdb.base/default.exp.
15001
a1769aca
DC
150022003-01-15 David Carlton <carlton@math.stanford.edu>
15003
15004 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15005
82025e13
EZ
150062003-01-15 Elena Zannoni <ezannoni@redhat.com>
15007
15008 * gdb.base/break.exp: Move the tests of until command from here...
15009 * gdb.base/until.exp: ... to here. New file. Add other tests.
15010 * gdb.base/advance.c: New file.
15011 * gdb.base/advance.exp: New file.
15012
8f9ab801
EZ
150132003-01-14 Elena Zannoni <ezannoni@redhat.com>
15014
a9c64011
AS
15015 * gdb.base/args.c: New file.
15016 * gdb.base/args.exp: New file.
8f9ab801 15017
9ae66589
DJ
150182003-01-14 Daniel Jacobowitz <drow@mvista.com>
15019
15020 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15021
8d77e5c3
DJ
150222003-01-14 Daniel Jacobowitz <drow@mvista.com>
15023
15024 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15025
12d2f0a1
DJ
150262003-01-14 Daniel Jacobowitz <drow@mvista.com>
15027
15028 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15029 dates.
15030
6ca37014
DJ
150312003-01-13 Daniel Jacobowitz <drow@mvista.com>
15032
15033 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15034
b0023472
DJ
150352003-01-13 Daniel Jacobowitz <drow@mvista.com>
15036
15037 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15038 (ptype &*"foo").
15039 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15040
607fbc54 150412003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15042
15043 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15044 * gdb.mi/mi1-console.exp: Likewise.
15045
607fbc54 150462003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15047
15048 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15049 * gdb.mi/mi1-console.exp: Likewise.
15050
a1fb14a2
DJ
150512003-01-13 Daniel Jacobowitz <drow@mvista.com>
15052
15053 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15054
c4cf40b7
DJ
150552003-01-09 Daniel Jacobowitz <drow@mvista.com>
15056
15057 * gdb.base/detach.exp: New test.
15058
696d5a5b
DJ
150592003-01-09 Daniel Jacobowitz <drow@mvista.com>
15060
15061 * Makefile.in (ALL_SUBDIRS): New variable.
15062 (subdirs, clean, distclean): Use it.
15063 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15064 regenerating Makefile, since it is generated from the top level.
15065 * gdb.asm/Makefile.in: Likewise.
15066 * gdb.base/Makefile.in: Likewise.
15067 * gdb.c++/Makefile.in: Likewise.
15068 * gdb.disasm/Makefile.in: Likewise.
15069 * gdb.java/Makefile.in: Likewise.
15070 * gdb.mi/Makefile.in: Likewise.
15071 * gdb.threads/Makefile.in: Likewise.
15072 * gdb.trace/Makefile.in: Likewise.
15073
754533e4
DC
150742003-01-09 David Carlton <carlton@math.stanford.edu>
15075
15076 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15077 Add copyright year 2003.
15078
d8b3e9ee
MC
150792003-01-06 Michael Chastain <mec@shout.net>
15080
15081 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15082 When selecting a thread, 'line' and 'file' are optional.
15083 * gdb.mi/mi1-pthreads.exp: Likewise.
15084
8e9e0fe6
AS
150852003-01-06 Andreas Schwab <schwab@suse.de>
15086
15087 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15088 failures.
15089
b5ab8ff3
DJ
150902003-01-04 Daniel Jacobowitz <drow@mvista.com>
15091
15092 Fix PR gdb/844
15093 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15094 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15095
15096 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15097 instead of calling gdb_suppress_entire_file.
15098 * gdb.threads/print-threads.exp: Likewise.
15099 * gdb.threads/schedlock.exp: Likewise.
15100
15101 * gdb.threads/killed.exp: Return instead of calling
15102 gdb_suppress_entire_file.
15103 * gdb.threads/linux-dp.exp: Likewise.
15104 * gdb.threads/pthreads.exp: Likewise.
15105
1e698235
DJ
151062003-01-04 Daniel Jacobowitz <drow@mvista.com>
15107
15108 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15109 stabs.
15110 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15111 * gdb.base/whatis.exp: Always allow (void) after function names.
15112
147ff08c
DJ
151132003-01-04 Daniel Jacobowitz <drow@mvista.com>
15114
15115 * gdb.c++/casts.exp: Correct regexp.
15116
dc62bfc2
MK
151172003-01-04 Mark Kettenis <kettenis@gnu.org>
15118
15119 * configure.in: Call AC_CONFIG_HEADER. Don't call
15120 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15121 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15122 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15123 aforementioned directories in the AC_OUPUT call.
15124 * config.hin: New file.
15125 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15126 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15127 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15128 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15129 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15130 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15131 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15132 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15133 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15134 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15135 gdb.threads/configure.in, gdb.threads/configure,
15136 gdb.threads/config.in, gdb.trace/configure.in,
15137 gdb.trace/configure: Removed.
15138
77afa639
MC
151392003-01-03 Michael Chastain <mec@shout.net>
15140
15141 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15142 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15143
7634bb6e
DJ
151442003-01-03 Daniel Jacobowitz <drow@mvista.com>
15145
15146 * gdb.base/store.exp: Fix regular expressions.
15147
b39c905e
MK
151482002-12-28 Mark Kettenis <kettenis@gnu.org>
15149
15150 * configure.in: Rewrite.
15151 * configure: Regenerated.
15152
0a8551dd
DC
151532003-01-03 David Carlton <carlton@math.stanford.edu>
15154
15155 * gdb.base/psymtab.exp: New file.
15156 * gdb.base/psymtab1.c: Ditto.
15157 * gdb.base/psymtab2.c: Ditto.
15158
c60b7188
AF
151592002-12-23 Adam Fedor <fedor@gnu.org>
15160
15161 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15162
ee73db83
DC
151632002-12-23 David Carlton <carlton@math.stanford.edu>
15164
15165 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15166 and current_directory initialization.
15167
d6c1774e
JB
151682002-12-22 Jim Blandy <jimb@redhat.com>
15169
f0a847b8
JB
15170 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15171 rather than as part of the output file name.
15172
d6c1774e
JB
15173 * gdb.base/attach.exp: There's no need to copy the test program to
15174 /tmp; that was only ever necessary on HP/UX, and this test is
15175 entirely disabled there anyway.
15176
f0708dbb
JB
151772002-12-21 Jim Blandy <jimb@redhat.com>
15178
4c2acfea
JB
15179 * gdb.c++/psmang.exp: Doc fix.
15180
f0708dbb
JB
15181 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15182 test.
15183
9579e000
DC
151842002-12-20 David Carlton <carlton@math.stanford.edu>
15185
15186 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15187
d1810171
MC
151882002-12-18 Michael Chastain <mec@shout.net>
15189
15190 * gdb.c++/annota2.exp: Add copyright year 2002.
15191
76565097
DC
151922002-12-17 David Carlton <carlton@math.stanford.edu>
15193
15194 * gdb.c++/try_catch.cc: Add marker comments.
15195 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15196 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15197 * gdb.c++/m-static.cc: Ditto.
15198 * gdb.c++/m-static1.cc: Ditto.
15199 * gdb.c++/try_catch.cc: Ditto.
15200
da81390b
JJ
152012002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15202
15203 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15204 to see whether we are using the new -environment-directory
15205 command which resets via -r or the old version of the command
15206 which may prompt the user. Part of fix for gdb/741.
15207
b304d130
AC
152082002-12-13 Andrew Cagney <ac131313@redhat.com>
15209
15210 * gdb.fortran/types.exp: Update obsolete comment.
15211 * gdb.fortran/exprs.exp: Ditto.
15212 * lib/gdb.exp: Delete obsolete code.
15213 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15214 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15215 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15216 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15217 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15218 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15219 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15220 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15221 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15222 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15223 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15224 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15225 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15226 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15227 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15228 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15229 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15230 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15231 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15232 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15233 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15234 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15235 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15236 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15237 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15238 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15239 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15240 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15241 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15242 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15243 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15244 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15245 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15246 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15247 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15248 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15249 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15250
a23b6e6a
DC
152512002-12-11 David Carlton <carlton@math.stanford.edu>
15252
15253 * gdb.c++/m-data.exp: Add test for members that shadow global
15254 variables: see PR gdb/804.
15255 * gdb.c++/m-data.cc: Ditto.
15256
6604731b
DJ
152572002-12-10 Daniel Jacobowitz <drow@mvista.com>
15258
15259 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15260
de46ecd7
DC
152612002-12-06 David Carlton <carlton@math.stanford.edu>
15262
15263 * gdb.base/store.c: Don't declare functions static.
15264
27e829d0
AC
152652002-12-04 Andrew Cagney <ac131313@redhat.com>
15266
15267 * gdb.base/store.exp, gdb.base/store.c: New files.
15268
92806416
DJ
152692002-12-03 Daniel Jacobowitz <drow@mvista.com>
15270
15271 * gdb.base/selftest.exp: Update for current gdb.
15272
3bcbaac5
DJ
152732002-12-03 Daniel Jacobowitz <drow@mvista.com>
15274
15275 * gdb.base/maint.exp: Only dump symbols from one source file
15276 or objfile.
15277
f4f00b1f
DJ
152782002-12-03 Daniel Jacobowitz <drow@mvista.com>
15279
15280 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15281 function call.
15282
f1c8a949
JB
152832002-11-25 Jim Blandy <jimb@redhat.com>
15284
15285 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15286 function appearing in error message.
15287
9e297a97
DJ
152882002-11-21 Daniel Jacobowitz <drow@mvista.com>
15289
15290 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15291
1f312e79
JJ
152922002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15293
d63a86f8
RM
15294 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15295 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15296 should be in mi console format. This is part of fix for PR gdb/604.
15297
83c31e7d
FN
152982002-09-18 Fernando Nasser <fnasser@redhat.com>
15299
15300 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15301 which explicitly prints the zero offset as "+0".
15302
322b3f65
DJ
153032002-10-22 Daniel Jacobowitz <drow@mvista.com>
15304
15305 * gdb.threads/schedlock.c (args): Make unsigned.
15306
153072002-10-21 Daniel Jacobowitz <drow@mvista.com>
15308
15309 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15310 numbers. Allow "foo2|selected stack frame".
15311 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15312 * gdb.asm/asmsrc2.s: Likewise.
15313 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15314 comments.
15315 * gdb.asm/mips.inc: New file.
15316
5e2fe5b8
AF
153172002-10-18 Adam Fedor <fedor@gnu.org>
15318
15319 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15320 * gdb.base/help.exp: Likewise.
15321
abe1a5d0
KB
153222002-10-17 Kevin Buettner <kevinb@redhat.com>
15323
15324 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15325 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15326
10abb1d4
JB
153272002-10-02 Jim Blandy <jimb@redhat.com>
15328
15329 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15330
1f609b42
AC
153312002-10-01 Andrew Cagney <ac131313@redhat.com>
15332
15333 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15334 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15335 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15336 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15337 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15338 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15339 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15340
0aee02e4
AC
153412002-09-29 Andrew Cagney <ac131313@redhat.com>
15342
15343 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15344 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15345 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15346 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15347 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15348 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15349 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15350
6fde09ad
KB
153512002-09-27 Kevin Buettner <kevinb@redhat.com>
15352
15353 * gdb.base/annota1.exp (info break): Make directory components of
15354 path optional since not all compilers emit this debug information.
15355
889bf7c5
PA
15356 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15357 step ends up stepping out of the function instead of stopping on
15358 the epilogue.
6fde09ad 15359
9e8aab75
KS
153602002-09-26 Keith Seitz <keiths@redhat.com>
15361
15362 * lib/insight-support.exp (gdbtk_start): Figure out where
15363 the insight executable is based on where gdb is. Use this
15364 executable to start insight instead of gdb.
15365
e36180d7
AC
153662002-09-25 Andrew Cagney <cagney@redhat.com>
15367
15368 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15369
9dd34b2b
AC
153702002-09-24 Andrew Cagney <ac131313@redhat.com>
15371
15372 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15373 test_isolated_complaints.
15374 (test_empty_complaint): New function.
15375 (test_empty_complaints): New function. Check no output when no
15376 complaints.
d63a86f8 15377
dea97812
KB
153782002-09-19 Jim Blandy <jimb@redhat.com>
15379
a9c64011 15380 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15381
54951bd7
AC
153822002-09-19 Andrew Cagney <ac131313@redhat.com>
15383
15384 * gdb.gdb/complaints.exp: New file.
15385
dec43320
AC
153862002-09-18 Andrew Cagney <ac131313@redhat.com>
15387
15388 * gdb.base/maint.exp: Check `help maint internal-warning'.
15389
e70d6e3f
DC
153902002-09-18 David Carlton <carlton@math.stanford.edu>
15391
15392 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15393 numbers, and replace them by a single breakpoint after the
15394 constructors are all finished.
15395 Add test 4.
15396 * gdb.c++/m-static.cc: Add test 4.
15397 * gdb.c++/m-static.h: New file.
15398 * gdb.c++/m-static1.cc: New file.
15399
15400 * gdb.c++/printmethod.exp: New file.
15401 * gdb.c++/printmethod.cc: New file.
15402
15403 * gdb.c++/pr-574.exp: New file.
15404 * gdb.c++/pr-574.cc: New file.
15405
afb5c968
CV
154062002-09-18 Corinna Vinschen <vinschen@redhat.com>
15407
15408 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15409 embedded targets which never actually exit.
15410
31e45dee
FN
154112002-09-18 Fernando Nasser <fnasser@redhat.com>
15412
15413 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15414 "don't step after run" as unresolved or unsupported, instead of xfail.
15415
a283c5a1
CV
154162002-09-18 Corinna Vinschen <vinschen@redhat.com>
15417
15418 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15419 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15420 Add newline to expected string in "step out of main (status wrapper)"
15421 case.
15422
11350d2a
CV
154232002-09-18 Corinna Vinschen <vinschen@redhat.com>
15424
15425 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15426 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15427
0deec7d6
TT
154282002-09-17 Tom Tromey <tromey@redhat.com>
15429
15430 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15431 \000, not \0, in double-quoted string.
15432
b2b4a1b5
CV
154332002-09-14 Corinna Vinschen <vinschen@redhat.com>
15434
c9d37158 15435 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15436 string after running the commands execution on breakpoint tests.
15437
1c56143a
CV
154382002-09-13 Corinna Vinschen <vinschen@redhat.com>
15439
15440 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15441
37f8da45
JB
154422002-09-12 Joel Brobecker <brobecker@gnat.com>
15443
15444 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15445
08b468e0
KS
154462002-09-10 Keith Seitz <keiths@redhat.com>
15447
15448 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15449 runto proc.
15450 (mi_run_to_main): Use mi_runto.
15451 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15452
dc360f58
KS
154532002-09-10 Keith Seitz <keiths@redhat.com>
15454
15455 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15456 regexp for stopping at main. Could have multiple event notifications.
15457 Don't assume that main was declared with no parameters.
15458 (mi_next): Use mi_step_to.
15459 (mi_step): Use mi_next_to.
15460
ce3abcfb
CV
154612002-09-09 Corinna Vinschen <vinschen@redhat.com>
15462
15463 * gdb.base/default.exp: Fix expected string in `info float' test.
15464
d1f5b980
BE
154652002-09-09 Ben Elliston <bje@redhat.com>
15466
15467 * config/mips.exp: Update comments.
15468 * config/mips-idt.exp: Likewise.
15469 * config/nind.exp: Likewise.
15470 * config/slite.exp: Likewise.
15471 * config/sparclet.exp: Likewise.
15472 * config/udi.exp: Likewise.
15473 * config/vx.exp: Likewise.
15474 * config/vxworks29k.exp: Likewise.
15475
2f71430b
JB
154762002-09-05 Jim Blandy <jimb@redhat.com>
15477
15478 * gdb.threads/killed.exp: Fix test failure message.
15479
7ddebc7e
KS
154802002-09-04 Keith Seitz <keiths@redhat.com>
15481
15482 * lib/mi-support.exp: Update copyright.
15483 (mi_gdb_test): Increase the priority of the expected pattern
15484 so that it matches gdb_test.
15485
0ae67eb3
KS
154862002-09-03 Keith Seitz <keiths@redhat.com>
15487
15488 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15489 Use integer comparison instead of string comparison for testing
15490 whether binary was built.
15491
38fc42c8
JB
154922002-09-03 Jim Blandy <jimb@redhat.com>
15493
15494 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15495
b6ff0e81
JB
154962002-08-29 Jim Blandy <jimb@redhat.com>
15497
15498 * gdb.threads/pthreads.exp: Move the portable thread compilation
15499 code into a function in lib/gdb.exp, and call that from here.
15500 * lib/gdb.exp (gdb_compile_pthreads): New function.
15501
07c98896
KS
155022002-08-29 Keith Seitz <keiths@redhat.com>
15503
15504 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15505 expect_out so that callers can get at it.
15506
0312286c
DJ
155072002-08-23 Daniel Jacobowitz <drow@mvista.com>
15508
15509 * gdb.threads/print-threads.c: New file.
15510 * gdb.threads/print-threads.exp: New file.
15511 * gdb.threads/schedlock.c: New file.
15512 * gdb.threads/schedlock.exp: New file.
15513
dd039bc4
EZ
155142002-08-22 Elena Zannoni <ezannoni@redhat.com>
15515
a9c64011
AS
15516 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15517 not altivec.c.
dd039bc4 15518
1f36144c
MK
155192002-08-17 Mark Kettenis <kettenis@gnu.org>
15520
15521 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15522 targets. The problem should be fixed now.
15523
16057ec7 155242002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15525
15526 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15527 2002-07-24 change that removes final dots from error messages.
15528
3c1499ad
TT
155292002-08-13 Tom Tromey <tromey@redhat.com>
15530
15531 * gdb.base/readline.exp: New file.
15532
a20ce2c3
AC
155332002-08-01 Andrew Cagney <ac131313@redhat.com>
15534
15535 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15536 supress message.
15537
db034ac5
AC
155382002-08-01 Andrew Cagney <cagney@redhat.com>
15539
15540 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15541 CHILL_FOR_TARGET and CHILL_LIB.
15542 * configure.in (configdirs): Remove gdb.chill.
15543 * configure: Regenerate.
15544 * lib/gdb.exp: Obsolete references to chill.
15545 * gdb.fortran/types.exp: Ditto.
15546 * gdb.fortran/exprs.exp: Ditto.
15547
3e000b18
KB
155482002-07-30 Kevin Buettner <kevinb@redhat.com>
15549
15550 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15551 set Irix-specific compile and link flags.
15552
28f4966b
KB
155532002-07-29 Kevin Buettner <kevinb@redhat.com>
15554
15555 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15556 source files. The ``-o'' option doesn't work with the ``-E'' option
15557 when using the Irix compiler.
15558
46c0d5a6
DJ
155592002-07-19 Daniel Jacobowitz <drow@mvista.com>
15560
15561 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15562 Improve support for reusing an exec file. Copy exec file
15563 to target, and run gdbserver on the target instead of on the host.
15564
eecf4bed
JB
155652002-07-18 Jim Blandy <jimb@redhat.com>
15566
0f815cdf
JB
15567 * gdb.base/ending-run.exp: Don't expect to see the program end in
15568 some orderly fashion when we're running on a real stand-alone
15569 board.
15570
eecf4bed
JB
15571 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15572 targets that don't support interrupts.
15573
52d309e4
JB
155742002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15575
15576 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15577 systems.
15578 Move comments in expect statements to inside the actions, so that they
15579 don't get matched against.
15580
ff683d9e
MK
155812002-07-10 Mark Kettenis <kettenis@gnu.org>
15582
15583 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15584 function when asleep" test.
15585
b5356753
AC
155862002-07-10 Andrew Cagney <ac131313@redhat.com>
15587
15588 * gdb.base/page.exp: Rewrite to handle problems with very long
15589 `info set' output. Update copyright.
15590
6aa4d13a
AC
155912002-06-26 Andrew Cagney <ac131313@redhat.com>
15592
15593 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15594 gdb.threads-hp.
15595 * gdb.hp/configure: Regenerate.
15596 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15597 * gdb.hp/gdb.threads-hp/configure: Delete file.
15598 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15599
8cf8c2b8
AC
156002002-06-22 Andrew Cagney <ac131313@redhat.com>
15601
15602 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15603 setlocale, bindtextdomain and textdomain.
15604
6827a8f8
JB
156052002-06-11 Jim Blandy <jimb@redhat.com>
15606
919d772c
JB
15607 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15608 preprocessor macro information is present.
15609
6827a8f8
JB
15610 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15611 tests.
15612
c15b0d21
MS
156132002-06-06 Michael Snyder <msnyder@redhat.com>
15614
c5984d70
MS
15615 * gdb.base/overlays.exp: Record addresses of overlay
15616 functions in TCL variables rather than in GDB variables,
15617 to avoid having GDB convert them to pointers (with loss
15618 of information).
15619
d63a86f8 15620 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15621 default linker script changes.
c15b0d21
MS
15622 * gdb.base/long_long.exp: Add check for sizeof (long double).
15623
be26fe0d
ML
156242002-06-06 Michal Ludvig <mludvig@suse.cz>
15625
15626 * gdb.asm/asm-source.exp: Add x86-64 target.
15627 * gdb.asm/x86_64.inc: New.
d63a86f8 15628
258093ca 156292002-05-30 Michael Chastain <mec@shout.net>
258093ca 15630
4b3153f1 15631 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15632 * gdb.c++/m-static.cc: New file.
15633 * gdb.c++/m-static.exp: New file.
15634
241264c6
MS
156352002-05-28 Michael Snyder <msnyder@redhat.com>
15636
15637 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15638 precision.
15639
9bba8c8f 156402002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15641
4b3153f1 15642 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15643 * gdb.c++/m-data.cc: New file.
15644 * gdb.c++/m-data.exp: New file.
15645
156462002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15647
4b3153f1 15648 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15649 * gdb.c++/try_catch.cc: New file.
d63a86f8 15650 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15651
def1b996
MC
156522002-05-27 Michael Chastain <mec@shout.net>
15653
15654 * gdb.c++/local.exp: Accept more nested types in output.
15655
522ba268
MC
156562002-05-26 Michael Chastain <mec@shout.net>
15657
15658 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15659
277254ba
MS
156602002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15661
15662 * lib/gdb.exp (gdb_wrapper_init): Just because
15663 gdb_wrapper_file exists, this does not mean that the file
15664 should not be rebuilt. That is what gdb_wrapper_initialized
15665 is for.
15666 (default_gdb_init): Reset gdb_wrapper_initialized.
15667
b61a8733
MS
156682002-05-23 Michael Snyder <msnyder@redhat.com>
15669
d63a86f8 15670 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15671 the precision of the floating point test results.
15672 * gdb.base/call-rt-st.exp: Ditto.
15673
b61a8733
MS
15674 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15675 * gdb.base/call-rt-st.exp: Ditto.
15676
56f6e910
MC
156772002-05-19 Michael Chastain <mec@shout.net>
15678
15679 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15680
ad0b0016
EZ
156812002-05-19 Elena Zannoni <ezannoni@redhat.com>
15682
a9c64011
AS
15683 * configure.in (configdirs): Add gdb.arch.
15684 * configure: Regenerate.
ad0b0016 15685
f617d2b6
JB
156862002-05-17 Jim Blandy <jimb@redhat.com>
15687
15688 * gdb.base/completion.exp: Recognize the more detailed error
15689 messages produced by the macro expander's lexical analyzer.
15690
eac2a696
EZ
156912002-05-14 Elena Zannoni <ezannoni@redhat.com>
15692
a9c64011
AS
15693 * gdb.arch/altivec-abi.c: New file.
15694 * gdb.arch/altivec-abi.exp: New file.
15695 * gdb.arch/altivec-regs.c: New file.
15696 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15697
2fdde8f8
DJ
156982002-05-14 Daniel Jacobowitz <drow@mvista.com>
15699
15700 * gdb.base/maint.exp (maint print type): Update for new type
15701 structure.
d63a86f8 15702
e31f1a7c
EZ
157032002-05-14 Elena Zannoni <ezannoni@redhat.com>
15704
15705 * gdb.arch: New directory.
15706 * gdb.arch/configure.in: New file.
15707 * gdb.arch/configure: New file.
15708 * gdb.arch/Makefile.in: New file.
15709
db589741
CV
157102002-05-13 Corinna Vinschen <vinschen@redhat.com>
15711
15712 * gdb.asm/asm-source.exp: Add v850 as supported target.
15713 * gdb.asm/v850.inc: New file.
15714
8ce2a7dc
DJ
157152002-05-13 Daniel Jacobowitz <drow@mvista.com>
15716
15717 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15718
df763c7f
DJ
157192002-05-12 Daniel Jacobowitz <drow@mvista.com>
15720
15721 * gdb.base/break.exp: Check 'break "marker2"'.
15722
377daeed
MS
157232002-05-10 Michael Snyder <msnyder@redhat.com>
15724
15725 * gdb.base/long_long.exp: Fix typo.
15726
c4b7bc2b
JB
157272002-05-10 Jim Blandy <jimb@redhat.com>
15728
ecac9a4e
JB
15729 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15730 a bug.
15731
c4b7bc2b
JB
15732 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15733 Recognize more detailed error message produced by the macro
15734 expander's lexical analyzer.
15735 * lib/gdb.exp (test_print_reject): Same.
15736
e71019a1
MK
157372002-05-09 Mark Kettenis <kettenis@gnu.org>
15738
15739 * gdb.c++/method.exp: Fix typo.
15740
fedfc8e6
MS
157412002-05-08 Michael Snyder <msnyder@redhat.com>
15742
166a1957
MS
15743 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15744 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15745 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15746 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15747 Add iftarget clause for strongarm.
d63a86f8 15748
f1c47eb2
MS
157492002-05-06 Michael Snyder <msnyder@redhat.com>
15750
cb9a9d3e
MS
15751 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15752 (gdb_continue_to_end): Accept output from status wrapper.
15753 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15754 Clean up fail messages to match pass messages.
15755
f1c47eb2
MS
15756 Enable the "needs_status_wrapper" testsuite feature.
15757 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15758 (gdb_compile): Conditionally call gdb_wrapper_init.
15759 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15760 * gdb.c++/method.exp: Recognize output from status wrapper.
15761
6079c749
BE
157622002-05-06 Ben Elliston <bje@redhat.com>
15763From Graydon Hoare <graydon@redhat.com>
15764
15765 * config/sid.exp: Include support for "rawsid" protocol.
15766
188baff3
JB
157672002-05-03 Jim Blandy <jimb@redhat.com>
15768
15769 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15770 * gdb.c++/hang3.C: New file.
15771
b9c07f0f
AC
157722002-05-04 Andrew Cagney <ac131313@redhat.com>
15773
15774 * gdb.base/default.exp: Remove obsolete code.
15775 * gdb.c++/misc.exp: Ditto. Update copyright.
15776 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15777 * gdb.base/whatis.exp: Ditto. Update copyright.
15778 * gdb.base/scope.exp: Ditto. Update copyright.
15779 * gdb.base/ptype.exp: Ditto. Update copyright.
15780 * gdb.base/printcmds.exp: Ditto. Update copyright.
15781 * gdb.base/opaque.exp: Ditto. Update copyright.
15782 * gdb.base/list.exp: Ditto.
15783 * gdb.base/funcargs.exp: Ditto. Update copyright.
15784 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15785 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15786 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15787 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15788 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15789 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15790
5c7a0397
MS
157912002-05-02 Michael Snyder <msnyder@redhat.com>
15792
d6dcc264 15793 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15794 * gdb.base/long_long.exp: Add xscale target.
15795 * gdb.base/default.exp: Add xscale target.
15796
eb7f1c48
JB
157972002-05-01 Jim Blandy <jimb@redhat.com>
15798
15799 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15800 gdb.c++/hang.exp: New test.
15801
a6befae8
FF
158022002-05-01 Fred Fish <fnf@redhat.com>
15803
15804 * gdb.base/completion.exp: Handle completions of "./Make" for
15805 more than one completion possibility, as is the case when we
15806 build and test in the source tree.
15807
0a310277
AG
158082002-04-29 Anthony Green <green@redhat.com>
15809
15810 * gdb.java/jmisc1.exp: New file.
15811 * gdb.java/jmisc2.exp: New file.
15812
6ff9af88
DJ
158132002-04-24 Daniel Jacobowitz <drow@mvista.com>
15814
15815 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15816
96b3d632
EZ
158172002-04-23 Elena Zannoni <ezannoni@redhat.com>
15818
15819 * gdb.base/help.exp: Change 'help status' to allow for target
15820 dependent output differences.
15821
5019bb54
MC
158222002-04-22 Michael Chastain <mec@shout.net>
15823
15824 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15825
a805a116
MC
158262002-04-22 Michael Chastain <mec@shout.net>
15827
15828 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15829
a1706bfd
DM
158302002-04-17 David S. Miller <davem@redhat.com>
15831
15832 * gdb.asm/sparc64.inc: New file.
15833 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15834
a73a20a2
EZ
158352002-04-19 Elena Zannoni <ezannoni@redhat.com>
15836
15837 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15838 instruction file directly into the build tree. Clean up at end of
15839 test.
15840
ba678339
DM
158412002-04-18 David S. Miller <davem@redhat.com>
15842
15843 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15844 handle 64-bit platforms correctly.
15845 * gdb.base/maint.exp: Likewise.
15846
b03399da
KB
158472002-04-18 Kevin Buettner <kevinb@redhat.com>
15848
15849 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15850 ``-fpic'' when compiling files comprising a shared library, but
15851 it does need additional linker flags in order to find shared
15852 libraries at run time.
15853
e2004992
KB
158542002-04-18 Kevin Buettner <kevinb@redhat.com>
15855
15856 * gdb.base/cvexpr.c (use): New function.
15857 (main): Invoke use() on all global variables to prevent
15858 some linkers from deleting these otherwise unused symbols.
15859
d8937120
MC
158602002-04-17 Michael Chastain <mec@shout.net>
15861From David S. Miller <davem@redhat.com>
15862
15863 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15864 handle 64-bit platforms correctly.
15865
ffd61a58
MS
158662002-04-12 Michael Snyder <msnyder@redhat.com>
15867From Jim Blandy <jimb@redhat.com>
a9c64011 15868 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15869 script can handle this instead.
15870 * gdb.base/bar.c (barx): Same.
15871 * gdb.base/baz.c (bazx): Same.
15872 * gdb.base/grbx.c (grbxx): Same.
15873
15874 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15875 manager doesn't automatically unmap overlays unnecessarily.
15876
6b8426a6
MH
158772002-04-10 Martin M. Hunt <hunt@redhat.com>
15878
15879 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15880 stepping out of main.
15881
34af4875
MC
158822002-04-09 Michael Chastain <mec@shout.net>
15883
15884 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15885 scope so that the nested scope tests will make sense.
15886 * gdb.c++/local.exp: Write patterns that actually work with gcc
15887 (the HP patterns "were never known to work with gcc").
15888 Keep the old aCC patterns too.
15889
2d1676a0
DJ
158902002-04-09 Daniel Jacobowitz <drow@mvista.com>
15891
15892 * gdb.base/attach.exp: Correct target board test.
15893
3a63e3f9
MC
158942002-04-08 Michael Chastain <mec@shout.net>
15895
15896 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15897 in a const method. Add some xfail and fail cases for configurations
15898 that do not emit the "const ...".
15899
f18dabd2
MC
159002002-04-07 Michael Chastain <mec@shout.net>
15901
15902 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15903 Accept "A * const" and "const A * const" as type of "this".
15904 Fix spelling of getFunky throughout. Make messages uniform.
15905
0fcddd82
EZ
159062002-04-07 Elena Zannoni <ezannoni@redhat.com>
15907
a9c64011 15908 Work around for PR gdb/285:
0fcddd82
EZ
15909 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15910
16a8534a
EZ
159112002-04-07 Elena Zannoni <ezannoni@redhat.com>
15912
15913 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15914 instructions file at run time instead of configure time.
15915 Sometimes we run the test in a directory that is not the one we
15916 configured in.
15917 * gdb.asm/configure.in: Delete creation of symlink.
15918 * gdb.asm/configure: Regenerate.
15919
24181d81
JB
159202002-04-05 J. Brobecker <brobecker@gnat.com>
15921
15922 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15923 xfullpath () function.
15924
7cdb7107
DJ
159252002-04-04 Daniel Jacobowitz <drow@mvista.com>
15926
15927 * gdb.asm/Makefile.in: Correct dependencies.
15928
15929 * gdb.asm/powerpc.inc: New file.
15930 * gdb.asm/asm-source.exp: Add PowerPC.
15931 * gdb.asm/configure.in: Likewise.
15932 * gdb.asm/configure: Regenerated.
15933
a7d17088
DJ
159342002-04-04 Daniel Jacobowitz <drow@mvista.com>
15935
15936 * gdb.base/relocate.exp: New file.
15937 * gdb.base/relocate.c: New file.
15938
cd721503
FF
159392002-04-04 Fred Fish <fnf@redhat.com>
15940
15941 * gdb.base/step-test.exp: Update comment regarding stopping in
15942 memcpy/bcopy calls inserted as part of the compiler runtime.
15943
b22ad7a7
MS
159442002-04-04 Michael Snyder <msnyder@redhat.com>
15945
15946 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15947
5f279fa6
DJ
159482002-04-03 Daniel Jacobowitz <drow@mvista.com>
15949
15950 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15951 (gdb_expect): Remove $notransfer hack.
15952
dd0fd3ce
DJ
159532002-04-02 Daniel Jacobowitz <drow@mvista.com>
15954
15955 * gdb.c++/classes.exp ("calling method for small class"): Match
15956 updated register output.
15957
1e50cda1
DJ
159582002-03-30 Daniel Jacobowitz <drow@mvista.com>
15959
15960 Fix PR gdb/452
15961 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15962 when finished. Make gdb_file_cmd send "exec-file" when
15963 appropriate.
15964
24015922
DJ
159652002-03-30 Daniel Jacobowitz <drow@mvista.com>
15966
15967 * gdb.base/attach.exp: Remove extra setup_xfail.
15968
dd7dfd64
MS
159692002-03-26 Michael Snyder <msnyder@redhat.com>
15970
15971 * gdb.base/default.exp: Add tests for dump, append, and restore.
15972 * gdb.base/help.exp: Add tests for dump, append, and restore.
15973 * gdb.base/dump.exp: New file, test dump, append and restore.
15974 * gdb.base/dump.c: New file.
15975
48b2f8d7
MS
159762002-03-27 Michael Snyder <msnyder@redhat.com>
15977
d63a86f8 15978 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15979 clean-ups in help messages.
15980
05b4d525
FF
159812002-03-26 Fred Fish <fnf@redhat.com>
15982
15983 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15984 have debugging info for those functions and the compiler uses them
15985 internally to copy structs around.
15986
d7679631
FF
159872002-03-26 Fred Fish <fnf@redhat.com>
15988
15989 * gdb.base/list.exp: Revert the change made yesterday and add note
15990 about why we don't list the default lines for remote targets.
15991
523ac3f9
MS
159922002-03-25 Michael Snyder <msnyder@redhat.com>
15993
15994 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15995
754b2b8d
FF
159962002-03-25 Fred Fish <fnf@redhat.com>
15997
15998 * gdb.base/list.exp: This test works on remote targets so remove
15999 the short circuit for remote targets. Update copyright.
16000
33c3e192
FF
160012002-03-25 Fred Fish <fnf@redhat.com>
16002
16003 * gdb.base/attach.exp: Fix logic error that was suppressing this
16004 test for all non hppa*-*-hpux* targets, instead of the hp target.
16005 Move comments closer to the suppression point. Also now need to
16006 check that we are running natively.
16007
d43e73ee
MS
160082002-03-22 Michael Snyder <msnyder@redhat.com>
16009
882c8f02
MS
16010 * gdb.base/default.exp: Add test for gcore. Update copyright.
16011 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 16012
04c12f60
FF
160132002-03-06 Fred Fish <fnf@redhat.com>
16014
16015 * gdb.base/funcargs.c: Remove extraneous ';' character.
16016 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16017
b43df995
MC
160182002-03-04 Michael Chastain <mec@shout.net>
16019
16020 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16021 accommodate gcc v3 function signature.
16022 * gdb.mi/mi0-var-cmd-exp: Ditto.
16023
92362027
AC
160242002-02-24 Andrew Cagney <ac131313@redhat.com>
16025
16026 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16027 ``GNU/Linux'' or ``Linux kernel''
16028 * testsuite/gdb.threads/pthreads.c: Ditto.
16029
258ad32d
MC
160302002-02-24 Michael Chastain <mec@shout.net>
16031
16032 * gdb.threads/pthreads.c (thread1): Add a return statement.
16033 (thread2): Likewise.
16034 (foo): Likewise.
16035
04c3b3d4
MC
160362002-02-23 Michael Chastain <mec@shout.net>
16037
16038 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16039 to placate gcc.
16040
5a2a0a20
MC
160412002-02-23 Michael Chastain <mec@shout.net>
16042
16043 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16044 test "ptype bint". The test passes on all my stabs configurations.
16045
a640f7fc
JB
160462002-02-21 Jim Blandy <jimb@redhat.com>
16047
27924826
JB
16048 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16049 filename at a time, and watch for the ones we want to see.
16050
a640f7fc
JB
16051 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16052 types of pointers to prototyped functions.
16053
edcc8c75
AC
160542002-02-20 Andrew Cagney <ac131313@redhat.com>
16055
16056 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16057 signed, unsigned and straight char.
16058 (padding_char, padding_short, padding_int, padding_long,
16059 padding_long_long, padding_float, padding_double,
16060 padding_long_double): New global variables.
16061 (fill, fill_structs): New functions.
16062
16063 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16064 for correctly sized writes. Update copyright.
16065 (get_valueof): New procedure.
16066 (get_sizeof): Call get_valueof.
16067 (check_valueof): New procedure.
16068 (check_padding): New procedure.
16069
ac57ea44
MC
160702002-02-20 Michael Chastain <mec@shout.net>
16071
16072 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16073 to setup_xfail. Document some of the remaining calls.
16074
7a10c941
MC
160752002-02-18 Michael Chastain <mec@shout.net>
16076
16077 * gdb.c++/userdef.exp: Update copyright year.
16078
fb8acdcc
DJ
160792002-02-18 Daniel Jacobowitz <drow@mvista.com>
16080
16081 * gdb.c++/userdef.exp: Test overloaded operators properly.
16082 Remove xfails.
16083
fda6ae12
MS
160842002-02-14 Michael Snyder <msnyder@redhat.com>
16085
16086 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16087
676a0442
DJ
160882002-02-14 Daniel Jacobowitz <drow@mvista.com>
16089
16090 * gdb.base/a2-run.exp: Check for a remote target properly.
16091 * gdb.base/annota1.exp: Likewise.
16092 * gdb.base/list.exp: Likewise.
16093 * gdb.base/reread.exp: Likewise.
16094 * gdb.base/scope.exp: Likewise.
16095 * gdb.base/shlib-call.exp: Likewise.
16096 * gdb.base/term.exp: Likewise.
16097 * gdb.c++/annota2.exp: Likewise.
16098
78b4f468
RE
160992002-02-13 Richard Earnshaw <rearnsha@arm.com>
16100
16101 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16102
9a81ba51
MC
161032002-02-10 Michael Chastain <mec@shout.net>
16104
16105 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16106 (call_after_alloca): Ditto.
16107
004af6c7
DJ
161082002-02-10 Daniel Jacobowitz <drow@mvista.com>
16109
16110 * gdb.base/ending-run.exp: Guard "cont" test with
16111 gdb_skip_stdio_test.
16112
37225f62
JB
161132002-02-06 Jim Blandy <jimb@redhat.com>
16114
16115 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16116 from here...
16117 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16118 To here. Disable this test on non-HP platforms. Add big comment.
16119
fe6fdd96
MS
161202002-02-04 Michael Snyder <msnyder@redhat.com>
16121
16122 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16123 other than d10v and m32r.
16124
036fad3f
RE
161252002-02-02 Richard Earnshaw <rearnsha@arm.com>
16126
16127 * gdb.base/default.exp: Rewrite test patterns to reduce time
16128 taken to match them.
16129
7148ab62
DJ
161302002-01-30 Daniel Jacobowitz <drow@mvista.com>
16131
16132 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16133 Allow a start function above main.
16134 * gdb.threads/linux-dp.exp: Fix copyright date.
16135
396cc255
DJ
161362002-01-30 Daniel Jacobowitz <drow@mvista.com>
16137
a9c64011
AS
16138 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16139 (check_philosopher_stack): Check for manager thread before checking
16140 for a just-starting thread.
396cc255 16141
f038d31b
DJ
161422002-01-30 Daniel Jacobowitz <drow@mvista.com>
16143
16144 From Neil Booth <neil@daikokuya.demon.co.uk>:
16145 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16146 warnings.
16147
b3ff9d9a
FF
161482002-01-21 Fred Fish <fnf@redhat.com>
16149
16150 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16151 not caller.
16152
39ad761d
JB
161532002-01-21 Jim Blandy <jimb@redhat.com>
16154
16155 * gdb.base/reread.exp: Check that GDB properly re-reads the
16156 executable file when it changes while no inferior is running.
16157
aaf320fa
FF
161582002-01-21 Fred Fish <fnf@redhat.com>
16159
a9c64011
AS
16160 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16161 optionally accept the "shlib events" variation.
aaf320fa 16162
808a31f5
JB
161632002-01-21 Jim Blandy <jimb@redhat.com>
16164
16165 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16166 call `fflush' after every `printf', so that the output is produced
16167 at predictable points, regardless of whatever buffering does (or
16168 doesn't) take place.
16169 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16170 at different points.
16171
4420d5e2
DJ
161722002-01-20 Daniel Jacobowitz <drow@mvista.com>
16173
16174 * gdb.c++/inherit.exp: Update copyright years.
16175 * gdb.c++/method.exp: Likewise.
16176
3e36a0f4
DJ
161772002-01-20 Daniel Jacobowitz <drow@mvista.com>
16178
16179 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16180 artificial methods/arguments.
16181 * gdb.c++/derivation.exp: Likewise.
16182 * gdb.c++/inherit.exp: Likewise.
16183 * gdb.c++/method.exp: Likewise.
16184 * gdb.c++/virtfunc.exp: Likewise.
16185
b4ceaee6
AC
161862002-01-18 Andrew Cagney <ac131313@redhat.com>
16187
16188 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16189 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16190 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16191 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16192 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16193 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16194
ecace851
JB
161952002-01-17 Jim Blandy <jimb@redhat.com>
16196
16197 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16198 anchoring the pattern matching the entry point symbol's name.
16199
375fc983
AC
162002002-01-17 Andrew Cagney <ac131313@redhat.com>
16201
16202 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16203 continue/quit query. Update copyright.
16204
fe6fdd96
MS
162052002-01-14 Michael Snyder <msnyder@redhat.com>
16206
16207 * gdb.base/gcore.exp: Remove extra debugging output.
16208
e017c81f
DJ
162092002-01-13 Daniel Jacobowitz <drow@mvista.com>
16210
16211 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16212 for slightly dubious v2 mangled string.
16213
37ab3bf8
DJ
162142002-01-13 Daniel Jacobowitz <drow@mvista.com>
16215
16216 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16217
1bc05c3a 162182002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16219
1bc05c3a 16220 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16221
1bc05c3a
JM
16222 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16223 constructors.
16224 * gdb.c++/derivation.exp: Likewise.
16225 * gdb.c++/templates.exp: Likewise.
16226 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16227
1bc05c3a
JM
162282002-01-10 Michael Snyder <msnyder@redhat.com>
16229
16230 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16231
a911c360
MS
162322002-01-08 Michael Snyder <msnyder@redhat.com>
16233
16234 * gdb.base/gcore.exp: New test for generate-core-file command.
16235 * gdb.base/gcore.c: Testcase for above.
16236 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16237
ea2119ec
JM
162382002-01-08 Jason Merrill <jason@redhat.com>
16239
16240 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16241
68203136
FF
162422002-01-07 Fred Fish <fnf@redhat.com>
16243
16244 * gdb.c++/overload.exp: Remove unconditional xfails for:
16245 print foo_instance1.overloadargs(1)
16246 print foo_instance1.overloadargs(1, 2)
16247 print foo_instance1.overloadargs(1, 2, 3)
16248 print foo_instance1.overloadargs(1, 2, 3, 4)
16249 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16250 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16251 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16252 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16253 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16254 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16255 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16256 print foo_instance1.overload1arg()
16257 print foo_instance1.overload1arg((char)arg2)
16258 print foo_instance1.overload1arg((signed char)arg3)
16259 print foo_instance1.overload1arg((unsigned char)arg4)
16260 print foo_instance1.overload1arg((int)arg7)
16261 print foo_instance1.overload1arg((unsigned int)arg8)
16262 print foo_instance1.overload1arg((float)arg11)
16263 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16264
21b9b5b1
MS
162652002-01-07 Michael Snyder <msnyder@redhat.com>
16266
16267 * gdb.base/huge.exp: New test. Print a very large target data object.
16268 (skip_huge_test): New test variable. Define if you want to skip this
16269 test. The test reads an 8 megabyte data object from the target, so it
16270 might be very time consuming on remote targets with a slow connection.
16271 * gdb.base/huge.c: New file. Test case for above.
16272
725f922e
FF
162732002-01-07 Fred Fish <fnf@redhat.com>
16274
16275 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16276 g_instance.bfoo, and g_instance.cfoo.
16277
889bf7c5 162782002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16279
889bf7c5
PA
16280 * gdb.base/break.c (multi_line_if_conditional): New function.
16281 (multi_ilne_while_conditional): Likewise.
16282 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16283 IF or WHILE condition puts the breakpoint at the start of
16284 the condition.
f286b2c3 16285
634d57ec
JL
16286 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16287 hppa*-*-hpux* expected failure.
16288 * gdb.base/structs.exp (do_function_calls): Similarly.
16289
16290 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16291 watchpoints.
16292
9fbfe2dc
AC
162932002-01-06 Andrew Cagney <ac131313@redhat.com>
16294
16295 Fix PR gdb/66.
16296 * gdb.base/structs.exp: Replace skip for a29k with skip for
16297 gdb,cannot_call_functions.
16298 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16299 * gdb.base/callfuncs.exp: Ditto.
16300 * gdb.base/call-rt-st.exp: Ditto.
16301 * gdb.base/call-strs.exp: Ditto.
16302 * gdb.base/callfwmall.exp: Ditto.
16303 * gdb.base/scope.exp: Obsolete xfail a29k.
16304 * gdb.c++/misc.exp: Ditto.
16305 * gdb.c++/cplusfuncs.exp: Ditto.
16306 * gdb.base/ptype.exp: Ditto.
16307 * gdb.base/printcmds.exp: Ditto.
16308 * gdb.base/opaque.exp: Ditto.
16309 * gdb.base/list.exp: Ditto.
16310 * gdb.base/funcargs.exp: Ditto.
16311 * gdb.base/default.exp: Ditto.
16312
8ddad156
MS
163132002-01-04 Michael Snyder <msnyder@redhat.com>
16314
ca4976a6 16315 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16316 * gdb.base/maint.exp: Add tests for maint info sections options.
16317
1b074332
JL
16318Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16319
16320 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16321
7d159115
CV
163222001-12-20 Corinna Vinschen <vinschen@redhat.com>
16323
16324 * gdb.asm/arm.inc: New file.
16325 * gdb.asm/asm-source.exp: Add arm targets.
16326 * gdb.asm/configure.in: Ditto.
16327 * gdb.asm/configure: Recreated from configure.in.
16328
8fb87725
JL
16329Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16330
afabe08c
JL
16331 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16332 with HP's compiler.
16333 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16334 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16335 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16336 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16337
16338 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16339 either HP's compilers or GCC.
16340
db521deb
JL
16341 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16342 a SIGBUS or SIGSEGV.
16343
16344 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16345
16346 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16347 can be compiled with either HP's compiler or GCC.
16348
cfa88ab7
JL
16349 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16350 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16351 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16352
ca344dff
JL
16353 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16354 to match current gdb output. Update due to using auto-solib-limit
16355 for limiting instead of overloading auto-solib-add.
16356 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16357 test program.
16358
3f3c6e55 16359 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16360 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16361 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16362 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16363 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16364 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16365 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16366 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16367 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16368 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16369 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16370 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16371 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16372
8fb87725
JL
16373 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16374 a SIGTRAP to the inferior.
16375
cf599fa7
CV
163762001-12-19 Corinna Vinschen <vinschen@redhat.com>
16377
16378 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16379 Substitute call to target_link by call to gdb_compile.
16380
2cd045cd
JL
16381Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16382
a9c64011
AS
16383 * gdb.base/break.exp: Fix HP specific search string when testing
16384 backtracing in a called function.
2cd045cd 16385
a9c64011
AS
16386 * gdb.base/constvars.exp: Only set lang to C++ if we're
16387 compiling the test with HP's compilers.
16388 * gdb.base/volatile.exp: Similarly.
2cd045cd 16389
99ebe9ac
JB
163902001-12-19 Jim Blandy <jimb@redhat.com>
16391
16392 * gdb.base/printcmds.exp: Expect the null character to be printed
16393 as '\0', and the '\013' to be printed as '\v'.
16394 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16395 * gdb.base/setvar.exp: Same.
16396
b9891b29
JB
163972001-12-17 Jim Blandy <jimb@redhat.com>
16398
0eba65ab
JB
16399 * gdb.base/completion.exp: Rather than completing very long
16400 filenames, which can make the readline library produce output we
16401 don't recognize, cd to the directory first, and then complete
16402 using nice, short relative paths.
16403
6970b5b1
JB
16404 * gdb.base/completion.exp: On some systems, there is, in fact, a
16405 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16406 variables as being in scope. So use `no_var_named_this'
16407 instead of `b'.
6970b5b1 16408
b9891b29 16409 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16410 can't find the core file's registers as a failure.
b9891b29 16411
e6ccd35f
JSC
164122001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16413
a9c64011
AS
16414 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16415 test expect string more specific.
e6ccd35f 16416
105ba819
CV
164172001-12-13 Corinna Vinschen <vinschen@redhat.com>
16418
16419 * gdb.asm/asm-source.exp: Add support for xstormy16.
16420 * gdb.asm/configure.in: Ditto.
16421 * gdb.asm/configure: Rebuild.
16422 * gdb.asm/xstormy16.inc: New file.
16423
e9e79dd9
FF
164242001-12-10 Fred Fish <fnf@redhat.com>
16425
16426 * gdb.base/maint.exp: Update to match changes in type dumping code.
16427
347dc97d
JB
164282001-12-10 Jim Blandy <jimb@redhat.com>
16429
16430 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16431 matching the entry point symbol's name at the beginning of the
16432 line.
347dc97d 16433
5178b9d6
DJ
164342001-12-07 Daniel Jacobowitz <drow@mvista.com>
16435
16436 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16437 gdb.c++/inherit.exp, gdb.c++/method.exp,
16438 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16439 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16440 and class layout support.
16441
af890c52
DJ
164422001-12-07 Daniel Jacobowitz <drow@mvista.com>
16443
16444 * gdb.c++/classes.exp: Add test for static member function.
16445 * gdb.c++/misc.cc: Add class with static member function.
16446
7a345fb3
JB
164472001-12-07 Jim Blandy <jimb@redhat.com>
16448
f2e54a80 16449 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16450 those tests as `unsupported'.
16451 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16452 Rewrite subsequent tests to use it.
16453
16454 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16455 those tests as `unsupported'.
16456 * gdb.base/structs.exp (call_struct_func): New function.
16457 (do_function_calls): Use call_struct_func to call the functions
16458 returning structs.
16459
0bc69509
JB
16460 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16461 whether functions are prototyped or not, so we can't possibly pass
16462 arguments to t_float_values2 properly.
16463
7a345fb3
JB
16464 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16465 value of `timeout' for targets other than the mips*tx39-*.
16466
edb6ede1
MS
164672001-12-06 Michael Snyder <msnyder@redhat.com>
16468
d63a86f8 16469 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16470 and detect whether the start symbol has a leading underscore.
16471
2d842f13
JB
164722001-12-04 Jim Blandy <jimb@redhat.com>
16473
16474 * gdb.base/completion.exp: Clarify indentation.
16475
68550daf
JB
164762001-12-03 Jim Blandy <jimb@redhat.com>
16477
16478 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16479 variables on the S/390, not `.word'.
16480
cd5195a8
JB
164812001-11-30 Jim Blandy <jimb@redhat.com>
16482
16483 Add assembly-source tests for s390-ibm-linux.
16484 * gdb.asm/s390.inc: New file.
16485 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16486 the S/390 architecture.
a9c64011 16487 * gdb.asm/configure: Regenerated.
cd5195a8 16488
ca9efc90
MS
164892001-11-30 Michael Snyder <msnyder@redhat.com>
16490
16491 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16492 next, info source, info sources, info line, global and static
16493 variables, and static functions.
16494 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16495 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16496 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16497 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16498 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16499 (gdbasm_leave): Restore frame pointer.
16500 (gdbasm_startup): Copy stack set-up from crt0.S.
16501
d0e66976
FN
165022001-11-26 Fernando Nasser <fnasser@redhat.com>
16503
16504 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16505 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16506 to a local (non-static) variable. Copy tstruct.a to a static buffer
16507 and return a pointer to that buffer.
16508 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16509
e2334072
MK
165102001-11-24 Mark Kettenis <kettenis@gnu.org>
16511
16512 * gdb.asm/configure.in: Fix recognition of ix86 target.
16513 * gdb.asm/configure: Regenerate.
16514
756caa3d
MS
165152001-11-21 Michael Snyder <msnyder@redhat.com>
16516
16517 * gdb.asm/sparc.inc: New file.
16518 * gdb.asm/asm-source.exp: Recognize sparc target.
16519 * gdb.asm/configure.in: Recognize sparc target.
16520 * gdb.asm/configure: Regenerate.
d63a86f8 16521
9a4d72d5
MS
165222001-11-21 Michael Snyder <msnyder@redhat.com>
16523
16524 * gdb.asm/m32r.inc: New file.
16525 * gdb.asm/asm-source.exp: Recognize m32r target.
16526 * gdb.asm/configure.in: Recognize m32r target.
16527 * gdb.asm/configure: Regenerate.
16528
a773d1cd
MS
165292001-11-20 Michael Snyder <msnyder@redhat.com>
16530
017ac23d
MS
16531 * gdb.asm/i386.inc: New file.
16532 * gdb.asm/asm-source.exp: Recognize ix86 target.
16533 * gdb.asm/configure.in: Recognize ix86 target.
16534 * gdb.asm/configure: Regenerate.
16535
a773d1cd
MS
16536 * gdb.c++/namespace.exp: Fix quotes in output messages.
16537
bb632afb
MS
165382001-11-14 Michael Snyder <msnyder@redhat.com>
16539
25d559ca 16540 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16541 qualifier in a type cast expression, to designate an address
16542 in the instruction space (Harvard architecture).
16543
4749e309
MS
165442001-11-13 Michael Snyder <msnyder@redhat.com>
16545
16546 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16547 Tests for expressions using 'const' and 'volatile'.
16548
25050984
CV
165492001-11-13 Corinna Vinschen <vinschen@redhat.com>
16550
16551 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16552
1902c51f
DJ
165532001-11-12 Daniel Jacobowitz <drow@mvista.com>
16554
16555 * lib/mi-support.exp (mi_run_to_helper): Move comments
16556 outside of gdb_expect.
16557
dcf95b47
DJ
165582001-11-11 Daniel Jacobowitz <drow@mvista.com>
16559
16560 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16561 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16562 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16563 mi0_run_to): New functions.
16564 * gdb.mi/mi-simplerun.exp: Use them.
16565 * gdb.mi/mi0-simplerun.exp: Likewise.
16566 * gdb.mi/mi-var-cmd.exp: Likewise.
16567 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16568
45b074e1
AC
165692001-11-10 Andrew Cagney <ac131313@redhat.com>
16570
16571 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16572 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16573
bf50d346
AC
165742001-11-09 Andrew Cagney <ac131313@redhat.com>
16575
16576 * gdb.base/restore.exp: Include $expected value in restored test
16577 message.
16578
9383332c
AC
165792001-11-09 Andrew Cagney <ac131313@redhat.com>
16580
16581 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16582 implemented.
16583
db62520a
MS
165842001-11-08 Michael Snyder <msnyder@redhat.com>
16585
16586 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16587 Add pass/fail message for stop at breakpoint in call dummy function.
16588
b5703437
MS
165892001-11-07 Michael Snyder <msnyder@redhat.com>
16590
d63a86f8
RM
16591 * gdb.c++/templates.exp (test_template_breakpoints):
16592 If we get an overload menu, but it does not match what
760f6330 16593 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16594 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16595 making the whitespace optional. Argument for "new" may be
16596 "unsigned" as well as "unsigned int/long".
d63a86f8 16597 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16598 making the whitespace optional. Also replace "(void) with
16599 "((void|)), making the keyword "void" optional.
d63a86f8 16600 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16601 making the whitespace optional. Also replace "(void) with
16602 "((void|)), making the keyword "void" optional.
3bf40917
MS
16603 * gdb.base/callfuncs.c (t_float_values): This function must
16604 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16605 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16606 can be tested against both cases. Usually one case involves
16607 promotion of float to double, while the other does not.
16608 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16609 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16610 includes a stack frame for "start".
16611
c8ab4e6d
JB
166122001-11-05 Jim Blandy <jimb@redhat.com>
16613
16614 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16615 pointers are 32 bits long, and that offsets of relocs are always
16616 stored in the data (REL-style), and not in the reloc entry itself
16617 (RELA-style).
16618 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16619 stabs.
16620
3f08ced9
MS
166212001-11-01 Michael Snyder <msnyder@redhat.com>
16622
16623 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16624 and regular expression operators by using quoting.
16625
cbfa24cd
MS
166262001-10-31 Michael Snyder <msnyder@redhat.com>
16627
16628 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16629 depending on what the symbol table contains.
16630 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16631 the output of the ptype command. Similarly, accept both "const &"
16632 and "const&".
16633
aaa68313
CV
166342001-10-31 Corinna Vinschen <vinschen@redhat.com>
16635
16636 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16637 symbol `STORAGE' to allow to choose the storage class of
16638 the local datastructures.
16639 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16640 compiler directive.
16641
91740388
MS
166422001-10-30 Michael Snyder <msnyder@redhat.com>
16643
16644 * gdb.base/jump.exp: Allow it to run for all targets.
16645
1b7c05e7
CV
166462001-10-29 Corinna Vinschen <vinschen@redhat.com>
16647
16648 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16649 with new double_array size.
16650 (main): Change storage class of all local variables to static.
16651 Reduce size of double_array to 9.
16652 * gdb.base/call-ar-st.exp: Increase timeout value.
16653 Change expected output for double array to match new size in
16654 call-ar-st.c.
16655
36a22261
CV
166562001-10-29 Corinna Vinschen <vinschen@redhat.com>
16657
16658 * gdb.base/ending-run.exp: Create identical output when passing
16659 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16660 Stormy16 target.
36a22261 16661
92b8ae91
MK
166622001-10-28 Mark Kettenis <kettenis@gnu.org>
16663
16664 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16665 that we catch the expected failure under Linux/x86.
16666
cb135b83
OF
166672001-10-29 Orjan Friberg <orjanf@axis.com>
16668
16669 * gdb.base/setvar.exp: Escape curly braces.
16670 * gdb.stabs/weird.exp: Ditto.
16671
6884aa54
DJ
166722001-10-27 Daniel Jacobowitz <drow@mvista.com>
16673
16674 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16675 * gdm.mi/mi0-hack-cli.exp: Likewise.
16676
0398c9aa
AC
166772001-10-25 Andrew Cagney <ac131313@redhat.com>
16678
16679 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16680 messages.
16681
d20bf2e8
AC
166822001-10-21 Andrew Cagney <ac131313@redhat.com>
16683
16684 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16685 checking MI enabled.
16686
03dd63aa
CV
166872001-10-09 Corinna Vinschen <vinschen@redhat.com>
16688
16689 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16690
1d9d99f3
FCE
166912001-10-04 Frank Ch. Eigler <fche@redhat.com>
16692
16693 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16694 if gdb child process crashes, just signal an error.
16695
838ae6c4
JB
166962001-10-02 Jim Blandy <jimb@redhat.com>
16697
16698 * lib/gdb.exp (test_xfail_format): Simplify.
16699
16700 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16701 front of the variable name `format'. Simplify `if'.
16702
8f0cbc1c
DJ
167032001-10-01 Daniel Jacobowitz <drow@mvista.com>
16704
16705 * gdb.threads/pthreads.exp: Wait for output and delay
16706 before sending ^C.
16707
1f08dafd
DJ
167082001-10-01 Daniel Jacobowitz <drow@mvista.com>
16709
16710 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16711 some incorrect output instead of timing out.
16712 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16713
674f90ff
CV
167142001-09-28 Corinna Vinschen <vinschen@redhat.com>
16715
16716 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16717 check to allow additional `int'.
16718
9b284272
DJ
167192001-09-27 Daniel Jacobowitz <drow@mvista.com>
16720
16721 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16722 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16723
b55a4771
MS
167242001-09-27 Michael Snyder <msnyder@redhat.com>
16725
16726 * lib/gdb.exp (test_debug_format): New proc.
16727 (setup_xfail_format): Use new proc test_debug_format.
16728 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16729 proc; use new service proc test_debug_format.
16730 Replace all other "gcc_compiled" tests with this test.
16731 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16732 proc; use new service proc test_debug_format.
16733 Replace all other "gcc_compiled" tests with this test.
16734
167352001-09-27 Michael Snyder <msnyder@redhat.com>
16736
16737 * gdb.base/cvexpr.exp: New file.
16738 * gdb.base/cvexpr.c: New file
16739 Test for expressions using const and volatile keywords.
16740
4e6667ac
CV
167412001-09-26 Corinna Vinschen <vinschen@redhat.com>
16742
16743 * gdb.base/constvars.exp: Check for different orders of keywords
16744 and additional "int" strings in output.
16745
4f337972
AC
167462001-09-22 Andrew Cagney <ac131313@redhat.com>
16747
16748 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16749 responses from "help maint".
16750
2015650d
FCE
167512001-09-19 Frank Ch. Eigler <fche@redhat.com>
16752
16753 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16754 to localhost:NNN instead of :NNN, in case Xvfb is listening
16755 only on TCP.
16756
f3bcedc1
CV
167572001-09-19 Corinna Vinschen <vinschen@redhat.com>
16758
16759 * gdb.base/recurse.exp: When checking leaving the watchpoint
16760 scope, recognize when gdb is in function's epilogue and pass.
16761
6b819c92
KS
167622001-09-18 Keith Seitz <keiths@redhat.com>
16763
16764 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16765 support for running tests against sid targets.
16766 (gdbtk_done): Ditto.
16767
a10c9419
CV
167682001-09-18 Corinna Vinschen <vinschen@redhat.com>
16769
16770 * gdb.base/ending-run.c (main): Set stdout buffersize
16771 to the same reasonable value for any target.
16772 * gdb.base/ending-run.exp: Add a regular expression
16773 to make testsuite happy on Sanyo Stormy16 target.
16774
739d0d99
CV
167752001-09-17 Corinna Vinschen <vinschen@redhat.com>
16776
16777 * gdb.base/display.c (do_loops): Add float variable `f'.
16778 Increment f in loop.
16779 * gdb.base/display.exp: Increment timeout by 60 seconds.
16780 Change float display test to use variable `f'.
16781
1b8947f0
JB
167822001-09-17 Jim Blandy <jimb@redhat.com>
16783
16784 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16785 overflowing the limited breakpoint tables on some ROM monitors
16786 (like the ROM68K).
16787
9890ac81
FCE
167882001-09-15 Frank Ch. Eigler <fche@redhat.com>
16789
16790 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16791 the "-ac" (disable access control) flag.
16792
6db765ea
JH
167932001-08-30 Jeff Holcomb <jeffh@redhat.com>
16794
16795 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16796 ints.
16797
4c32cc04
KS
167982001-08-30 Keith Seitz <keiths@redhat.com>
16799
16800 * lib/gdb.exp: Move all insight-related functionality into
16801 separate file.
16802 * lib/insight-support.exp: New file.
16803
8d6e6f81
FCE
168042001-08-29 Frank Ch. Eigler <fche@redhat.com>
16805
16806 * config/sid.exp (sid_start): Never set sid verbosity; disable
16807 expect_background {} that consumed its stdout; tolerate </dev/null.
16808 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16809
6a90e1d0
AC
168102001-08-18 Andrew Cagney <ac131313@redhat.com>
16811
16812 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16813 CLI jump command to start it.
16814 (mi_run_to_main): Fail immediatly when unexpected output.
16815
1759b3c3
AC
168162001-08-18 Andrew Cagney <ac131313@redhat.com>
16817
16818 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16819 beginning of function. Fix PR gdb/191.
16820
61d11d80
FCE
168212001-08-16 Frank Ch. Eigler <fche@redhat.com>
16822
16823 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16824 what to force sid endianness to.
16825
942a4df2
KS
168262001-08-15 Keith Seitz <keiths@redhat.com>
16827
16828 * lib/gdb.exp (gdbtk_start): Don't set environment
16829 variables for TCL_LIBRARY and friends. Insight will
16830 now figure these out for itself.
16831
0521c418
MS
168322001-08-02 Michael Snyder <msnyder@redhat.com>
16833
16834 * gdb.base/completion.exp: Remove the symbol "a64l" from
16835 the expect string; this is target-specific, and not related
16836 to what is being tested.
16837
74a9a58a
DB
168382001-08-02 Dave Brolley <brolley@redhat.com>
16839
16840 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16841
c70819fa
MS
168422001-07-25 Michael Snyder <msnyder@redhat.com>
16843
c2b8fa57
MS
16844 * gdb.base/consecutive.exp: New file. Test stepping over
16845 breakpoints on consecutive instructions.
16846 * gdb.base/consecutive.c: New file.
16847
c70819fa
MS
16848 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16849 curly braces in regular expressions.
16850
2b1a1355
MS
168512001-07-25 Michael Snyder <msnyder@redhat.com>
16852
16853 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16854 legitimate output from stepping out of main.
16855
413eca6f
KS
168562001-07-22 Keith Seitz <keiths@redhat.com>
16857
16858 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16859 the empty string, do not run the tests.
16860
7e5a9322
SC
168612001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16862
16863 * gdb.base/long_long.exp: Detect size of pointer. Take into
16864 account 2-byte pointers when testing for p/a results.
16865
de58f10f
SC
168662001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16867
d63a86f8 16868 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16869 and defined to 1K for m68hc11.
16870 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16871 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16872 (sizeof_random_data): New variable to tell the size of the data table;
16873 don't test past this size; always run to main.
16874
d6f5fea1
SC
168752001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16876
16877 * gdb.base/return2.exp: return of long long and double fails for
16878 68HC11; don't execute these tests on that platform.
16879 * gdb.base/return.exp: Return of a double fails for 68hc11.
16880
c477543d
SC
168812001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16882
16883 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16884 tests that print a float.
16885 * call-rt-st.exp: Likewise.
16886
63cf1c79
MK
168872001-07-12 Mark Kettenis <kettenis@gnu.org>
16888
16889 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16890 running this test on Linux.
16891
112f9ab5
MC
168922001-06-24 Michael Chastain <chastain@redhat.com>
16893
16894 * gdb.base/arithmet.exp: Remove some tests to make all test names
16895 unique.
16896
4970cb0f
MS
168972001-07-03 Michael Snyder <msnyder@redhat.com>
16898
16899 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16900 the output of the ptype command.
16901
d85da69f
MS
169022001-07-02 Michael Snyder <msnyder@redhat.com>
16903
4c8a82de
MS
16904 * gdb.base/completion.exp: Don't assume that break.c is the only
16905 source file that may contain functions named "marker".
d85da69f
MS
16906 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16907
8afc772b
AC
169082001-06-28 Andrew Cagney <ac131313@redhat.com>
16909
16910 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16911 of files to delete.
16912
16913 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16914 * gdb.disasm/h8300s.exp: New file.
16915 gdb.disasm/h8300s.s: Likewise.
16916
cff22675
AC
169172001-06-27 Andrew Cagney <ac131313@redhat.com>
16918
16919 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16920 empty breakpoint tables.
16921
68c81b54
AC
169222001-06-25 Andrew Cagney <ac131313@redhat.com>
16923
16924 * lib/mi-support.exp: Update args=... part of stop-reason
16925 patterns. Accept either a list or a tuple.
16926
2dd62704
AC
169272001-06-23 Andrew Cagney <ac131313@redhat.com>
16928
16929 * lib/mi-support.exp: Remove local emacs variable defining
16930 change-log-default-name.
16931
b4127474
MC
169322001-06-22 Michael Chastain <chastain@redhat.com>
16933
16934 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16935 This is operationally compatible with the previous version.
16936
8dbfb380
JB
169372001-06-13 Jim Blandy <jimb@redhat.com>
16938
16939 * lib/gdb.exp (gdb_test): Doc fix.
16940
f2d8c86d
MC
169412001-06-10 Michael Chastain <chastain@redhat.com>
16942
16943 * gdb.base/exprs.exp: Remove a duplicate test.
16944
81564d34
JB
169452001-06-06 Jim Blandy <jimb@redhat.com>
16946
16947 * gdb.base/return2.exp (main): Use values to test float and double
16948 returns that are not NaN's, to avoid being confused by IEEE
16949 comparison rules.
16950
da55addb
MS
169512001-06-04 Michael Snyder <msnyder@redhat.com>
16952
16953 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16954 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16955 rather than wait for 12 more tests to time out.
16956
42c65987
JB
169572001-06-06 Jim Blandy <jimb@redhat.com>
16958
b18bced9 16959 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16960 Don't forget to match the GDB prompt.
b18bced9 16961
42c65987
JB
16962 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16963
5b41e5f0
JB
169642001-06-04 Jim Blandy <jimb@redhat.com>
16965
16966 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16967 command.
16968
015e046f
KB
169692001-05-31 Kevin Buettner <kevinb@redhat.com>
16970
16971 * gdb.base/annota1.exp (info break): Match four or more spaces
16972 after "Address".
16973
fb1ffbbe
MC
169742001-05-31 Michael Chastain <chastain@redhat.com>
16975
16976 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16977 (dm_type_int_star): Likewise.
16978 (dm_type_long_star): Likewise.
16979 (dm_type_void_star): Likewise.
16980
5ea2a32c
KB
169812001-05-29 Kevin Buettner <kevinb@redhat.com>
16982
16983 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16984 to a known value in order to get consistent results regardless
16985 of the setting of INPUTRC or the presence or contents of .inputrc.
16986
ae23c492
MS
169872001-05-24 Michael Snyder <msnyder@redhat.com>
16988
ac55707e
MS
16989 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16990 Don't require that the main thread and the manager thread are the
16991 first in the list.
16992
ae23c492
MS
16993 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16994 debugging. If test fails, issue an "unsupported" not a "fail".
16995
400071f1
JB
169962001-05-24 Jim Blandy <jimb@redhat.com>
16997
16998 Don't assume that short is shorter than int.
16999 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17000 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 17001 this isn't true.
400071f1
JB
17002 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17003 an int, is not equal to ~0 stored in an unsigned char. This tests
17004 the same thing that the previous test meant to, but works on
17005 16-bit machines, too.
17006 ("print unsigned char != (~0)"): Same test, complemented.
17007
0816a3e5
MS
170082001-05-24 Michael Snyder <msnyder@redhat.com>
17009
17010 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 17011 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
17012 and prevents dejagnu getting out of step.
17013
f6dc23a9
KB
170142001-05-23 Kevin Buettner <kevinb@redhat.com>
17015
17016 * gdb.base/finish.exp (finish_void): Revise pattern for
17017 stopping on the call statement to not permit stopping at
17018 the start of the instructions comprising the call sequence.
17019
7dbd117d
MC
170202001-05-19 Michael Chastain <chastain@redhat.com>
17021
17022 * gdb.base/callfuncs.exp: Make all test names unique.
17023 * gdb.base/commands.exp: Make all test names unique.
17024 * gdb.base/condbreak.exp: Make all test names unique.
17025 * gdb.base/dbx.exp: Make all test names unique.
17026 * gdb.base/default.exp: Make all test names unique.
17027 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17028 and TIMEOUT messages to their corresponding PASS message.
17029 * gdb.base/ending-run.exp: Make all test names unique.
17030 * gdb.base/long_long.exp: Remove duplicate test.
17031
6b0b0a9e
KB
170322001-05-21 Kevin Buettner <kevinb@redhat.com>
17033
17034 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17035 stop on the call statement as well as the statement after the
17036 call.
17037
2caa35cb
MS
170382001-05-21 Michael Snyder <msnyder@redhat.com>
17039
17040 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17041
40713331
EZ
170422001-05-10 Elena Zannoni <ezannoni@redhat.com>
17043
a9c64011
AS
17044 * gdb.base/completion.exp: Revamp test. Make it execute on all
17045 platforms.
40713331 17046
c2c1be8d
EZ
170472001-05-10 Elena Zannoni <ezannoni@redhat.com>
17048
a9c64011
AS
17049 * config/gdbserver.exp (gdb_load): Handle the case
17050 in which the arguments to gdbserver are given in the
17051 baseboard configuration file.
17052 Also handle the case in which the server needs to do a
17053 load.
2c9cd303 17054
9671de48
KS
170552001-05-07 Keith Seitz <keiths@cygnus.com>
17056
a9c64011
AS
17057 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17058 set up the display for testing.
17059 (gdbtk_start): Convert all paths to paths that tcl will like.
17060 Export target information to environment.
17061 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17062 necessary.
17063 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17064 (to_tcl_path): New proc to convert a given pathname into
17065 a path acceptible as an argument to a tcl command.
17066 (_gdbtk_export_target_info): New proc to export target info
17067 into the environment for gdbtk testing.
17068 (gdbtk_done): New proc to signal end-of-test.
9671de48 17069
5a360f47
JB
170702001-05-06 Jim Blandy <jimb@redhat.com>
17071
17072 * restore.c: Make the code of caller0 correspond to its comment.
17073
66c756c6
MS
170742001-05-03 Michael Snyder <msnyder@redhat.com>
17075
17076 * config/sid.exp (gdb_target_sid): Check for error messages.
17077 On error or timeout, don't make expect exit (which will terminate
17078 all subsequent tests); instead just make gdb exit.
d63a86f8 17079 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17080 return a negative value.
17081
a966fde5
JB
170822001-04-24 Jim Blandy <jimb@redhat.com>
17083
851c18e0
JB
17084 * gdb.c++/templates.exp: If we see the prompt for the overload
17085 list, but we haven't recognized any of the longer patterns,
17086 arrange for this test to fail, not hang.
17087
a966fde5
JB
17088 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17089 variations.
17090
db144853
MC
170912001-04-22 Michael Chastain <chastain@redhat.com>
17092
17093 * gdb.c++/local.exp: Use the 'runto' library function.
17094 * gdb.c++/namespace.exp: Likewise.
17095 * gdb.c++/overload.exp: Likewise.
17096
3207ec21
KB
170972001-03-26 Kevin Buettner <kevinb@redhat.com>
17098
17099 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17100 * gdb.base/step-line.exp: New file. Test step/next in presence of
17101 #line directives.
17102 * gdb.base/step-line.c: New file. Test program for the above.
17103 * gdb.base/step-line.inp: New file. We pretend that this file has
17104 been transformed by some other tool into step-line.c.
17105
13b57657
JB
171062001-03-21 Jim Blandy <jimb@redhat.com>
17107
17108 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17109 unmangled operator names.
17110
754cbe1c
JB
171112001-03-20 Jim Blandy <jimb@redhat.com>
17112
17113 * gdb.threads/linux-dp.exp: Recognize an additional message
17114 generated by GDB when it doesn't understand how to debug threads
17115 on the target system.
17116
177495c9
AC
171172001-03-19 Andrew Cagney <ac131313@redhat.com>
17118
17119 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17120
f266096b
MC
171212001-03-12 Michael Chastain <chastain@redhat.com>
17122
17123 * gdb.c++/derivation.exp: Use the 'runto' library function.
17124
cac3c2ff
MC
171252001-03-12 Michael Chastain <chastain@redhat.com>
17126
17127 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17128
b6c11a24
MC
171292001-02-24 Michael Chastain <chastain@redhat.com>
17130
17131 * gdb.c++/ref-types.exp: Change handwritten code to library
17132 function 'runto'.
17133
6bae5bce
OF
171342001-03-16 Orjan Friberg <orjanf@axis.com>
17135
17136 * gdb.base/signals.exp: Set count to 0 explicitly.
17137
0015fd9a
MS
171382001-03-15 Mark Salter <msalter@redhat.com>
17139
17140 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17141 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17142 (gdb_load): Add support for additional target_info: gdb_download_size
17143 and gdb_load_timeout.
0015fd9a 17144
fc33412a
DT
17145Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17146
17147 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17148 file -- to prevent failing when the compile fails but we have no
17149 intention of running the tests anyway.
fc33412a
DT
17150
17151 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17152 tests if set.
17153
17154 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17155 integers.
fc33412a
DT
17156
17157 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17158 * gdb.c++/namespace.exp: Ditto.
17159
115f06de
OF
171602001-03-07 Orjan Friberg <orjanf@axis.com>
17161
17162 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17163 * gdb.base/pointers.exp: Relax pattern match of decimals.
17164
b6ba6518
KB
171652001-03-06 Kevin Buettner <kevinb@redhat.com>
17166
17167 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17168 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17169 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17170 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17171 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17172 config/sh.exp, config/sid.exp, config/slite.exp,
17173 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17174 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17175 config/vxworks.exp, config/vxworks29k.exp,
17176 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17177 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17178 gdb.base/arithmet.exp, gdb.base/assign.exp,
17179 gdb.base/async.exp, gdb.base/attach.exp,
17180 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17181 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17182 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17183 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17184 gdb.base/commands.exp, gdb.base/completion.exp,
17185 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17186 gdb.base/constvars.exp, gdb.base/corefile.exp,
17187 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17188 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17189 gdb.base/ending-run.exp, gdb.base/environ.exp,
17190 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17191 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17192 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17193 gdb.base/funcargs.exp, gdb.base/help.exp,
17194 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17195 gdb.base/logical.exp, gdb.base/long_long.exp,
17196 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17197 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17198 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17199 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17200 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17201 gdb.base/regs.exp, gdb.base/relational.exp,
17202 gdb.base/remote.exp, gdb.base/reread.exp,
17203 gdb.base/restore.exp, gdb.base/return2.exp,
17204 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17205 gdb.base/selftest.exp, gdb.base/setshow.exp,
17206 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17207 gdb.base/sigall.exp, gdb.base/signals.exp,
17208 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17209 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17210 gdb.base/step-test.exp, gdb.base/structs.c,
17211 gdb.base/structs.exp, gdb.base/structs2.exp,
17212 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17213 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17214 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17215 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17216 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17217 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17218 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17219 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17220 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17221 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17222 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17223 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17224 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17225 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17226 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17227 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17228 gdb.trace/circ.exp, gdb.trace/collection.exp,
17229 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17230 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17231 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17232 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17233 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17234 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17235 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17236 notices.
17237
dc96c6c7 172382001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17239
17240 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17241 first arg is int not float.
17242
dc96c6c7 172432001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17244
17245 * gdb.base/reread.exp: Unsupported for non-native targets;
17246 doesn't work for remote debugging.
17247
9b0c4aeb
FN
172482001-02-19 Fernando Nasser <fnasser@redhat.com>
17249
17250 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17251 * gdb.base/ending-run.exp: Properly handle the BSP state when
17252 stepping past the end of main.
9b0c4aeb 17253
02aa71d5
MC
172542001-02-19 John Moore <jmoore@redhat.com>
17255
17256 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17257 Converted HPUX fix for non-expected items following multiple
17258 step commands into general solution for all platforms.
17259
1fa449a4
MC
172602001-02-18 Michael Chastain <chastain@redhat.com>
17261
17262 * gdb.c++/classes.exp (do_tests): Change runto statements
17263 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17264 statements demangler agnostic.
17265 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17266 (gdb_virtfunc_restart): Likewise.
17267
b2f9ec70
MC
172682001-02-14 Michael Chastain <chastain@redhat.com>
17269
17270 * gdb.c++/inherit.exp (do_tests): Change runto statements
17271 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17272 statements demangler agnostic.
17273
cf74b8ca
AC
17274Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17275
17276 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17277 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17278 before calling common_routine 15 times'' tests.
cf74b8ca 17279
99f78f56
MC
172802001-02-11 Michael Chastain <chastain@redhat.com>
17281
17282 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17283 Helps the test script figure out which demangler is in use.
17284 (dm_type_foo_ref): Ditto.
17285 (dm_type_int_star): Ditto.
17286 (dm_type_long_star): Ditto.
17287 (dm_type_unsigned_int): Ditto.
17288 (dm_type_void): Ditto.
17289 (dm_type_void_star): Ditto.
99707966 17290 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17291 Probe the gdb demangler and set variables to accommodate
17292 formatting differences.
17293 (info_func_regexp): New function. Same as info_func, but
17294 matches against a regexp.
17295 (info_func): Match against a literal string.
17296 (print_addr_2): New function. Match against a literal string,
17297 which can be different from the input to gdb.
17298 (print_addr): Simply call print_addr_2 with the same argument twice.
17299 (test_lookup_operator_functions): Use demangler formatting variables.
17300 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17301 the tests in the same order as the C++ class declaration.
17302 (test_paddr_operator_functions): Ditto.
17303 (test_paddr_overloaded_functions): Ditto.
17304 (test_paddr_hairy_functions): Use demangler formatting variables.
17305 Add reference to gdb/19 for related tests.
17306 (do_tests): Call probe_demangler.
17307
1de8f023
KB
173082001-01-30 Kevin Buettner <kevinb@redhat.com>
17309
17310 * gdb.c++/templates.cc (printf): Remove unused function definition.
17311
ca3f91ed
MS
173122001-01-26 Felix Lee <flee@redhat.com>
17313
17314 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17315
173162001-01-25 matthew green <mrg@redhat.com>
17317
17318 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17319 up sid.
17320 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17321
173222001-01-25 matthew green <mrg@redhat.com>
17323
17324 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17325 Deprecate $sid_spawn_id.
ca3f91ed
MS
17326 (sid_exit): Remove code necessary only for `spawn.'
17327
173282001-01-25 matthew green <mrg@redhat.com>
17329
17330 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17331
fb18ec4a
MC
173322001-01-28 Michael Chastain <chastain@redhat.com>
17333
17334 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17335 to call when tests fail. It takes gdb out of the overloaded
17336 function choice menu back to the main prompt, so that the test
17337 program stays synchronized.
17338 (set_bp_overloaded): New proc to collect all the common
17339 code for setting a breakpoint on an overloaded name. Calls
17340 take_gdb_out_of_choice_menu when needed.
17341 (menu_overload1arg): New variable to collect the repeated
17342 instances of the expected menu for an overloaded name. Change
17343 the regular expression to handle changes in g++ type encoding:
17344 "void" can be either "void" or "", and "unsigned int" can be
17345 either "unsigned int" or "unsigned".
17346 (continue_to_bp_overloaded): Change regular expressions to handle
17347 changes in g++ type encoding.
17348 (no proc): Call take_gdb_out_of_choice_menu when needed.
17349 Remove redundant calls to "info break". Accept either "canceled"
17350 or "cancelled". Change regular expressions in "info break"
17351 calls to handle changes in g++ type encoding. Give all tests
17352 unique strings.
17353
9c646a6e
BE
173542001-01-17 Ben Elliston <bje@redhat.com>
17355
17356 * config/sid.exp: New file.
17357
9549d9c1
AC
17358Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17359
17360 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17361
dc96c6c7 173622000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17363
17364 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17365 Add a RE to accept a non-ascii char if one is ever presented.
17366
b4df4f68
FN
173672000-12-20 Fernando Nasser <fnasser@redhat.com>
17368
297dd0fd 17369 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17370
dc96c6c7 173712000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17372
d63a86f8 17373 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17374 in regexp. One '\' does not suffice on Linux.
17375
4a7bddb6
MC
173762000-12-09 Michael Chastain <chastain@redhat.com>
17377
17378 * gdb.base/break.exp (test_clear_command): Use a marker function
17379 rather than 'main' for the test function. Also move this
17380 test to an execution point where the marker function names are
17381 guaranteed to be bound to functions. (Executing tests after a
17382 'finish' from main runs into name conflicts with local names
17383 in __libc_start_main).
17384
dc96c6c7 173852000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17386
17387 * gdb.base/finish.exp: New test for gdb's "finish" command.
17388 * gdb.base/return2.exp: New test for gdb's "return" command.
17389 * gdb.base/return2.c: New source file for above.
17390
dc96c6c7 173912000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17392
17393 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17394 * gdb.base/miscexprs.exp: Ditto.
17395 * gdb.base/pointers.exp: Ditto.
17396 * gdb.c++/derivation.exp: Ditto.
17397 * gdb.c++/local.exp: Ditto.
17398 * gdb.c++/namespace.exp: Ditto.
17399 * gdb.c++/overload.exp: Ditto.
17400 * gdb.c++/ref-types.exp: Ditto.
17401
dc96c6c7 174022000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17403
17404 * gdb.base/constvars.exp: Test result of "up" command.
17405 * gdb.base/miscexprs.exp: Ditto.
17406 * gdb.base/pointers.exp: Ditto.
17407 * gdb.base/scope.exp: Ditto.
17408 * gdb.c++/derivation.exp: Ditto.
17409 * gdb.c++/local.exp: Ditto.
17410 * gdb.c++/namespace.exp: Ditto.
17411 * gdb.c++/overload.exp: Ditto.
17412 * gdb.c++/ref-types.exp: Ditto.
17413
44097287
FN
174142000-11-22 Michael Chastain <chastain@redhat.com>
17415
17416 * mips_pro.exp: Accept either "middle -> top -> main" or
17417 "middle -> main" in the backtrace, because gcc can optimize
17418 tail calls to jumps. Remove setup_xfail for the hppa case.
17419 Add a comment with the original warning messages from PR 3016,
17420 which was filed in 1993, to preserve them for posterity.
17421
9d2e1bab
ND
174222000-11-17 Nick Duffek <nsd@redhat.com>
17423
17424 * lib/gdb.exp (gdb_test): Override timeout with board info.
17425
1aca8eb7
ND
174262000-11-17 Nick Duffek <nsd@redhat.com>
17427
17428 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17429 the second kill and detach messages.
17430
93076499
ND
174312000-11-17 Nick Duffek <nsd@redhat.com>
17432
17433 * configure.in: Add AC_EXEEXT.
17434 * configure: Regenerate.
17435 * Makefile.in (just-check): Export EXEEXT.
17436 * lib/gdb.exp ($EXEEXT): Import from environment.
17437 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17438 expect "maint dump-me" on Cygwin.
17439 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17440 $EXEEXT.
17441
30e87cd3
ND
174422000-11-17 Nick Duffek <nsd@redhat.com>
17443
17444 * gdb.base/break.exp: Test backtrace and finish from called
17445 function on all platforms, not just HP-UX.
17446
dc96c6c7 174472000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17448
17449 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17450 code from gdb_target_monitor, so it can be used independantly
17451 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17452
dc96c6c7 174532000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17454
17455 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17456 * gdb.base/corefile.exp: Expect the message "Program is being
17457 debugged already" when we send the "corefile" command, since
17458 the preceeding gdb_load may have connected gdb to a remote target.
17459 * gdb.base/display.exp: Disable hardware watchpoints if new
17460 board info variable "no_hardware_watchpoints" is true.
17461 Replace single-letter commands with more readable ones.
17462 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17463 if new board info variable "no_hardware_watchpoints" is true.
17464 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17465 to see if stdio (printf) testing is possible.
17466 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17467 board info variable "no_hardware_watchpoints" is true. Use new
17468 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17469
39124dea
FN
174702000-11-13 Fernando Nasser <fnasser@redhat.com>
17471
17472 From Orjan Friberg <orjanf@axis.com>:
17473 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17474 in array print pattern match.
17475
a9e2e984
FN
174762000-11-09 Fernando Nasser <fnasser@redhat.com>
17477
17478 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17479 spelling "cancelled" to U.S. spelling "canceled" to match changes
17480 made to gdb.
17481 * gdb.c++/ovldbreak.exp: Ditto.
17482
c7db355b
PS
174832000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17484
17485 * gdb.base/callfuncs.c (main): Moved to end of file, call
17486 t_double_values to initialize the FPU before inferior calls are made.
17487 * gdb.base/callfuncs.exp: Test for register preservation after calling
17488 inferior functions. Add tests for continuining, finishing and
17489 returning from a stop in a call dummy.
17490
dc96c6c7 174912000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17492
17493 * gdb.base/commands.exp: Break up long lines, and re-indent.
17494
dc96c6c7 174952000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17496
17497 * config/gdbserver.exp: Rewritten from the ground up, to make it
17498 compatible with the current dejagnu tree, and to make it work with
17499 the new "gdbserver" in libremote.
17500
dc96c6c7 175012000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17502
17503 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17504 * gdb.base/varargs.exp: Skip entire test if no printf support.
17505 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17506 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17507
dc96c6c7 175082000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17509
17510 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17511 no floating point support.
17512 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17513 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17514 * gdb.base/call-rt-st.exp: Ditto.
17515 * gdb.base/call-strs.exp: Ditto.
17516
bac5fc66
JG
175172000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17518
17519 * gdb.base/sizeof.c: include <stdio.h>.
17520
17521 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17522 'finish', otherwise uncaptured gdb_prompt would potentially
17523 throw remaining test points out of sync.
bac5fc66 17524
b22a6027
SB
175252000-07-26 Scott Bambrough <scottb@netwinder.org>
17526
17527 * gdb.base/recurse.exp: Run tests for all targets.
17528 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17529 gnu-oldld case on ARM.
17530 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17531 for ARM targets.
d63a86f8 17532
d8231941
AG
17533Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17534
17535 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17536 * gdb.java/configure: Rebuild.
17537
8caabe69
AG
17538Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17539
17540 * gdb.java/jv-exp.exp: New file.
17541
9d273ca3
AG
17542Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17543
17544 * configure: Rebuilt.
17545 * configure.in (configdirs): Add gdb.java.
17546 * gdb.java/jmisc.java: New file.
17547 * gdb.java/jmisc.exp: New file.
17548 * gdb.java/Makefile.in: New file.
17549 * gdb.java/configure: Rebuilt.
17550 * gdb.java/configure.in: New file.
17551 * lib/java.exp: New file.
17552
4f823a66
AC
17553Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17554
17555 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17556 underflow.
4f823a66 17557
2391e11d
AC
17558Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17559
17560 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17561 and the compilers sizes.
2391e11d 17562
54602222
ND
175632000-07-09 Nick Duffek <nsd@redhat.com>
17564
17565 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17566 (use_methods): New function.
17567 (main): Call use_methods().
17568 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17569 (do_tests): Call test_method_param_class.
17570
2bec0572
ND
175712000-07-09 Nick Duffek <nsd@redhat.com>
17572
17573 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17574 spelling.
17575 (test_enums): New procedure. Move enum tests from end of script
17576 to here. Set breakpoint on function name instead of line number.
17577 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17578 (enums2): New marker function.
17579 (enums1): New function.
17580 (main): Call enums1(). Move enum tests to enums1().
17581
78492fde
AC
17582Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17583
17584 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17585 compile/link program. Update line numbers.
78492fde
AC
17586 * gdb.asm/d10v.inc: Define ``startup''.
17587 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17588
49a2cef8
AC
17589Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17590
17591 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17592
3e6c8688
EZ
175932000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17594
17595 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17596 of 'help maint print' command.
3e6c8688 17597
9ff5cbe9
AC
17598Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17599
17600 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17601 they use gdb_expect_list.
9ff5cbe9 17602
17c579bd
AC
17603Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17604
17605 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17606 memory-read-packet-size'' instead of ``set endian big'' to test
17607 long commands.
17c579bd 17608
e6d71bf3
DB
176092000-06-03 Daniel Berlin <dan@cgsoftware.com>
17610
17611 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17612 g++, and stop skipping them.
e6d71bf3
DB
17613
17614 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17615 work under g++.
17616
d63a86f8 17617 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17618 initialization.
17619
dc96c6c7 176202000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17621
17622 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17623 the regular expression: accept an (almost) arbitrary sequence of
17624 "frames-invalid" and "breakpoints-invalid" messages both before
17625 and after the "starting" message.
17626
dc96c6c7 176272000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17628
17629 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17630
dc96c6c7 176312000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17632
17633 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17634 Relax the regular expression a little, make it pass on Solaris 8.
17635
8216cda9
KB
176362000-05-12 Kevin Buettner <kevinb@redhat.com>
17637
17638 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17639 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17640 Instead, it is permissible for gdb to stop on the line of the
17641 call itself.
17642
1a570b2f
MS
176432000-05-12 Michael Snyder <msnyder@.cygnus.com>
17644
17645 * gdb.base/break.exp (bp on small function, optimized file):
17646 Add a second pass pattern. The behavior differs here between stabs
17647 and dwarf for one-line functions. Stabs preserves two line symbols
17648 (one before the prologue and one after) with the same line number,
17649 but dwarf regards these as duplicates and discards one of them.
17650 Therefore the address after the prologue (where the breakpoint is)
17651 has no exactly matching line symbol, and GDB reports the breakpoint
17652 as if it were in the middle of a line rather than at the beginning.
17653
dc96c6c7 176542000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17655
d63a86f8 17656 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17657 rather than "send_gdb" (for consistancy).
17658
7d418785
AC
17659Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17660
17661 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17662 * gdb.c++/templates.cc: Properly check for GCC version number.
17663 * lib/compiler.cc: Likewise
17664
dc96c6c7 176652000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17666
d63a86f8 17667 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17668 gdb may not stop at the first line of main, due to code motion.
17669
dc96c6c7 176702000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17671
17672 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17673 This test depends on parsing the printf output from the target.
17674 Since the sparclet stub doesn't do stdio, this will never work.
17675 * gdb.base/call-rt-st.exp: ditto.
17676 * gdb.base/call-strs: ditto.
17677
dc96c6c7 176782000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17679
17680 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17681
17682 * gdb.base/ending-run.exp: After connecting to a remote target,
17683 but before running, the target will appear to be in a random
17684 location. Specify both a file and a line for breakpoints.
17685 Also, the function that calls main may be called 'init'
17686 rather than 'start'.
17687
a5a51225
EZ
176882000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17689
17690 * gdb.base/help.exp: Update output for add-symbol-file command.
17691
7930cc7c
FN
176922000-04-10 Fernando Nasser <fnasser@cygnus.com>
17693
17694 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17695 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17696
23e37ab1
C
176972000-04-07 J.T. Conklin <jtc@redback.com>
17698
e93c542c
C
17699 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17700
23e37ab1
C
17701 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17702
591b8fa3
PDM
17703Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17704
17705 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17706 values that can be represented exactly.
591b8fa3
PDM
17707 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17708 above change, and to not check against the directory part of the source
17709 file name.
17710 (step into print_long_arg_list): Likewise.
17711 (print print_small_structs from print_long_arg_list): Likewise.
17712 (print print_long_arg_list): Likewise.
17713
7a495180
EZ
177142000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17715
30b53638 17716 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17717
beb998c6
AC
17718Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17719
17720 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17721
1c689132
DB
177222000-03-25 Daniel Berlin <dan@cgsoftware.com>
17723
17724 * gdb.base/commands.exp (deprecated_command_test): Add test for
17725 deprecate with no arguments.
17726
c1790a9d
JL
177272000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17728
17729 * gdb.base/break.exp: Add new test for setting breakpoints on
17730 optimized code so we can test breakpoints work even when function
17731 prologues may be optimized away
17732
003ba290
FN
177332000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17734
17735 From David Whedon <dwhedon@gordian.com>
a9c64011 17736 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17737
6837a0a2
DB
177382000-03-22 Daniel Berlin <dan@cgsoftware.com>
17739
17740 * gdb.base/help.exp: Added test for new apropos command.
17741
b9593231
KB
177422000-03-21 Kevin Buettner <kevinb@redhat.com>
17743
17744 * gdb.base/pointers.c (usevar): New function.
17745 (main): Make sure that global variables v_int_pointer2, rptr,
17746 and y are all referenced someplace in the program by calling
17747 usevar() on them. [Some linkers delete symbols which are
17748 never referenced. The space remains, but there's no way to
17749 get a (symbolic) handle on the variable from the debugger.]
17750
751a959b
EZ
177512000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17752
17753 * gdb.base/printcmds.c: Add typedeffed arrays.
17754
17755 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17756 procedure to test arrays that are typedef'd.
751a959b 17757
73a93a32
JI
177582000-03-13 James Ingham <jingham@leda.cygnus.com>
17759
17760 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17761 the library directories.
73a93a32 17762
fb40c209
AC
17763Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17764
17765 * configure.in (configdirs): Add sub directory gdb.mi.
17766 * configure: Re-generate.
17767
17768 * gdb.mi: New directory.
d63a86f8 17769
ee4dd2c9
AC
177702000-02-25 Scott Bambrough <scottb@netwinder.org>
17771
17772 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17773 a long long value as a double on ARM platforms.
ee4dd2c9 17774
70f0cc22
JB
177752000-02-16 Jim Blandy <jimb@redhat.com>
17776
17777 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17778 default source file is set properly before running this test.
17779
853819b8
EZ
177802000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17781
17782 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17783 gdbtk/library directory, not in gdbtcl2.
853819b8 17784
dfcd3bfb
JM
177852000-02-04 Jim Blandy <jimb@redhat.com>
17786
17787 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17788 backslash from regexp pattern.
17789
17790 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17791 procedure. Use it to run all the "continue to bp overloaded"
17792 tests. Note that this changes the names of the tests slightly.
17793 If the breakpoint hit message includes a hex PC value, because
17794 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17795 from the real source code, still consider that a pass.
17796
17797 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17798 XFAIL here if the breakpoint message contains a hex address. Note
17799 similar change on 1999-11-02.
17800
17801 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17802
17803 * gdb.base/ptype.exp: Establish a default source file before
17804 calling get_debug_format.
17805
178062000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17807
17808 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17809
8b93c638
JM
178102000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17811
17812 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17813 of successive stepi commands -- while in the prologue we should see
17814 the function entry bracket.
17815
178162000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17817
17818 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17819 reach __change_mode() when stepping through the end of main().
17820
c5394b80
JM
178212000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17822
17823 * gdb.base/default.exp: Fix expected pattern.
17824 * gdb.base/help.exp: Same.
17825
0d06e24b
JM
178262000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17827
17828 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17829 Don't use xfail's because that affects only the following test.
d63a86f8 17830
0d06e24b 17831 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17832 solaris or linux.
0d06e24b
JM
17833
17834 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17835
dc96c6c7 178362000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17837
d63a86f8 17838 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17839 "A syntax error" rather than "A parse error". Accept both.
17840
178412000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17842
17843 * gdb.base/default.exp: Remove OS dependent string from "target
17844 remote" test.
17845 * gdb.base/help.exp: Same for "help target remote" test.
17846
c3f6f71d
JM
178472000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17848
17849 From Jim Kingdon <kingdon@redhat.com>:
17850
17851 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17852 prompt (cleanup rather than necessity, but still might keep output
17853 from spilling to next test).
c3f6f71d
JM
17854
178552000-01-02 Fred Fish <fnf@cygnus.com>
17856
17857 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17858 AIX, which defines them in <sys/types.h>.
17859
ed9a39eb 178601999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17861
ed9a39eb 17862 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17863 float" test.
ed9a39eb
JM
17864
178651999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17866
ed9a39eb 17867 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17868
17869 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17870 outermost frame disallowed".
17871
178721999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17873
17874 * gdb.base/setvar.exp: New tests for setting the value of a struct
17875 with a constant list.
17876
178771999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17878
17879 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17880 require the user to type a cast before setting the value of a struct.
17881
de57eccd
JM
178821999-12-06 Jim Blandy <jimb@cygnus.com>
17883
17884 * gdb.base/default.exp: Expect the new 'info float' command on
17885 all i386 platforms.
17886
17887 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17888 LinuxThreads libraries that don't support debugging.
17889
c2d11a7d
JM
17890Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17891
17892 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17893 Change the buffer type to ``unsigned char'' to simplify size
17894 arithmetic.
c2d11a7d
JM
17895
17896 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17897 stub only handles 400-1 byte packets. Verify that the download
17898 worked.
c2d11a7d
JM
17899
179001999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17901
17902 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17903 tests, using UNRESOLVED for the untested cases. Also, does not wait
17904 for a timeout if the prompt was received before a recognizable pattern.
17905
179061999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17907
17908 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17909
179101999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17911
17912 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17913 watchpoints.
c2d11a7d
JM
17914
179151999-11-24 Jason Merrill <jason@casey.cygnus.com>
17916
17917 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17918
17919 * gdb.c++/local.exp: Be more flexible in recognizing local class
17920 name mangling. Don't allow horribly truncated method names.
17921 * gdb.c++/derivation.exp: Expect protected inheritance.
17922 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17923 * gdb.c++/virtfunc.exp: Likewise.
17924 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17925 when printing a nested enum.
17926
179271999-11-22 Jim Blandy <jimb@cygnus.com>
17928
17929 * gdb.base/step-test.exp: Properly await GDB's response to setting
17930 a breakpoint on the call to large_struct_by_value.
17931
17932 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17933 just because we have debug info for the `start' function.
17934
179351999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17936
17937 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17938 "Unknown signal" messages, which indicate (on LinuxThreads) that
17939 GDB doesn't know how to debug threads on this system. This is
17940 better than hanging while philosopher 0 dumps chatter into gdb.log.
17941
179421999-11-18 Tom Tromey <tromey@cygnus.com>
17943
17944 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17945
179461999-11-18 Fred Fish <fnf@cygnus.com>
17947
17948 * gdb.base/coremaker2.c: Add sample program for generating
17949 cores that is more self contained than coremaker.c. Eventually
17950 I'll add more code to this and tie it into the testsuite.
17951
4ce44c66
JM
179521999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17953
17954 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17955
179561999-11-10 Jimmy Guo <guo@cup.hp.com>
17957
17958 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17959 from $srcdir/lib/.
4ce44c66 17960 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17961 and gdb.c++/.
4ce44c66
JM
17962
17963 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17964
d63a86f8 17965 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17966 'continue with watch' test point.
17967
179681999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17969
17970 Merged from p2linux-990323-branch:
d63a86f8 17971
4ce44c66
JM
17972 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17973
11cf8741
JM
17974Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17975
17976 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17977 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17978
17979Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17980
17981 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17982 gdb_expect_list.
11cf8741
JM
17983
17984Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17985
17986 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17987
179881999-11-03 Mark Salter <msalter@cygnus.com>
17989
17990 * gdb.base/break.exp: Fix "stub continue" pattern.
17991
179921999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17993
17994 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17995
179961999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17997
17998 * gdb.base/display.exp ("finish"): Add timeout clause.
17999
18000 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18001 plain prompt clause, so this doesn't have to time out in order to
18002 fail.
18003
18004 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 18005 breakpoint hit messages include an address.
11cf8741
JM
18006
18007 * gdb.base/display.exp: Don't forget to escape parens in regular
18008 expressions. Unix regexp notatation sucks.
18009
180101999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18011
18012 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18013 order for 'signalled' message.
11cf8741 18014
5c44784c
JM
180151999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18016
18017 From Jimmy Guo <guo@cup.hp.com>:
18018 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18019 * gdb.base/annota1.c: Add code for tests to work with.
18020
180211999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18022
18023 * gdb.base/remote.exp: New test for remote downloading settings.
18024 * gdb.base/remote.c: New file with large .data.
18025
917317f4
JM
180261999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18027
18028 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18029 for LinuxThreads support, merged from the Code Fusion branch.
18030
18031Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18032
18033 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18034 containing exp_continue into a while within an expect. Don't
18035 attempt a start more than three times. Check return value from
18036 gdb_load.
d63a86f8 18037
2df3850c
JM
18038Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18039
18040 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18041 a pass case.
2df3850c 18042
2acceee2
JM
180431999-10-01 Kevin Buettner <kevinb@cygnus.com>
18044
18045 * gdb.base/break.c (main): Added a statement that we can step
18046 off of.
18047 * gdb.base/break.exp: Added tests for setting a breakpoint
18048 at an offset and stepping onto a breakpoint.
18049
180501999-10-01 Fred Fish <fnf@cygnus.com>
18051
d63a86f8 18052 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18053 gdb output.
18054
c2c6d25f
JM
180551999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18056
18057 * gdb.base/break.exp: Code locations are in hex, don't forget!
18058 (For HP-UX.)
18059
180601999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18061
18062 * condbreak.exp: Use break.c as test program.
18063 * condbreak.c: Remove, redundant with break.c.
18064
180651999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18066
18067 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18068 Z-packets if the target needs it.
c2c6d25f
JM
18069
180701999-09-13 James Ingham <jingham@leda.cygnus.com>
18071
18072 * gdb.c++/overload.exp: Added tests for listing overloaded
18073 functions with function pointers in the arg, explicitly calling
18074 out the version you want.
18075
cff3e48b
JM
180761999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18077
18078 * long_long.exp: Add variations of test cases that work for
18079 targets with 16-bit ints and 32-bit doubles.
18080
d4f3574e
SS
180811999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18082
18083 * break.c (main): Compare a possibly-uninitialized argc with an
18084 unlikely value that fits in 16 bits.
18085
180861999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18087
18088 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18089 0xfeeb, don't want negative numbers if ints are 16 bits.
18090
18091 * lib/gdb.exp (skip_cplus_tests): New proc.
18092 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18093 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18094 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18095 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18096 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18097 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18098 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18099 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18100
18101 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18102
18103Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18104
18105 * gdb.base/corefile.exp (up): Allow a parameter to appear
18106 in the frame that we're going up to.
18107
18108 From Jim Blandy <jimb@cygnus.com>:
18109
18110 * gdb.base/default.exp (info float): Expect some output now.
18111
18112 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18113 returning floating-point values to fail on the x86.
18114 * gdb.base/callfwmall.exp (do_function_calls): Same.
18115
18116 * gdb.base/list.exp (test_listsize): Correct expectations for
18117 listing line 1 with listsize 2. Also, listing a single line
18118 works now, as does listing three lines. [Kevin's note: There
18119 were a number of other cases fixed too where the expectations
18120 differed...]
18121
181221999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18123
18124 * gdb.base/selftest.exp: Add case for when version prints as
18125 constant string instead of char pointer.
18126
104c1213
JM
181271999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18128
18129 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18130 stepping out of main.
104c1213
JM
18131
18132 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18133 G++ used.
18134
18135 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18136 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18137
18138 * gdb.c++/ovldbreak.exp: Update match string in test that
18139 includes a warning of multiple breakpoints.
18140
181411999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18142
18143 * gdb.base/display.exp: Improve precision of step-after-finish
18144 added yesterday.
18145
18146 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18147 test.
104c1213
JM
18148
18149 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18150 configs when using G++, not just hppa*.
18151
181521999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18153
18154 * gdb.base/async.c: New file.
18155 * gdb.base/async.exp: New file.
18156
18157Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18158
18159 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18160 PA64.
18161
53a5351d
JM
18162Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18163
104c1213
JM
18164 * gdb.base/display.exp: "finish" can leave us mid-line on many
18165 targets, deal with it. Add a small constant to main, instead of
18166 1000 since main+1000 may not be a valid address in the target.
18167
53a5351d
JM
18168 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18169 on hpux11.
18170
18171 * gdb.base/attach.exp: Handle another hpux11 error message variant
18172 when attaching to a process that does not exist.
18173
181741999-08-19 J.T. Conklin <jtc@redback.com>
18175
18176 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18177 characters in 'continue to 1241' test.
53a5351d
JM
18178
181791999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18180
18181 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18182 stop in print_long_arg_list, define and use a whitespace
18183 variable in print_small_structs test, add an XFAIL for Solaris.
18184 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18185 interested enough to fix.
18186
7be570e7
JM
181871999-08-13 Keith Seitz <keiths@cygnus.com>
18188
18189 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18190 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18191 proc knows about targets other than the natives.
18192 (test_assign): Use "gdb_run_cmd" to "run" the target.
18193 Check that we've actually hit the breakpoint at main.
18194 When we attempt to assign a value to a local variable, check
18195 that the variable is in the current scope, i.e., don't use
18196 a test with an empty result.
18197
18198Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18199
18200 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18201 command.
7be570e7
JM
18202
182031999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18204
18205 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18206 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18207 gdb.compat, gdb.threads-hp.
18208 gdb.hp/configure, gdb.hp/configure.in: New files.
18209 gdb.hp/Makefile.in: Recurse into new subdirs.
18210 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18211 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18212 in object files.
18213 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18214
96baa820
JM
182151999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18216
18217 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18218 funky printf, remove a bogus p/a test.
96baa820
JM
18219
182201999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18221
18222 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18223 connected to the target. This is necessary when running not
18224 natively.
96baa820
JM
18225
182261999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18227
18228 * gdb.base/step-test.exp: Removed some extraneous messages.
18229
18230 * gdb.base/long_long.exp: Don't run memory examination tests
18231 on little-endian targets (they will need a different set of
18232 results to match).
18233
182341999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18235
18236 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18237 until somebody decides to fix GDB.
18238
18239 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18240 constant as "ULL".
96baa820
JM
18241 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18242 matches for a couple x/2 commands.
18243
a0b3c4fd
JM
182441999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18245
18246 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18247 by merging in ref-types2 tests.
18248 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18249
18250 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18251 * gdb.c++/Makefile.in: Add standard actions.
18252 (EXECUTABLES): Rename from PROGS, update list.
18253 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18254 from gdb.hp.
18255 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18256 foo and bar locals.
18257 * gdb.c++/anon-union.exp: Fix tests to match.
18258 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18259 expect matches to handle output variations.
18260 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18261 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18262 output, add HP alternatives for new and delete prints.
a0b3c4fd 18263 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18264 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18265 * gdb.c++/demangle.exp: Use $style when reporting failure.
18266 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18267 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18268 match alternatives.
18269 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18270 compilers.
a0b3c4fd
JM
18271 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18272 * gdb.c++/method.exp: Add match alternatives.
18273 * gdb.c++/misc.cc: Add bool types.
18274 * gdb.c++/misc.exp: Add tests for bool types.
18275 * gdb.c++/overload.exp: Add xfails.
18276 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18277 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18278 add some more template parameter tests (only for HP currently).
18279 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18280 * gdb.c++/virtfunc.cc: Add return type and value for main.
18281 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18282 match alternatives.
d63a86f8 18283
a0b3c4fd
JM
182841999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18285
18286 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18287
182881999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18289
18290 * gdb.base/signals.exp: Don't expect getting a backtrace from
18291 within a signal handler to fail on Linux.
18292
182931999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18294
18295 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18296 * lib/gdb.exp: Remove some gratuitious semicolons.
18297 (delete_breakpoints): Increase timeout.
18298 (gdb_expect): Add -notransfer option.
18299 (gdb_test): Use -notransfer option.
18300 (get_compiler_info): Add f77 case.
18301 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18302 case.
a0b3c4fd
JM
18303 (gdb_preprocess): Call get_compiler.
18304
18305 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18306 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18307 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18308 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18309 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18310 third arg to gdb_test.
a0b3c4fd
JM
18311 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18312 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18313 HP-UX xfails, add others.
a0b3c4fd
JM
18314 * gdb.base/completion.exp: Reflect name change of self-test.
18315 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18316 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18317 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18318 HP failure number.
a0b3c4fd
JM
18319 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18320 useless HP-UX 10.30 references.
18321 * gdb.base/maint.exp: Loosen matches.
18322 * gdb.base/pointers.c (main): Declare more_code.
18323 * gdb.base/pointers.exp: Match on output of a `next'.
18324 * gdb.base/structs.c: Add prototypes.
18325 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18326 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18327
183281999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18329
18330 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18331 command.
a0b3c4fd
JM
18332
183331999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18334
18335 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18336 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18337
18338 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18339 debug info. Deal with lack of signal hanlder info in stack.
18340
a9c64011 18341 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18342 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18343
5a2468f5
JM
183441999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18345
18346 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18347 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18348
adf40b2e
JM
18349Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18350
18351 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18352 a1-selftest.exp.
adf40b2e
JM
18353 * gdb.base/configure: Re-generate.
18354
183551999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18356
18357 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18358 in trying to run first and name is too long.
18359
18360 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18361 pointers2.c and pointers2.exp, respectively.
18362 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18363 doschk happier.
18364
43e526b9
JM
183651999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18366
18367 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18368 callfuncs2.c and callfuncs2.exp.
18369
18370 * gdb.base/list.exp: Remove mistaken xfails.
18371 * gdb.base/list0.h: Add optional prototypes.
18372
9846de1b
JM
18373Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18374
a9c64011 18375 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18376 calling malloc.
a9c64011
AS
18377 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18378 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18379 use.
9846de1b
JM
18380
183811999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18382
18383 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18384 * gdb.base/annota2.cc, annota2.exp: Move from here.
18385 * gdb.c++/annota2.cc, annota2.exp: To here.
18386 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18387
43ff13b4
JM
18388Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18389
18390 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18391 a consistent format.
43ff13b4 18392
085dd6e6
JM
183931999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18394
18395 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18396 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18397 HP compilers, also set the globals $true and $false.
18398
18399 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18400 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18401 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18402 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18403 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18404 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18405 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18406 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18407 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18408 whatis.c} Add C++ compatible function definitions and return
18409 types, add includes for library functions.
085dd6e6
JM
18410 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18411 * gdb.base/step-test.c (myglob): Rename from glob.
18412 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18413 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18414 files, move here from gdb.hp.
085dd6e6 18415 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18416 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18417 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18418 Adjust line numbers in regexps.
085dd6e6
JM
18419
18420 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18421 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18422 instead of 0/1.
18423
18424 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18425 foll-vfork.exp: New files, move here from gdb.hp.
18426 * gdb.base/page.exp: New file, test of pagination command.
18427
18428 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18429 recursion test.
18430 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18431
18432 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18433 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18434
18435 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18436 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18437 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18438 watchpoint test.
085dd6e6
JM
18439 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18440 them work.
18441 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18442 expressions properly.
18443 * gdb.base/corefile.exp: Loosen the match slightly.
18444 * gdb.base/default.exp: Allow "Error accessing memory" message
18445 also.
18446 * gdb.base/display.exp: Skip over x/0 j if PA64.
18447 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18448 * gdb.base/interrupt.exp: Ditto.
18449 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18450 in use.
18451 * gdb.base/list.exp: Add xfails for HP-UX.
18452 * gdb.base/long_long.exp: Refine some of the numeric matches.
18453 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18454 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18455 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18456 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18457 * gdb.base/ptype.exp: Succeed on more varieties of output.
18458 * gdb.base/scope.exp: Add xfails for HP-UX.
18459 * gdb.base/sect-cmd.exp: Add more cases.
18460 * gdb.base/setvar.exp: Add xfails for HP-UX.
18461 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18462 * gdb.base/signals.exp: Match on void symbolically.
18463 * gdb.base/step-test.exp: Add case for PA64.
18464 * gdb.base/term.exp: Add exit and restart.
18465 * gdb.base/twice.exp: Clean up after self.
18466 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18467 * gdb.base/whatis.exp: Allow more ways to pass tests.
18468
18469 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18470 no longer useful.
085dd6e6
JM
18471
18472Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18473
18474 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18475 list of patterns.
085dd6e6 18476 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18477 print_double_array(double_array)", "continuing to breakpoint
18478 1018", "print print_double_array(array_d)" and "continuing to
18479 1034" tests.
d63a86f8 18480
085dd6e6
JM
184811999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18482
a9c64011 18483 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18484
184851999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18486
18487 * config/mt-*: Remove, these haven't been used since 1996.
18488
184891999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18490
18491 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18492 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18493 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18494
9e0b60a8
JM
184951999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18496
18497 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18498 simpler match case for the ptype of the big class.
18499
185001999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18501
18502 * gdb.exp: Fix test for gdb_prompt existence.
18503
185041999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18505
18506 * gdb.exp (gdb_test): Add fail after calls to perror.
18507
185081999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18509
18510 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18511
185121999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18513
18514 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18515
0f71a2f6
JM
18516Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18517
18518 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18519 malloc() is linked in.
0f71a2f6
JM
18520
185211999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18522
18523 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18524 step at end.
18525
18526 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18527
185281999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18529
18530 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18531
cce74817
JM
18532Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18533
18534 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18535 * gdb.base/mips_pro.exp: Likewise.
18536
185371999-06-02 Keith Seitz <keiths@cygnus.com>
18538
18539 * gdb.c++/templates.cc: Change all "new" operators to throw
18540 an exception.
18541 * gdb.c++/cplusfuncs.cc: Likewise.
18542
18543 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18544
18545Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18546
18547 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18548 * gdb.base/ending-run.exp: When stepping out of main, accept a
18549 step into an arbitrary assembler file.
cce74817 18550
392a587b
JM
185511999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18552
d63a86f8 18553 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18554 "breakpoint-invalid" to be printed.
d63a86f8 18555 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18556 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18557 * gdb.base/annota2.cc: Initialize a.x to 0.
18558
9e086581
JM
185591999-05-17 Keith Seitz <keiths@cygnus.com>
18560
18561 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18562 when "skip_float_tests" set.
18563 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18564 "print print_ten_doubles", and "step into print_long_arg_list".
18565 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18566 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18567 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18568 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18569 "skip_float_tests" is set.
18570 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18571 when "skip_float_tests" set.
d63a86f8 18572
cd0fc7c3
SS
185731999-05-06 Keith Seitz <keiths@cygnus.com>
18574
18575 * gdb.base/annota2.cc: Include stdio.h.
18576
18577Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18578
18579 * gdb.base/crossload.exp: Remove, this has been disabled ever
18580 since BFD stopped including all targets, and cross-GDB gets
18581 plenty of testing anyway.
18582 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18583 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18584 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18585 * gdb.base/README: Remove, was doc for this.
18586 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18587 needed.
cd0fc7c3 18588
b83266a0
SS
185891999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18590
18591 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18592 output.
18593
18594 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18595 * gdb.base/annota2.exp: New file. More annotation tests.
18596 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18597 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18598
185991999-04-23 Angela Marie Thomas <angela@cygnus.com>
18600
18601 * config/cfdbug.exp: New file.
18602
7a292a7a
SS
186031999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18604
18605 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18606 Marcus Daniel's and Dale Hawkins's demangler crashes.
18607
18608 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18609 test_lucid_style_demangling, test_arm_style_demangling,
18610 test_hp_style_demangling): Try Tom Tromey's core-dumping
18611 identifier under each demangling style.
7a292a7a
SS
18612
186131999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18614
18615 * gdb.c++/demangle.exp: Include the current demangling style
18616 in all test names.
18617 (current_demangling_style): New global variable.
18618 (set_demangling_style, test_demangling_core, test_demangling,
18619 test_demangling_exact): New functions.
18620 (test_gnu_style_demangling, test_lucid_style_demangling,
18621 test_arm_style_demangling, test_hp_style_demangling): Use those,
18622 instead of calling gdb_test and gdb_test_exact directly.
18623 (catch_demangling_errors): New function, which reports errors
18624 signalled by the demangling test functions in an orderly way.
18625 (do_tests): Use catch_demangling_errors.
18626
186271999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18628
18629 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18630 grouping in expressions, not {}.
7a292a7a
SS
18631
18632 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18633 initialized yet.
7a292a7a
SS
18634
186351999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18636
18637 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18638 are listed.
18639
186401999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18641
18642 * gdb.stabs/weird.exp: Test for CC being defined before
18643 looking at its value.
18644
186451999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18646
18647 * gdb.base/call-ar-st.exp: Remove stray '#'.
18648 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18649 "short int" and "long int".
18650 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18651 change, to mollify finicky HP compiler.
7a292a7a
SS
18652 * gdb.hp/reg-test.exp (testfile): Fix file name.
18653 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18654
7a292a7a
SS
18655 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18656 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18657 alternate form of enum ptype.
18658
c906108c
SS
186591999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18660
7a292a7a
SS
18661 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18662 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18663 passing skip_hp_tests, so as not to waste time on guaranteed
18664 failure.
7a292a7a 18665
c906108c
SS
18666 * gdb.c++/overload.cc: Pass string instead of char addr, always
18667 init ccpfoo.
18668 * gdb.c++/templates.cc: Fix syntax error.
18669
7a292a7a
SS
18670Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18671
18672 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18673 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18674 command.
18675
186761999-03-18 James Ingham <jingham@cygnus.com>
18677
18678 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18679
18680 * gdb.c++/method.exp: It was testing an uninitialized int on the
18681 stack and assuming it was positive.
18682
18683 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18684
18685 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18686 keep it from killing the rest of the tests.
7a292a7a
SS
18687 Use gdb_continue_to_end.
18688
18689 * gdb.base/sigall.exp: use gdb_continue_to_end.
18690
18691 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18692
18693 * gdb.base/display.exp: use runto_main, not run.
18694
d63a86f8
RM
18695 * gdb.base/default.exp: Check for the current error message in the
18696 r abbreviation test.
7a292a7a
SS
18697 Add strongarm to the targets that know info float.
18698
d63a86f8 18699 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18700 run which doesn't work with monitors.
18701
18702 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18703
18704 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18705
18706 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18707 program. Traps the case (in Cygmon) when the program never really
18708 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18709 more places, so I used my name. Sorry Mark...
18710
18711 * config/monitor.exp (gdb_target_monitor): added another
18712 target_info parameter: remotebinarydownload. This will set the
18713 remotebinarydownload flag if this is causing some boards trouble.
18714
187151999-03-18 Mark Salter <msalter@cygnus.com>
18716
18717 * lib/gdb.exp (continue_to_exit): New function.
18718
18719 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18720 * gdb.base/ending-run.exp: Ditto.
18721 * gdb.base/step-test.exp: Ditto.
18722
187231999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18724
18725 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18726 (suggested by Art Haas <ahaas@neosoft.com>).
18727
187281999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18729
889bf7c5 18730 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18731
18732Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18733
18734 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18735 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18736
187371999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18738
18739 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18740 a call to strlen; sometimes we do have sources.
18741
187421999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18743
18744 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18745 character, so GDB won't print garbage after its end.
d63a86f8 18746
c906108c
SS
18747 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18748 breakpoint there instead. Sometimes GCC emits memcpy to handle
18749 the large structures being passed by value, so we step into that
18750 instead of sum_array_print, which obscures what we're really testing.
18751 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18752 the bizarre steps into memcpy, so do that here. Add check for
18753 stepping into function calls that pass large structures by value.
18754 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18755 Remove all references to specific line numbers.
18756 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18757 New type and function.
18758 (main): Call large_struct_by_value, passing it a large struct by value.
18759 * lib/gdb.exp (gdb_get_line_number): New function.
18760
18761 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18762 more portable.
18763
7a292a7a
SS
187641999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18765
c906108c
SS
18766 * lib/gdb.exp: Doc fixes.
18767
7a292a7a
SS
187681999-03-05 Nick Clifton <nickc@cygnus.com>
18769
d63a86f8 18770 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18771
187721999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18773
c906108c 18774 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18775 commands. They're not germane to this test, and they don't work
18776 that way on remote targets.
c906108c 18777
3fc11d3e
JM
187781999-03-01 James Ingham <jingham@cygnus.com>
18779
18780 * Changelog entries merged over from gdb development branch.
18781
3fc11d3e
JM
18782 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18783
18784 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18785 for outputting results of test run.
18786
2d4a1622 18787 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18788
18789 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18790
7a292a7a
SS
187911999-02-25 Felix Lee <flee@cygnus.com>
18792
18793 * lib/gdb.exp (debug_format): initialize
18794
c906108c
SS
187951999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18796
18797 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18798 * gdb.base/call-rt-st.c: Ditto.
18799
c906108c
SS
188001999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18801
18802 * gdb.threads/pthreads.exp (horiz): New variable.
18803 (test_startup): Fix regexps that capture thread numbers.
18804
188051999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18806
18807 * gdb.base/smoke.exp: Disambiguate two test case names (both
18808 called ``print'').
18809
18810Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18811
18812 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18813 compilation.
c906108c
SS
18814
188151999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18816
18817 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18818 actual output formatting.
18819 * gdb.base/smoke.exp: GDB removes leading 0's.
18820 * gdb.base/volatile.exp: Don't check type of remuneration;
18821 that variable is no longer defined in constvars.c.
18822 * gdb.base/step-test.c (main): Exit with explicit exit code.
18823 * gdb.base/step-test.exp: Remove two nexti checks--they are
18824 not portable.
18825
188261999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18827
18828 * gdb.base/help.exp ("help delete display"): Fix test to match
18829 gdb's output.
18830
18831 * gdb.base/long_long.c (known_types): Initialize values to zero.
18832 * gdb.base/long_long.exp: Step one more line
18833 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18834 leading zeros. Explicitly ask for hex formatting. Use
18835 unique test case names.
c906108c
SS
18836
18837Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18838
d63a86f8 18839 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18840
18841 * gdb.c++/method.exp: Add missing close brace.
18842
188431999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18844
18845 * gdb.base/maint.exp: Use 'set height 0' to disable page
18846 prompting, not 'set height 400'.
18847
18848 Fix a bunch of timeouts.
18849 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18850 four separate tests, so expect doesn't take forever to match a ton
18851 of text against a regexp with lots of .* forms.
18852 ("maint print psymbols", "maint print symbols"): Make some of
18853 these greps more selective, so that expect doesn't try to wade
18854 through huge piles of output and time out.
18855
18856 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18857
18858 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18859 tests: one which doesn't expect shlib events to be reported, and
18860 another which does, but is XFAIL for all platforms other than
18861 HP/UX.
c906108c
SS
18862
18863 * gdb.base/break.exp: Teach the test suite that the `catch
18864 fork', `catch vfork', and `catch exec' commands produce error
18865 messages on platforms that don't provide these features.
18866
18867Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18868
18869 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18870 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18871 (shortening names from solib_threshold.exp etc), won't run on
18872 anything but HP-UX for the foreseeable future.
c906108c 18873 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18874 reflect move.
c906108c
SS
18875
18876Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18877
18878 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18879 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18880
18881Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18882
18883 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18884 successfully re-sets breakpoints in shared libraries.
18885 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18886
18887Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18888
d63a86f8
RM
18889 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18890 and compiled w/o GCC.
c906108c
SS
18891
18892 * gdb.hp/watch-cmd.exp: ditto.
18893
18894 * gdb.hp/watch-hp.exp: ditto.
18895
18896 * gdb.hp/xdb1.exp: ditto.
18897
18898 * gdb.hp/xdb2.exp: ditto.
18899
18900 * gdb.hp/dbx.exp: ditto.
18901
18902Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18903
18904 * constvars.c: Remove C++-isms.
18905 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18906 with GCC.
c906108c
SS
18907
18908Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18909
18910 The following changes are part of the HP merge.
18911
18912 * gdb.base/break.exp: new tests to verify that catchpoints for
18913 fork, vfork, and exec don't trigger inappropriately.
18914
18915 * gdb.base/opaque.exp: compile one file at a time, then link.
18916
18917 * gdb.base/signals.exp: be more restrictive about which hppa
18918 systems receive a setup_xfail. new tests.
18919
18920 * gdb.base/solib_threshold.build: new file.
18921 * gdb.base/solib_threshold.exp: new file.
18922 * gdb.base/solib_threshold.link_opts: new file.
18923 * gdb.base/solib_threshold.mk: new file.
18924 * gdb.base/gen_solib_threshold.c: new file.
18925
18926 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18927 tests. New tests for enums inside classes.
18928
18929 * gdb.c++/compiler.cc: indicate support of template debugging.
18930
18931 * gdb.c++/demangle.exp: run hp style demangling tests.
18932
18933 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18934 tests.
18935
18936 * gdb.c++/misc.cc: changes to support new tests.
18937
18938 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18939 to support new tests.
18940
18941 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18942 gcc, then skip these tests.
18943
18944Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18945
18946 The following files are part of the HP merge; some had longer
18947 names at HP, but have been renamed to be no more than 14
18948 characters in length.
18949
18950 * gdb.hp/ambiguous.cc: new file.
18951 * gdb.hp/ambiguous.exp: new file.
18952 * gdb.hp/attach.exp: new file.
18953 * gdb.hp/attach2.exp: new file.
18954 * gdb.hp/classes-hp.exp: new file.
18955 * gdb.hp/ctti.exp: new file.
18956 * gdb.hp/ctti-add.cc: new file.
18957 * gdb.hp/ctti-add1.cc: new file.
18958 * gdb.hp/ctti-add2.cc: new file.
18959 * gdb.hp/ctti-add3.cc: new file.
18960 * gdb.hp/dbx.exp: new file.
18961 * gdb.hp/exception.cc: new file.
18962 * gdb.hp/exception.exp: new file.
18963 * gdb.hp/foll-exec.c: new file.
18964 * gdb.hp/foll-exec.exp: new file.
18965 * gdb.hp/foll-fork.c: new file.
18966 * gdb.hp/foll-fork.exp: new file.
18967 * gdb.hp/foll-vfork.c: new file.
18968 * gdb.hp/foll-vfork.exp: new file.
18969 * gdb.hp/inherit-hp.exp: new file.
18970 * gdb.hp/more-steps.exp: new file.
18971 * gdb.hp/namespace.cc: new file.
18972 * gdb.hp/namespace.exp: new file.
18973 * gdb.hp/optimize.exp: new file.
18974 * gdb.hp/pxdb.c: new file.
18975 * gdb.hp/pxdb.exp: new file.
18976 * gdb.hp/quicksort.exp: new file.
18977 * gdb.hp/reg-test.exp: new file.
18978 * gdb.hp/reg-test.s: new file.
18979 * gdb.hp/sized-enum.c: new file.
18980 * gdb.hp/sized-enum.exp: new file.
18981 * gdb.hp/start-stop.exp: new file.
18982 * gdb.hp/templ-hp.cc: new file.
18983 * gdb.hp/templ-hp.exp: new file.
18984 * gdb.hp/thr-lib.c: new file.
18985 * gdb.hp/thr-lib.exp: new file.
18986 * gdb.hp/thr-lib.h: new file.
18987 * gdb.hp/thr-liblib.c: new file.
18988 * gdb.hp/virtfun-hp.c: new file.
18989 * gdb.hp/virtfun-hp.exp: new file.
18990 * gdb.hp/watch-cmd.exp: new file.
18991 * gdb.hp/watch-hp.exp: new file.
18992 * gdb.hp/xdb1.exp: new file.
18993 * gdb.hp/xdb2.exp: new file.
18994 * gdb.hp/xdb3.exp: new file.
18995
18996Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18997
18998 The following files are part of the HP merge; some had longer
18999 names at HP, but have been renamed to be no more than 14
19000 characters in length.
19001
19002 * gdb.base/ss.h: new file.
19003 * gdb.base/call-ar-st.c: new file.
19004 * gdb.base/call-ar-st.exp: new file.
19005 * gdb.base/call-rt-st.c: new file.
19006 * gdb.base/call-rt-st-exp: new file.
19007 * gdb.base/call-strs.exp: new file.
19008 * gdb.base/ena-dis-br.exp: new file.
19009 * gdb.base/environ.exp: new file.
19010 * gdb.base/long_long.exp: new file.
19011 * gdb.base/sect-cmd.exp: new file.
19012 * gdb.base/shlib-cl2.exp: new file.
19013 * gdb.base/smoke.exp: new file.
19014 * gdb.base/so-impl-ld.c: new file.
19015 * gdb.base/so-impl-ld.exp: new file.
19016 * gdb.base/so-indr-cl.c: new file.
19017 * gdb.base/so-indr-cl.exp: new file.
19018 * gdb.base/varargs.exp: new file.
19019 * gdb.base/volatile.exp: new file.
19020 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19021 * gdb.base/display.exp: new file.
c906108c
SS
19022 * gdb.c++/derivation.exp: new file.
19023 * gdb.c++/local.exp: new file.
19024 * gdb.c++/member-ptr.exp: new file.
19025 * gdb.c++/overload.exp: new file.
19026 * gdb.c++/ovldbreak.exp: new file.
19027 * gdb.c++/ref-types.exp: new file.
19028 * gdb.c++/ref-types2.exp: new file.
19029 * gdb.c++/userdef.exp: new file.
d63a86f8 19030
c906108c
SS
19031Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19032
19033 * gdb.base/default.exp: Reflect wording change in remote.c.
19034
dc96c6c7 19035Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19036
19037 * gdb.base/help.exp: Update to reflect current text.
19038
19039Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19040
19041 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19042 they're stack variables and contain garbage.
19043 * gdb.c++/anon-union.exp: new file.
19044
19045 The following changes were made by David Taylor
889bf7c5
PA
19046 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19047 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19048 in changes by HP.
c906108c
SS
19049
19050 * gdb.base/bitops.exp: new file.
19051 * gdb.base/default.exp: change expected messages for catch and
19052 info catch tests to reflect HP merge changes.
19053 * gdb.base/enable-disable-break.exp
19054 * gdb.base/ending-run.c: new file.
19055 * gdb.base/long_long.c: new file.
19056 * gdb.base/maint.exp: new file.
19057 * gdb.base/pointers2.exp: new file.
19058 * gdb.base/shlib-call2.exp: new file.
19059 * gdb.base/solib.exp: new file.
19060 * gdb.base/step-test.c: new file.
19061 * gdb.c++/anon-union.cc: new file.
19062 * gdb.c++/local.cc: new file.
19063 * gdb.c++/member-pointer.cc: new file.
19064 * gdb.c++/method.cc: new file.
19065 * gdb.c++/ref-types.cc: new file.
19066 * gdb.c++/ref-types2.cc: new file.
19067 * gdb.c++/userdef.cc: new file.
d63a86f8 19068
c906108c
SS
19069 * gdb.base/scope.exp: compile one file at a time, then link.
19070 * gdb.base/langs.exp: ditto.
19071 * gdb.base/list.exp: ditto.
d63a86f8 19072
c906108c
SS
19073Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19074
19075 The following changes were made by David Taylor
889bf7c5
PA
19076 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19077 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19078 in changes by HP.
d63a86f8 19079
c906108c
SS
19080 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19081 skip tests. When compiling pass c++ flag to gdb_compile.
19082 * gdb.c++/
d63a86f8 19083
c906108c
SS
19084 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19085 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19086 (skip_hp_tests): new function.
19087 (gdb_preprocess): new function.
19088
19089 * configure.in (hpdir): decide whether to configure gdb.hp.
19090 * configure: regenerated.
19091
19092 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19093 to delete on clean.
19094 (EXECUTABLES): update to reflect new additions.
19095 * gdb.base/commands.exp: update message expected.
19096 * gdb.base/default.exp: add copyright notice.
19097 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19098 * gdb.base/help.exp: update messages to reflect current text.
19099 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19100 targets for recurse tests.
19101 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19102 skip this file.
19103
19104 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19105 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19106 compilation.
19107 * gdb.c++/misc.exp: ditto.
19108 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19109 run the tests. tell gdb_compile that it's a c++ compilation.
19110
19111 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19112
c906108c
SS
19113 * gdb.base/all-bin.exp: new file.
19114 * gdb.base/arithmet.exp: new file.
19115 * gdb.base/assign.exp: new file.
19116 * gdb.base/completion.exp: new file.
19117 * gdb.base/cond-expr.exp: new file.
19118 * gdb.base/condbreak.exp: new file.
19119 * gdb.base/define.exp: new file.
19120 * gdb.base/dollar.exp: new file.
19121 * gdb.base/environment.exp: new file.
19122 * gdb.base/eval-skip.exp: new file.
19123 * gdb.base/jump.exp: new file.
19124 * gdb.base/logical.exp: new file.
19125 * gdb.base/pointers.exp: new file.
19126 * gdb.base/relational.exp: new file.
19127 * gdb.base/section_command.exp: new file.
19128 * gdb.base/whatis-expr.exp: new file.
19129
19130 * gdb.base/all-types.c: new file.
19131 * gdb.base/call-array-struct.c: new file.
19132 * gdb.base/call-return-struct.c: new file.
19133 * gdb.base/call-strings.c: new file.
19134 * gdb.base/callfuncs2.c: new file.
19135 * gdb.base/condbreak.c: new file.
19136 * gdb.base/constvars.c: new file.
19137 * gdb.base/display.c: new file.
19138 * gdb.base/int-type.c: new file.
19139 * gdb.base/jump.c: new file.
19140 * gdb.base/miscexprs.c: new file.
19141 * gdb.base/pointers.c: new file.
19142 * gdb.base/pointers2.c: new file.
19143 * gdb.base/shmain.c: new file.
19144 * gdb.base/shr1.c: new file.
19145 * gdb.base/shr2.c: new file.
19146 * gdb.base/solib.c: new file.
19147 * gdb.base/solib1.c: new file.
19148 * gdb.base/solib2.c: new file.
19149 * gdb.base/varargs.c: new file.
19150 * gdb.c++/derivation.cc: new file.
19151 * gdb.c++/overload.cc: new file.
19152 * gdb.c++/ovldbreak.cc: new file.
19153 * gdb.hp/attach.c: new file.
19154 * gdb.hp/attach2.c: new file.
19155 * gdb.hp/average.c: new file.
19156 * gdb.hp/compiler.c: new file.
19157 * gdb.hp/compiler.cc: new file.
19158 * gdb.hp/execd-program.c: new file.
19159 * gdb.hp/follow-exec.c: new file.
19160 * gdb.hp/follow-fork.c: new file.
19161 * gdb.hp/follow-vfork-and-exec.c: new file.
19162 * gdb.hp/misc-hp.cc: new file.
19163 * gdb.hp/more-steps.c: new file.
19164 * gdb.hp/optimize.c: new file.
19165 * gdb.hp/quicksort.c: new file.
19166 * gdb.hp/run-hp.c: new file.
19167 * gdb.hp/start-stop.c: new file.
19168 * gdb.hp/sum.c: new file.
19169 * gdb.hp/templates-hp.cc: new file.
19170 * gdb.hp/thread-local-in-lib.c: new file.
19171 * gdb.hp/thread-local-in-lib.h: new file.
19172 * gdb.hp/thread-local-in-lib.lib.c: new file.
19173 * gdb.hp/vforked-program.c: new file.
19174 * gdb.hp/virtfunc-hp.cc: new file.
19175 * gdb.hp/watchpoint-hp.c: new file.
19176 * gdb.hp/xdb.c: new file.
19177 * gdb.hp/xdb0.c: new file.
19178 * gdb.hp/xdb0.h: new file.
19179 * gdb.hp/xdb1.c: new file.
19180
19181Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19182
19183 The following change was made by Edith Epstein
889bf7c5
PA
19184 <eepstein@cygnus.com> as part of a project to merge in changes
19185 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19186
19187 * gdb.c++/demangle.exp: changed the expected output for some
19188 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19189 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19190 T1<char>::~T1<char>(void)
c906108c 19191 becomes,
a9c64011
AS
19192 maint demangle __dt__11T1__pt__2_cFv
19193 T1<char>::~T1(void)
c906108c 19194
889bf7c5 19195 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19196
c906108c
SS
19197Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19198
19199 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19200 * gdb.trace/backtrace.exp: Likewise.
19201 * gdb.trace/circ.exp: Likewise.
19202 * gdb.trace/collection.exp: Likewise.
19203 * gdb.trace/deltrace.exp: Likewise.
19204 * gdb.trace/infotrace.exp: Likewise.
19205 * gdb.trace/limits.exp: Likewise.
19206 * gdb.trace/packetlen.exp: Likewise.
19207 * gdb.trace/passc-dyn.exp: Likewise.
19208 * gdb.trace/passcount.exp: Likewise.
19209 * gdb.trace/report.exp: Likewise.
19210 * gdb.trace/save-trace.exp: Likewise.
19211 * gdb.trace/tfind.exp: Likewise.
19212 * gdb.trace/tracecmd.exp: Likewise.
19213 * gdb.trace/while-dyn.exp: Likewise.
19214 * gdb.trace/while-stepping.exp: Likewise.
19215
192161998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19217
19218 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19219
19220Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19221
19222 From Brendan Kehoe:
19223 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19224 int return types.
19225
19226Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19227
19228 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19229 remote dos host testing right.
c906108c
SS
19230
19231Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19232
19233 * gdb.base/corefile.exp: remove some xfails.
19234
19235Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19236
19237 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19238 have different timestamps.
c906108c
SS
19239
19240Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19241
19242 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19243 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19244
19245Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19246
19247 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19248 delta.
c906108c
SS
19249
19250Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19251
19252 * gdb.base/default.exp: Add brace missing from previous delta.
19253
19254Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19255
19256 * gdb.base/default.exp: Support test for info float for all
19257 varieties of arm toolchain.
19258
dc96c6c7 19259Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19260
19261 * gdb.trace/*.exp: remove "remote_download" command.
19262
dc96c6c7 19263Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19264
19265 * gdb.trace/*.exp: remove -gdwarf from compile.
19266
19267Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19268
19269 * gdb.trace/configure.in(AC_INIT): typo
19270 * gdb.trace/configure: regenerated
19271
dc96c6c7 19272Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19273
19274 * config/m68k-emc.exp: New file.
19275 * lib/<emc-support.exp trace-support.exp}: New files.
19276 * configure.in: add new test directory gdb.trace.
19277 * gdb.trace/{configure configure.in Makefile.in}: New files.
19278 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19279 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19280 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19281 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19282 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19283 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19284 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19285
dc96c6c7 19286Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19287
19288 * gdb.c++/classes.exp: Change all regular expressions to match
19289 arbitrary combinations of newline/carriage-return, so that they
19290 will work equally well on Unix and Windows.
19291 * gdb.c++/inherit.exp: ditto.
19292 * gdb.c++/virtfunc.exp: ditto.
19293
192941998-08-11 Dawn Perchik <dawn@cygnus.com>
19295
19296 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19297
c2d11a7d
JM
19298Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19299
19300 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19301 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19302 to use a0-a3/d0-d3 as needed.
19303
19304Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19305
19306 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19307 * gdb.disasm/am33.exp: Corresponding changes.
19308
c906108c
SS
193091998-07-11 Felix Lee <flee@cygnus.com>
19310
19311 * gdb.base/callfuncs.exp: add cmp10 test.
19312 * gdb.base/callfuncs.c (cmp10): new function.
19313
19314Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19315
d63a86f8 19316 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19317 into two parts to get around a synchronization problem in expect.
19318
3fc11d3e
JM
19319Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19320
19321 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19322
19323 * configure.in: Add options for gdbtk testsuite.
19324
19325 * configure: Regenerate.
19326
19327 * gdb.gdbtk: New directory to hold gdbtk tests.
19328
c906108c
SS
19329Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19330
19331 * gdb.fortran/types.exp: Escape brackets in expect patterns
19332 for test_float_literal_types_accepted tests.
19333 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19334 before run test.
19335
c2d11a7d
JM
19336Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19337
19338 * am33.exp: Just compile, do not link the testcase.
19339 * am33.s: Add ".am33" pseudoop to force am33 mode.
19340
c906108c
SS
193411998-06-25 Felix Lee <flee@cygnus.com>
19342
19343 * gdb.base/setshow.exp: make sure $pc is sane.
19344
19345 * gdb.stabs/weird.exp: split expect patterns properly.
19346
c2d11a7d
JM
19347Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19348
19349 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19350 * gdb.disasm/am33.exp: Run it.
19351
dc96c6c7 19352Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19353
19354 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19355 match processing (and eliminate spurious timeouts when running).
19356
dc96c6c7 19357Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19358
19359 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19360 exception test, but conditionalize it on target [mach | gnu].
19361
dc96c6c7 19362Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19363
19364 * gdb.base/overlays.exp: fixup compile line for linker script.
19365
19366Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19367
19368 * gdb.fortran/types.exp: don't guess at float size.
19369
19370Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19371
19372 * gdb.base/exprs.exp: delete test that depends on int size.
19373
19374Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19375
19376 * config/sim.exp: Removed checks for target triplets.
19377 (gdb_target_sim): Use gdb,target_sim_options.
19378
19379Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19380
19381 * gdb.base/reread.exp: New file.
19382 * gdb.base/reread1.c: New file.
19383 * gdb.base/reread2.c: New file.
19384
19385Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19386
19387 * config/sim.exp: Use 'target sim -sparclite' when running
19388 SPARClite programs.
19389
19390Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19391
19392 * gdb.base/structs2.exp: New file.
19393 * gdb.base/structs2.c: New file.
19394
19395Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19396
19397 * gdb.asm/common.inc: New file.
19398 * gdb.asm/d10v.inc: New file.
19399 * asm-source.exp: Pass -I's to gas to find .inc files.
19400 Update line numbers in expected output.
19401 * asmsrc1.s: Rewrite.
19402 * asmsrc2.s: Rewrite.
19403 * configure.in: Create arch.inc symlink.
19404 * configure: Regenerate.
19405 * Makefile.in (distclean): Delete arch.inc.
19406
19407Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19408
19409 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19410 (t_enum_value2): ditto
19411 (t_enum_value3): ditto
19412 (main): ditto
c906108c
SS
19413Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19414
19415 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19416 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19417 change.
19418 Use gdb_test instead of send_gdb/gdb_expect sequences.
19419
19420Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19421
19422 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19423 not void.
19424
19425Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19426
19427 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19428 subroutines. Used to test gdbs ability to single step through PC
19429 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19430
19431Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19432
19433 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19434 more rigorous EGCS C++ error checking.
19435
19436Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19437
a9c64011
AS
19438 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19439 tests.
19440 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19441 function when asleep.
19442 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19443 for i*86 Linux and SVR4 signal handling problems.
19444 Remove linux xfail for `next to handler in signals_tests_1', fixed
19445 by recent infrun.c change.
19446 Limit backtrace to 10 frames to avoid timeout problems with infinite
19447 stack backtraces.
19448 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19449 target.[ch] change.
c906108c
SS
19450
19451Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19452
19453 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19454 for a newline from gdb before continuing.
19455 (default_gdb_exit): Just look for y or n.
19456 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19457 it does, fail the rests of the tests in the file.
19458
19459Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19460
19461 * config/cygmon.exp: New file.
19462
19463Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19464
19465 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19466 main" test on remote targets.
c906108c
SS
19467
19468 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19469 run test on remote targets.
19470
19471Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19472
19473 * gdb.asm: New directory.
19474 * configure.in: Configure it.
19475 * configure: Regenerate.
19476 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19477 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19478
19479Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19480
19481 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19482
dc96c6c7 19483Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19484
a9c64011
AS
19485 * gdb.base/overlays (several files): Merge the two overlay
19486 managers into one. Change variables (foox, barx, bazx, grbxx)
19487 back into ints but force them to load in their proper sections.
c906108c
SS
19488
19489Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19490
19491 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19492 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19493 (D10VCopy): Handle memory regions crossing 16k boundaries.
19494 (D10VCopy): Transfer data in 32 bit chunks.
19495
19496Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19497
19498 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19499 correct.
c906108c
SS
19500
19501 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19502 map. Include space for printf in .text segment.
c906108c
SS
19503
19504 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19505 updated d10v memory VMA/LMA map.
c906108c 19506 (D10VCopy): Call D10VTranslate.
d63a86f8 19507
c906108c
SS
19508Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19509
19510 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19511
19512 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19513 that it won't be put into the .sdata - small data -
19514 section. Update reference.
c906108c
SS
19515 * gdb.base/baz.c (bazx, baz): Ditto.
19516 * gdb.base/foo.c (foox, foo): Ditto.
19517 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19518
19519 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19520 to be arrays.
d63a86f8 19521
dc96c6c7 19522Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19523
a9c64011
AS
19524 * gdb.base/overlays.exp: fix up and get working again.
19525 Add tests for backtraces from an overlay function.
d63a86f8 19526
c906108c
SS
19527Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19528
19529 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19530 "calling function with watchpoint enabled".
19531
19532Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19533
19534 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19535 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19536 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19537 pending review of whether it is useful or not.
19538
19539Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19540
19541 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19542
19543Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19544
19545 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19546 * config/dve.exp: New file to support Densan boards.
19547
19548Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19549
19550 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19551 reads and BSD.
c906108c
SS
19552
19553Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19554
19555 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19556 response.
19557
19558 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19559
19560Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19561
19562 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19563 test.
c906108c
SS
19564
19565 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19566 target_sizeof_long and target_bigendian_p.
c906108c 19567 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19568 to targets word size and endianess.
d63a86f8 19569
c906108c
SS
19570Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19571
19572 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19573 output.
c906108c
SS
19574
19575Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19576
19577 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19578 Update test of set args help to match source change.
c906108c
SS
19579
19580Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19581
19582 * gdb.base/default.exp: Expect help system output to be in
19583 alphabetical order.
19584 * gdb.base/help.exp: Ditto.
19585
19586Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19587
19588 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19589 "i*86-pc-linux-gnu*".
19590 * gdb.base/interrupt.exp: Ditto.
19591 * gdb.base/corefile.exp: Ditto.
19592
19593 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19594 define vxworks when building the testcase.
c906108c
SS
19595
19596 * gdb.base/ptype.exp: Fix testnames to be unique.
19597 * gdb.base/radix.exp: Ditto.
19598 * gdb.base/term.exp: Ditto.
19599 * gdb.base/whatis.exp: Ditto.
19600 * gdb.c++/classes.exp: Ditto.
19601
19602Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19603
19604 * gdb.base/callfuncs.exp: Fix indentation.
19605
19606 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19607 suppress_flag has been set.
19608 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19609 target feature.
19610
19611Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19612
19613 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19614 the testcase.
19615
19616 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19617 set_debug_traps() and breakpoint().
c906108c
SS
19618 * gdb.c++/misc.cc (main): Ditto.
19619 * gdb.c++/templates.cc (main): Ditto.
19620 * gdb.c++/virtfunc.cc (main): Ditto.
19621
19622Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19623
19624 * lib/gdb.exp(gdb_step_for_stub): New function.
19625 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19626 exists, reload the executable and do a "continue" instead of
19627 doing a jump.
19628 (runto_main): Use gdb_step_for_stub.
d63a86f8 19629
c906108c 19630 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19631 tests to have unique names.
c906108c
SS
19632 * gdb.base/callfuncs.exp: Ditto.
19633 * gdb.base/commands.exp: Ditto.
19634 * gdb.base/default.exp: Ditto.
19635 * gdb.base/help.exp: Ditto.
19636 * gdb.base/list.exp: Ditto.
19637 * gdb.base/opaque.exp: Ditto.
19638 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19639 similar tests.
d63a86f8 19640
c906108c
SS
19641 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19642 * gdb.c++/cplusfuncs.cc: Ditto.
19643 * gdb.c++/virtfunc.cc: Ditto.
19644
19645 * config/monitor.exp: Keep track of the last file we saw, rather
19646 than trying to get the info from gdb.
19647
19648 * gdb.fortran/types.exp: Move comment to previous line.
19649
19650Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19651
19652 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19653 target mode.
c906108c
SS
19654
19655Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19656
19657 From Bob Manson:
19658 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19659 string from GDB when it connects.
c906108c
SS
19660
19661 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19662
19663Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19664
19665 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19666 if we can't get a debug format from GDB (we may be testing an
19667 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19668
19669 * gdb.stabs/weird.exp: Fix quoting.
19670
19671 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19672
19673Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19674
19675 * config/arm-ice.exp: New file.
19676
19677Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19678
19679 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19680 until it has been modified to work with the new testsuite.
c906108c 19681
99707966 19682 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19683 testcase won't compile, cause all of the testcases in the file to
19684 fail instead.
c906108c
SS
19685
19686 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19687 (gdb_clear_suppressed): New procedure.
19688 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19689 it contains a positive value.
19690
19691Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19692
19693 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19694
19695 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19696
19697Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19698
19699 * lib/gdb.exp (setup_xfail_format): New function.
19700 (get_debug_format): New function to get debug format.
19701 (debug_format): New global variable to hold last value set
19702 by get_debug_format.
19703 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19704 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19705 * gdb.c++/ptype.exp: Ditto.
19706 * gdb.c++/classes.exp: Ditto.
19707 * gdb.c++/cplusfuncs.exp: Ditto.
19708 * gdb.c++/inherit.exp: Ditto.
19709 * gdb.c++/templates.exp: Ditto.
19710 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19711
c906108c
SS
19712Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19713
19714 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19715 host doesn't have a currently-open connection.
19716
19717 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19718 any gdb stub target. Handle cases where gdb doesn't respond when
19719 interrupted in a sane fashion.
c906108c
SS
19720
19721 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19722 same thing in a totally different way.
c906108c
SS
19723
19724 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19725 setting "timeout".
c906108c 19726 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19727 default_gdb_init now.
c906108c
SS
19728
19729Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19730
19731 * gdb.base/printcmds.exp: Fix "check for floating addition"
19732 regexp to accept results within approx +/- .01 of exact value.
19733 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19734
19735Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19736
19737 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19738 properly.
c906108c
SS
19739 (gdb_expect): Add optional timeout parameter, and add timeout
19740 value to various calls.
19741 (gdb_suppress_tests): Only give one warning message per group.
19742
19743Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19744
19745 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19746 global variables. Handle getting a value for $timeout more
19747 gracefully.
c906108c
SS
19748
19749Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19750
19751 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19752 initialize.
c906108c 19753 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19754 by a target configuration file.
c906108c
SS
19755 (gdb_expect): Pass the timeout to remote_expect.
19756
19757 * config/monitor.exp(gdb_load): Fix typo in regexp.
19758
19759Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19760
19761 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19762
19763Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19764
19765 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19766 here. Call gdb_target_exec before rebooting the target, to make
19767 sure the connection to the target is closed.
c906108c
SS
19768 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19769 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19770 Also detect "Timeout reading from remote" error.
19771
19772 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19773 gdb_target_monitor. Don't call gdb_file_cmd here; let
19774 gdb_target_monitor do it.
c906108c
SS
19775
19776 * gdb.disasm/hppa.exp: Don't use exec_output.
19777
19778Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19779
19780 * gdb.base/list.exp: If we're debugging a non-native target,
19781 try to set the pc register to point to the start of the
19782 program before doing the first list command.
19783
19784 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19785 test_calls after restarting.
c906108c
SS
19786
19787 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19788 reloading.
c906108c
SS
19789
19790 * gdb.base/watchpoint.exp: Fix typo.
19791
19792 * gdb.base/setshow.exp: Check for use_gdb_stub.
19793
19794 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19795 stub case.
c906108c
SS
19796 * gdb.base/langs.exp: Ditto.
19797
19798 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19799 gdb_load_offset. If we weren't given a file to load, figure out
19800 what the current file is and use it.
c906108c
SS
19801
19802 * config/i386-bozo.exp: New file.
19803
19804Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19805
19806 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19807 feature.
19808
19809 * config/proelf.exp: New entry.
19810
19811Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19812
19813 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19814 of regexps.
19815
19816 * gdb.base/watchpoint.exp: Don't run the test_stepping
19817 tests if gdb can't call functions on the target.
19818
19819 * gdb.base/setshow.exp: Don't run the set prompt tests if
19820 the board has gdb_prompt set.
19821
19822Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19823
19824 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19825 * gdb.base/commands.exp: Likewise.
19826 * gdb.base/setshow.exp: Likewise.
19827
19828Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19829
19830 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19831 feature.
19832
19833 * config/i960.exp: New file.
19834
19835Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19836
19837 * gdb.base/funcargs.exp: Check for gdb,short_int target
19838 feature instead of looking for explicit target triplets.
19839
dc96c6c7 19840Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19841
d63a86f8 19842 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19843 "p 123DEADBEEF", to check parse_number.
19844 * top.c: change "to enable to enable" to "to enable" in a couple
19845 of help strings.
19846
19847Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19848
19849 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19850 on the mn10300.
d63a86f8 19851
c906108c
SS
19852Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19853
19854 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19855 where the test executable is run with explicit args.
19856 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19857
19858Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19859
19860 * gdb.base/run.c: Use FAKEARGV to build test executable that
19861 does not require a command line arg, since most simulators
19862 don't currently support passing such an arg into the simulated
19863 program.
19864 * gdb.base/commands.exp: Change tests to insert the proper
19865 value as the arg to the first recursive factorial call. Change
19866 compilation line to define FAKEARGV at compile time.
19867
19868Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19869
19870 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19871 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19872 function with watchpoint enabled" test.
19873
19874Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19875
19876 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19877 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19878
19879 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19880 "Tests restarted" messages.
c906108c
SS
19881
19882Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19883
19884 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19885
dc96c6c7 19886Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19887
19888 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19889 for INFO SYMBOL; add help tests for OVERLAY commands.
19890 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19891 add tests for OVERLAY commands
19892 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19893 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19894 * gdb.base/sigall.c: add usestubs code frag
19895 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19896
c906108c
SS
19897Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19898
19899 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19900 failures.
19901 (gdb_stop_suppressing_tests): Note that tests have restarted.
19902
19903Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19904
19905 * config/h8300.exp: New file.
19906
19907Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19908
19909 * gdb.base/setshow.exp: Check for the existence of a
19910 feature, not its value.
19911
19912Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19913
19914 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19915
19916 * gdb.base/scope.exp: It's now init0(), not init().
19917
19918 * gdb.base/scope0.c: For now, change init() to be init0().
19919
19920 * config/monitor.exp: Use gdb_serial in preference to serial
19921 or netport.
19922
19923 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19924 and it's not already set.
c906108c
SS
19925
19926Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19927
19928 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19929 isn't using a stub and if it supports argument passing.
c906108c
SS
19930
19931Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19932
19933 * config/udi.exp(gdb_start): Make sure UDICONF is set
19934 properly before starting gdb.
19935
19936Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19937
19938 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19939 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19940 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19941
19942Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19943
19944 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19945 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19946
19947 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19948
19949 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19950
19951 * config/monitor.exp: Make sure we disconnect from the target.
19952 Also, try a reboot/reload cycle instead of failing if the
19953 load fails.
19954
19955Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19956
19957 * gdb.base/default.exp: Don't set match_max.
19958 * gdb.base/help.exp: Ditto.
19959 * gdb.base/list.exp: Ditto.
19960 * gdb.base/signals.exp: Ditto.
19961
19962 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19963 set, use remote_ld to download the testcase instead of
19964 the GDB loader.
19965
19966Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19967
19968 * config/vr5000.exp: New file.
19969
19970 * config/monitor.exp(gdb_target_monitor): Add pattern for
19971 "Ending remote" to detect errors in connecting.
19972
19973 * gdb.base/setshow.exp: Add .* within auto language test.
19974
19975 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19976 target feature.
19977
19978 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19979 and reboot the board if necessary.
c906108c
SS
19980
19981 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19982 a set of tests. Remove print.* from the patterns being checked.
19983
19984Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19985
19986 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19987 refer to gdb_spawn_id.
19988
19989 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19990 longer used.
19991 * config/sparclet.exp: Ditto.
19992 * config/sparclet-old.exp: Ditto.
19993 * config/slite.exp: Ditto.
19994 * config/sim.exp: Ditto.
19995 * gdb.base/funcargs.exp: Ditto.
19996
19997 * lib/gdb.exp:Remove references to gdb_spawn_id.
19998 (gdb_expect): Move to remote.exp.
19999
20000Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20001
20002 * config/monitor.exp: Detect the "Couldn't establish connection"
20003 message from GDB.
20004
20005Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20006
20007 * gdb.base/bitfields.exp: Use runto instead of explicit
20008 gdb_run_cmd/gdb_expect sequences.
20009
20010 * gdb.base/break.exp(text_next_with_recursion): Add match for
20011 gdb_expect call.
20012
20013 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20014 We also need to handle the "A program is being debugged already"
20015 prompt from gdb. Use gdb_test to set the baud rate.
20016
20017 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20018 to 20000. Really. I mean it.
20019
20020Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20021
20022 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20023 fails. If suppress_flag is set, skip perror message about not
20024 being able to send to GDB.
c906108c 20025 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20026 GDB.
c906108c
SS
20027 (gdb_expect): If suppress_flag is set, always fail immediately.
20028 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20029 (gdb_init): Call gdb_stop_suppressing_tests.
20030 (default_gdb_exit): Ditto.
20031 (default_gdb_start): Ditto.
20032
20033 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20034 gdb_stop_suppressing_tests as appropriate.
c906108c 20035 * gdb.base/break.exp: Ditto.
889bf7c5 20036 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20037 * gdb.base/commands.exp: Ditto.
20038 * gdb.base/exprs.exp: Ditto.
889bf7c5 20039 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20040 * gdb.base/list.exp: Ditto.
20041 * gdb.base/recurse.exp: Ditto.
889bf7c5 20042 * gdb.base/scope.exp: Ditto.
c906108c
SS
20043 * gdb.base/structs.exp: Ditto.
20044 * gdb.c++/inherit.exp: Ditto.
20045
20046Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20047
20048 * config/vr4300.exp: New file.
20049
99707966 20050 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20051
99707966 20052 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20053
20054Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20055
20056 * lib/gdb.exp(gdb_init): New function.
20057
20058 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20059 for each individual variable set.
c906108c
SS
20060
20061 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20062 name.
20063
20064 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20065
20066 * gdb.base/scope.exp: Use gdb_test.
20067
20068 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20069 aborting; the testsuite driver will do that for us (see
20070 gdb_finish). Also, use gdb_test in a few more places.
20071
20072Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20073
20074 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20075
20076Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20077
20078 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20079 and "add_tests" are not at the same address.
20080
20081Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20082
20083 * gdb.base/ptype.exp: Use gdb_test.
20084
20085Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20086
20087 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20088 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20089 left in. No longer expect them to fail.
20090
20091 * gdb.stabs/*.mt; Deleted, no longer used.
20092 * gdb.stabs/configure.in: Remove references to target makefile
20093 frags.
20094 * gdb.stabs/configure: Rebuilt.
20095
20096 * gdb.disasm/*.mt: Deleted, no longer used.
20097 * gdb.disasm/configure.in: Remove references to target makefile
20098 frags. Use "sh3.s" as the unique filename for this directory.
20099 * gdb.disasm/configure: Rebuilt.
20100
20101 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20102 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20103 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20104
20105Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20106
20107 * config/udi.exp: Use mondfe,name instead of remote_host.
20108
20109Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20110
20111 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20112 a function with a watchpoint enabled on the mn10200.
20113
20114 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20115 before trying to create it!
20116
20117Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20118
20119 * config/vx.exp: Use hostname instead of netport.
20120
20121 * config/vxworks.exp: New file.
20122
20123 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20124
20125 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20126 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20127 occurs.
20128
20129 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20130 $gdb_spawn_id directly.
20131 (gdb_run_cmd): Try _start as well as start. Use the target feature
20132 gdb,start_symbol as the symbol to start from when jumping.
20133
20134Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20135
20136 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20137 redundant) test.
20138
20139 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20140 it doesn't lose for 16bit integer systems.
20141
20142Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20143
20144 * gdb.fortran/types.exp: If the target doesn't support "double"
20145 data types, then expect "real" types to only be 4 bytes.
20146
20147 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20148 call tests if the target doesn't support inferior function calls.
20149
20150 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20151 in printf tests.
20152
20153Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20154
20155 * gdb.base/help.exp: Disable "help set", "help show", and
20156 "help support". Simplify regexp for "help stack".
20157
20158 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20159 to 60 seconds. Temporarily set match_max to 15000 around the
20160 "info copying" test.
20161
20162 * gdb.base/nodebug.exp: Don't try to do an inferior function
20163 call if the target doesn't support them.
20164 * gdb.base/printcmds.exp: Likewise.
20165 * gdb.base/setvar.exp: Likewise.
20166 * gdb.base/structs.exp: Likewise.
20167 * gdb.c++/templates.exp: Likewise.
20168 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20169
20170 * gdb.base/recurse.exp: Enable for the mn10200.
20171
20172 * configure.in: Do configure gdb.stabs directory for *-*-elf
20173 targets.
20174 * configure: Rebuilt.
20175
20176 * gdb.base/break.exp: Check for gdb,noresults before testing
20177 exit status and/or results from the target.
20178 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20179 * lib/gdb.exp: Remove old (now bogus) initialization of
20180 noinferior, noargs, noresults and nosignals.
20181
20182Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20183
20184 * config/sh.exp: New file.
20185
20186 * config/slite.exp: Try to connect multiple times to the board
20187 before rebooting. Only send a "monitor run" if need_monitor_run
20188 is set.
20189
20190 * gdb.base/break.exp: Don't do the "stub continue" test if
20191 the target has gdb_stub set.
20192
20193 * gdb.base/callfuncs.exp: Increase the timeout.
20194
20195 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20196 if the target has gdb,noinferiorio set.
20197
20198 * gdb.base/list.exp: Increase match_max to 10000 characters.
20199
20200 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20201
20202 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20203 target.
20204
20205 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20206
20207Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20208
20209 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20210 trying to delete the copy of gdb. Catch the file delete so we
20211 don't die if the delete fails; also, the file should be copied to
20212 the host, not to the build.
c906108c
SS
20213
20214Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20215
20216 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20217 parenthesis in case it contains multiple regexps separated
c906108c
SS
20218 with |.
20219
20220 * gdb.base/watchpoint.exp: Use gdb_test.
20221 * gdb.base/default.exp: Ditto.
20222
20223Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20224
99707966 20225 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20226
c906108c
SS
20227 * gdb.base/scope.exp: Use gdb_test.
20228 * gdb.c++/classes.exp: Ditto.
20229 * gdb.c++/inherit.exp: Ditto.
20230
20231Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20232
20233 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20234 remote_exec instead.
20235 * gdb.base/corefile.exp: Don't be ridiculous.
20236 * gdb.base/*.c: Add missing stub invocations.
20237
20238Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20239
20240 * config/slite.exp: Miscellaneous fixes.
20241
20242 * lib/gdb.exp: Fix runto.
20243
20244 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20245 the target.
20246
20247 * gdb.base/watchpoint.exp: Fix regexp.
20248
20249 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20250 close and wait commands, as the descriptor may now be
20251 invalid. Always call "remote_close host".
20252
20253Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20254
20255 Major rewrite for testsuite revision.
d63a86f8 20256
c906108c
SS
20257 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20258 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20259 instead of relying on spawn_id to always contain a valid
20260 spawn id.
20261 (get_compiler_info): New procedure to build the ${binfile}.ci
20262 file, instead of replicating this in N different places.
20263 (gdb_compile): New procedure.
d63a86f8 20264
c906108c 20265 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20266 appropriate arguments) instead of compile. Use gdb_test in a lot
20267 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20268 at the start of a testcase, as this is no longer done magically.
20269
20270 config/*-gdb.exp: Rename without the -gdb suffix.
20271
20272 config/mips.exp: Use remote_close instead of exit_remote_shell.
20273 config/monitor.exp: Use target_info instead of looking at
20274 baud, timeout, etc.
20275 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20276
20277Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20278
20279 * gdb.c++/templates.exp (test_ptype_of_templates),
20280 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20281 Update expect patterns for destructors and assignment operators
20282 to match corresponding c-typeprint.c changes.
20283 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20284 to destructor breakpoint test, GDB should be able to set the
20285 destructor breakpoint without specifying arguments.
20286
20287Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20288
20289 * gdb.threads/pthreads.exp: Change result for failure to compile due
20290 to lack of pthreads runtime support from an error to simply an
20291 unsupported test, per dejagnu standards.
20292
20293Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20294
20295 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20296 where GDB exits to reduce pattern match time.
20297 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20298
20299 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20300
dc96c6c7 20301Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20302
20303 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20304 * gdb.base/default.exp: ditto.
20305 * gdb.base/nodebug.exp: ditto.
20306 * gdb.base/printcmds.exp: ditto.
20307 * gdb.base/ptype.exp: ditto.
20308 * gdb.base/setvar.exp: ditto.
20309 * gdb.base/structs.exp: ditto.
20310 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20311
20312Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20313
20314 * configure, */configure: Rebuild with autoconf 2.12.
20315
20316Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20317
20318 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20319 use new i*86-pc-linux*-gnu quads.
20320 * gdb.base/corefile.exp: Ditto.
20321 * gdb.base/signals.exp: Ditto.
20322 * gdb.base/sigall.exp: Ditto.
20323 * gdb.base/interrupt.exp: Ditto.
20324
20325 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20326 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20327 RedHat 4.0.
d63a86f8 20328
c906108c 20329 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20330 linux. This allows the test case to at least compile on latest
20331 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20332
20333Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20334
20335 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20336 directory to search gdb directory. Accept and step over conditional
20337 stack alignment code. Consume $prompt in failure cases.
20338 Reset timeout to $oldtimeout instead of some arbitrary value.
20339 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20340 timeout problems with infinite stack backtraces.
20341 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20342 Accept function parameters for linkfunc member.
20343
20344Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20345
20346 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20347 (CXXFLAGS): Remove, unreferenced.
20348 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20349 previous -B options and also add -B option to pick up cross compiled
20350 runtime.
c906108c
SS
20351 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20352 doing cross compiles.
20353 (target_alias): Declare global.
20354 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20355 to verify that gcc exists in build tree, and if so set CC to that
20356 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20357
c906108c
SS
20358Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20359
20360 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20361 ptype test for anonymous union. Fixup testcase to match
20362 current gcc debug output.
20363
20364Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20365
20366 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20367 force argument to an unsigned long type.
20368
20369Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20370
20371 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20372 tests and anonymous union print/ptype tests.
c906108c
SS
20373 * gdb.base/list.exp (test_forward-search): Increase timeout by
20374 5 minutes for the "search extremely long line" case.
20375 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20376 completely optional and that the pass/fail messages use the command as
20377 the message if that third arg is a null string.
20378 (gdb_test_exact): Arrange that a null string pattern means match a
20379 null string output rather than any output, which might include random
889bf7c5 20380 errors.
c906108c
SS
20381 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20382 backtrace test.
20383 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20384 always failing and failure is now exposed by gdb.exp changes.
20385
20386Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20387
20388 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20389 weren't being noted.
20390
20391Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20392
20393 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20394 * gdb.stabs/weird.exp: Remove v_comb xfails.
20395
dc96c6c7 20396Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20397
20398 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20399 list.exp scope.exp watchpoint.exp]
c906108c 20400 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20401
dc96c6c7 20402Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20403
20404 * config/monitor.exp: Increase download timeout to 1000 seconds.
20405
dc96c6c7 20406Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20407
20408 * config/m32r.exp: Increase timeout to 120 seconds.
20409
20410Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20411
20412 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20413 and accept older ordering as obsolescent gcc or gdb.
20414 * gdb.c++/templates.exp: Ditto.
20415 * gdb.c++/virtfunc.exp: Ditto.
20416
20417Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20418
20419 * gdb.base/coremaker.c: Add code to mmap some data so we
20420 can check that it ends up in the core file.
20421 * gdb.base/corefile.exp: Add test to read mmapped data
20422 from core file.
20423
dc96c6c7 20424Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20425
20426 * config/m32r.exp: New file.
20427
20428Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20429
20430 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20431 that cflags can contains -gstabs, and work correctly for other tests.
20432
dc96c6c7 20433Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20434
20435 * gdb.base/setshow.exp: New file, tests show and set.
20436 * gdb.base/setshow.c: New file, tests show and set.
20437 * gdb.base/help.exp: Add test for help set|show annotate.
20438 * gdb.base/default.exp: Add test for set|show annotate.
20439
20440Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20441
20442 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20443 errors unique.
20444 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20445 explicitly.
20446
20447Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20448
20449 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20450 and width commands. This is done elsewhere.
20451 * (gdb_start): Don't call gdb_start_sim here. That's already
20452 done in gdb_load. This fixes lots of failures in default.exp.
20453
20454Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20455
20456 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20457 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20458 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20459 in the same we we treat other failures (since it may be an expected
889bf7c5 20460 condition), rather than as an error.
c906108c
SS
20461 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20462 old test format.
20463
20464Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20465
20466 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20467 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20468 twice. Nuke the duplicates.
c906108c 20469 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20470 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20471 Remove config.h along with other config files.
20472
20473Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20474
20475 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20476 "p func1 ()" and note that rests of tests are skipped.
20477 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20478 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20479 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20480 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20481 affected by the previous run test.
20482 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20483 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20484 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20485 "pass int powerset tuple" and "pass modeless int powerset tuple".
20486 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20487 "real write 4" and "real write 8".
20488 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20489 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20490 "print \$i after tuple assign 2", and
20491 "print vs2 after tuple assign 2".
20492 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20493 meaningful error message and return -1 so the caller can
20494 suppress further tests and avoid a cascade of errors.
d63a86f8 20495
c906108c
SS
20496Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20497
20498 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20499 format for printing version.
20500 * gdb.base/default.exp: Ditto.
20501 * gdb.base/interrupt.exp: Fix problem with cascade of
20502 errors if child process dies while calling a function.
d63a86f8 20503
c906108c
SS
20504Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20505
20506 * Makefile.in (VPATH): Add
20507 * Makefile.in (Makefile, config.status): Fix rules so things get
20508 remade when necessary.
20509
20510Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20511
20512 * Makefile.in (just-check): Add path to sibling expect dir
20513 to environment variable specified by RPATH_ENVVAR.
20514
20515Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20516
20517 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20518 (just-check): Add shared library paths for libstdc++, tk,
20519 tcl, bfd, and opcodes to the environment variable specified
20520 in RPATH_ENVVAR.
20521 * configure.in: Add support to recognize --enable-shared flag
20522 and generate correct value for RPATH_ENVVAR.
20523 * configure: Regenerated with autoconf.
20524
20525Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20526
20527 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20528 include all osf versions.
c906108c
SS
20529 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20530 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20531 when target is linux. When failing to build pthreads test
20532 executable, give more meaningful message.
20533 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20534 arg for pthread_create.
d63a86f8 20535
c906108c
SS
20536Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20537
20538 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20539 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20540 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20541 and -lpthreads (everybody else).
c906108c
SS
20542 (test_startup): Fail gracefully if threads are not supported.
20543 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20544 "p/c array_index("abcdef",2)" when not gcc compiled.
20545 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20546 "print func2::coremaker_local" when not gcc compiled.
20547 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20548 "ptype on opaque struct tagname (statically)",
20549 "ptype on opaque struct tagname (dynamically) 1", and
20550 "ptype on opaque struct tagname (dynamically) 2"
20551 for not compiled with gcc.
20552 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20553 backtrace when compiled with gcc.
d63a86f8 20554 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20555 than always return success.
20556
20557Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20558
20559 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20560
20561Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20562
20563 * gdb.base/structs.exp: Undo last change.
20564
20565Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20566
20567 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20568 encapsulate all the steps/nexts done during self test, starting
20569 at main, and makes them less sensitive to optimization issues.
20570 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20571 signal handler" test.
20572 * gdb.threads/pthreads.exp: Only run this for native configs.
20573 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20574 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20575 tests.
20576 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20577 for "runto test_calls(void)" test.
d63a86f8 20578
c906108c
SS
20579Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20580
20581 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20582 and don't expect address info in breakpoint confirmations.
20583
20584Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20585
20586 * gdb.base/list.exp (test_forward_search): Increase timeout
20587 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20588 and then reset to old value when done. Increase expect input
c906108c
SS
20589 buffer to 10000.
20590
20591Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20592
20593 * gdb.base/list.exp (test_forward_search): Fix to handle very
20594 long source line without overflowing expect's input buffer.
20595
20596Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20597
20598 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20599 "buffer_full".
20600
20601 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20602 "buffer_full".
20603
20604 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20605 "buffer_full".
20606
20607 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20608 "buffer_full".
20609
20610Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20611
20612 * configure.in (configdirs): Add gdb.threads.
20613 * configure: Regenerated with autoconf.
20614 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20615 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20616 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20617
c906108c
SS
20618Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20619
20620 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20621
20622Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20623
20624 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20625 each signal's status in the output of "handle all print".
20626 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20627 the \r\n sequence that immediately precedes the gdb prompt.
20628 * gdb.base/a1-selftest.exp: Save original timeout and restore
20629 after test.
20630
20631Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20632
20633 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20634 symbol.
20635
20636Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20637
20638 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20639
20640Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20641
20642 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20643 timeout by 60 seconds.
20644
20645Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20646
20647 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20648 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20649 error return.
20650
20651Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20652
20653 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20654 gdb initialization, also report how long dejagnu waited. Restore
20655 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20656 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20657
20658Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20659
20660 * lib/gdb.exp: Report timeout value for verbosity level 2.
20661 * config/gdbserver.exp: Ditto.
20662 * config/hppro.exp: Ditto.
20663 * config/mips-gdb.exp: Ditto.
20664 * config/monitor.exp: Ditto.
20665 * config/netware.exp: Ditto.
20666 * config/sim-gdb.exp: Ditto.
20667 * config/slite-gdb.exp: Ditto.
20668 * config/udi-gdb.exp: Ditto.
20669 * config/unix-gdb.exp: Ditto.
20670 * config/vx-gdb.exp: Ditto.
20671 * gdb.base/a1-selftest.exp: Ditto.
20672 * gdb.base/a2-run.exp: Ditto.
20673 * gdb.base/break.exp: Ditto.
20674 * gdb.base/corefile.exp: Ditto.
20675 * gdb.base/list.exp: Ditto.
20676 * gdb.base/recurse.exp: Ditto.
20677 * gdb.base/scope.exp: Ditto.
20678 * gdb.base/signals.exp: Ditto.
20679
20680Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20681
20682 * gdb.threads/Makefile.in (docdir): Removed.
20683
20684Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20685
20686 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20687 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20688 @srcdir@.
d63a86f8 20689 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20690 autoconf 2.5 or higher.
20691 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20692
20693Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20694
20695 * configure: Regenerated.
20696 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20697 avoid name clashes with SunOS headers.
20698
20699Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20700
20701 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20702
20703Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20704
20705 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20706 prototype information ends up in the compiler info file.
20707
20708Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20709
20710 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20711 attempting to regenerate it. Eliminate use of a temporary file
20712 and just generate the info file directly. Source it immediately,
20713 for consistency of use.
20714 * gdb.base/corefile.exp: Ditto
20715 * gdb.base/exprs.exp: Ditto.
20716 * gdb.base/funcargs.exp: Ditto.
20717 * gdb.base/langs.exp: Ditto.
20718 * gdb.base/list.exp: Ditto.
20719 * gdb.base/mips_pro.exp: Ditto.
20720 * gdb.base/nodebug.exp: Ditto.
20721 * gdb.base/opaque.exp: Ditto.
20722 * gdb.base/ptype.exp: Ditto.
20723 * gdb.base/scope.exp: Ditto.
20724 * gdb.base/setvar.exp: Ditto.
20725 * gdb.base/signals.exp: Ditto.
20726 * gdb.base/whatis.exp: Ditto.
20727 * gdb.c++/templates.exp: Ditto.
20728 * gdb.c++/virtfunc.exp: Ditto.
20729 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20730 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20731
20732Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20733
20734 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20735 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20736 Increase timeout, a lot of single stepping might be needed if the
20737 target has no hardware watchpoints.
20738
20739Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20740
20741 * gdb.base/break.exp: Ignore compiler warnings when compiling
20742 break.c.
20743 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20744 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20745 from remote-sim.
20746 * gdb.base/exprs.exp: Add h8300 xfails.
20747 * gdb.base/funcargs.exp: Likewise.
20748 * gdb.base/nodebug.exp: Likewise.
20749 * gdb.base/printcmds.exp: Likewise.
20750 * gdb.base/ptype.exp: Likewise.
20751 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20752 h8300 xfails.
d63a86f8 20753 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20754 on the h8300.
20755 * gdb.base/funcargs.c: Explicitly make last constant argument to
20756 call_after_alloca_subr an unsigned long type.
20757 * gdb.base/return.c: Include stdio.h.
20758
20759Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20760
20761 * config/abug.exp: New file for the older Motorola Bug monitor
20762 that runs on the mvme13x series VME boards.
20763 * config/monitor.exp: Use the new config array for target settings
20764 if they exist.
20765
20766Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20767
20768 * sim-gdb.exp: Make the SH simulator allocate less space when
20769 it is targeted.
20770
20771Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20772
20773 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20774 test.
20775
20776Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20777
20778 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20779 "rs6000-*-*" for "list function in include file" when gcc compiled.
20780 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20781 for "p ctable1[120]".
20782 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20783 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20784 Remove setup_xfail for "rs6000-*-*" for
20785 "print 'scope0.c'::filelocal before run".
20786 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20787 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20788 since some compilers don't allow both options to be given
20789 on the same command line. Create object file and move it.
d63a86f8 20790
c906108c
SS
20791Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20792
20793 * gdb.base/corefile.exp: Always regenerate the core file, since
20794 we always regenerate the coremaker program. Detect special case
20795 where registers cannot be read from core file.
d63a86f8 20796
c906108c
SS
20797Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20798
20799 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20800 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20801 * gdb.c++/templates.exp: Only match on basename of file since
20802 some formats like xcoff don't encode directory information.
20803 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20804 and rs6000 AIX xcoff targets.
20805 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20806 * configure: Regenerate.
20807 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20808 here, rather than in distclean.
d63a86f8 20809
c906108c
SS
20810Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20811
20812 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20813 defined, and use it to compile the test case with -O2. The
20814 native compilation still uses no optimization.
20815 * gdb.base/mips_pro.c: Remove inline assembly code since
20816 it is compiled PIC by default, which results in assembler
20817 warnings that make the testsuite think the compilation
20818 was unsuccessful.
20819
20820Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20821
20822 * gdb.c++/misc.exp: Add note to message for
20823 "print s.a for foo struct" that this is a known gcc 2.7.2
20824 and earlier bug.
20825
20826Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20827
20828 * gdb.base/break.exp: Fix pattern for matching "Delete all
20829 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20830 setup_xfail for deleting all breakpoints test. Fix various
20831 timeout messages to include "(timeout)".
20832 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20833 for "p t_float_values2(3.14159,float_val2)".
20834 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20835 for "continue to call2g" when gcc compiled.
20836 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20837 "up to foo in langs.exp", "show language at foo in langs.exp",
20838 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20839 and "show language at fsub in langs.exp".
20840 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20841 "list line 1 in include file", "list message for lines past EOF",
20842 "list function in include file", "list list0.h:foo", and
20843 "list filename:function; nonexistant function".
20844 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20845 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20846 and "ptype t_char_array" to be for native cc only.
d63a86f8 20847
c906108c
SS
20848Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20849
d63a86f8 20850 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20851 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20852 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20853
20854Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20855
20856 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20857 "bt in signals.exp". This problem only appears when running
20858 the testsuite, and then only intermittently.
20859
20860Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20861
20862 * gdb.base/return.exp (return_tests): Differentiate between
20863 two tests of continuing.
20864
20865Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20866
20867 * */Makefile.in (maintainer-clean): Remove config.log.
20868 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20869 * gdb.c++/Makefile.in (PROGS): Add inherit.
20870 (clean): Remove *.ci.
20871
20872Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20873
20874 * gdb.c++/misc.cc: Add test code from Mike Stump.
20875 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20876
20877Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20878
20879 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20880 to "alpha-*-osf2*" and add comment.
20881 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20882 setup_xfail for "step over execarg initialization" and
20883 "step over corearg initialization".
c906108c
SS
20884 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20885 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20886 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20887 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20888 "print func2::coremaker_local", and "backtrace in corefile.exp".
20889 * gdb.base/signals.exp: Build and source signals.ci.
20890 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20891 to be for gcc only.
20892 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20893
c906108c
SS
20894Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20895
20896 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20897 Feb 3 procfs.c change.
20898
20899Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20900
20901 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20902
20903Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20904
20905 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20906 from dejagnu's apparent default of 10 seconds, which gives random
20907 results when running the tests over NFS on moderately loaded systems.
20908 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20909
20910Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20911
20912 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20913 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20914 result reports.
c906108c
SS
20915
20916Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20917
20918 * configure.in (CY_AC_PATH_TCLH): Remove.
20919 * configure: Regenerate.
20920
20921Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20922
20923 * gdb.c++/Makefile.in (clean): Add missing '{'.
20924
20925Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20926
20927 * lib/gdb.exp: Provide a default value for noinferior.
20928
20929 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20930 Load libgloss.exp.
20931
20932Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20933
20934 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20935 the executable, not the .o to run the tests from.
20936
20937Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20938
20939 * gdb.base/break.exp: Don't test for program exit or exit status
20940 if $noresults if nonzero.
20941 * gdb.base/langs.exp: Likewise.
20942 * gdb.base/watchpoint.exp: Likewise.
20943
20944 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20945 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20946 trying to compile the testcase.
20947
20948Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20949
20950 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20951 * gdb.base/signals.exp (continue to handler): Likewise.
20952
20953Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20954
20955 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20956
20957 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20958
20959Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20960
20961 * gdb.base/corefile.exp: Recognize "not found" as failure
20962 when trying to determine if a core file was generated.
20963 If no core file was generate the first time, try again without
20964 the ulimit -c to work around braindamaged shells.
20965
20966Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20967
20968 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20969 [] tests with "test" and enclose string in quotes.
20970 * gdb.stabs/configure: Rebuild
d63a86f8 20971
c906108c
SS
20972Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20973
20974 Changes in sync with expect:
20975 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20976 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20977 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20978 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20979 argument to AC_REQUIRE.
20980 * configure: Regenerated.
20981
20982Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20983
20984 * gdb.base/corefile.exp: When generating a core, discard any
20985 error messages about ulimit not found and the "core dumped"
20986 message from the shell that runs the coredumper.
20987
20988Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20989
20990 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20991
20992 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20993 which sed script to run. Expect failure for v_comb test
20994 on PA targets too.
d63a86f8 20995
c906108c
SS
20996Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20997
20998 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20999 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
21000
21001Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21002
21003 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21004 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 21005 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
21006 * lib/gdb.exp (default_gdb_start): Fix typo.
21007 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21008 messages to not include the full program name that caused
21009 the core dump since some systems (such as solaris) apparently
21010 truncate this path to about 80 characters.
21011 When generating a core file first try increasing the core file
21012 size limit to unlimited since some systems may default it to
21013 zero, and it is harmless to try it. Move the test for failing
21014 to generate a core file to where it will actually get executed.
21015 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21016 new gdb result from g++ debug info improvements and make old
21017 pattern obsolescent. Also account for size_t differences
21018 (may be int or long).
21019 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21020 initialization before function call is placed in the delay slot
21021 and thus appears to be skipped over by commands such as "next".
21022
21023Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21024
21025 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21026
21027Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21028
21029 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21030 input source file; fix code to compile test to deal with this
21031 convention.
21032 * gdb.c++/*.exp: Likewise.
21033
21034Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21035
21036 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21037 "bt in signals.exp".
21038
21039Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21040
21041 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21042 "step over execarg initialization" and
889bf7c5 21043 "step over corearg initialization".
c906108c
SS
21044
21045Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21046
21047 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21048 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21049
21050Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21051
21052 From Rob Savoye (rob@poseidon.cygnus.com)
21053 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21054 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21055 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21056 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21057 configure.in}: Major reworking for autoconfig.
c906108c
SS
21058 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21059 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21060 New files.
c906108c
SS
21061 * config/unix-gdb.exp: Make GDB global.
21062 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21063 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21064 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21065 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21066 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21067 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21068 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21069 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21070 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21071 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21072 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21073 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21074 to returns as necessary, arrange for test to compile own testcase
21075 executable.
c906108c 21076 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21077
c906108c
SS
21078Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21079
21080 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21081 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21082 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21083 "backtrace through signal handler".
21084
21085Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21086
21087 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21088 continuing from a job control stop signal.
21089 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21090
21091Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21092
21093 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21094 * gdb.base/corefile.exp: Likewise.
21095 * gdb.base/funcargs.exp: Likewise.
21096
21097Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21098
21099 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21100 * config/monitor.exp: Add support for setting baud rate.
21101
21102Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21103
21104 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21105 i*86-*-linux* xfails for "backtrace through signal handler".
21106 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21107 "print func2::coremaker_local".
21108 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21109 alpha-dec-osf2* xfail for
c906108c
SS
21110 "delete all breakpoints when none".
21111
21112Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21113
21114 * gdb.base/break.exp: Change test that deletes all breakpoints
21115 when no user breakpoints are installed. A post 4.15 change
21116 causes gdb to no longer prompt in this case.
21117
21118Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21119
21120 * gdb.base/return.exp (return_tests): Change xfail for test
21121 "correct value returned double test" to stop xfailing at
21122 Solaris 2.5. Apparently the bug has been fixed.
21123
21124Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21125
21126 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21127 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21128
21129Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21130
21131 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21132 * gdb.disasm/hppa.s: Corresponding changes.
21133
21134Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21135
21136 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21137 makefile fragment.
21138 * config/mt-hpux: Deleted.
21139
21140Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21141
d63a86f8 21142 * Many files: When warning about suppressed tests due to a
c906108c
SS
21143 nonexistant test binary, avoid incrementing the warning count.
21144
21145Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21146
21147 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21148
c906108c
SS
21149Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21150
21151 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21152 "sparc-*-solaris2*".
21153
21154Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21155
21156 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21157 Add global and local variables and initialize them.
21158 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21159 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21160 extracts the file name and terminating signal from the core file.
21161 * TODO: Remove note about tests for correct mapping of corefile.
21162 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21163 from optimizing it away.
21164 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21165 handles common blocks.
21166
21167Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21168
21169 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21170 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21171
21172Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21173
21174 * Makefile.in (maintainer-clean): New target, synonym for
21175 realclean.
21176 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21177 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21178 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21179 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21180 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21181 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21182
21183Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21184
21185 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21186 xfails when not gcc compiled for "print foo::funclocal".
21187 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21188 "print foo::funclocal at foo",
21189 "print 'scope1.c'::foo::funclocal at foo",
21190 "print foo::funclocal_bss at foo",
21191 "print 'scope1.c'::foo::funclocal_bss at foo",
21192 "print foo::funclocal_ro at foo",
21193 "print 'scope1.c'::foo::funclocal_ro at foo",
21194 "print bar::funclocal at foo" and
21195 "print 'scope1.c'::bar::funclocal at foo".
21196 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21197 gcc compiled for "print foo::funclocal at bar".
21198 Expand all messages to ensure that they identify that
21199 the test is at bar().
21200 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21201 gcc compiled for:
21202 "ptype on opaque struct pointer (statically)",
21203 "ptype on opaque struct tagname (statically)",
21204 "ptype on opaque struct pointer (dynamically) 1",
21205 "ptype on opaque struct tagname (dynamically) 1",
21206 "ptype on opaque struct pointer (dynamically) 2" and
21207 "ptype on opaque struct tagname (dynamically) 2
21208 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21209 gcc compiled for:
21210 "p datalocal"
21211 "whatis datalocal",
21212 "ptype datalocal",
21213 "p bsslocal",
21214 "whatis bsslocal", and
21215 "ptype bsslocal".
21216 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21217 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21218 when not gcc compiled.
21219 * gdb.base/funcargs.exp (float_and_integral_args): Add
21220 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21221 compiled.
21222 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21223 "backtrace from call6a" when not gcc compiled.
21224 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21225 "backtrace from call7a" when not gcc compiled.
21226 * gdb.base/callfuncs.exp (do_function_calls):
21227 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21228 "p t_char_array_values(char_array_val2,char_array_val1)",
21229 "p t_char_array_values(char_array_val1,char_array_val2)",
21230 "p t_char_array_values("carray 1","carray 2")",
21231 "p t_char_array_values("carray 1",char_array_val2)",
21232 "p t_char_array_values(char_array_val1,"carray 2")",
21233 "p sum_args(1,{2})",
21234 "p sum_args(2,{2,3})",
21235 "p sum_args(3,{2,3,4})",
21236 "p sum_args(4,{2,3,4,5})"
21237 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21238 "backtrace in corefile.exp" when not gcc compiled.
21239
21240Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21241
21242 * gdb.base/signals.exp: Rewrite `handle all print' test as
21243 a procedure. Accept blanks or TABs as whitespace, increase
21244 timeout and expect input buffer size for the large output
21245 from the command. Remove "i*86-*-bsdi2.0" xfail.
21246
21247Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21248
21249 * gdb.base/setvar.exp: Add new testcases for truncation when
21250 assigning invalid values to bitfields.
21251
21252Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21253
d63a86f8 21254 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21255 mips-sgi-irix* xfail for
21256 "call inferior func with struct - returns char *"
21257 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21258 accepted in the result.
c906108c
SS
21259
21260Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21261
21262 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21263 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21264 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21265 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21266 that accidentally got checked in.
21267
21268Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21269
d63a86f8 21270 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21271 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21272 compiled test.
21273 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21274 Add mips-sgi-irix5* xfail for not gcc compiled.
21275 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21276 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21277 "p top", "whatis top", "p middle", and "whatis middle".
21278 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21279 "whatis signed char" for not gcc compiled.
21280 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21281 "set variable signed char=-1 (-1)" and
21282 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21283 * gdb.base/funcargs.exp (float_and_integral_args):
21284 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21285 Add mips-sgi-irix* xfail when not gcc compiled for
21286 "continue to call2b".
21287 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21288 "continue to call2g".
21289 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21290 "backtrace from call6a"
21291 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21292 "backtrace from call7k".
21293 Add mips-sgi-irix5* xfail when not gcc compiled for
21294 "backtrace from call7a".
21295 (localvars_after_alloca): Fix gdb_test cmds for
21296 "print * after runto ...".
21297 Remove rs6000-*-* xfails for
21298 "print i after runto localvars_after_alloca" and
21299 "print l after runto localvars_after_alloca"
21300 for all compilers.
21301 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21302 when not compiled with gcc, for:
c906108c
SS
21303 "print signed char == (minus)",
21304 "print signed char != (minus)",
21305 "print signed char < (minus)",
21306 "print signed char > (minus)".
21307 * gdb.base/callfuncs.exp (do_function_calls):
21308 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21309 "call inferior func with struct - returns char *".
d63a86f8 21310 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21311 "correct value returned double test" to include Solaris 2.4.
21312 * gdb.base/funcargs.exp (float_and_integral_args):
21313 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21314
c906108c
SS
21315Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21316
21317 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21318 enumeration bitfields if compiling with GNU C.
21319 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21320 to empty' prompt.
21321
21322Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21323
21324 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21325 test for PRO targets.
21326
21327 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21328 breakpoints in the inferior at any given time by making
21329 two groups of breakpoints for call2*, call6* and call7*
21330 tests.
21331
21332Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21333
21334 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21335 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21336 from optimizing it away.
21337 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21338 "call inferior func with struct".
21339
21340Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21341
21342 * configure.in: Only configure gdb.chill for particular targets.
21343
21344Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21345
21346 * gdb.base/Makefile.in: Add action to .c.o transformation
21347 rule that generates a .ci file for each .o file and remove
21348 explicit .c.o rules except for callfuncs.o.
21349 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21350 generates a .ci file for each .o file and remove explicit
21351 .cc.o rules.
21352 (clean): Remove *.tmp *.ci files.
21353 (EXECUTABLES): Remove templ-info.exp.
21354 * gdb.base/compiler.c: New file.
21355 * gdb.c++/compiler.cc: New file
21356 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21357 Change rs6000-*-* xfail for
21358 "print 'scope0.c'::filelocal_ro" and
21359 "print 'scope1.c'::filelocal" and
21360 "print 'scope1.c'::filelocal_bss" and
21361 "print 'scope1.c'::filelocal_ro" and
21362 "print 'scope1.c'::foo::funclocal" and
21363 "print 'scope1.c'::foo::funclocal_ro" and
21364 "print 'scope1.c'::bar::funclocal" and
21365 "print 'scope0.c'::filelocal_ro" and
21366 "print 'scope1.c'::filelocal at foo" and
21367 "print 'scope1.c'::filelocal_bss at foo" and
21368 "print 'scope1.c'::filelocal_ro at foo" and
21369 "print 'scope1.c'::foo::funclocal at foo" and
21370 "print 'scope1.c'::foo::funclocal_bss at foo" and
21371 "print 'scope1.c'::foo::funclocal_ro at foo" and
21372 "print 'scope1.c'::bar::funclocal at foo" and
21373 "print 'scope0.c'::filelocal_ro" and
21374 "print 'scope1.c'::filelocal" and
21375 "print 'scope1.c'::filelocal_bss" and
21376 "print 'scope1.c'::filelocal_ro" and
21377 "print 'scope1.c'::foo::funclocal" and
21378 "print 'scope1.c'::foo::funclocal_bss" and
21379 "print 'scope1.c'::foo::funclocal_ro" and
21380 "print 'scope1.c'::bar::funclocal" and
21381 "print 'scope1.c'::bar::funclocal_bss"
21382 to only be xfail'd when not compiled with gcc.
d63a86f8 21383 Add rs6000-*-* xfail for
c906108c
SS
21384 "print 'scope0.c'::filelocal_bss before run"
21385 when compiled with gcc.
21386 (test_at_main): Add rs6000-*-* xfail for
21387 "print filelocal_ro in test_at_main"
21388 when compiled with gcc.
21389 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21390 Add rs6000-*-aix* xfail for
c906108c
SS
21391 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21392 "ptype t_char_array", not compiled with gcc.
21393 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21394 xfail for "list foo (in include file)" when gcc compiled.
21395 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21396 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21397 "run to call0a" if not compiled with gcc.
21398 (unsigned_integral_args): Add rs6000-*-* xfail for
21399 "run to call1a" if not compiled with gcc.
21400 (float_and_integral_args): Add rs6000-*-* xfail for
21401 "run to call2a" if not compiled with gcc and for
21402 "continue to call2b" for any compiler.
21403 Add rs6000-*-* xfail to
21404 "print f1 after run to call2a" for gcc compiled.
21405 (discard_and_shuffle): Add rs6000-*-* xfail for
21406 "run to call6a".
21407 (shuffle_round_robin): Add rs6000-*-* xfail for
21408 "backtrace from call7a" if not compiled with gcc.
21409 Add rs6000-*-* xfail for
21410 "backtrace from call7b" if compiled with gcc.
21411 (call_after_alloca): Add rs6000-*-* xfail for
21412 "print c in call_after_alloca" and
21413 "print s in call_after_alloca" and
21414 "backtrace from call_after_alloca_subr"
21415 if not compiled with gcc.
21416 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21417 "print c in localvars_in_indirect_call" and
21418 "print c in localvars_in_indirect_call" and
21419 "backtrace in indirectly called function" and
21420 "stepping into indirectly called function"
21421 if not compiled with gcc.
21422 (localvars_after_alloca): Add rs6000-*-* xfail for
21423 "print c after runto localvars_after_alloca" and
21424 "print s after runto localvars_after_alloca" and
21425 "print i after runto localvars_after_alloca" and
21426 "print l after runto localvars_after_alloca"
21427 for all compilers.
21428 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21429 than whatis-info.exp.
21430 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21431 than opaque-info.exp.
21432 Setup rs6000-*-* xfail for
d63a86f8 21433 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21434 "ptype on opaque struct pointer (dynamically)" when
21435 not compiled with gcc.
21436 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21437 rather than callf-info.exp.
21438 (do_function_calls): Add clear_xfail for rs6000-*-* for
21439 "p t_float_values2(3.14159,float_val2)". Seems to work
21440 fine there, both with xlc and gcc. Need to find out what
21441 it is doing right and fix other platforms.
21442 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21443 "call inferior func with struct - returns int",
21444 "call inferior func with struct - returns long",
21445 "call inferior func with struct - returns float",
21446 "call inferior func with struct - returns double",
21447 "call inferior func with struct - returns char *",
21448 but only if not gcc compiled (presumes xlc compiled).
21449 Change rs6000-*-* xfails for
21450 "call inferior func with struct - returns char" and
21451 " call inferior func with struct - returns short" to only
21452 xfail if not using gcc.
21453 (clean mostlyclean): Remove *.ci and *.tmp files.
21454 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21455 than templ-info.exp.
21456 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21457 Add rs6000-*-* xfail for "up to foo in langs.exp"
21458 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21459 when not gcc compiled.
d63a86f8 21460
c906108c
SS
21461Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21462
21463 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21464 * gdb.base/corefile.exp: Likewise.
21465 * gdb.base/list.exp: Likewise.
21466 * gdb.base/scope.exp: Likewise.
21467 * gdb.base/siganls.exp: Likewise.
21468
21469 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21470 compiler output.
21471 * gdb.base/whatis.exp: Likewise.
21472
21473Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21474
21475 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21476 failure (opcode table has been fixed to match reality).
21477
21478Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21479
21480 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21481 "call inferior func with struct - returns char",
21482 "call inferior func with struct - returns short"
21483
21484 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21485 "print 'scope0.c'::filelocal at main",
21486 "print 'scope0.c'::filelocal_bss in test_at_main",
21487 "print 'scope0.c'::filelocal at foo",
21488 "print 'scope0.c'::filelocal_bss in test_at_foo",
21489 "print 'scope0.c'::filelocal at bar",
21490 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21491
c906108c
SS
21492 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21493 in source file 1". This bug seems to have been fixed with both
21494 gcc and native cc (was native assembler bug?).
21495
21496Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21497
21498 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21499 "backtrace through signal handler" to "i*86-*-sysv4*".
21500 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21501 continue" case. Add "known SVR4 bug" to fail message.
21502 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21503 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21504 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21505 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21506 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21507 "up to foo in langs.exp", "show language at foo in
21508 langs.exp", "up to cppsub_ in langs.exp", "show
21509 language at cppsub_ in langs.exp", "up to fsub in
21510 langs.exp", and "show language at fsub in langs.exp".
21511 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21512 "bactrace in corefile.exp".
21513 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21514 "call inferior function with struct - returns float" and
21515 "call inferior function with struct - returns double".
d63a86f8 21516
c906108c
SS
21517Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21518
21519 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21520 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21521 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21522 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21523
21524Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21525
21526 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21527 (or overriden) "CHILL" macro rather then bare "gcc".
21528 Also look for ../../gcc/xgcc since that is what we will
21529 actually need, not "Makefile". Remove following assignment
21530 of CHILL to CHILL_FOR_TARGET because that results in
21531 recursive definition.
21532
21533Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21534
21535 * gdb.base/corefile.exp: Change xfail for backtrace in
21536 corefile.exp from linuxaout to all linux.
21537 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21538 cases where we miss the breakpoint at the signal handler
21539 for some reason. Setup xfail for linuxoldld/linuxaout and
21540 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21541 hitting SIGURG breakpoint.
21542 * gdb.base/signals.exp: Setup xfail for "next" acting like
21543 continue to add linuxoldld. Setup xfail for all linux for
21544 "next to handler in signals_tests_1", "backtrace in
21545 signals_tests_1", "continue to func1", "pass SIGUSR1",
21546 and continue to handler".
21547
21548Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21549
21550 * Update all FSF addresses except those in COPYING* files.
21551
21552Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21553
21554 * gdb.base/a2-run.exp: Change messages to be more explicit about
21555 the status of args, and quote binfile in results.
21556
21557Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21558
21559 * gdb.base/callfuncs.exp: Add tests for passing structs to
21560 inferior functions and return various types.
21561 * gdb.base/callfuncs.c: Add functions to receive a struct
21562 and return a member of the struct, in various types.
21563
21564Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21565
21566 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21567
21568Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21569
21570 * config/vxworks29k.exp: New file, sources vxworks.exp.
21571
21572Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21573
21574 * config/gdbremote.exp: New file. Testing framework using
21575 gdbserver.
21576
21577Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21578
21579 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21580 "call function when asleep" and "send end of file".
21581 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21582 for "backtrace in corefile.exp".
21583 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21584 for "backtrace through signal handler".
21585 * gdb.base/corefile.exp: Make sure we actually generate a core file
21586 before trying the core tests. Some systems allow the user to suppress
21587 generation of core files and default to that (linux for example).
21588 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21589 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21590
21591Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21592
21593 * gdb.threads: New directory with some crude multi-threaded
21594 gdb tests (step.exp and step2.exp).
21595 * config/mt-lynx (STEP_EXECUTABLE): Define.
21596 (THREADFLAGS): Define.
21597
21598Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21599
21600 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21601
21602 * gdb.base/signals.exp: Disable whole file for lynx until
21603 further notice.
21604
21605 * gdb.base/signals.exp: xfail test where "next" acts like
21606 "continue" for lynx.
21607
21608 * gdb.base/interrupt.exp: xfail test for calling function while
21609 inferior is asleep for lynx.
21610
21611 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21612 than one cr-lf after each command.
21613
21614Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21615
21616 * configure.in: Reinstate setting of stabsdirs variable, fix
21617 typo in setting up configdirs for native builds.
21618
21619 * gdb.base/return.exp: Fix typo in return double test.
21620 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21621 compiler from optimizing them away.
21622
21623Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21624
21625 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21626 sequences to be echo'd by gdb when using gdb_test.
21627 * gdb.chill/chexp.exp: Likewise.
21628 * gdb.fortran/exprs.exp: Likewise
21629
21630Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21631
21632 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21633 after the inferior gdb has started.
21634
21635 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21636 after each command.
21637 * gdb.base/funcargs.exp: Likewise.
21638 * gdb.base/gdbvars.exp: Likewise.
21639 * gdb.base/interrupt.exp: Likewise.
21640 * gdb.base/list.exp: Likewise.
21641 * gdb.base/watchpoint.exp: Likewise.
21642 * gdb.c++/demangle.exp: Likewise.
21643 * gdb.c++/inherit.exp: Likewise.
21644 * gdb.chill/chexp.exp: Likewise.
21645 * gdb.fortran/exprs.exp: Likewise.
21646
21647 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21648 test if we can't handle IO to/from the inferior.
21649
21650 * gdb.c++/misc.exp: Always check for a program already being
21651 started after sending a "run" command to gdb.
21652
21653 * gdb.base/twice.exp: Start with a fresh gdb.
21654
21655 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21656 only depend on gdb's expression code, not the chill runtime.
21657
21658 * gdb.base/return.c: Put return values into variables so we
21659 can have gdb print them rather than depending on the program
21660 to print them.
21661 * gdb.base/return.exp: Corresponding changes.
21662
21663 * lib/gdb.exp: Provide default value for noinferiorio.
21664 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21665 the inferior.
21666
21667 * gdb.base/break.exp: Always check for a program already being
21668 started after sending a "run" command to gdb.
21669 (text_next_with_recursion): Don't check the output from the
21670 program's printf statement. Instead just make sure the program
21671 exited.
21672
21673 * gdb.base/commands.exp: Protect tests which need arguments with
21674 $noargs conditionals.
21675
21676Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21677
21678 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21679 of structure member arrays to match gdb/valops.c:value_addr change.
21680
21681Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21682
21683 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21684 cases.
21685
21686Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21687
21688 * configure.in (configdirs): Remove gdb.chill from default list
21689 of subdirs and then add it back in only if doing a native build.
21690 The current chill compiler does not yet work in any cross build.
21691 * Revert all signal changes from Jul 6.
21692 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21693 for sh-hms targets, allowing these tests to link, with no other
21694 changes. Testing is suppressed by setting "nosignals" in site.exp.
21695
21696Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21697
21698 * configure.in (signaldirs): Define and add to configdirs for all
21699 targets except some specific ones that are known to not support signals.
21700 Also clean up formatting.
21701 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21702 (signals, sigall): Remove rules to build.
21703 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21704 Moved to new gdb.signals directory.
21705 * gdb.signals: New test directory.
21706 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21707 signals.c signals.exp}: New or moved files.
21708
21709Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21710
21711 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21712
21713Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21714
21715 * gdb.base/return.exp: Xfail `return double' test failure
21716 on at least Solaris 2.3 and handle future/past versions on
21717 a case by case basis as appropriate. Also update message
21718 to include i*86 failures.
21719
21720Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21721
21722 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21723
21724 * lib/gdb.exp: Fix comment which erroneously identified
21725 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21726 gdb_file_cmd not gdb_load).
21727 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21728
21729 * gdb.base/setvar.exp: Make test names consistent between pass and
21730 fail cases. Use gdb_test more.
21731
21732Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21733
21734 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21735
21736Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21737
21738 * gdb.base/help.exp: Fix expected help string for `show commands'.
21739
21740Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21741
21742 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21743
21744 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21745 of a text section.
21746
21747Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21748
21749 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21750 that loop eventually terminates. Fix Connection refused logic so
21751 that testsuite will expire nicely.
21752
21753Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21754
21755 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21756 config/rom68k.exp: New tcl glue for the appropriate monitors.
21757 These all just end up calling monitor.exp.
21758 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21759 refused' by retrying. Cleanup some timeout issues.
21760 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21761 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21762 callers don't have to set/restore global timeout variable.
21763
21764 * The following set of changes centralizes management of the global
21765 timeout variable. This way, it can be set in one target dependent
21766 place instead of dozens of places scattered throughout the test suite.
21767 If you need to lengthen a timeout, then you should either set timeout
21768 in one of the config/{target}.exp files, or multiply it by a factor.
21769 Setting it to an absolute value is always going to lose for some
21770 targets.
21771 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21772 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21773 * gdb.base/funcargs.exp: Don't set timeout.
21774 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21775 * gdb.base/printcmds.exp (test_print_string_constants
21776 test_print_array_constants): Don't set timeout.
21777 * gdb.base/ptype.exp: Don't set timeout.
21778 * gdb.base/recurse.exp: Don't set timeout.
21779 * gdb.base/return.exp: Don't set timeout.
21780 * gdb.base/watchpoint.exp: Don't set timeout.
21781 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21782 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21783
21784Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21785
21786 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21787
21788Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21789
21790 * lib/gdb.exp: Disable chill tests for irix5.
21791
21792Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21793
21794 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21795 each test pass or fail.
21796
21797Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21798
21799 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21800 xlc not gcc.
21801
21802Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21803
21804 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21805
21806Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21807
21808 * config/est.exp: Fix copyright and comments. Remove dead code.
21809 Use targetname, serialport and baud variables instead of fixed
21810 constants.
21811 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21812 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21813
21814Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21815
21816 * gdb.base/watchpoint.exp: Don't run
21817 test_watchpoint_triggered_in_syscall for sunos.
21818
21819Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21820
21821 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21822 they don't seem to exist. Do include stdio.h.
21823
21824Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21825
21826 * gdb.base/a1-selftest.exp: Add alpha xfail.
21827
21828Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21829
21830 * gdb.base/watchpoint.c (main): Prompt before calling read().
21831 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21832 Revise accordingly. Remove cruft about sending "123" several
21833 times, until it gets noticed. Clean up the "print buf[0]" stuff
21834 so that it passes or fails, and waits for prompts in the usual way.
21835
21836Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21837
21838 * gdb.base/recurse.exp: Fix comment.
21839
21840 * TODO: Remove item about printing variables in nodebug.exp. Add
21841 item about enabling tests which are only run on some targets.
21842
21843 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21844 fail, make test names unique, use new gdb_test convention
21845 regarding pattern, use gdb_test more, etc.).
21846
21847 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21848 fail, make test names unique, etc.).
21849
21850Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21851
21852 * gdb.base/nodebug.c: Change return type of top and middle to
21853 short.
21854 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21855 are fixed by the recent mdebugread.c changes. Allow `short ()'
21856 as type for top and middle.
21857
21858Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21859
21860 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21861 nearly as I can tell, the whole thing was an accident in Stu's
21862 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21863 to replace a send/expect pair with gdb_test, but ended up only
21864 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21865 of 30 Mar 1995 took care of it, but left this vestigial comment
21866 which I am now nuking.
21867
21868Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21869
21870 * gdb.base/break.exp: Look for different line number for
21871 breakpoint at main depending on usestubs.
21872
21873Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21874
21875 * gdb.base/list.exp: Adjust some alternate expect patterns to
21876 match recent list0.c change. Add alternate expect pattern for
21877 output from `list default lines around main' for optimizing
21878 compilers.
21879
21880Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21881
21882 * lib/gdb.exp: If nosignals is not set, set it to 0.
21883
21884Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21885
21886 * config/slite-gdb.exp: Responds to load symbol table prompt.
21887 * gdb.base/break.exp: Adjust line number, fix rerun.
21888 * gdb.base/langs0.c: Add #ifdef usestubs.
21889
21890Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21891
21892 * gdb.base/list.exp: Adjust line contents after adding new lines in
21893 list0.c. Also fix a syntax error.
21894
21895 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21896 * gdb.base/break.exp: ditto.
21897 * gdb.base/list.exp: ditto.
21898 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21899 * gdb.base/run.c: ditto.
21900 * gdb.base/list0.c: ditto.
21901 * gdb.base/funcargs.c: ditto.
21902
21903Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21904
21905 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21906 $targetname, $serialport and $baud instead of hardwired variables.
21907 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21908 target doesn't support signals.
21909
21910Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21911
21912 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21913
21914Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21915
21916 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21917 Don't rely on the value of an auto variable before it has been
21918 initialized. Use gdb_test more.
21919
21920Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21921
21922 * lib/gdb.exp (default_gdb_version): A version number must start
21923 with a digit, but other than that contains all characters up to
21924 the first whitespace character.
21925
21926Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21927
21928 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21929
21930Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21931
21932 * gdb.c++/*.exp: Warn if executable does not exist. The original
21933 reason for skipping the warning was that configure.in sometimes
21934 intentionally skipped building the executables but the tcl code
21935 had no way of knowing. That (a) was always bogus with respect to
21936 error handling, (b) is no longer true (right now there is no way
21937 to skip C++ tests).
21938
21939 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21940
21941Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21942
21943 * gdb.base/list.exp: Add expect patterns for output from
21944 SunPRO compiled executables.
21945 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21946 types.
21947
21948Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21949
21950 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21951 number (we are already testing that the correct source line text
21952 gets printed).
21953
21954 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21955 that is what is intended, but something needed to be done to get
21956 sunos4 native working again.
21957
21958 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21959
21960 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21961 apparently went with a (very) old xfail.
21962
21963Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21964
21965 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21966 runto_main is a proc in gdb.exp that will do 'step' for target use
21967 stubs.
21968 * gdb.base/exprs.exp: ditto.
21969 * gdb.base/interrupt.exp: ditto.
21970 * gdb.base/opaque.exp: ditto.
21971 * gdb.base/printcmds.exp: ditto.
21972 * gdb.base/ptype.exp: ditto.
21973 * gdb.base/scope.exp: ditto.
21974 * gdb.base/setvar.exp: ditto.
21975 * gdb.base/signals.exp: ditto.
21976 * gdb.base/twice.exp: ditto.
21977 * gdb.c++/classes.exp: ditto.
21978 * gdb.c++/inherit.exp: ditto.
21979 * gdb.c++/templates.exp: ditto.
21980 * gdb.base/break.exp: no run and hit main for stubs. Change line
21981 numbers for breakpoints and info breakpoint.
21982 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21983 breakpoint().
21984 * gdb.base/callfuncs.c: ditto.
21985 * gdb.base/exprs: ditto.
21986 * gdb.base/interrupt.c: ditto.
21987 * gdb.base/opaque0.c: ditto.
21988 * gdb.base/printcmds.c: ditto.
21989 * gdb.base/ptype.c: ditto.
21990 * gdb.base/scope0.c: ditto.
21991 * gdb.base/setvar.c: ditto.
21992 * gdb.base/signals.c: ditto.
21993 * gdb.base/twice.c: ditto.
21994 * gdb.c++/misc.cc: ditto.
21995 * gdb.c++/templates.cc: ditto.
21996
21997Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21998
21999 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22000
22001 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22002 somewhere between `read' and `main.c'. I'm pretty sure the
22003 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22004 and it isn't particularly useful.
22005
22006 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22007
22008Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22009
22010 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22011
22012Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22013
22014 * config/mt-slite: add LIBS and -nostdlib.
22015 * config/slite-gdb.exp: add this new file to support sparclite target.
22016
22017Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22018
22019 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22020
22021 * gdb.base/a2-run.exp: Change argument to istarget from
22022 "*-*-vxworks" to "*-*-vxworks*".
22023 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22024
22025Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22026
22027 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22028 will not runto main but do a 'step' to step out of breakpoint().
22029 * config/mt-slite: add -Dusestubs.
22030
22031Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22032
22033 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22034 instead of just @.
22035
22036 * gdb.base/signals.exp: Add test for "handle all print".
22037 * TODO: Remove "handle all print". Also remove item about
22038 checking copyright date (I don't like the idea of a spurious FAIL
22039 based on when we run the tests).
22040
22041 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22042 for SunOS4 (reason for failure not investigated). Remove
22043 redundant test for $binfile.
22044
22045 * gdb.base/nodebug.c (array_index): Call malloc.
22046
22047 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22048
22049Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22050
22051 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22052 conventions and slightly simplify the matching regexp.
22053
22054Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22055
22056 * gdb.base/break.exp: Update gdb_test invocation to use new
22057 convention.
22058
22059 * lib/gdb.exp: If noargs is not set, set it to 0.
22060
22061 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22062 tests unique.
22063
22064 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22065
22066Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22067
22068 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22069 one argument of type "<non-float parameter>".
22070
22071Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22072
22073 * config/rom68k.exp: New file to support Motorola IDP board.
22074 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22075 * gdb.base/break.c: Change things around so that this program
22076 doesn't depend upon args. This is necessary to make remote
22077 targets work (in general, they can't take args).
22078 * gdb.base/break.exp: Don't try to send args to program. Don't
22079 expect output. Also, replace lots of code with gdb_test.
22080
22081Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22082
22083 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22084 printing of '\'' (which is what the comment says we are testing,
22085 even though we were not), not '''.
22086 (test_integer_literals_rejected): Test that printing ''' is an error.
22087
22088 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22089 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22090 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22091 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22092 Use gdb_test not test_print_accept.
22093 * lib/gdb.exp: Remove test_print_accept.
22094
22095 * gdb.base/signals.exp (signal_tests_1): Make pass message
22096 consistent with fail message.
22097
22098 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22099 unsigned char; the bug (PR 1821) is fixed.
22100
22101 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22102
22103 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22104 successful tests--makes xfailing them work right.
22105
22106Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22107
22108 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22109 only \r\n, not .*. The test can pass .* as the last thing in
22110 $pattern if that is what it wants. In addition to providing this
22111 flexibility, this change should speed up pattern matching in cases
22112 where the pattern already ended with .* (there were a number of
22113 them). This change also helps catch bad patterns--in the old
22114 scheme the typo "char \*" instead of "char \\*" would pass. Now
22115 it is caught.
22116 * Many .exp files: Update callers.
22117
22118 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22119 clearer and does not spuriously match multiple ('s. Likewise for
22120 ) and *.
22121
22122 * gdb.base/nodebug.exp: Test ability to call a function and pass
22123 it a string (even with no debugging info).
22124
22125 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22126 "p '\'", which is the same as "p ''" once tcl gets done with
22127 quoting, to "p '\\'", which I suspect is what is intended (one
22128 backslash gets sent to GDB).
22129
22130 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22131
22132Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22133
22134 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22135 1817) was fixed literally years ago.
22136
22137Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22138
22139 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22140 test, it causes stepping out of call_after_alloca_subr with
22141 optimizing compilers.
22142 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22143 fails.
22144
22145 * gdb.c++/templates.exp: Source templ-info.exp only if
22146 the templates executable exists.
22147
22148 * gdb.c++/misc.cc (class Contains_static_instance,
22149 class Contains_nested_static_instance),
22150 gdb.c++/classes.exp (test_static_members): Test printing of
22151 a class that contains a static instance of the class.
22152
22153Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22154
22155 * gdb.base/langs2.c (cppsub_): Don't prototype.
22156 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22157 only, I believe).
22158
22159Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22160
22161 * lib/gdb.exp (skip_chill_tests): New procedure.
22162
22163 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22164
22165Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22166
22167 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22168 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22169
22170Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22171
22172 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22173
22174 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22175 disassemble 8, not 16, instructions for part 4.
22176
22177 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22178 support the latter anymore.
22179
22180 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22181 -DNO_PROTOTYPES.
22182 * gdb.base/callfuncs.c: Control use of prototypes based on
22183 NO_PROTOTYPES, not __STDC__.
22184 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22185 t_float_values2 tests if prototypes in use.
22186
22187 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22188 t_double_values): When checking differences against DELTA, check
22189 that difference is within the range (-DELTA,DELTA), not just
22190 (-infinity,DELTA).
22191
22192Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22193
22194 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22195 'file' command firts, then 'target', then 'load', this is due to gdb
22196 target set up.
22197 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22198
22199Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22200
22201 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22202 FP load/store variants.
22203 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22204
22205Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22206
22207 * gdb.base/term.exp: Do not give a warning if not native, it is
22208 not an abnormal condition.
22209
22210Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22211
22212 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22213 t_char_array".
22214
22215Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22216
22217 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22218 are getting the version number.
22219
22220 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22221 if not native, it is not an abnormal condition.
22222
22223Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22224
22225 * lib/gdb.exp: Just use "file exists", rather than undocumented
22226 dejagnu procedure "findfile".
22227
22228Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22229
22230 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22231 (LDFLAGS): Set to -Xlinker -Ur.
22232
22233 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22234 Removed, these values are set by lib/gdb.exp.
22235
22236 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22237
22238Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22239
22240 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22241 of replicating gdb startup code.
22242
22243 * config/mt-vxworks (LDFLAGS): Set to -r.
22244 (CFLAGS_FOR_TARGET): Removed.
22245
22246 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22247 (gdb) and gdb for vxworks uses (vxgdb).
22248
22249 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22250 executable is not in the tree and host != target, use sed and
22251 program_transform_name to determine the gdb name used by the
22252 target.
22253
22254 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22255 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22256
22257Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22258
22259 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22260 floats, chars, and shorts where there are ANSI-style function
22261 definitions.
22262
22263 * gdb.base/langs.exp, gdb.base/langs*: New test.
22264 * gdb.base/Makefile.in: Build it.
22265 * TODO: Remove item about checking that C names don't get C++
22266 demangling applied; this test tests it.
22267
22268Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22269
22270 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22271 went with the const70 xfail. The xfail went away a year ago.
22272
22273 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22274
22275 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22276 for hp300.
22277
22278 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22279
22280 * gdb.base/a1-selftest.exp: Don't run on hp300.
22281
22282Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22283
22284 * Makefile.in (site.exp): Set host_alias and target_alias as well
22285 as host_triplet and target_triplet.
22286
22287Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22288
22289 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22290
22291 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22292 places as other ecoff systems).
22293
22294 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22295 ultrix.
22296
22297Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22298
22299 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22300 remove them.
22301 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22302 variable and "variable" in addition to "data variable".
22303 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22304
22305 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22306 2.
22307 * gdb.base/list1.c (long_line): Add additional statement at start
22308 of function.
22309 * gdb.base/list.exp (test_forward_search): Update line number to
22310 reflect new statement.
22311
22312Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22313
22314 * gdb.base/signals.exp: Reinitialize searched source directories
22315 after gdb_start call.
22316
22317Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22318
22319 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22320 * gdb.stabs/Makefile.in: Likewise.
22321
22322 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22323 change. Instead split the tests into smaller pieces.
22324 * gdb.disasm/hppa.s: Corresponding changes.
22325
22326Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22327
22328 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22329 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22330
22331 * gdb.base/funcargs.exp: Modify many tests so that every test
22332 either passes or fails. Make some test names unique.
22333
22334Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22335
22336 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22337 Call stty to set interrupt character.
22338
22339 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22340 for HP assembler versus GNU assembler based on actual behavior of
22341 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22342
22343 * TODO: Suggest a few more stepping tests.
22344
22345Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22346
22347 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22348 restart GDB for h8300 after a continue.
22349 (return): Add pattern to match a29k-udi behavior.
22350 * gdb.base/nodebug.exp: Remove obsolete comment.
22351 * gdb.base/regs.exp: New file, testing of register displays.
22352 * gdb.base/return.exp: Fix typo in reference to $objdir.
22353 * gdb.base/whatis.exp: Always start with a fresh GDB.
22354
22355Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22356
22357 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22358 higher, these tests generate a lot of output.
22359
22360Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22361
22362 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22363 code following the catch silently ignored some errors; without the
22364 catch they should be thrown like any other tcl error. Also, the
22365 catch used "" instead of {} which meant all the callers who wanted
22366 to include one of the characters "[]$ had to quote it an extra time.
22367 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22368 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22369 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22370 Remove extra quoting.
22371
22372Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22373
22374 * gdb.base/commands.exp: Make test names unique; every test either
22375 passes or fails. Update some comments.
22376
22377 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22378
22379Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22380
22381 The following fixes a FAIL caused by the fact that the alpha stabs
22382 configuration didn't use the ".if alpha" code in weird.def.
22383 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22384 bit pointer, so the 32 bit version works even on the alpha.
22385 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22386 Remove the stuff which allowed us to have separate versions for
22387 alpha and everything else.
22388
22389 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22390 regexp which "info func operator\[\](" is supposed to match. Fix
22391 string to send to GDB. Note that GDB still doesn't work right. Add a
22392 new test for "info func .perator\[\](" which GDB does handle correctly.
22393
22394 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22395
22396Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22397
22398 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22399 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22400 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22401 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22402 it makes the tests harder to understand and confuses test-o-matic.
22403 The preferred style is that each test provides a PASS or a FAIL,
22404 and has a unique message (e.g. "continue #54" not just "continue")
22405 which is the same for the pass and the fail.
22406 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22407 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22408 to lib/gdb.exp.
22409 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22410 prt_accept which was basically the same thing. Likewise for
22411 test_print_reject and prt_reject.
22412 * lib/gdb.exp (test_print_reject): Add some more error message
22413 patterns to match from the former printcmds.exp (prt_reject).
22414 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22415 One defect of the passcount stuff is that some of it failed to
22416 report XPASS where appropriate.
22417 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22418 stuff before and after arg in expected pattern.
22419 (test_paddr_operator_functions): Re-do test without print_addr_of;
22420 this is the only test which seems to want extra stuff there.
22421
22422Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22423
22424 * gdb.base/nodebug.exp: Update new tests to reflect improved
22425 wording of gdb output.
22426
22427 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22428 and "ptype" work on variables in files compiled without -g.
22429 Replaces commented out "maint print msymbol" tests.
22430
22431Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22432
22433 * gdb.base/setvar.c (dummy): Call malloc.
22434
22435 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22436 losing with the irix4 sed.
22437
22438 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22439 ALRM" on irix4.
22440
22441Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22442
22443 * TODO: Remove items about corefile.exp testing new exec-file and
22444 backtrace; both are now done. Add items about printing enums.
22445
22446Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22447
22448 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22449 "get signal $thissig" test fails.
22450
22451 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22452
22453Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22454
22455 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22456 compiler warning with dec alpha compiler.
22457
22458 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22459 extra \n from gdb_test call (this explains why the prompt test
22460 that I removed yesterday was there).
22461 (user_defined_command_test): Remove extra \n and prompt test.
22462
22463 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22464 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22465 doesn't exist.
22466 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22467 Also remove alpha workaround, which turns out to be because
22468 SIGABRT == SIGLOST.
22469
22470 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22471
22472 * gdb.base/help.exp: Don't test "help show".
22473
22474Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22475
22476 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22477 "set print address" is on.
22478 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22479 pass prompt to gdb_test; gdb_test already looks for the prompt.
22480
22481 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22482
22483 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22484 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22485 was to make sure that gdb can read a core file. But (a) the "read
22486 the corefile" part didn't make it to a1-selftest.exp, we just
22487 delete the corefile after creating it, and (b) we test reading
22488 corefiles in corefile.exp anyway. Also, this test left around a
22489 xgdb process on Solaris.
22490
22491 * gdb.base/corefile.exp: Also test backtrace.
22492
22493Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22494
22495 * gdb.base/commands.exp: Test a simple user defined command with
22496 arguments and if/while statements; verify the full user command is
22497 printed by "show user".
22498
22499 * gdb.base/commands.exp: Test if/while commands as part of a
22500 breakpoint command list; verify they appear in breakpoint
22501 information.
22502
22503Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22504
22505 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22506 than by dividing by zero.
22507
22508Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22509
22510 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22511 performing an inferior call with watchpoints enabled.
22512 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22513 call.
22514
22515Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22516
22517 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22518 of "file" command.
22519
22520 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22521 Add additional pattern for when "int operator int(void);" appears
22522 in a different order.
22523
22524Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22525
22526 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22527
22528 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22529 and "signal" with ".*".
22530
22531Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22532
22533 * TODO: Add note about "handle all nostop".
22534
22535 * gdb.base/{sigall.c, sigall.exp}: New test.
22536 * gdb.base/Makefile.in: Add it.
22537
22538Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22539
22540 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22541 when invoking GDB, suppresses any windowing interface.
22542
22543Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22544
22545 * config/sim-gdb: New file, simulator testing support.
22546
22547Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22548
22549 * gdb.base/interrupt.exp: Test calling func1 twice.
22550
22551Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22552
22553 * gdb.base/list.exp (test_forward_search): Set timeout higher
22554 when we'll be getting lots of output from gdb.
22555
22556 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22557 "init_malloc" to after the expect statement. Run it if that
22558 regexp is taken, but also for two others which happen if source
22559 cannot be found.
22560
22561Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22562
22563 * gdb.base/printcmds.exp: New test, for printing register before
22564 program is running.
22565
22566Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22567
22568 * gdb.base/list.exp: Correct some alternate expect patterns
22569 to reflect changes in list1.c.
22570
22571Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22572
22573 * TODO: Add item regarding large frames.
22574
22575 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22576
22577 * TODO: Remove item about enabling return.exp; it
22578 is enabled. Suggest a few more "return" tests.
22579
22580Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22581
22582 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22583 anonymous unions.
22584
22585Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22586
22587 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22588 and pr-5646.o, so "make" is the same as "make all", not "make
22589 pr-4975.o".
22590
22591Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22592
22593 * gdb.base/list.exp: Adjust expectations to reflect changes in
22594 list1.c.
22595 (test_forward_search): New test proc.
22596 * gdb.base/list1.c (long_line): New function, has long source line.
22597
22598Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22599
22600 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22601 additional line of code that was added.
22602
22603Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22604
22605 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22606 tests so as not to overflow expect's input buffers.
22607 * gdb.disasm/hppa.exp: Corresponding changes.
22608
22609Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22610
22611 Beginnings of template debugging tests.
22612 * gdb.c++/templ-info.cc: New file to test for template
22613 debugging capability of the compiler.
22614 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22615 templ-info.cc.
22616 * gdb.c++/templates.cc: Add explicit template instantiations
22617 to enable compiling with -fno-implicit-templates. Add destructor
22618 and 'value' method to T5 class for template tests.
22619 * gdb.c++/templates.exp: Add testcases for printing of template
22620 types, setting breakpoints on template methods and calling a
d63a86f8 22621 template method.
c906108c
SS
22622
22623Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22624
22625 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22626 branch target since some assemblers (gas-2.5) may emit a
22627 relocation for the branch instead of resolving it in the
22628 assembler.
22629
22630Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22631
22632 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22633 through signal handler.
22634
22635Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22636
22637 * configure.in (*-*-netware): Use config/mt-netware.
22638
22639 * config/mt-netware: New file.
22640 * config/mt-i386-netware: Removed, separate configs for different
22641 netware architectures are no longer needed now that we have
22642 --with-headers.
22643
22644Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22645
22646 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22647 by the recent changes to use ANSI C arithmetic conversions.
22648
22649Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22650
22651 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22652 bug involving using inferior_pid to figure out whether to select a
22653 frame.
22654
22655Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22656
22657 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22658 match the current disassembler output.
22659
22660Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22661
22662 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22663 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22664 types, expect "int" as type of integer values (for now).
22665
22666Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22667
22668 * gdb.base/commands.exp: New tests for if/while commands.
22669
22670Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22671
22672 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22673 by .*, since hex values have different syntax in Chill mode.
22674
22675Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22676
22677 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22678 linefeed from expect pattern for repeated types with indices > 9.
22679
22680Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22681
22682 First part of Fortran test suite.
22683 * gdb.fortran: New directory.
22684 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22685
22686Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22687
22688 * gdb.base/default.exp: Update expect pattern for load command
22689 without arguments.
22690
22691Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22692
22693 * configure.in: Change i386 to i[345]86.
22694 * gdb.base/configure.in: Likewise.
22695 * gdb.c++/configure.in: Likewise.
22696 * gdb.chill/configure.in: Likewise.
22697
22698Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22699
22700 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22701 patterns, since that is not a valid context for comments.
22702
22703Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22704
22705 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22706 repeated types and repeated types with indices > 9.
22707
22708Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22709
22710 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22711 2417; old bug has been fixed.
22712
22713Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22714
22715 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22716 send the newline ourselves instead of assuming gdb_test will do
22717 so when passed an empty input string.
22718
22719 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22720 stabs testcode.
22721
22722Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22723
22724 * lib/gdb.exp (gdb_test): Don't send anything if the first
22725 argument is an empty string. This makes cases where we want to
22726 match output that is already in expect's buffers (for example,
22727 matching a breakpoint after gdb_run_cmd has been called) work
22728 reliably.
22729
22730Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22731
22732 * config/netware.exp: New file.
22733
22734Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22735
22736 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22737 the -B and -L prefixes so we can find the debugging stub.
22738
22739 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22740 there and we are using the gcc from the tree.
22741
22742 * gdb.base/types.c: Removed.
22743
22744 * gdb.base/configure.in: Look for makefile fragments in ../config.
22745 Recognize i386-*-netware.
22746 * gdb.c++/configure.in: Likewise.
22747
22748Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22749
22750 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22751 the correct TCL syntax.
22752
22753Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22754
22755 * gdb.base/opaque.exp: use runto instead of messing around with
22756 breakpoints. Simplify by using gdb_test.
22757
22758 * gdb.base/bitfields.exp: restart between tests on netware targets
22759 because breakpoints aren't relocated after target death. Run
22760 processes to completion.
22761
22762 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22763
22764Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22765
22766 * Makefile.in: Remove extra tabs that confuse some versions
22767 of "make". Use the newly built gdb to test with by default,
22768 rather than the first one in the tester's search path.
22769
22770Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22771
22772 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22773
22774 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22775 condition help.
22776
22777Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22778
22779 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22780
22781 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22782 running.
22783 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22784 * gdb.base/funcargs.exp: Likewise.
22785
22786 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22787 * gdb.base/funcargs.exp: Likewise.
22788
22789 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22790 message is "".
22791
22792Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22793
22794 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22795 return,signals,twice}.exp: Handle non-existant binaries
22796 consistantly.
22797
22798 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22799 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22800 might testing a cross development system.
22801
22802Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22803
22804 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22805 runtest script is relative to ${srcdir}, not ${rootdir}.
22806
22807Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22808
22809 * gdb.base/signals.exp: Allow for optionality of breakpoint
22810 address.
22811
22812Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22813
22814 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22815
22816Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22817
22818 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22819 for size_t definition.
22820 * gdb.c++/templates.cc: Likewise
22821
22822 * config/mt-i386-netware: New file.
22823
22824 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22825 defined.
22826
22827 * gdb.base/Makefile.in: Added support for systems that name core
22828 files by appending "core" to the program name.
22829 * gdb.base/a1-selftest.exp: Likewise.
22830
22831Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22832
22833 * gdb.base/return.exp: Add comment and message for `return double'
22834 test failure on Sparc Solaris.
22835
22836Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22837
22838 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22839
22840Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22841
22842 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22843 from optimizing them away.
22844 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22845 patterns to include default constructors and assignment operators,
22846 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22847 character in the output of the virtual base pointer.
22848
22849Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22850
22851 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22852 expression match in print_addr_of to avoid unintented matches.
22853 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22854 versions up to 2.5.8.
22855
22856Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22857
22858 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22859 included file to run under newer versions of expect.
22860 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22861 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22862 Remove xfail for the virtual table of BDDHookV.
22863
22864Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22865
22866 * lib/gdb.exp (string_to_regexp): Set a default result.
22867 (default_gdb_start): Fix misleading message.
22868
22869Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22870
22871 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22872 Remove all CC, etc definitions.
22873 * config/mt-hpux: New file.
22874 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22875 (CFLAGS, LDFLAGS): Define.
22876 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22877
22878 * Makefile.in (site.exp): Don't insert host_os, etc.
22879 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22880 (distclean): Check existence of subdir.
22881 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22882 * gdb.base/Makefile.in: General cleanup and simplification.
22883 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22884 to build executables. Use default rule to build .o files.
22885 (EXPECT, RUNTEST, CC): Fix relative pathname.
22886 (site.exp): Don't insert host_os, etc.
22887 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22888 and/or SIGUSR1 defined.
22889 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22890 * gdb.c++/Makefile.in: General cleanup and simplification.
22891 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22892 (CFLAGS): Remove.
22893 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22894
22895Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22896
22897 * gdb.base/recurse.exp: Misc changes to get tests running again
22898 after Kung's changes to the watchpoint code.
22899 * gdb.base/watchpoint.exp: Likewise.
22900
22901Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22902
22903 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22904
22905Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22906
22907 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22908 * lib/gdb.exp (default_gdb_start): Define.
22909 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22910 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22911 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22912 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22913 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22914 Don't call gdb_target_udi in between tests.
22915
22916Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22917
22918 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22919 (which was basically just a local version of the same thing). In
22920 addition to avoiding duplication, gdb_test_exact is faster.
22921 * lib/gdb.exp (gdb_test_exact): Fix typo.
22922
22923 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22924 don't give an error.
22925
22926 * gdb.base/term.exp: Call delete_breakpoints before starting.
22927
22928 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22929 (t10): Add comment.
22930
22931Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22932
22933 Reorganization of the GDB Test Suite.
22934
22935 * gdb.base: New directory, contains all the basic tests.
22936 * gdb.c++: New directory, tests specific to C++.
22937 * gdb.chill: New directory, tests specific to Chill.
22938 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22939 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22940 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22941 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22942 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22943 t30-31 to chill).
22944 * */gdbme.*: Rename to match appropriate expect scripts.
22945 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22946 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22947 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22948 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22949 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22950 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22951 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22952 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22953 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22954 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22955 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22956 gdb.c++/virtfunc.cc: New names of C++ files.
22957 * gdb.chill/chillvars.ch: New name of Chill file.
22958 * gdb.base/configure.in, gdb.c++/configure.in,
22959 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22960 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22961 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22962 * configure.in (configdirs): Update to reflect directory changes.
22963 (target_abbrev): No longer define for any configuration.
22964 * Makefile.in: Cosmetic improvements to header comments.
22965
22966Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22967
22968 Various changes to gdb.t31:
22969
22970 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22971 * gdbme.ch: Make all key-words and predefineds be upper-case.
22972 * chillvars.exp: Expect key-words and predefinds in upper-case.
22973
22974 * chillvars.exp: Use gdb_test_exact many places.
22975 Change expected output for arrays (which now includes index labels).
22976
22977 * pr-5020.exp, gdme.ch (module PR_5020):
22978 New test, for PR-5020.
22979
22980Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22981
22982 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22983 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22984
22985Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22986
22987 * Makefile.in: Fix bit-rot in definitions of CHILL,
22988 CHILL_FOR_TARGET and Chill_LIB.
22989 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22990 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22991 CHILL, and CHILL_LIB.
22992
22993Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22994
22995 * Revert the previous changes. Please see Rob's directory
22996 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22997
22998Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22999
23000 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
23001 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23002 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23003 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
23004 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23005 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23006 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23007 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23008 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23009 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23010 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23011 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23012 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23013 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23014 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23015 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23016 changes from 94Q1.
23017
23018Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23019
23020 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23021 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23022 Rob's new testing fragments.
23023
23024Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23025
23026 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23027 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23028
23029Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23030
23031 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23032 version also, match on casted version strings, and match on
23033 gdb startup case where the line numbers might be messed up.
23034
23035Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23036
23037 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23038 (CFLAGS): Delete it from here.
c906108c
SS
23039
23040Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23041
23042 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23043
23044Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23045
23046 * Makefile.in (RUNTEST): Default to just "runtest".
23047
23048Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23049
23050 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23051 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23052 the code has been restructured.
23053
23054Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23055
23056 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23057 \n, not just one of each.
23058
23059 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23060 /bin/cc gives a warning if you do.
23061
23062Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23063
d63a86f8 23064 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23065 __t10ListS_link1ZUiRCUiPT0
23066
23067Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23068
23069 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23070 on local variables in recursive functions.
23071
23072 * gdb.t07/Makefile.in: Build the new test.
23073
23074Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23075
23076 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23077 directly. Instead compare the return values from actual calls.
23078
23079Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23080
23081 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23082
23083Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23084
23085 * From Peter Schauer with minor modifications.
a9c64011
AS
23086 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23087 stops in mid-line in the caller. Add xfail for returning a float
23088 value on X86 targets.
c906108c
SS
23089
23090Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23091
23092 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23093 to avoid expect lossage.
23094 (fmem_LRbug_tests): Likewise.
23095 * gdb.disasm/hppa.s: Corresponding changes.
23096
23097 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23098 conditions to work with latest dejagnu/expect.
23099
23100 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23101 expected to fail on the PA.
23102 (backtrace in call with trampolines): Explicitly require main
23103 to be frame #1 (no trampolines should show up in backtrace).
23104
23105 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23106 "continue -expect".
23107 * gdb.t06/break.exp: Likewise.
23108 * gdb.t07/watchpoint.exp: Likewise.
23109 * gdb.t13/bitfields.exp: Likewise.
23110 * gdb.t15/{funcargs,return}.exp: Likewise.
23111 * gdb.stabs/weird.exp: Likewise.
23112 * config/{mips,udi}-gdb.exp: Likewise.
23113
23114 * hppa.sed: Enclose comments within a sed command to avoid
23115 losing with the old OSF1 sed.
23116
23117Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23118
23119 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23120 sequent dynix.
23121 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23122 * gdb.t15/funcargs.exp: Conditionally step again to really
23123 finish from marker_call_with_trampolines. Handle the case where
23124 the first step from within call_with_trampolines already steps
23125 us back to main.
23126 * gdb.t15/gdbme.c: Add comment to closing brace of
23127 call_with_trampolines for funcargs.exp.
23128
23129Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23130
d63a86f8 23131 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23132 Fix typo(s).
23133
23134Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23135
23136 * gdb.t07/gdbme.c: More code for watchpoint testing.
23137
23138 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23139 "Hardware watchpoint" throughout file.
23140 (test_watchpoint_triggered_in_syscall): New test.
23141 (test_complex_watchpoint): New test.
23142
23143Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23144
23145 * gdbme.c (call_with_trampolines): New function to try and step
23146 into. Tests trampoline problems on the PA.
23147
23148 * funcargs.exp (localvars_in_indirect_call): No longer expect
23149 stepping into indirect call to fail on PAs.
23150 (test_stepping_over_trampolines): New test.
23151
23152Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23153
23154 * TODO: Add suggestions for static member function tests, and
23155 completion tests.
23156
23157Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23158
23159 * TODO: Add suggestions for "p/a" tests.
23160
23161 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23162 (default_gdb_exit): Replace all the hair with sending "quit" to
23163 the process with a simple close.
23164
23165Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23166
23167 * TODO: Add suggestions for shared library tests.
23168
23169Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23170
23171 * TODO: Add suggestions for x/s tests.
23172
23173Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23174
23175 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23176 "enable once", and "enable breakpoints once" with ".*".
23177
23178Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23179
23180 * TODO: Add suggestions about structure passing tests.
23181
23182Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23183
23184 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23185 the primary1 test, use work around if __GNUC__ < 2.
23186 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23187 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23188 Test for bad output rather than waiting for timeout. Issue
23189 second continue only if first continue failed.
23190
23191Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23192
23193 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23194 operator[] test with gdb_test because the old code didn't seem to
23195 be getting the quoting right with the new dejagnu.
23196
23197Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23198
23199 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23200 one from the path.
23201 * Makefile.in: Use a fresh expect if there is one, use runtest
23202 from the src tree if there is one.
d63a86f8 23203
c906108c
SS
23204Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23205
23206 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23207 next over recursive call. Revise the tests from that point on
23208 (which had been skipped) to match GDB's actual (correct) output.
23209
23210 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23211 with next over a breakpoint whose condition is false.
23212
23213 * gdb.t00/help.exp: Comment out "help set print" tests just like
23214 (and for same reason as) "help set" test.
23215
23216Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23217
23218 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23219 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23220
23221Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23222
23223 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23224 necessary gdb_target_udi.
23225
23226 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23227
23228 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23229 1838 and 2417; they are fixed.
23230
23231 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23232 gdb.t03/ptype.exp (ptype structure, ptype union):
23233 Remove xfails; the test is looser than when the xfails were added.
23234
23235 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23236 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23237
23238 * gdb.t01/run.exp: Only run shell test if isnative.
23239
23240 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23241 since "run" automatically loads if necessary. Call gdb_target_udi
23242 after the "file" since "file" kills any execution target.
23243
23244 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23245 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23246 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23247 argument for UDI.
23248
23249Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23250
23251 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23252
23253 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23254
23255Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23256
23257 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23258 properly quoting regexps. This makes the second argument to
23259 demangle a fixed string, which matches the callers, instead of a
23260 shell-style pattern which is what the previous implementation
23261 used. Update some of the callers.
23262
23263Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23264
23265 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23266 (comib_nullified_tests): Fix typo.
23267 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23268 strings. No longer expected to fail.
23269
23270 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23271 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23272 strings. No longer expected to fail.
23273
23274 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23275 string. No longer expected to fail.
23276
23277Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23278
23279 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23280 No longer expected to fail.
23281
23282 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23283 string. No longer expected to fail.
23284
23285Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23286
23287 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23288 only in the names (I probably got most of them). I was even
23289 generous with some which differed in underscores in names, and
23290 probably missed a few, and I *still* was able to remove almost a
23291 third of the file with almost no impact on testsuite coverage.
23292
23293Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23294
23295 * gdb.t00/default.exp: Match udi_attach error message as well as
23296 the one from child_attach.
23297
23298 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23299
23300 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23301
23302 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23303 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23304
23305 * Move test with enums and partial symbols back to
23306 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23307 Reverts the change of 26 May 93. Per today's change to
23308 stabs.texinfo, the behavior that weird.exp was expecting was
23309 unreasonable; what is important is that the compiler+gdb get
23310 things right, which happens with a recent gcc. Also fix the test
23311 to deal with native compilers which put out the stab gdb can't
23312 deal with.
23313
23314Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23315
23316 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23317 in the names. The main thing these accomplish is to slow things down.
23318 Many more such duplicates surely remain.
23319
23320 * gdb.t00/help.exp: Comment out "help support" test just like
23321 (and for same reason as) "help set" test.
23322
23323Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23324
23325 * gdb.t06/break.exp: Remove setup_xfails for
23326 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23327 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23328 about known bug in gcc to include up through 2.5.8.
23329 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23330 well as "_vb$".
23331 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23332 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23333 with latest gcc and gdb.
23334 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23335 well as "_vb$".
23336
23337Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23338
23339 * configure.in (hppa*-*-*): Also configure and build stabs-only
23340 tests.
23341
23342Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23343
23344 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23345 * gdb.t10/configure.in (hppa*-*-*): Use it.
23346
23347Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23348
23349 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23350
23351Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23352
23353 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23354 versions prior to 1.13.5.
23355
23356Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23357
23358 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23359 the prompt is at the start of a line.
23360
23361Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23362
23363 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23364 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23365 in the copr tests now.
23366 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23367 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23368 expected to fail.
23369
23370Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23371
23372 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23373 gdb.t31/chillvars.exp, lib/gdb.exp:
23374 Tweak to run under either version of expect.
23375 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23376 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23377 * gdb.t11/list.exp: Remove extraneous whitespace.
23378
23379Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23380
23381 * gdb.t16/printcmds.exp (test_print_strings): Accept
23382 "(unsigned char *) " before the string.
23383
23384 * TODO: Add notes about printing of fancy types and GDB expressions.
23385
23386Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23387
23388 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23389 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23390 if doing mips-idt-ecoff.
c906108c
SS
23391
23392Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23393
23394 * Most .exp files: Tweak to run under either version of expect.
23395
23396Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23397
23398 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23399 xfails; I'm not sure why they are failing, but not because of PR 1806.
23400
23401Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23402
23403 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23404 defined in lib/gdb.exp.
23405
23406Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23407
23408 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23409 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23410 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23411 have to be typeless.
23412
23413Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23414
23415 * TODO: Add suggestion for copyright year test.
23416
23417Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23418
23419 * configure.in (*-*-lynxos*): Add stabs tests.
23420
23421Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23422
23423 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23424 so insert a tab before any assembler directive in column zero.
23425
23426 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23427 stores.
23428 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23429 stores.
23430 (fpu_short_memory_tests): Likewise.
23431
23432Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23433
23434 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23435 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23436 .stabs directives in comments.
23437
23438Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23439
23440 * TODO: New file, describing tests we could write.
23441 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23442
23443Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23444
23445 * gdb.t06/signals.exp: Add kludge to force re-sync.
23446
23447 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23448 to xgdb instead of gdb, get out of gdb.
23449
23450Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23451
23452 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23453 for info.
23454
23455Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23456
23457 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23458 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23459 * gdb.stabs/hppa.sed: New sed script for the PA.
23460
23461Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23462
23463 * gdb.stabs: Re-write weird.def and configuration to use sed
23464 instead of cpp. sed is portable and POSIX; cpp is neither.
23465
23466Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23467
23468 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23469
23470Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23471
23472 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23473
23474Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23475
23476 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23477 "_vb$".
23478 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23479 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23480
23481Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23482
23483 * lib/gdb.exp: Comment out code which depends on non-existent
23484 `transform' procedure.
23485
23486Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23487
23488 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23489 * lib/gdb.exp: Transform tool name.
23490 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23491 1.1's new error handling system.
23492
23493Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23494
23495 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23496
23497Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23498
23499 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23500 They made pattern matching so slow that timeouts happened on
23501 heavily loaded systems. Now any output from "show print" which
23502 gets us back to the GDB prompt is a PASS.
23503
23504Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23505
23506 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23507
23508Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23509
23510 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23511
23512 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23513 It is not from PR 3220.
23514
23515Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23516
23517 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23518 just started failing because they depended on the order the
23519 subcommands are presented, or exact docstring text. This kind of
23520 test is a pain and has minimal benefit.
23521
23522Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23523
23524 * gdb.t09/corefile.exp: At end of test, use "core" command with
23525 no arguments.
23526
23527Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23528
23529 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23530 17}/Makefile.in: Make it possible to run the testsuite with Sun
23531 make and CC = cross gcc by adding explicit build rules for .o
23532 files.
23533
23534Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23535
23536 * gdb.t15/funcargs.exp: Don't put comments on same line as
23537 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23538
c906108c
SS
23539Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23540
23541 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23542
23543Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23544
23545 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23546 * gdb.t20/inherit.exp: remove three dumplicate entries.
23547
23548Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23549
23550 * gdb.t06/break.exp: For "next over recursive call", fail on any
23551 incorrect output, not just on "factorial (value=2)".
23552
23553Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23554
23555 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23556 working now. Add an xfail if accesing a bss variable causes
23557 a memory error if the target is not yet run.
23558
23559Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23560
23561 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23562 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23563 name of __st* demangling (2 strings). Did Kung really get the
23564 more than 95 others right without testing them?
23565
23566Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23567
23568 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23569
23570Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23571
23572 * configure.in (configdirs): Add gdb.disasm
23573 * gdb.disasm: New directory for GDB disassembler tests.
23574 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23575
23576Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23577
23578 * gdb.t00/help.exp: Don't test "help set".
23579
23580 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23581 from within expect statements. None of these happen anymore and
23582 they cause regressions to be silently unnoticed.
23583
23584 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23585 messages) about known failures with gcc cygnus-2.4.5-930417.
23586
23587 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23588 comp-info.exp so it gets built if it doesn't exist.
23589
23590 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23591 it is no longer used.
23592 * gdb.t13/comp-info.c: Removed.
23593
23594Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23595
23596 * gdb.t06/signals.exp: Add xfail for sun3.
23597
23598Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23599
23600 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23601 relevant because ^C doesn't get sent but failure can be reproduced
23602 interactively).
23603
23604Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23605
23606 * gdb.stabs/alpha.mt: New configuration file for alpha.
23607 * gdb.stabs/configure.in: Use it.
23608 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23609 sharing with alpha.mt, redefine long to word via preprocessor.
23610 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23611 for alpha.
23612 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23613 native cc.
23614 * gdb.t00/teststrategy.exp: Change expect string so that we
23615 consume the `(xgdb)' from the command echo and from the gdb prompt.
23616 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23617 gdb currently compares all values as long, so this failure probably
23618 applies to any configuration where LONGEST is bigger than a target int.
23619 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23620 with gcc.
23621 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23622 to handle opaque pointers, gcc is.
23623 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23624 as first argument. Include <sys/types.h> and change all operator
23625 new definitions to use size_t.
23626 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23627 now that we use size_t.
23628
23629Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23630
a9c64011 23631 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23632 a long or float array cast all array members to the same type.
a9c64011 23633 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23634 with 64 bit longs.
a9c64011 23635 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23636 on alpha.
a9c64011 23637 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23638
23639Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23640
23641 * gdb.t24 (demangle.exp): Constructors of templates have names like
23642 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23643 section 14.6 of the ARM.
23644
23645 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23646 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23647 accomplish little and slow down the testsuite.
23648
23649 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23650 Accept spaces various places.
23651
23652Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23653
23654 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23655 with watchpoint enabled.
23656
23657 * Makefile.in: Remove definition of CC and remove the second
23658 definition of CXX (the "CXX = gcc" one remains). These definitions
23659 were causing backquotes to be expanded within backquotes, which
23660 doesn't work.
23661
23662Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23663
23664 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23665
23666Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23667
a9c64011
AS
23668 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23669 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23670 by mips cc and contains no stabs entries.
23671
23672Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23673
23674 * config/vx-gdb.exp: Use fake device to load files rather than
23675 NFS.
23676 * lib/gdb.exp: New proc to do "file" command.
23677 * config/unix-gdb.exp: Use new "file" proc.
23678
23679Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23680
23681 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23682 Rework board rebooting slightly.
23683 (gdb_exit): Don't exit from the remote shell; there isn't one.
23684 * gdb.stabs/weird.exp: If a program is being debugged already,
23685 kill it.
23686 * gdb.t04/setvar.exp: Stop and restart gdb.
23687 * gdb.t05/expr.exp: Likewise.
23688 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23689 restart gdb and reload the program.
23690 * gdb.t08/opaque.exp: Likewise.
23691 * gdb.t12/scope.exp: Likewise.
23692 * gdb.t13/bitfields.exp: Likewise.
23693 * gdb.t15/funcargs.exp: Likewise.
23694 * gdb.t20/classes.exp: Likewise.
23695 * gdb.t03/ptype.exp: Increase timeout.
23696 * gdb.t16/printcmds.exp (test_print_string_constants,
23697 test_print_array_constants): Likewise.
23698 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23699 * gdb.t20/classes.exp (do_tests): Likewise.
23700 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23701
23702Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23703
23704 * gdb.stabs: Renamed *wierd* to *weird*.
23705
23706Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23707
23708 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23709 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23710
23711Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23712
23713 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23714 (do_tests): Remove xfail for whatis on one_var and two_var.
23715
23716Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23717
23718 * Makefile.in: Made cross building work better by adding
23719 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23720
23721Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23722
23723 * gdb.t15/{return.c,return.exp,Makefile.in}:
23724 New test, currently commented out.
23725
23726Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23727
23728 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23729 still running and removes the leftover named socket so GDb can do
23730 clean restarts.
23731
23732Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23733
23734 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23735 console, not GDB.
23736 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23737 cross testing works better with "make check"
23738 * config/unix-gdb: Use default procedures for exit and version.
23739 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23740 with the newest VxWorks.
23741
23742Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23743
23744 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23745 old form.
23746
23747 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23748 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23749
23750 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23751
23752 * config/unix-gdb.exp: Remove this version of gdb_exit
23753 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23754 Rob says he'll look at it when he gets back to testing boards.
23755
23756Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23757
23758 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23759 an expected fail for certain ptype commands.
23760
23761 * gdb.t20/classes.exp: Update expected results of "ptype class
23762 Base1" to account for the constructor that now appears in the type.
23763
23764Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23765
23766 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23767 disappeared from list.
23768 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23769 "alldone" proc with call to cleanup and exit.
23770 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23771 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23772 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23773 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23774 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23775 "alldone" proc with simple returns that suppress remaining
23776 tests. The alldone proc went away many months ago.
23777
23778Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23779
23780 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23781
23782 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23783
23784Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23785
23786 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23787 as vax gdb will display them.
23788
23789Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23790
23791 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23792 optimizers.
23793
23794 * scope.exp: Change "bad value for localval" messages so each one
23795 is unique.
23796
23797 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23798 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23799
23800 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23801
23802Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23803
23804 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23805 doesn't exist (due to optimization).
23806
23807Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23808
23809 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23810 contains \r because the filename is long.
23811
23812 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23813 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23814
23815Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23816
23817 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23818 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23819 Ultrix.
23820 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23821 int tests.
23822 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23823
23824Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23825
23826 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23827
23828 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23829 to match does not match the passing case but still matches the
c906108c
SS
23830 failing case.
23831
23832Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23833
23834 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23835
23836Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23837
23838 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23839 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23840 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23841 Remove various versions of gdb_exit.
23842 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23843 gdb_exit.
23844 * config/unix-gdb.exp: gdb_exit remains here, and should override
23845 the generic version, since it's doing a lot of wierd stuff that
23846 the other versions aren't. FIXME, fold it in, or abandon this
23847 version.
23848
23849Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23850
23851 * gdb.t24/demangle.exp: Add tests for PR 3220.
23852
23853Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23854
23855 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23856
23857Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23858
23859 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23860 "i386-*-*". Works for i486 as well.
23861
23862 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23863 bug, and expand domain of xfail to all SVR4 systems, since the
23864 actual problem is likely to be in generic SVR4 /proc support.
23865
23866Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23867
23868 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23869
23870Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23871
23872 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23873 xfails for other systems. Match a missing 'Continuing.' as an
23874 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23875
23876 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23877 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23878 Only issue warning for missing executables if -all option is used.
23879
23880 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23881 file if -all option is used. It's like an unpredictable XFAIL.
23882
23883Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23884
23885 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23886 for dynamically linked binaries.
23887
23888 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23889
23890Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23891
23892 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23893 to state that this is a known bug in old versions of g++.
23894
23895Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23896
23897 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23898 while waiting for `Continuing'.
23899
23900Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23901
23902 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23903 in text, data, and bss.
23904 * gdb.t10/nodebug.c: Add local and global test variables for
23905 initialized and uninitialized data.
23906
23907Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23908
23909 * config/unix-gdb.exp (gdb_exit): Add "wait".
23910
23911Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23912
23913 * gdb.t06/signals.exp: xfail the continue from the handler for all
23914 targets.
23915
23916 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23917 function with watchpoints enabled, the i386 call dummy starts with
23918 a call.
23919
23920 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23921 386 bsd names its corefiles.
23922
23923Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23924
23925 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23926 compilers don't grok it.
23927 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23928 with small octal ints rather than character constants, which
23929 are signed and might not fit if first promoted to int.
23930
23931Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23932
23933 * gdb.t09/Makefile.in (clean): Remove corefile.
23934
23935Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23936
23937 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23938
23939Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23940 and Jim Kingdon (kingdon@cygnus.com)
23941
23942 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23943 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23944 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23945
23946Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23947
23948 * gdb.t17/interrupt.exp: Add xfail for hppa.
23949
23950Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23951
23952 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23953 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23954 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23955 to determine signed-ness of bitfields and use the result to setup
23956 the xfail.
23957 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23958 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23959 call line is reached if necessary.
23960
23961Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23962
23963 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23964
23965Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23966
23967 * gdb.t06/break.exp: Also test `clear' command.
23968
23969Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23970
23971 * gdb.t00/teststrategy.exp: Remove extra quote.
23972
23973 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23974 watchpoint enabled to be for all non-68k machines.
23975
23976 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23977
23978Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23979
23980 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23981 targets use aout.mt instead of ecoff.mt as gas understands
23982 standard aout format.
23983
23984Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23985
23986 * lib/gdb.exp (runto): Don't insist that function we are running to
23987 was compiled with -g.
23988
23989 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23990
23991 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23992 to get back into the read system call.
23993 Accept leading newline in case where we woke it up.
23994
23995Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23996
23997 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23998 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23999 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24000 enable ecoff configuration.
24001
24002Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24005
24006Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24007
24008 * gdb.t16/printcmds.exp: Add another printf test.
24009
24010Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24011
24012 * configure.in: If configured -with-stabs on any target, add
24013 stabsdirs to configdirs.
24014
24015Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24016
24017 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24018 fun" so pattern does not match the command itself.
24019
24020Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24021
24022 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24023
24024Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24025
24026 * gdb.t17/interrupt.exp: Test for more things.
24027
24028Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24029
24030 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24031 compiler arranges the code and line numbers.
24032
24033 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24034
24035Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24036
24037 * gdb.t00/help.exp: Increase expect input buffer size.
24038
24039Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24040
24041 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24042
24043 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24044
24045 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24046
24047 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24048 [0-9]*, not just [0-9].
24049
24050Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24051
24052 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24053
24054 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24055
24056Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24057
24058 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24059
24060Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24061
24062 * gdb.t06/signals.c: Add xfails for sun3.
24063
24064 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24065
24066 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24067 test_stepping tests.
24068
24069Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24070
24071 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24072
24073 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24074
24075 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24076 rather than actually putting it through cpp twice.
24077
24078 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24079
24080Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24081
24082 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24083 no longer needed.
24084
24085Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24086
24087 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24088
24089 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24090 C++ features prints as "struct", make it a pass, not an xfail.
24091
24092Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24093
24094 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24095 Don't require VA to print as "class" rather than "struct".
24096
24097Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24098
24099 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24100
24101Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24102
24103 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24104
24105Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24106
24107 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24108 order.
24109
24110Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24111
24112 * gdb.t16/printcmds.exp: Add printf tests.
24113
24114 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24115
24116 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24117
24118Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24119
24120 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24121 pass counts, to counteract any existing or future setup_xfails.
24122
24123Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24124
24125 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24126 {BEGIN,END}_COMMON for common block instead of STAB.
24127 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24128
24129 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24130 intp_var should be N_GSYM not N_LSYM.
24131 wierd-aout.S: Use a label for the value of the N_SO.
24132 wierd.def: Remove all backslashes.
24133 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24134
24135Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24136
24137 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24138 get the expected next to inheritance3.
24139
24140Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24141
24142 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24143 now that gcc-2.4 gets it right.
24144
24145Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24146
24147 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24148
24149 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24150 generating comp-info.exp which works for cross-compilation.
24151
24152Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24153
24154 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24155 "*-*-sysv4.*".
24156
24157Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24158
24159 * gdb.t01/run.exp: Start with a fresh gdb.
24160 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24161 SVR4.x.
24162
24163Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24164
24165 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24166 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24167 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24168 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24169 things to remove.
24170
24171Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24172
24173 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24174 test cases from bug reports.
24175
24176Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24177
24178 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24179 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24180 avoid spurious xfails.
24181 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24182 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24183 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24184
24185Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24186
24187 * gdb.t00/teststrategy.exp: Rework to provide more useful
24188 description of each test, fix problem with systems that define
24189 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24190 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24191 results for "next over recursive call" so timeouts aren't taken
24192 by error.
24193
24194Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24195
24196 * gdb.t12/scope.exp: Test printing of variables before run.
24197
24198 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24199 printed in wrong order due to sorting.
24200
24201Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24202
24203 * gdb.t00/teststrategy.exp: Fix expected results for printing
24204 user entered string constant. Is array of char, prints with no
24205 address.
24206
24207 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24208 commands.
24209 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24210 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24211 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24212 of struct of char arrays.
24213 * gdb.t00/radix.exp: New tests for radix commands.
24214
24215Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24216
24217 * gdb.t16/printcmd.exp: Print a variable before running program
24218 (with xfail for AIX).
24219
24220Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24221
24222 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24223
24224 * gdb.t16/printcmd.exp: Don't print variables before running program.
24225
24226 * gdb.t06/break.exp: Don't require envp argument to main.
24227
24228 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24229
24230 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24231 Add xfails for rs6000.
24232
24233 * gdb.t02/whatis.exp: Change other tests not to re-test something
24234 we already tested.
24235
24236 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24237 each type used has a variable of that type.
24238
24239Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24240
24241 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24242
24243Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24244
24245 * configure.in: change srctrigger to be a file, not a directory
24246
24247Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24248
24249 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24250
24251 * gdb.t11/list.exp: Fixed a couple of typos.
24252
24253Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24254
24255 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24256 is fixed and PR is closed.
24257 * gdb.t16 (gdbme.c): Add simple test string variable.
24258 * gdb.t16 (printcmds.exp): Add tests with simple test string
24259 variable, primarily for boundaries on "set print elements".
24260
24261Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24262
24263 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24264 Make leading 0's optional and don't expect a tab in the middle
24265 of the number.
24266
24267 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24268
24269 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24270 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24271 don't end command passed to gdb_test with newline.
24272
24273 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24274 signed keyword away, don't expect signed bitfields to be signed.
24275
24276 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24277 printing with only as many 1's as are in the field as well as printing
24278 with 32 1's (see comment).
24279
24280Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24281
24282 * gdb.t00/default.exp: Start with a fresh gdb.
24283 * configure.in (configdirs): Remove gdb.t31 until the chill
24284 compiler works again. It no longer is able to find chillrt0
24285 since it isn't in libchill.a anymore.
24286 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24287 wierd.o, make more modular.
24288 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24289 spurious newlines that caused problems.
24290
24291Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24292
24293 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24294 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24295 gdb.stabs/wierd.{exp,def}: Many new tests.
24296
24297 * gdb.t00/default.exp: update info line for new message.
24298
24299 * gdb.t02/{whatis.exp,gdbme.c}:
24300 Test that "char *" doesn't print as "caddr_t".
24301
24302Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24303
24304 * gdb.t00/help.exp: Use .* in place of some help messages which
24305 just changed.
24306 gdb.t00/default.exp: Update "info frame" test for new message.
24307 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24308 Remove some xfails
24309
24310Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24311
24312 * gdb.t03/{gdbme.c,ptype.exp}:
24313 Add tests for typedef'd struct and union without tags.
24314 Also check "whatis" on a variable of a typedef'd enum without a tag.
24315
24316 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24317 PRMS 1823; the bug still exists but isn't reproduced by this test
24318 anymore), and remove rs6000 XFAIL (the bug is fixed).
24319
24320 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24321 duplicated from whatis.exp. For those that are left, accept
24322 "long", "long int", or "int" for long variables (whatis.exp already
24323 has an XFAIL for "int", so no need to fail it here).
24324
24325 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24326 Deal with GCC's names for types now that GDB uses the compiler's names.
24327
24328 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24329 setup_xfail's for sunos4. If we #defined the signed keyword away,
24330 don't expect GDB to know that char it is signed.
24331
24332 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24333
24334Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24335
24336 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24337 should work on any system, regardless of debugging format.
24338 * gdb.t21/demangle.exp: Move to gdb.t24.
24339 * gdb.t24/demangle.exp: Move from gdb.t21.
24340 * gdb.t24/{Makefile.in, configure.in}: New files.
24341
24342Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24343
24344 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24345 * gdb.stabs: New directory.
24346
24347Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24348
24349 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24350 not just "Quit anyway?".
24351
24352Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24353
24354 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24355 that all setup_xfails are immediately followed by clear_xfails.
24356
24357Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24358
24359 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24360 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24361 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24362 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24363 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24364 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24365 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24366 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24367 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24368 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24369 gdb.t31/chillvars.exp, lib/gdb.exp:
24370 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24371 bug-gdb@prep.ai.mit.edu.
24372
24373Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24374
24375 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24376 with 0.0, not integer 0.
24377
24378Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24379
24380 * gdb.t06/break.exp: Update for "Kill the program" message change.
24381
24382Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24383
24384 * Makefile.in (GDBFLAGS): Set to -nx.
24385 * Makefile.in (site.exp): Use GDBFLAGS.
24386
24387Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24388
24389 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24390 Makefiles.
24391 (check): depend on just-check.
24392 (just-check): added so that tests can be run without a noop
24393 build pass.
24394
24395Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24396
24397 Switch to using configure's configdirs.
24398 * Makefile.in (Makefile): add configure.in dependency.
24399 (SUBDIRS): removed redundant assignment.
24400 * configure.in: switch subdirs assignment to configdirs.
24401 * gdb.t*/configure.in: new files.
24402
24403Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24404
24405 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24406 works.
24407
24408Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24409
24410 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24411 in explicit rules. Apparently this is not supported by some makes.
24412
24413Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24414
24415 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24416
24417Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24418
24419 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24420 disappeared.
24421
24422Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24423
24424 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24425
24426Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24427
24428 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24429 watchpoint problem that is now fixed.
24430 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24431 uninitialized convenience variables.
24432 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24433 structures.
24434
24435Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24436
24437 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24438 which causes expect to get out of sync with gdb on long output
24439 from help set.
24440 * gdb.t09/corefile.exp: Make expected pattern for core file
24441 failing signal and frame output format less sun specific.
24442
24443Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24444
24445 * gdb.t31/chillvars.exp: Add and remove initial dummy
24446 breakpoint, so that symbol table is forced in.
24447 (Needed at least on Sunos4, though it seems not SVR4.)
24448 * gdb.t31/chillvars.exp: Update for changed output format.
24449
24450Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24451
a9c64011 24452 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24453
24454Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24455
24456 * Makefile.in: Added --srcdir when invoking runtest, removed the
24457 need for a local config file. (optional now)
24458
24459Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24460
24461 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24462 failure count used to force early termination. Add some more
24463 expected failures for gnu style demangling.
24464
24465Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24466
24467 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24468 pmi variable from gdb.t20/gdbme to get optimized away.
24469 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24470 Check for written corefile upon timeout _and_ eof.
24471
24472Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24473
24474 * config/unix-gdb.exp: Add missing return 0.
24475
24476Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24477
24478 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24479 test termination.
24480
24481Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24482
24483 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24484 disappeared.
24485
24486Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24487
24488 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24489 time as i860 support works.
24490
d63a86f8 24491 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24492 "backtrace 100\r" rather than just "backtrace\r", to match last
24493 change.
24494
24495Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24496
24497 * config/udi-gdb.exp (gdb_exit): Remove close command.
24498 (gdb_target_udi): New procedure to set the UDI target.
24499 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24500 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24501 Added waits for prompts after several question responses. Added
24502 some more responses used by a29k-amd-udi-gdb.
24503 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24504 pass different arguments, restart UDI connection after program
24505 completion.
24506 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24507 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24508 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24509 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24510 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24511 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24512 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24513 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24514 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24515 after program completion.
24516 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24517 compiled with a SELECT_VECS setting.
24518 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24519 infinite recursion.
24520
24521 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24522 Added checks for COFF results, and made them expected failures for
24523 all targets. It would be better to make them expected failures
24524 for COFF targets only.
24525
24526Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24527
24528 * Makefile.in: add null dvi target, don't bother to recurse
24529 through test directories for info and install-info; rename
24530 $(datadir) to be dejagnu instead of deja-gnu
24531
24532Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24533
24534 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24535 compiler to coredump.
24536 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24537 code.
24538
24539Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24540
24541 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24542 coredump.
24543 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24544 code.
24545
24546Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24547
24548 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24549 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24550 which in a shell. Deletes xgdb when done.
24551 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24552 Tests the return from the "set height" or "set width" commands.
24553 Added a few return codes where needed.
24554
24555Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24556
24557 * Makefile.in (SUBDIRS): Add gdb.t17.
24558 * configure.in (subdirs): Add gdb.t17.
24559 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24560 files to test gdb's calling of functions in the inferior with
24561 the correct arguments and gdb's ability to retrieve any
24562 result returned.
24563
24564Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24565
24566 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24567 may be called after gdb goes away. Previous versions of expect
24568 needed these to avoid file descriptor leaks, but they cause
24569 errors with the current revision of expect.
24570 * gdb.t00/gdbvars.exp: Use -re on expected output after
24571 setting sevenbit-strings.
24572 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24573 to set sevenbit-strings consistent across tests.
24574 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24575 set sevenbit-strings consistent across tests.
24576
24577Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24578
24579 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24580 expected output to match current "expect" expectations.
24581
24582Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24583
24584 * gdb.t00/default.exp: Change expected output for default "source"
24585 command, to match new gdb behavior which requires a filename to
24586 source.
24587
24588Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24589
24590 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24591 expected fail for i486-*-* that misses the marker2 function.
24592 * gdb.t10/crossload.exp (bfddefault): Allow successful
24593 recognition of a format to pass even if no symbols are found.
24594 Explicitly catch failures where the format is not recognized
24595 or is ambiguous, and add the reason to the fail message.
24596 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24597 the cause is and invalid target and add reason to failure message.
24598 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24599 elf32-i386, elf32-sparc, and elf32-i860.
24600 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24601 Set up expected failure for 'filename'::variable scope resolution,
24602 which is now apparently broken on all targets.
24603 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24604 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24605 gdb.t23/templates.exp: Change failure for missing binfile into
24606 just a warning.
24607 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24608 references.
24609
24610Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24611
24612 * gdb.t00/default.exp: Add expected output for default "source"
24613 command, to match new gdb behavior.
24614 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24615
24616Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24617
24618 * config/*-gdb.exp: returns an error, rather than exiting on
24619 internal errors.
24620
24621Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24622
24623 * gdb.t03/gdbme.c: Add pointer to struct variable.
24624 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24625 referencing struct members.
24626
24627Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24628
24629 * configure.in (mips-idt-ecoff): New target.
24630 * config/mips-gdb.exp: New file for remote board using MIPS remote
24631 debugging protocol.
24632
24633 * Redid configuration scheme. Removed gdb.t*/configure.in.
24634 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24635 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24636 distclean targets. Built executables via .o files. Adjusted
24637 tests to account for source files in $(srcdir) rather than
24638 $(objdir).
24639 * lib/gdb.exp (runto): Don't expect () after the function name,
24640 because it may have arguments.
24641
24642Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24643
24644 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24645 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24646 expected failures for mips-idt-* and mips-sgi-*.
24647 * gdb.t00/default.exp (attach): Kill process if requested.
24648 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24649 that does not read core files.
24650 * gdb.t01/run.exp: Removed checks for exit status code.
24651 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24652 it is linked in.
24653 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24654 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24655 appropriate, rather than doing it by hand.
24656 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24657 execution.
24658 * gdb.t10/crossload.exp: Kill existing program if needed.
24659 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24660 appropriate, rather than doing it by hand. Always increase
24661 timeout for this test, not just for VxWorks.
24662
24663Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24664
24665 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24666 of Chill STRUCT types and STRUCT values.
24667 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24668 than "char".
24669 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24670 struct2): New struct definitions and initializations to test
c906108c
SS
24671 simple Chill STRUCT types.
24672
24673Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24674
24675 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24676 the null byte at the end of strings.
24677 * gdb.t00/default.exp: Make show version insensitive to copyright
24678 date.
24679 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24680 to avoid dependencies on target char signedness.
24681 * gdb.t16/printcmds.exp: Update expected results for explicitly
24682 unsigned char.
24683 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24684 now work.
24685 * gdb.t21/demangle.exp: Add many more patterns for template
24686 demangling, most of them being expected failures.
24687 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24688 string we are matching for, to match on the whole string.
24689 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24690 and fix a whole bunch that had incorrect expected output but were
24691 passing anyway because of the bug in "proc demangle".
24692 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24693 type.
24694 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24695
24696Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24697
a9c64011
AS
24698 * gdb/testsuite: made modifications to testcases, etc., to allow
24699 them to work properly given the reorganization of deja-gnu and the
24700 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24701
24702Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24703
24704 * gdb/testsuite: Initial creation of gdb/testsuite.
24705 Migrated dejagnu testcases and support files for testing nm to
24706 gdb/testsuite from deja-gnu. These files were moved "as is"
24707 with no modifications. This migration is part of a major overhaul
24708 of dejagnu. The modifications to these testcases, etc., which
24709 will allow them to work with the new version of dejagnu will be
24710 made in a future update.
48efe704 24711
8d8cb839 24712 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24713\f
8d8cb839
EZ
24714;; Local Variables:
24715;; mode: change-log
24716;; left-margin: 8
24717;; fill-column: 74
24718;; version-control: never
24719;; End:
902f2ccb
MC
24720
24721 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24722 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24723 Copying and distribution of this file, with or without modification,
24724 are permitted provided the copyright notice and this notice are preserved.