]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2011-07-07 Hui Zhu <teawater@gmail.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
facde0e5 12011-07-06 Matt Rice <ratmice@gmail.com>
2
3 * gdb.python/python.exp: Update filename paths.
4 * gdb.python/py-symtab.exp: Ditto.
5
438640d1
MP
62011-07-06 Marek Polacek <mpolacek@redhat.com>
7
8 * gdb.python/py-evthreads.exp: Add missing `$'.
9
33a365df
MF
102011-07-06 Jie Zhang <jie.zhang@analog.com>
11
12 * config/bfin.exp: New file.
13 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
14 * gdb.asm/bfin.inc: New file.
15
8f7ae686
MP
162011-07-06 Marek Polacek <mpolacek@redhat.com>
17
18 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
19 the whole output.
20
eb2a6f42
TT
212011-07-05 Tom Tromey <tromey@redhat.com>
22
23 * gdb.java/jprint.java (jprint.hi): New field.
24 * gdb.java/jprint.exp: Print string.
25
177b42fe
TJB
262011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
27
28 * gdb.base/call-sc.c: Fix typos.
29 * gdb.base/ifelse.exp: Likewise.
30 * gdb.base/structs.c: Likewise.
31
3b2a0cf2
JB
322011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33
34 * gdb.base/jit-so.exp: New test.
35 * gdb.base/jit-dlmain.c: New file.
36 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
37
46fc714c
JK
382011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
39
40 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
41 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
42 * gdb.cp/pr9167.exp (p b): Likewise.
43 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
44 (test value of P in inner_m, test type of Z in inner_m): Call
45 setup_xfail for gcc <= 4.5.
46fc714c 46
418c7cf7
JK
472011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.cp/paren-type.cc: New files.
50 * gdb.cp/paren-type.exp: New files.
51
3d50dd94
JK
522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
53
54 Stop on first linespec terminator instead of eating what we can.
55 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
56 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
57 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
58 (break C::f()): ... this one.
59 (break C::operator()()): New test.
60 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
61 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
62 test.
63
dcf9f4ab
JK
642011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
65
66 Fall back linespec to minimal symbols.
67 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
68 error message.
69 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
70 * gdb.cp/minsym-fallback-main.cc: New file.
71 * gdb.cp/minsym-fallback.cc: New file.
72 * gdb.cp/minsym-fallback.exp: New file.
73 * gdb.cp/minsym-fallback.h: New file.
74
3f542ed1
JK
752011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
76
77 * gdb.cp/no-dmgl-verbose.cc: New file.
78 * gdb.cp/no-dmgl-verbose.exp: New file.
79
802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
81
82 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
83 __GI_.
84 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
85 (f): New function.
86 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
87 (complete p 'func<short>(): ... here.
88 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
89 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
90 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
91 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
92 Make them KFAIL gcc/49546.
93
00eb2c4a
JB
942011-07-01 Joel Brobecker <brobecker@adacore.com>
95
96 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
97
85a20c42
JK
982011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
99
100 Test GCC PR debug/49546.
101 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
102 (test type of F in k3_m, test value of F in k3_m): New.
103 * gdb.cp/temargs.cc (struct S3, struct K3): New.
104 (main): New variable k3. Call k3.k3_m.
105
d2d43431
JB
1062011-07-01 Jean-Charles Delay <delay@adacore.com>
107
108 * gdb.ada/packed_array.exp: Fix expected outout.
109
54ae186f
JB
1102011-07-01 Jean-Charles Delay <delay@adacore.com>
111
112 * gdb.ada/packed_array.exp: fixed expected output.
113
8f17729f
JB
1142011-07-01 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.ada/same_enum: New testcase.
117
f5aa6869
JB
1182011-07-01 Joel Brobecker <brobecker@adacore.com>
119
120 * gdb.ada/ptr_typedef: New testcase.
121
828292f2
JB
1222011-07-01 Joel Brobecker <brobecker@adacore.com>
123
124 * gdb.ada/arrayptr.exp: Add ptype test.
125
18920c42
JB
1262011-07-01 Joel Brobecker <brobecker@adacore.com>
127
128 * gdb.ada/char_enum: New testcase.
129
3536d9e3 1302011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
131
132 * gdb.base/dump.exp (capture_pointer_with_type): New.
133 Get value from address instead of name.
134 Start GDB once, and do `dump' and `restore'
135 tests together.
136
db863c42
MF
1372011-06-30 Jie Zhang <jie.zhang@analog.com>
138 Mike Frysinger <vapier@gentoo.org>
139
140 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
141 helper functions for getting/setting remotetimeout variable.
142 * lib/gdb.exp (gdb_load): If the target is remote, set
143 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
144 with $loadtimeout. Set $load_ok to 0 before doing the load.
145 Instead of returning, immediately, set $load_ok to 0. Call
146 set_remotetimeout with $oldremotetimeout, and then return if
147 $load_ok is 1.
148
e9e642a8
AB
1492011-06-30 Andrew Burgess <aburgess@broadcom.com>
150
151 * gdb.python/py-template.exp: Don't run this test if the target
152 does not support c++ tests.
153
32019081
JK
1542011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 Fix non-only rename list for Fortran modules import.
157 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
158 tests.
159 * gdb.fortran/module.f90 (module moduse): New.
160 (program module): use moduse, test var_x, var_y and var_z.
161
0ecee54c
TT
1622011-06-29 Tom Tromey <tromey@redhat.com>
163
164 PR testsuite/12040:
165 * gdb.fortran/array-element.exp: Use f90, not f77.
166 * gdb.fortran/complex.exp: Use f90, not f77.
167 * gdb.fortran/derived-type.exp: Use f90, not f77.
168 * gdb.fortran/library-module.exp: Use f90, not f77.
169 * gdb.fortran/logical.exp: Use f90, not f77.
170 * gdb.fortran/module.exp: Use f90, not f77.
171 * gdb.fortran/multi-dim.exp: Use f90, not f77.
172 * gdb.fortran/subarray.exp: Use f90, not f77.
173
3b2b8fea
TT
1742011-06-29 Tom Tromey <tromey@redhat.com>
175
176 * gdb.fortran/charset.exp: New file.
177 * gdb.fortran/charset.f90: New file.
178
42159ca5
TT
1792011-06-29 Tom Tromey <tromey@redhat.com>
180
181 PR testsuite/12040:
182 * lib/future.exp: New file, mostly extracted from ada.exp.
183 Rewrote compatibility code to use rename.
184 (gdb_find_gfortran): New proc.
185 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
186 gfortran patch.
187 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
188 Move to future.exp.
189 * lib/gdb.exp: Always load future.exp.
190
af69a5ce
YQ
1912011-06-28 Yao Qi <yao@codesourcery.com>
192
193 * gdb.cp/exception.cc: Don't include iostream.
194 (bar): Remove print statement.
195 (catcher): New.
196 (main): Remove print statements. Call function catcher.
197 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
198 Set breakpoint on catcher, and check the value of parameter.
199
ab5c6a72
YQ
2002011-06-23 Yao Qi <yao@codesourcery.com>
201
202 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
203 1.2 is disabled. KFAIL for uclinux.
204
9497469f
MP
2052011-06-23 Marek Polacek <mpolacek@redhat.com>
206
207 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
208 mi_gdb_test.
209
b9132588
MP
2102011-06-23 Marek Polacek <mpolacek@redhat.com>
211
5d197ed0 212 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 213
e55595ca
MP
2142011-06-23 Marek Polacek <mpolacek@redhat.com>
215
5d197ed0
MP
216 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
217
2182011-06-23 Marek Polacek <mpolacek@redhat.com>
219
220 * gdb.mi/mi2-basics.exp: Fix races. Honour the
221 `test_exec_and_symbol_mi_operatons' return value.
222 (test_mi_interpreter_selection): Use mi_gdb_test instead of
223 gdb_test_multiple.
224 (test_exec_and_symbol_mi_operatons): Likewise.
225 (test_path_specification): Likewise.
e55595ca 226
be777e08
YQ
2272011-06-23 Yao Qi <yao@codesourcery.com>
228
229 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
230 supported.
231 * lib/gdb.exp (support_displaced_stepping): New.
232
615556d6
YQ
2332011-06-23 Yao Qi <yao@codesourcery.com>
234
235 * gdb.threads/execl.exp: Skip on remote target.
236
833b0ca7
MP
2372011-06-21 Marek Polacek <mpolacek@redhat.com>
238
5d197ed0 239 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
240 mi_gdb_test.
241
1ee4023a
MP
2422011-06-20 Marek Polacek <mpolacek@redhat.com>
243
5d197ed0 244 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 245
d0b1d624
MP
2462011-06-20 Marek Polacek <mpolacek@redhat.com>
247
5d197ed0 248 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
249 mi_gdb_test.
250
79aa92c1
MP
2512011-06-20 Marek Polacek <mpolacek@redhat.com>
252
5d197ed0 253 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 254
5ce5db06
YQ
2552011-06-14 Yao Qi <yao@codesourcery.com>
256
257 gdb/testsuite/
258 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
259
533a737e
JK
2602011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
263
d0e53741
TT
2642011-06-10 Tom Tromey <tromey@redhat.com>
265
266 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
267 Add tests for pointer-to-member-function.
268 * gdb.cp/temargs.cc (S::somefunc): New function.
269 (K2): New class.
270 (main): Instantiate K2; call method.
271
b5916bbd
JB
2722011-06-08 Joel Brobecker <brobecker@adacore.com>
273
274 * gdb.python/py-inferior.c (f2): Make str an array rather
275 than a pointer.
276 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
277
5be4dfca
JK
2782011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 * gdb.base/async-shell.c: New file.
281 * gdb.base/async-shell.exp: New file.
282
9f47e254
PA
2832011-06-06 Pedro Alves <pedro@codesourcery.com>
284
285 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
286
64b9b334
JB
2872011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
288
289 From Stephen Kitt <steve@sk2.org>
290 * gdb.base/help.exp: Adjust following some spelling corrections
291 in GDB.
292
dbc0f131
YQ
2932011-06-01 Yao Qi <yao@codesourcery.com>
294
295 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
296
fd336a18
KS
2972010-05-31 Keith Seitz <keiths@redhat.com>
298
299 PR c++/12750
300 * gdb.cp/static-method.cc: New file.
301 * gdb.cp/static-method.exp: New file.
302
fa8b9902
KS
3032010-05-31 Keith Seitz <keiths@redhat.com>
304
305 PR symtab/12704
306 * gdb.cp/anon-ns.cc: New file.
307 * gdb.cp/anon-ns.exp: New file.
308
0a5b1e09
PA
3092011-05-31 Pedro Alves <pedro@codesourcery.com>
310
311 * gdb.arch/i386-dr3-watch.c: New file.
312 * gdb.arch/i386-dr3-watch.exp: New file.
313
0578b8d1
YQ
3142011-05-30 Yao Qi <yao@codesourcery.com>
315
316 * gdb.base/callfuncs.c (t_structs_fc): New.
317 (t_structs_dc, t_structs_ldc): New.
318 (t_double_many_args):
319 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
320 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
321 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
322 * gdb.base/callfuncs.exp: Call new functions.
323
6680506e
YQ
3242011-05-30 Yao Qi <yao@codesourcery.com>
325
ff4d2c60
YQ
326 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
327 Call rerun_and_prepare for each test to isolate effects.
328
3292011-05-30 Yao Qi <yao@codesourcery.com>
330
331 * gdb.base/varargs.c (find_max_float_real): New.
332 (find_max_double_real, find_max_long_double_real): New.
333 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
334 * lib/gdb.exp (setup_kfail_for_target): New.
335
e43ec454
YQ
3362011-05-30 Yao Qi <yao@codesourcery.com>
337
338 * gdb.base/funcargs.c (callca, callcb, callcc): New.
339 (callcd, callce, callcf, callc1a, callc1b): New.
340 (callc2a, callc2b): New.
341 * gdb.base/funcargs.exp (complex_args): New.
342 (complex_integral_args, complex_float_integral_args): New.
343 * lib/gdb.exp (support_complex_tests): New. Determine
344 whether to run test cases on _Complex types.
345
432b4d03
JK
3462011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.threads/leader-exit.c: New file.
349 * gdb.threads/leader-exit.exp: New file.
350
6caf069d
MP
3512011-05-27 Marek Polacek <mpolacek@redhat.com>
352
9497469f 353 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 354
97fce28b
MP
3552011-05-27 Marek Polacek <mpolacek@redhat.com>
356
357 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
358 remove the `supported' variable.
359 * gdb.mi/mi-nonstop.exp: Likewise.
360 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
361 * gdb.mi/mi-nsintrall.exp: Likewise.
362 * gdb.mi/mi-nsmoribund.exp: Likewise.
363 * gdb.mi/mi-nsthrexec.exp: Likewise.
364
9da8c2a0
PA
3652011-05-26 Pedro Alves <pedro@codesourcery.com>
366
367 * gdb.reverse/finish-reverse-bkpt.exp: New test.
368
2c03e5be
PA
3692011-05-26 Pedro Alves <pedro@codesourcery.com>
370
371 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
372
2e21250d
KS
3732011-05-24 Keith Seitz <keiths@redhat.com>
374
375 PR breakpoint/12803
376 * gdb.cp/cmpd-minsyms.cc (a): New method.
377 (b): New method.
378 (c): New method.
379 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
380
cdac0397
PA
3812011-05-24 Pedro Alves <pedro@codesourcery.com>
382
383 * gdb.base/commands.exp (watchpoint_command_test): Check that the
384 watchpoint's command list didn't execute when the watchpoint went
385 out of scope.
386
ee5683ab
PM
3872011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
388
389 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
390 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
391 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
392 * gdb.arch/i386-gnu-cfi.exp: Likewise.
393 * gdb.arch/i386-permbkpt.exp: Likewise.
394 * gdb.arch/i386-prologue.exp: Likewise.
395 * gdb.arch/i386-size-overlap.exp: Likewise.
396 * gdb.arch/i386-size.exp: Likewise.
397 * gdb.arch/i386-unwind.exp: Likewise.
398 * gdb.reverse/i386-precsave.exp: Likewise.
399 * gdb.reverse/i386-reverse.exp: Likewise.
400 * gdb.reverse/i386-sse-reverse.exp: Likewise.
401 * gdb.reverse/i387-env-reverse.exp: Likewise.
402 * gdb.reverse/i387-stack-reverse.exp: Likewise.
403
c91c8c16
PA
4042011-05-24 Pedro Alves <pedro@codesourcery.com>
405
406 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
407 file doesn't error, using MI.
408
c50491a7
TT
4092011-05-23 Tom Tromey <tromey@redhat.com>
410
411 * gdb.base/charset.exp (string_display): Add tests to assign to
412 arrays.
413 * gdb.base/charset.c (short_array, int_array, long_array): New.
414
4a07b7da
PA
4152011-05-20 Pedro Alves <pedro@codesourcery.com>
416
417 Cope with async mode.
418
4a07b7da
PA
419 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
420 into gdb_test + mi_expect_stop.
421
b275f2d2
PA
4222011-05-20 Pedro Alves <pedro@codesourcery.com>
423
424 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
425 (callme): Remove printf call.
426
eec52c44
PM
4272011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
428
429 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
430 quote pattern to avoid problems with Cygwin/mingw expect versions.
431 * gdb.base/default.exp (show convenience): Use double
432 quote pattern for regular expressions.
433
b3c8eb43
JK
4342011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
435
436 Fix -readnow for -gdwarf-4 unused type units.
437 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
438 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
439
ed731959
JK
4402011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
441
442 * gdb.base/kill-after-signal.c: New file.
443 * gdb.base/kill-after-signal.exp: New file.
444
3b48433d
PA
4452011-05-16 Pedro Alves <pedro@codesourcery.com>
446
447 * gdb.ada/start.exp: Call untested with the correct test filename.
448 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
449 test filename. Make the test's binary unique.
450 * gdb.arch/i386-signal.exp: Call untested with the correct test
451 filename.
452 * gdb.arch/i386-size-overlap.exp: Ditto.
453 * gdb.arch/Makefile.in (EXECUTABLES): Update.
454 * gdb.base/gcore-buffer-overflow.exp: Ditto.
455 * gdb.cp/call-c.exp: Ditto.
456 * gdb.mi/mi-reverse.exp: Call untested with the correct test
457 filename. Make the test's binary unique.
458 * gdb.mi/Makefile.in (EXECUTABLES): Update.
459 * gdb.python/py-mi.exp: Ditto.
460 * gdb.python/Makefile.in (EXECUTABLES): Update.
461 * gdb.reverse/i386-precsave.exp: Ditto.
462 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
463 test filename.
464 * gdb.reverse/i387-stack-reverse.exp: Ditto.
465 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
466 unique.
467 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
468 test filename.
469 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
470 * gdb.trace/tfile.exp: Ditto.
471
ba4a8bdd
YQ
4722011-05-14 Yao Qi <yao@codesourcery.com>
473
474 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
475 type.
476
dbaefcf7
DE
4772011-05-13 Doug Evans <dje@google.com>
478
479 * gdb.python/py-objfile-script.exp: New file.
480 * gdb.python/py-objfile-script.c: New file.
481 * gdb.python/py-objfile-script-gdb.py: New file.
482 * testsuite/gdb.python/py-section-script.exp: Test
483 "info auto-load-scripts".
484
9930639c
TT
4852011-05-13 Tom Tromey <tromey@redhat.com>
486
487 * gdb.dwarf2/clztest.exp: New file.
488 * gdb.dwarf2/clztest.c: New file.
489 * gdb.dwarf2/clztest.S: New file.
490
05272e11
DE
4912011-05-13 Doug Evans <dje@google.com>
492
cc63ef9b
DE
493 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
494 String16 tests.
05272e11 495
6edba76f
TT
4962011-05-13 Tom Tromey <tromey@redhat.com>
497
498 * lib/gdb.exp (is_x86_like_target): New proc.
499 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
500 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
501 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
502 -nostdlib to compiler.
503 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
504 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
505 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
506 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
507 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
508
028d0ed5
TJB
5092011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
510
511 * gdb.python/py-function.exp: Test setting a value from a function
512 which executes a command.
513
8a9b8146
TT
5142011-05-12 Tom Tromey <tromey@redhat.com>
515
516 * gdb.dwarf2/typeddwarf.S: New file.
517 * gdb.dwarf2/typeddwarf.c: New file.
518 * gdb.dwarf2/typeddwarf.exp: New file.
519
10483e8e
MP
5202011-05-12 Marek Polacek <mpolacek@redhat.com>
521
522 * gdb.mi/mi-basics.exp: Fix races. Honour the
523 `test_exec_and_symbol_mi_operatons' return value.
524 (test_mi_interpreter_selection): Use mi_gdb_test instead of
525 gdb_test_multiple.
526 (test_exec_and_symbol_mi_operatons): Likewise.
527 (test_path_specification): Likewise.
528
faf067f1
JK
5292011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
530
531 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
532 (gdb_touch_execfile): Remove catch wrappers. New variable time.
533 Replace `file copy' and `file rename' by `file mtime'. Twice.
534
7ff911a3
JK
5352011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
536
537 * gdb.base/readline-ask.c: New file.
538 * gdb.base/readline-ask.exp: New file.
539 * gdb.base/readline-ask.inputrc: New file.
540
a536c6d7
UW
5412011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
542
543 * gdb.cell/bt.exp: Delete breakpoints before running to signal
544 to avoid race condition.
545 * gdb.cell/coremaker.c: Use small stack size.
546 * gdb.cell/ea-standalone.exp: Use file name without path as
547 argument to c_to.
548 * gdb.cell/fork.exp: Allow other output when continuing to end.
549
d472a426
JK
5502011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
551
552 * gdb.threads/corethreads.c: New file.
553 * gdb.threads/corethreads.exp: New file.
554
5552011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
556
557 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
558 Try to compile the test using -Wl,-z,norelro first.
559 (load_core): New variable libthread_db_seen, initialize it.
560 (zeroed-threads cannot be listed): Protect it by XFAIL on
561 !$libthread_db_seen.
562
8be455d7
JK
5632011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 PR 12573
566 * gdb.dwarf2/dw2-skip-prologue.S: New file.
567 * gdb.dwarf2/dw2-skip-prologue.c: New file.
568 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
569
1976171a
JK
5702011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
571
572 * gdb.cp/psymtab-parameter.cc: New file.
573 * gdb.cp/psymtab-parameter.exp: New file.
574
7db6f30f
JK
5752011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
576
577 Fix a race.
578 * gdb.cp/static-print-quit.exp (print c): Split to ...
579 (print c - <return>, print c - q <return>, print c - to quit):
580 ... these. Make the testfile untested on gdb-7.1.
581
85161e9e 5822011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
583
584 * lib/gdb.exp (exec_target_file, exec_symbol_file,
585 gdb_rename_execfile, gdb_touch_execfile): New.
586 * gdb.base/reread.exp: Use new procs to handle multiple
587 exec files.
588
0c51be18
YQ
5892011-05-05 Yao Qi <yao@codesourcery.com>
590
591 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
592 (test_adr_32bit, test_pop_pc): New.
593 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
594 (test_adr_32bit, test_pop_pc): New.
595
4d393d60
JM
5962011-05-04 Joseph Myers <joseph@codesourcery.com>
597
598 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
599 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
600 targets.
601 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
602 handle targets.
603
8ffd0459
JK
6042011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
605
606 * gdb.base/completion.exp (complete help info wat): Rename to ...
607 (complete 'help info wat'): ... here.
608 Remove all `-re ".*' and `-re "^.*' redundant regexes.
609 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
610
8e28d804
PA
6112011-05-04 Pedro Alves <pedro@codesourcery.com>
612
613 * gdb.base/completion.exp: Use gdb_test_multiple instead of
614 gdb_test and explicit $gdb_prompt/timeout matches.
615
3eb2ef34
YQ
6162011-05-04 Yao Qi <yao@codesourcery.com>
617
618 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
619 and __thumb2__.
620
aaaf81a3
MP
6212011-05-03 Marek Polacek <mpolacek@redhat.com>
622
623 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
624 in place of `gdb_test "delete breakpoints"'. This eliminates two
625 testcases.
626
c4cbc0df
PA
6272011-05-02 Pedro Alves <pedro@codesourcery.com>
628
629 PR testsuite/12649
630 Fix races.
631
632 * gdb.base/completion.exp: Remove all sleep calls. Remove
633 unnecessary regexs. Don't explicitly expect anything after the
634 prompt. Eat the prompt if necessary.
635
b4cbb4a3
EBM
6362011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
637
638 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
639 accept to show the caller line again as well as the line after.
640
d65aec65
PM
6412011-04-29 Phil Muldoon <pmuldoon@redhat.com>
642
643 PR mi/12531
644
645 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
646 compile target.
647 * gdb.python/py-prettyprint.exp: Add C++ object for
648 CPLUS_FAKE_CHILD test.
649
30852783
UW
6502011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
651
652 * gdb.base/signest.exp: New file.
653 * gdb.base/signest.c: Likewise.
654
c7b1f0d9
JK
6552011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
656
657 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
658 thread and breakpoint notifications.
659
559a7a62
JK
6602011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
661
662 * gdb.base/fortran-sym-case.c: New file.
663 * gdb.base/fortran-sym-case.exp: New file.
664 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
665 * gdb.dwarf2/dw2-case-insensitive.c: New file.
666 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
667
8344e389
JK
6682011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
669
670 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
671 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
672 false #1', `if true else false #2' and `if true else false #3'.
673
2484c66b
UW
6742011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
675
676 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
677 while delivering signal.
678
8d3788bd
VP
6792011-04-27 Vladimir Prus <vladimir@codesourcery.com>
680
681 MI breakpoint notifications.
682
683 * testsuite/gdb.mi/mi-cli.exp: Adust.
684 * testsuite/gdb.mi/mi2-cli.exp: Adust.
685 * testsuite/gdb.mi/mi-watch.exp: Adust.
686 * testsuite/gdb.mi/mi2-watch.exp: Adust.
687 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
688 notifications.
689
3e03848b
JK
6902011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
691
692 * gdb.base/gdbindex-stabs-dwarf.c: New file.
693 * gdb.base/gdbindex-stabs.c: New file.
694 * gdb.base/gdbindex-stabs.exp: New file.
695
918c9108
YQ
6962011-04-25 Yao Qi <yao@codesourcery.com>
697
698 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
699 with /*...*/.
700 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
701
90556b8c
JK
7022011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
703
704 * gdb.python/py-value.exp (test_objfiles): Name the first test
705 `py-value in file.filename'.
706
03f2bd59
JK
7072011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
708
709 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
710 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
711 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
712 !gdbserver_reconnect_p..
713 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
714
7b08b9eb
JK
7152011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
716
717 * gdb.cp/cpcompletion.exp (complete class methods)
718 (complete class methods beginning with F): Move them above runto. New
719 comment about the runto delimiter.
720
b78974c3
PA
7212011-04-20 Pedro Alves <pedro@codesourcery.com>
722
723 * gdb.base/maint.exp: Test that "maint print registers" works
724 without a running program.
725
20429c40 7262011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 727
20429c40
MP
728 * gdb.base/setshow.exp: Fix racy tests.
729 ($old_gdb_prompt): New variable.
730
7a9dd1b2
TT
7312011-04-19 Tom Tromey <tromey@redhat.com>
732
733 * gdb.mi/mi-nsmoribund.exp:
734 * gdb.hp/gdb.objdbg/objdbg01.exp:
735 * gdb.base/structs.exp (test_struct_returns):
736 * gdb.base/call-sc.exp (test_scalar_returns):
737 * gdb.base/bigcore.exp: Remove duplicate words.
738
02835898
JK
7392011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 * gdb.base/break-interp-lib.c (v, vptr): New variables.
742 * gdb.base/break-interp.exp (test_attach): New comment.
743
254f582e
JK
7442011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
745
746 * gdb.threads/gcore-thread.exp ($core0file): New variable.
747 (clear __stack_user.next, clear stack_used.next)
748 (save a zeroed-threads corefile): New test.
749 Call core_load for $core0file.
750 (zeroed-threads cannot be listed): New test.
751
4fe85f5c
JK
7522011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
753
754 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
755 filename.
756 ($srcfile): Preserve the original value.
757 ($testfile): Match it the .exp filename.
758 ($corefile): New variable. Substitute it around.
759 Use clean_restart.
760 ($prev_timeout): Remove.
761 (load_core): Move core loading into this proc.
762 Fix restore of $timeout if load_core fails.
763
63524580
JK
7642011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
765
766 * gdb.base/eu-strip-infcall.c: New file.
767 * gdb.base/eu-strip-infcall.exp: New file.
768
90359a16
JK
7692011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
772 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
773
626e7282
JK
7742011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
775
776 Fix Python access to inlined frames.
777 * gdb.python/py-frame-inline.c: New file.
778 * gdb.python/py-frame-inline.exp: New file.
779
3363d018
EBM
7802011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
781
782 * gdb.base/gdb1090.exp: Change breakpoint location to read the
783 content of 's24' correctly (avoiding "optimized out").
784 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
785
28781456
JK
7862011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
787
788 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
789
4a4106ca
TJB
7902011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
791
792 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
793 expect a colon in watch -location output.
794
d26ccb4f
JK
7952011-04-13 Marek Polacek <mpolacek@redhat.com>
796
797 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
798 New testcase `expect response to define backtrace'. Also remove
799 redundant `default' block.
800
e1ab1f9c
JK
8012011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
802
803 * gdb.python/py-prettyprint.c (struct hint_error): New.
804 (main): New variable hint_error.
805 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
806 "print hint_error".
807 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
808 (register_pretty_printers): Register it.
809
0c2e6019
TT
8102011-04-04 Tom Tromey <tromey@redhat.com>
811
812 * gdb.cp/maint.exp (test_help): Update.
813 (test_namespace): Likewise.
814
af57139d
JB
8152011-04-01 Joel Brobecker <brobecker@adacore.com>
816
817 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
818 * gdb.ada/arrayptr.exp: Add new tests.
819
956a9fb9
JB
8202011-04-01 Joel Brobecker <brobecker@adacore.com>
821
822 * gdb.ada/mi_catch_ex: New testcase.
823
d0c4d642
PA
8242011-04-01 Pedro Alves <pedro@codesourcery.com>
825
826 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
827 base::overload(void) method without specifying "const".
828
18819fa6
UW
8292011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
830
831 * gdb.arch/thumb-singlestep.S: New file.
832 * gdb.arch/thumb-singlestep.exp: Likewise.
833
a4c8e806
TT
8342011-03-31 Tom Tromey <tromey@redhat.com>
835
836 * gdb.python/py-prettyprint.py (exception_flag): New global.
837 (NoStringContainerPrinter._iterator.next): Check it.
838 * gdb.python/py-prettyprint.c (main): New variable nstype2.
839 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
840
53832f31
TT
8412011-03-29 Tom Tromey <tromey@redhat.com>
842
843 * gdb.cp/anon-struct.cc: New file.
844 * gdb.cp/anon-struct.exp: New file.
845
e4620230
JK
8462011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
847
848 Test STT_GNU_IFUNC support.
849 * gdb.base/gnu-ifunc-lib.c: New file.
850 * gdb.base/gnu-ifunc.c: New file.
851 * gdb.base/gnu-ifunc.exp: New file.
852
d0fb5eae
JK
8532011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 Support a ring of related breakpoints.
856 * gdb.base/watchpoint-delete.c: New file.
857 * gdb.base/watchpoint-delete.exp: New file.
858
20106cfb
JK
8592011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
860
861 * gdb.ada/arrayparam.exp (print first after function call): Use
862 explicit package name. Add a comment
863 (print lasta after function call): Rename ...
864 (print last after function call): ... it and use explicit package
865 name.
866 (print length after function call): Use explicit package name.
867 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
868 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
869 (multiple matches for symbol i): Rename ...
870 (multiple matches for symbol integervar): ... it.
871 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
872 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
873
e7ab5e63
AB
8742011-03-25 Andrew Burgess <aburgess@broadcom.com>
875
876 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
877 environment variable to make grep output more predictable. Move
878 all the environment setup into gdb_init so it's done once per test
879 case rather than each time we start gdb.
880
9ef07c8c
TT
8812011-03-24 Tom Tromey <tromey@redhat.com>
882
883 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
884 test.
885
dd90784c
JK
8862011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
887
888 * gdb.dwarf2/dw2-entry-value-main.c: New file.
889 * gdb.dwarf2/dw2-entry-value.S: New file.
890 * gdb.dwarf2/dw2-entry-value.exp: New file.
891
05775840
PM
8922011-03-22 Phil Muldoon <pmuldoon@redhat.com>
893
894 PR python/12183
895
896 * gdb.python/py-function.exp: Add GdbError tests.
897
8661b11b
PA
8982011-03-18 Pedro Alves <pedro@codesourcery.com>
899
900 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
901 (reglocal_test_func, statlocal_test_func): New functions.
902 (globals_test_func): Call new functions.
903 * gdb.trace/unavailable.exp (gdb_collect_args_test)
904 (gdb_collect_locals_test): New procedure.
905 (gdb_trace_collection_test): Call new procedures.
906
0fdb4f18
PA
9072011-03-18 Pedro Alves <pedro@codesourcery.com>
908
909 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
910 (test_register, test_register_unavailable): New procedures.
911 (gdb_unavailable_registers_test): New procedure.
912 (gdb_trace_collection_test): Call it.
913
99c3dc11
PM
9142011-03-18 Phil Muldoon <pmuldoon@redhat.com>
915
916 PR python/12149
917
918 * gdb.python/python.exp: Add gdb.write tests.
919
29703da4
PM
9202010-03-17 Phil Muldoon <pmuldoon@redhat.com>
921
922 * gdb.python/Makefile.in: Add py-objfile.
923 * gdb.python/py-objfile.exp: New file.
924 * gdb.python/py-objfile.c: New file.
925 * gdb.python/py-block.exp: Add is_valid tests.
926 * gdb.python/py-inferior.exp: Ditto.
927 * gdb.python/py-infthread.exp: Ditto.
928 * gdb.python/py-symbol.exp: Ditto.
929 * gdb.python/py-symtab.exp: Ditto.
930
598997c8
KS
9312011-03-16 Keith Seitz <keiths@redhat.com>
932
933 PR c++/12273
934 * gdb.cp/cmpd-minsyms.exp: New test.
935 * gdb.cp/cmpd-minsyms.cc: New file.
936
937 PR c++/11734
938 * gdb.cp/ovsrch.exp: New test.
939 * gdb.cp/ovsrch.h: New file.
940 * gdb.cp/ovsrch1.cc: New file.
941 * gdb.cp/ovsrch2.cc: New file.
942 * gdb.cp/ovsrch3.cc: New file.
943 * gdb.cp/ovsrch4.cc: New file.
944
c91513d8
PP
9452011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
946
947 PR gdb/12528
948 * gdb.base/Makefile.in: Adjust EXECUTABLES.
949 * gdb.base/break-on-linker-gcd-function.exp: New test.
950 * gdb.base/break-on-linker-gcd-function.cc: New file.
951
7470fc63
AT
9522011-03-15 Andreas Tobler <andreast@fgznet.ch>
953
954 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
955
959e7469
PM
9562011-03-15 Phil Muldoon <pmuldoon@redhat.com>
957
958 * lib/gdb.exp (gdb_unload): Add another termination case.
959
9373cf26
JK
9602011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
961
962 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
963 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
964 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
965 Provide a stub byte there.
966 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
967 DW_AT_entry_pc.
968 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
969
24e9cda0
UW
9702011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
971
972 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
973 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
974 "generic ABI, auto".
975 (altivec_abi_tests): Accept vectors returned by reference.
976
7371cf6d
PM
9772010-03-14 Phil Muldoon <pmuldoon@redhat.com>
978
979 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
980
ce77046a
UW
9812011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
982
983 * gdb.python/py-section-script.exp: Skip test if no Python support.
984
176400c3
UW
9852011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
986
987 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
988
ecec24e6
PM
9892011-03-10 Phil Muldoon <pmuldoon@redhat.com>
990
991 * gdb.python/py-parameter.exp: Update tests to the new Python
992 parameter API. Add "no documentation" test. Add deprecated API
993 backward compatibility test.
994
5dbdd470
TT
9952011-03-09 Tom Tromey <tromey@redhat.com>
996
997 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
998 gdb_continue_to_end.
999
b66e66ee
MK
10002011-03-09 Mark Kettenis <kettenis@gnu.org>
1001
1002 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1003 tabs.
1004
eceb0c5f
TT
10052011-03-09 Tom Tromey <tromey@redhat.com>
1006
1007 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1008 parentheses.
1009 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1010 $command.
1011 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1012 argument to gdb_continue_to_end.
1013 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1014 argument to gdb_continue_to_end.
1015 * gdb.cp/annota3.exp: Fix regex.
1016 * gdb.cp/annota2.exp: Fix regex.
1017 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1018 gdb_continue_to_end.
1019 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1020 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1021 gdb_continue_to_end.
1022
63154eca
PA
10232011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1024
1025 * gdb.server/ext-run.exp
1026 (load new file without any gdbserver inferior): New test.
1027
967d1f9b
TT
10282011-03-07 Tom Tromey <tromey@redhat.com>
1029
1030 * Makefile.in (TAGS): Rewrite.
1031
d68dcbb9
JK
10322011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1035 initial commands echo. New match for `Found trace'. Anchor all the
1036 other matches. Anchor and match for `No trace frame found' the final
1037 match.
1038
6bf58e63
TT
10392011-03-07 Tom Tromey <tromey@redhat.com>
1040
1041 * Makefile.in (TAGS): New target.
1042
fda326dd
TT
10432011-03-07 Tom Tromey <tromey@redhat.com>
1044
1045 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1046 change.
1047 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1048 change.
1049 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1050 exit message change.
1051 (skip_altivec_tests): Update for exit message change.
1052 (skip_vsx_tests): Likewise.
1053 (gdb_continue_to_end): Likewise. Add 'command' argument.
1054 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1055 * gdb.threads/tls.exp: Update for exit message change.
1056 * gdb.threads/thread-unwindonsignal.exp: Use
1057 gdb_continue_to_end.
1058 * gdb.threads/step.exp (step_it): Update for exit message change.
1059 (continue_all): Likewise.
1060 * gdb.threads/print-threads.exp (test_all_threads): Update for
1061 exit message change.
1062 * gdb.threads/interrupted-hand-call.exp: Use
1063 gdb_continue_to_end.
1064 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1065 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1066 gdb_continue_to_end.
1067 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1068 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1069 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1070 * gdb.cp/method.exp: Update for exit message change.
1071 * gdb.cp/mb-templates.exp: Update for exit message change.
1072 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1073 * gdb.cp/annota3.exp: Update for exit message change.
1074 * gdb.cp/annota2.exp: Update for exit message change.
1075 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1076 * gdb.base/term.exp: Update for exit message change.
1077 * gdb.base/step-test.exp (test_i): Update for exit message change.
1078 * gdb.base/sigstep.exp (advance): Update for exit message change.
1079 (advancei): Likewise.
1080 * gdb.base/siginfo.exp: Update for exit message change.
1081 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1082 * gdb.base/reread.exp: Use gdb_continue_to_end.
1083 * gdb.base/langs.exp: Use gdb_continue_to_end.
1084 * gdb.base/interrupt.exp: Update for exit message change.
1085 * gdb.base/gdb1555.exp: Update for exit message change.
1086 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1087 * gdb.base/ending-run.exp: Update for exit message change.
1088 * gdb.base/chng-syms.exp: Update for exit message change.
1089 * gdb.base/checkpoint.exp: Update for exit message change.
1090 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1091 gdb_continue_to_end.
1092 (test_catch_syscall_with_wrong_args): Likewise.
1093 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1094 * gdb.base/break-interp.exp (test_ld): Update for exit message
1095 change.
1096 * gdb.base/bang.exp: Update for exit message change.
1097 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1098 (do_call_attach_tests): Likewise.
1099 * gdb.base/a2-run.exp: Update for exit message change.
1100 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1101 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1102 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1103
dd19bd70
JK
11042011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1107
30e62689
TT
11082011-03-03 Tom Tromey <tromey@redhat.com>
1109
1110 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1111 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1112 * gdb.hp/gdb.aCC/configure.ac: Remove.
1113 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1114 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1115 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1116 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1117 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1118 * gdb.hp/gdb.compat/configure.ac: Remove.
1119 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1120 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1121 * gdb.hp/gdb.defects/configure.ac: Remove.
1122 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1123 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1124 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1125 * gdb.hp/configure.ac: Remove.
1126 * gdb.hp/configure: Remove.
1127 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1128 substitution.
1129 (Makefile): Remove rule.
1130 * gdb.cell/configure.ac: Remove.
1131 * gdb.cell/configure: Remove.
1132 * gdb.stabs/Makefile.in (Makefile): Remove.
1133 (distclean): Don't remove config.status or config.log.
1134 * gdb.stabs/configure (Makefile): Remove.
1135 * gdb.stabs/configure.ac: Remove.
1136 * configure: Rebuild.
1137 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1138 Remove stabs- and cell-specific logic. Test for existence of
1139 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1140 subdirectories, gdb.cell, and and gdb.stabs.
1141 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1142
c171f854
JB
11432011-03-03 Joel Brobecker <brobecker@adacore.com>
1144
1145 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1146 end of buffer.
1147
9a5193cb
JB
11482011-03-02 Joel Brobecker <brobecker@adacore.com>
1149
1150 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1151 gdb_test when running a test where we expected no output back.
1152
9bb4c1bb
MS
11532011-02-28 Michael Snyder <msnyder@vmware.com>
1154
1155 * gdb.cp/overload.cc: Change initializer value to integer.
1156
3bd0f5ef
MS
11572011-02-27 Michael Snyder <msnyder@vmware.com>
1158
1159 * gdb.multi/base.exp: Add test for remove-inferiors.
1160
2279eaad
JB
11612011-02-26 Joel Brobecker <brobecker@adacore.com>
1162
1163 * gdb.python/py-frame.exp: Simplify the initialization phase
1164 using prepare_for_testing.
1165
c82c0b55
MS
11662011-02-25 Michael Snyder <msnyder@vmware.com>
1167
1168 * gdb.multi/base.exp: Add tests for info inferiors with args.
1169
1d94651b
JK
11702011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1171
1172 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1173 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1174 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1175 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1176 asmfile3. Comment the STABS (#3) file compilation. Compile
1177 everything through assembler. Provide KFAIL for symtab/12497.
1178 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1179 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1180 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1181 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1182
3bd0f5ef
MS
11832011-02-24 Michael Snyder <msnyder@vmware.com>
1184
1185 * gdb.base/break.exp: Add tests for delete breakpoints using
1186 convenience variables and value history references.
1187
12c1418e
MS
11882011-02-24 Michael Snyder <msnyder@vmware.com>
1189
1190 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1191 left behind in previous check-in.
1192
e5a67952
MS
11932011-02-23 Michael Snyder <msnyder@vmware.com>
1194
1195 * gdb.base/break.exp: Add tests for "info break" with arguments.
1196 * gdb.trace/infotrace.exp: Update patterns for error and help.
1197 * gdb.base/completion.exp: Update pattern.
1198 * gdb.base/ena-dis-br.exp: Update pattern.
1199 * gdb.base/help.exp: Update patterns.
1200
12012011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1202
1203 * gdb.base/memattr.exp: New test.
1204 * gdb.base/memattr.c: Test load for memattr.exp.
1205
6e6fbe60
DE
12062011-02-22 Doug Evans <dje@google.com>
1207
1208 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1209
1d41d745
MS
12102011-02-22 Michael Snyder <msnyder@vmware.com>
1211
1212 * Makefile.in: Make more clean.
1213 * gdb.ada/Makefile.in: Ditto.
1214 * gdb.arch/Makefile.in: Ditto.
1215 * gdb.asm/Makefile.in: Ditto.
1216 * gdb.base/Makefile.in: Ditto.
1217 * gdb.cp/Makefile.in: Ditto.
1218 * gdb.dwarf2/Makefile.in: Ditto.
1219 * gdb.java/Makefile.in: Ditto.
1220 * gdb.mi/Makefile.in: Ditto.
1221 * gdb.modula2/Makefile.in: Ditto.
1222 * gdb.python/Makefile.in: Ditto.
1223 * gdb.server/Makefile.in: Ditto.
1224 * gdb.stabs/Makefile.in: Ditto.
1225 * gdb.threads/Makefile.in: Ditto.
1226 * gdb.trace/Makefile.in: Ditto.
1227
79ba84ca
MS
12282011-02-22 Michael Snyder <msnyder@vmware.com>
1229
1230 * gdb.threads/thread-find.exp: Add tests for bad input to
1231 info threads.
1232
b9b35694
JB
12332011-02-22 Joel Brobecker <brobecker@adacore.com>
1234
1235 * gdb.python/py-breakpoint.exp: Fix the expected output of
1236 one of the "maint info breakpoints" tests to accept the output
1237 generated on platforms that do not have hardware watchpoints.
1238
8bfb830f
JB
12392011-02-22 Joel Brobecker <brobecker@adacore.com>
1240
1241 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1242 clean_restart. Be a little stricter in the expected output
1243 for one of the tests. Fix a typo in one of the comments.
1244
c45f3c54
JB
12452011-02-22 Joel Brobecker <brobecker@adacore.com>
1246
1247 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1248 Delete variable binfile, no longer use. Add or modify test
1249 comments to make them unique.
1250
b97c863c
MS
12512011-02-21 Michael Snyder <msnyder@vmware.com>
1252
1253 * Makefile.in: Update for make clean.
1254 * gdb.ada/Makefile.in: Ditto.
1255 * gdb.arch/Makefile.in: Ditto.
1256 * gdb.asm/Makefile.in: Ditto.
1257 * gdb.base/Makefile.in: Ditto.
1258 * gdb.cp/Makefile.in: Ditto.
1259 * gdb.dwarf2/Makefile.in: Ditto.
1260 * gdb.java/Makefile.in: Ditto.
1261 * gdb.mi/Makefile.in: Ditto.
1262 * gdb.modula2/Makefile.in: Ditto.
1263 * gdb.python/Makefile.in: Ditto.
1264 * gdb.server/Makefile.in: Ditto.
1265 * gdb.stabs/Makefile.in: Ditto.
1266 * gdb.threads/Makefile.in: Ditto.
1267 * gdb.trace/Makefile.in: Ditto.
1268
aea5b279
MS
12692011-02-21 Michael Snyder <msnyder@vmware.com>
1270
1271 * gdb.threads/thread-find.exp: Update patterns for changes in
1272 output of "info threads" command.
1273
e3039479
UW
12742011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1275 Ulrich Weigand <uweigand@de.ibm.com>
1276
1277 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1278 (skip_hw_watchpoint_tests): Likewise.
1279 (skip_hw_watchpoint_multi_tests): Likewise.
1280
b800ec70
UW
12812011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1282
1283 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1284 (skip_hw_watchpoint_tests): Likewise.
1285 (skip_hw_watchpoint_multi_tests): Likewise.
1286 (skip_hw_watchpoint_access_tests): Likewise.
1287
1288 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1289 * gdb.base/pr11022.exp: Likewise.
1290 * gdb.base/watch-read.exp: Likewise.
1291 * gdb.base/watch_thread_num.exp: Likewise.
1292 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1293 * gdb.base/watchpoint-hw.exp: Likewise.
1294 * gdb.base/watchpoint.exp: Likewise.
1295 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1296 * gdb.threads/watchthreads-reorder.exp: Likewise.
1297 * gdb.threads/watchthreads.exp: Likewise.
1298 * gdb.threads/watchthreads2.exp: Likewise.
1299
91033e37
JB
13002011-02-21 Joel Brobecker <brobecker@adacore.com>
1301
1302 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1303 the debugger is unable to find the array bounds.
1304
eeaafae2
JK
13052011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1306
1307 * gdb.cp/typedef-operator.exp: New file.
1308 * gdb.cp/typedef-operator.cc: New file.
1309
e338d953
MS
13102011-02-17 Michael Snyder <msnyder@vmware.com>
1311
1312 * gdb.threads/thread-find.exp: Fix regular expressions.
1313
e67ad678
JB
13142011-02-17 Joel Brobecker <brobecker@adacore.com>
1315
1316 * gdb.ada/packed_array: Expand testcase to test printing of
1317 unconstrained packed array.
1318
93084bca
JB
13192011-02-17 Joel Brobecker <brobecker@adacore.com>
1320
1321 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1322
a0c78a73
PA
13232011-02-16 Pedro Alves <pedro@codesourcery.com>
1324
f65d5553 1325 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1326 (main): Initialize it before collecting, and and clear it
1327 afterwards.
f65d5553
PA
1328 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1329 collecting with '{type} addr', where the addr expression is not an
1330 rvalue.
a0c78a73 1331
3dfcbbd2
KW
13322011-02-16 Ken Werner <ken.werner@de.ibm.com>
1333
1334 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1335 a bool variable. Expect correct OpenCL names for vector types. Use the
1336 uc3 variable name instead of referring to the uchar3 built-in type.
1337 Escape the asterisk at the half pointer test.
1338
08807d5a
PA
13392011-02-16 Pedro Alves <pedro@codesourcery.com>
1340
f65d5553 1341 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1342 (main): Initialize it before collecting, and and clear it
1343 afterwards.
f65d5553
PA
1344 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1345 collecting overlapping memory ranges.
08807d5a 1346
60f98dde
MS
13472011-02-15 Michael Snyder <msnyder@vmware.com>
1348
1349 * gdb.base/default.exp: Add tests for thread commands.
1350 * gdb.base/help.exp: Add tests for thread commands.
1351 * gdb.threads/thread-find.exp: New test for thread find command.
1352
648cd113
KW
13532011-02-15 Ken Werner <ken.werner@de.ibm.com>
1354
1355 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1356
494e194e
YQ
13572011-02-15 Yao Qi <yao@codesourcery.com>
1358
1359 PR tdep/12352
1360 * gdb.arch/arm-disp-step.S : New test for str instruction.
1361 * gdb.arch/arm-disp-step.exp : Likewise.
1362
d9492458
TJB
13632011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1364
1365 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1366 "vector_register2_vr" test strings. Test the extended floating
1367 point registers (F32~F63).
1368 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1369 IBM XL C compiler. Make the test program use a register provided
1370 by the compiler for the lxvd2x instruction.
1371
8af8e3bc
PA
13722011-02-14 Pedro Alves <pedro@codesourcery.com>
1373
1374 * gdb.trace/unavailable.cc (class Base, class Middle, class
1375 Derived): New types.
1376 (derived_unavail, derived_partial, derived_whole): New globals.
1377 (virtual_partial): New global.
1378 (virtualp): Point at virtual_partial.
1379 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1380 related to unavailable vptr.
1381
1b28d0b3
PA
13822011-02-14 Pedro Alves <pedro@codesourcery.com>
1383
1384 * gdb.trace/unavailable.cc (a, b, c): New globals.
1385 (main): Set and clear them.
1386 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1387 `a' and `c', and check that `b' isn't collected, although `a' and
1388 `c' are.
1389
ec0a52e1
PA
13902011-02-14 Pedro Alves <pedro@codesourcery.com>
1391
1392 * gdb.trace/unavailable.cc (struct Virtual): New.
1393 (virtualp): New global pointer.
1394 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1395 printing a pointer to an object whose type has a vtable, with
1396 print object on.
1397
24e6bcee
PA
13982011-02-14 Pedro Alves <pedro@codesourcery.com>
1399
1400 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1401 value repeat handles unavailableness.
1402
39d37385
PA
14032011-02-14 Pedro Alves <pedro@codesourcery.com>
1404
1405 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1406 tests for building arrays from unavailable values, subscripting
1407 non-memory rvalue unvailable arrays, and accessing fields or
1408 baseclasses of non-lazy unavailable values,
1409 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1410 struct types.
1411 (g_smallstruct, g_smallstruct_b): New globals.
1412
06d72e16
PA
14132011-02-14 Pedro Alves <pedro@codesourcery.com>
1414
1415 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1416
bc9a5551
JK
14172011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
1419 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1420 * gdb.cp/overload-const.exp: New file.
1421 * gdb.cp/overload-const.cc: New file.
1422
54fcddd0
UW
14232011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1424
1425 * gdb.opencl/callfuncs.cl: New file.
1426 * gdb.opencl/callfuncs.exp: New test.
1427 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1428
d6dafb7c
UW
14292011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1430
1431 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1432 when computing result.
1433 * gdb.arch/altivec-abi.exp: Update expected results.
1434
a449c2d8
TJB
14352011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1436
1437 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1438 * gdb.base/jit.exp: Likewise.
1439 * gdb.base/pie-execl.exp: Likewise.
1440 * gdb.base/solib-nodir.exp: Likewise.
1441 * gdb.base/solib-overlap.exp: Likewise.
1442
764880b7
PA
14432011-02-07 Pedro Alves <pedro@codesourcery.com>
1444
1445 * gdb.trace/collection.c (global_pieces): New.
1446 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1447 New procedure.
1448 (gdb_trace_collection_test): Call it.
1449
505500db
SW
14502011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1451
1452 * gdb.python/py-evthreads.c: New file.
1453 * gdb.python/py-evthreads.exp: New file.
1454 * gdb.python/py-events.py: New file.
1455 * gdb.python/py-events.exp: New file.
1456 * gdb.python/py-events.c: New file.
1457
385203ed
DD
14582011-02-04 David Daney <ddaney@caviumnetworks.com>
1459
1460 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1461
9011945e
AB
14622011-02-03 Andrew Burgess <aburgess@broadcom.com>
1463
1464 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1465 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1466 boundary between two compilation units.
1467
580688f3
PA
14682011-02-02 Pedro Alves <pedro@codesourcery.com>
1469
1470 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1471 (Virtual): New structs.
1472 (virtual_o, virtual_middle_b): New globals.
1473 * gdb.cp/virtbase.exp: New tests.
1474
d3f0f853
PP
14752011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1476
1477 * gdb.base/jit.exp: New file.
1478 * gdb.base/jit-main.c: New file.
1479 * gdb.base/jit-solib.c: New file.
1480
b2030fb5
UW
14812011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1482
1483 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1484 proceed to initial kernel entry point.
1485 * gdb.opencl/datatypes.exp: Likewise.
1486 * gdb.opencl/operators.exp: Likewise.
1487 * gdb.opencl/vec_comps.exp: Likewise.
1488
2db19d1e
SW
14892011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1490
1491 * gdb.cp/nsnested.cc: New.
1492 * gdb.cp/nsnested.exp: New.
1493 * gdb.cp/nsnoimports.exp: New.
1494 * gdb.cp/nsnoimports.cc: New.
1495
6b0c4c1f
JB
14962011-01-31 Joel Brobecker <brobecker@adacore.com>
1497
1498 * gdb.base/interact.exp: Add extra tests that verify that
1499 the value of the interactive-mode setting does not change
1500 after the script is sourced.
1501
80b23b6a
JK
15022011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1503
1504 * gdb.cp/noparam.exp: New file.
1505 * gdb.cp/noparam.cc: New file.
1506
ffd5ec24
PA
15072011-01-28 Pedro Alves <pedro@codesourcery.com>
1508
1509 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1510 there's no stack or registers.
1511
a81766d8
TT
15122011-01-26 Tom Tromey <tromey@redhat.com>
1513
1514 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1515 space before string output. Add test for "set print pretty off"
1516 case.
1517
585fdaa1
PA
15182011-01-25 Pedro Alves <pedro@codesourcery.com>
1519
1520 * gdb.base/frame-args.exp: Adjust.
1521 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1522 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1523 * gdb.dwarf2/pieces.exp: Adjust.
1524 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1525 * gdb.opt/inline-locals.exp: Adjust.
1526 * gdb.threads/fork-child-threads.exp: Adjust.
1527
d468832a
KW
15282011-01-25 Ken Werner <ken.werner@de.ibm.com>
1529
1530 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1531 OpenCL kernel function. Add a comment as marker. Add address space
1532 qualifiers for the remaining program scope variables.
1533 * gdb.opencl/datatypes.cl: Likewise.
1534 * gdb.opencl/operators.cl: Likewise.
1535 * gdb.opencl/vec_comps.cl: Likewise.
1536 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1537 Add breakpoint at the marker comment.
1538 * gdb.opencl/datatypes.exp: Likewise.
1539 * gdb.opencl/operators.exp: Likewise.
1540 * gdb.opencl/vec_comps.exp: Likewise.
1541
490f124f
PA
15422011-01-24 Pedro Alves <pedro@codesourcery.com>
1543
1544 * gdb.base/printcmds.c (some_struct): New struct and instance.
1545 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1546 procedure.
1547 <global scope>: Call it.
1548
6da78614
KW
15492011-01-21 Ken Werner <ken.werner@de.ibm.com>
1550
1551 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1552 argument to the gdb_compile_opencl_hostapp call.
1553
ec64c9aa
YQ
15542011-01-19 Yao Qi <yao@codesourcery.com>
1555
1556 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1557 positve list.
1558
810cfdbb
YQ
15592011-01-19 Yao Qi <yao@codesourcery.com>
1560
1561 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1562 canonical form.
1563 Remove "xscale-*-*"
1564 * gdb.xml/tdesc-regs.exp: Likewise.
1565 * gdb.python/py-section-script.exp: Replace ARM target triplet
1566 with canonical form.
1567 Match arm*-*-symbianelf*.
1568 * gdb.base/dup-sect.exp: Likewise.
1569 * lib/dwarf.exp: New.
1570 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1571 dwarf2_support.
1572 * gdb.dwarf2/dup-psym.exp: Likewise.
1573 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1574 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1575 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1576 * gdb.dwarf2/dw2-basic.exp: Likewise.
1577 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1578 * gdb.dwarf2/dw2-const.exp: Likewise.
1579 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1580 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1581 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1582 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1583 * gdb.dwarf2/dw2-filename.exp: Likewise.
1584 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1585 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1586 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1587 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1588 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1589 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1590 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1591 * gdb.dwarf2/dw2-producer.exp: Likewise.
1592 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1593 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1594 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1595 * gdb.dwarf2/dw2-strp.exp: Likewise.
1596 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1597 * gdb.dwarf2/implptr.exp: Likewise.
1598 * gdb.dwarf2/mac-fileno.exp: Likewise.
1599 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1600 * gdb.dwarf2/pieces.exp: Likewise.
1601 * gdb.dwarf2/pr11465.exp: Likewise.
1602 * gdb.dwarf2/valop.exp: Likewise.
1603 * gdb.dwarf2/watch-notconst.exp: Likewise.
1604 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1605
4694da01
TT
16062011-01-19 Tom Tromey <tromey@redhat.com>
1607
1608 * gdb.python/py-infthread.exp: Add thread tests.
1609
b075872c
JB
16102011-01-14 Joel Brobecker <brobecker@adacore.com>
1611
1612 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1613
2c3e6e24
JB
16142011-01-14 Joel Brobecker <brobecker@adacore.com>
1615
1616 * gdb.ada/widewide: New testcase.
1617
de8fa76c
JB
16182011-01-13 Joel Brobecker <brobecker@adacore.com>
1619
1620 * gdb.base/interact.exp: New testcase.
1621
1b05df00
TT
16222011-01-12 Tom Tromey <tromey@redhat.com>
1623
1624 * gdb.mi/gdb2549.exp: Update for error message changes.
1625 * gdb.mi/mi-cli.exp: Likewise.
1626 * gdb.mi/mi-disassemble.exp: Likewise.
1627 * gdb.mi/mi-pthreads.exp: Likewise.
1628 * gdb.mi/mi-regs.exp: Likewise.
1629 * gdb.mi/mi-stack.exp: Likewise.
1630 * gdb.mi/mi-var-block.exp: Likewise.
1631 * gdb.mi/mi-var-cmd.exp: Likewise.
1632 * gdb.mi/mi2-cli.exp: Likewise.
1633 * gdb.mi/mi2-disassemble.exp: Likewise.
1634 * gdb.mi/mi2-pthreads.exp: Likewise.
1635 * gdb.mi/mi2-regs.exp: Likewise.
1636 * gdb.mi/mi2-stack.exp: Likewise.
1637 * gdb.mi/mi2-var-block.exp: Likewise.
1638 * gdb.mi/mi2-var-cmd.exp: Likewise.
1639
c2ff108b
JK
16402011-01-12 Andrew Burgess <aburgess@broadcom.com>
1641 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 PR fortran/11104 and DWARF unbound arrays detection.
1644 * gdb.fortran/multi-dim.exp: New file.
1645 * gdb.fortran/multi-dim.f90: New file.
1646
b716877b
AB
16472011-01-12 Andrew Burgess <aburgess@broadcom.com>
1648
1649 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1650 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1651 add new tests for opcode dumping.
1652
6c162d5e
TT
16532011-01-11 Tom Tromey <tromey@redhat.com>
1654
1655 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1656
77b06cd7
TJB
16572010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1658
1659 Convert hardware watchpoints to use breakpoint_ops.
1660 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1661 type is not supported.
1662 * gdb.base/foll-fork.exp: Likewise.
1663 * gdb.base/foll-vfork.exp: Likewise.
1664
f39a75d0
PM
16652011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1666
1667 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1668 Use load_lib gdb-python.exp.
1669 * gdb.python/python.exp: Ditto.
1670 * gdb.python/py-function.exp: Ditto.
1671
fc529d80
AS
16722011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1673
1674 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1675
fb03cb59
JK
16762011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 * configure: Regenerate.
1679
d8e22779
TT
16802011-01-06 Tom Tromey <tromey@redhat.com>
1681
1682 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1683
09050809
JB
16842011-01-06 Joel Brobecker <brobecker@adacore.com>
1685
fc529d80
AS
1686 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1687 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1688 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1689 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1690 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1691 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1692 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1693 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1694 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1695 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1696 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1697 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1698 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1699 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1700 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1701 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1702 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1703 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1704 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1705 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1706 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1707 gdb.ada/uninitialized_vars.exp,
1708 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1709 Simplify by using clean_restart.
09050809 1710
8ed5dd9e
JB
17112011-01-06 Joel Brobecker <brobecker@adacore.com>
1712
1713 Add marker to be used as anchor for inserting breakpoints.
1714 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1715 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1716 Likewise.
1717
1718 Remove uses of gdb_start_cmd.
1719 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1720 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1721
1722 Do not run testcase if testing with GDBserver.
1723 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1724 if testing with GDBserver.
1725
368a124f
JB
17262011-01-06 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1729 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1730 copyright header.
1731
44944448
JB
17322011-01-05 Joel Brobecker <brobecker@adacore.com>
1733
1734 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1735 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1736 testsuite/gdb.fortran/complex.f,
1737 testsuite/gdb.fortran/derived-type.f90,
1738 testsuite/gdb.fortran/library-module-lib.f90,
1739 testsuite/gdb.fortran/library-module-main.f90,
1740 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1741 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1742 Copyright year update.
1743
31886ea6
JB
17442011-01-05 Joel Brobecker <brobecker@adacore.com>
1745
1746 * gdb.base/langs1.f: Add copyright header.
1747
ebedcab5
JK
17482011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1749
1750 * gdb.base/morestack.exp: New file.
1751 * gdb.base/morestack.c: New file.
1752
de1eb2f9
JK
17532011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1756
9e87a409
JB
17572010-12-29 Joel Brobecker <brobecker@adacore.com>
1758
1759 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1760 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1761
720d1a40
JB
17622010-12-29 Joel Brobecker <brobecker@adacore.com>
1763
1764 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1765
a283af87
AS
17662010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1767
5d3d9cba
AS
1768 * gdb.threads/tls.exp: Fix typo.
1769
a283af87
AS
1770 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1771 * gdb.threads/execl.exp: Update.
1772
2a20745c
YQ
17732010-12-23 Yao Qi <yao@codesourcery.com>
1774
1775 * gdb.arch/arm-disp-step.exp: New.
1776 * gdb.arch/arm-disp-step.S: New.
1777
a7658b96
TT
17782010-12-21 Tom Tromey <tromey@redhat.com>
1779
1780 * gdb.threads/execl.exp: Update.
1781 * gdb.threads/linux-dp.exp: Update.
1782 * gdb.threads/manythreads.exp: Update.
1783 * gdb.threads/tls.exp: Update.
1784
5b79abe7
TT
17852010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1788 (NextOverThrowDerivates) <resumebpt>: New.
1789 (resumebpt_test): New.
1790 (main): Call resumebpt_test.
1791 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1792
0914bcdb
SS
17932010-12-12 Stan Shebs <stan@codesourcery.com>
1794
1795 * gdb.trace/tsv.exp: Test print command on trace state variables.
1796
305aeedc
TT
17972010-12-09 Tom Tromey <tromey@redhat.com>
1798
1799 * gdb.base/interp.exp: Add regression test.
1800
186c406b
TT
18012010-12-09 Tom Tromey <tromey@redhat.com>
1802
1803 * gdb.java/jnpe.java: New file.
1804 * gdb.java/jnpe.exp: New file.
1805 * gdb.cp/nextoverthrow.exp: New file.
1806 * gdb.cp/nextoverthrow.cc: New file.
1807
aae1c79a
DE
18082010-12-07 Doug Evans <dje@google.com>
1809
1810 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1811 of data-directory.
1812 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1813 updated.
1814 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1815
60f98dde 18162010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1817
1818 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1819 * gdb.base/call-sc.exp: Ditto.
1820 * gdb.base/finish.exp: Ditto.
1821 * gdb.base/return.exp: Ditto.
1822 * gdb.base/return2.exp: Ditto.
1823
5fa290c1
DE
18242010-11-30 Doug Evans <dje@google.com>
1825
1826 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1827 (gdb_expect_list): Fix spelling errors in comments.
1828 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1829 send_gdb/gdb_expect_list where applicable.
1830 * gdb.base/call-ar-st.exp: Ditto.
1831 * gdb.base/funcargs.exp: Ditto.
1832 * gdb.base/gcore.exp: Ditto.
1833 * gdb.base/page.exp: Ditto.
1834 * gdb.base/sigaltstack.exp: Ditto.
1835 * gdb.base/siginfo.exp: Ditto.
1836 * gdb.base/sigstep.exp: Ditto.
1837 * gdb.base/trace-commands.exp: Ditto.
1838
4e04c971
DE
18392010-11-29 Doug Evans <dje@google.com>
1840
1841 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1842 printer-name;subprinter-name.
1843
8cf6f0b1
TT
18442010-11-29 Tom Tromey <tromey@redhat.com>
1845
1846 * gdb.dwarf2/implptr.exp: New file.
1847 * gdb.dwarf2/implptr.c: New file.
1848 * gdb.dwarf2/implptr.S: New file.
1849
94b6973e
PM
18502010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1851
fc529d80 1852 PR python/12199
94b6973e
PM
1853
1854 * gdb.python/py-breakpoint.exp: Test the delete method.
1855
8358c15c
JK
18562010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1857
1858 Fix step_resume_breakpoint unsaved during an infcall.
1859 * gdb.base/step-resume-infcall.exp: New file.
1860 * gdb.base/step-resume-infcall.c: New file.
1861
f6df29bc
TJB
18622010-11-24 Edjunior Machado <emachado@br.ibm.com>
1863
1864 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1865
f2b5a5cf
TJB
18662010-11-24 Edjunior Machado <emachado@br.ibm.com>
1867
1868 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1869 on ppc64's symbols; "finish" and "return" commands must accept to
1870 show the caller line again as well as the line after.
1871 * gdb.asm/powerpc64.inc: New file.
1872
6b0ecdc2
DE
18732010-11-23 Doug Evans <dje@google.com>
1874
1875 * lib/gdb.exp (gdb_test_sequence): New function.
1876 (gdb_expect_list): Add verbose -log call for each pattern.
1877 * gdb.base/signals.exp (test_handle_all_print): Call it.
1878 Reduce timeout increment from 6 minutes to 1 minute.
1879 * gdb.server/ext-run.exp: Call it.
1880
ea976c60
PM
18812010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1882
f2b5a5cf 1883 PR python/12212
ea976c60
PM
1884
1885 * gdb.python/python.exp: Check that selected_thread raises an
1886 error when no inferior is loaded.
1887
c0efa795
JK
18882010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1889
1890 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1891 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1892
ec3aa567
JK
18932010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1894
1895 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1896 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1897
d8249011
DE
18982010-11-18 Doug Evans <dje@google.com>
1899
1900 * gdb.server/ext-run.exp: Fix intermittent failures.
1901
d4eba7d1
NF
19022010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1903
1904 * gdb.stabs/gdb11479.exp: Use runto_main.
1905
b04c2f88
NF
19062010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1907
1908 * gdb.base/break-entry.exp: Skip if using a stub.
1909
ae9d7ce4
NF
19102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1911
1912 * gdb.python/py-inferior.exp: Pack values in target endianness.
1913
621c8364
TT
19142010-11-12 Tom Tromey <tromey@redhat.com>
1915
1916 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1917 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1918 MemoryError.
1919 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1920 type.
1921 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1922 MemoryError.
1923 (test_subscript_regression): Update exception type.
1924
84f4c1fe
PM
19252010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1926
1927 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1928 breakpoint tests.
1929
a1442452
PA
19302010-11-09 Pedro Alves <pedro@codesourcery.com>
1931
1932 * gdb.base/watchpoint.exp: Test "watch -location" with an
1933 innacessible location.
1934
efd11a33
JK
19352010-11-09 Edjunior Machado <emachado@br.ibm.com>
1936 Luis Machado <luisgpm@br.ibm.com>
1937
1938 * gdb.base/maint.exp: Expect "." prefix.
1939 * gdb.base/nodebug.exp: Expect "." Likewise.
1940 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1941 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1942 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1943 POWER server processors.
1944
aa00efb5
JK
19452010-11-08 Edjunior Machado <emachado@br.ibm.com>
1946 Luis Machado <luisgpm@br.ibm.com>
1947
1948 * gdb.base/break-entry.exp: convert entry point for
1949 ppc64 and expect leading `.' on ppc64's symbols
1950
99e7ae30
DE
19512010-11-05 Doug Evans <dje@google.com>
1952
1953 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1954 * gdb.python/py-param.exp: Delete, contents moved to ...
1955 * gdb.python/py-parameter.exp: ... here. New file.
1956 Add test for gdb.parameter ("directories").
99e7ae30 1957
f4b8a18d
KW
19582010-11-05 Ken Werner <ken.werner@de.ibm.com>
1959
1960 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1961 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1962 * configure: Regenerate.
1963 * gdb.opencl/Makefile.in: New File.
1964 * gdb.opencl/datatypes.exp: Likewise.
1965 * gdb.opencl/datatypes.cl: Likewise.
1966 * gdb.opencl/operators.exp: Likewise.
1967 * gdb.opencl/operators.cl: Likewise.
1968 * gdb.opencl/vec_comps.exp: Likewise.
1969 * gdb.opencl/vec_comps.cl: Likewise.
1970 * gdb.opencl/convs_casts.exp: Likewise.
1971 * gdb.opencl/convs_casts.cl: Likewise.
1972 * lib/opencl.exp: Likewise.
1973 * lib/opencl_hostapp.c: Likewise.
1974 * lib/opencl_kernel.cl: Likewise.
1975 * lib/cl_util.c: Likewise.
1976 * lib/cl_util.c: Likewise.
1977 * gdb.base/default.exp (set language): Add "opencl" to the list of
1978 languages.
1979
a9d5ef47
SW
19802010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1981
1982 * gdb.cp/overload.exp: Added test for inheritance overload.
1983 * gdb.cp/overload.cc: Ditto.
1984 * gdb.cp/oranking.exp: Removed releveant kfails.
1985
03eb1c79
JK
19862010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1987 Joel Brobecker <brobecker@adacore.com>
1988
1989 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1990 check test_compiler_info.
1991
dbc98a8b
KW
19922010-11-03 Ken Werner <ken.werner@de.ibm.com>
1993
1994 * gdb.base/gnu_vector.exp: Adjust expect messages.
1995
120bd360
KW
19962010-11-03 Ken Werner <ken.werner@de.ibm.com>
1997
1998 * gdb.base/gnu_vector.exp: Add unary operator tests.
1999
c37f7098
KW
20002010-11-03 Ken Werner <ken.werner@de.ibm.com>
2001
2002 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2003
7b51bc51
DE
20042010-11-02 Doug Evans <dje@google.com>
2005
2006 * gdb.python/py-pp-maint.c: New file.
2007 * gdb.python/py-pp-maint.exp: New file.
2008 * gdb.python/py-pp-maint.py: New file.
2009
50c97f38
TT
20102010-11-02 Tom Tromey <tromey@redhat.com>
2011
2012 * gdb.base/default.exp: Remove "scheme" from language list.
2013
a289b8f6
JK
20142010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2015
2016 Revert:
2017 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 * gdb.threads/sigstep-threads.exp: New file.
2019 * gdb.threads/sigstep-threads.c: New file.
2020
cd017491
MS
20212010-10-20 Michael Snyder <msnyder@vmware.com>
2022
2023 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2024
8e6a5956
UW
20252010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2026
2027 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2028 Skip test completely if gdb,no_hardware_watchpoints.
2029
2c04da0d
UW
20302010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2031
2032 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2033 strict, but do not check for any particular function name within libc.
2034
79afc5ef
SW
20352010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2036
2037 * gdb.cp/smartp.exp: New test.
2038 * gdb.cp/smartp.cc : New test.
2039
026ffab7
SW
20402010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2041
2042 * gdb.cp/converts.exp: Test pointer to bool conversion.
2043 Test pointer to long conversion.
2044 * gdb.cp/oranking.exp: Removed relevant kfail.
2045
3a772aa4
TT
20462010-10-18 Tom Tromey <tromey@redhat.com>
2047
2048 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2049 argument to lazy_string.
2050 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2051 (pp_ls.to_string): Use it.
2052 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2053 Add "estring2" local.
2054
5fc3827b
JK
20552010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 Fix s390x compatibility.
2058 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2059 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2060
8aeb23f3
JK
20612010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2062
2063 * gdb.threads/sigstep-threads.exp: New file.
2064 * gdb.threads/sigstep-threads.c: New file.
2065
c1e56572
JK
20662010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2067
2068 * gdb.base/pie-execl.exp: New file.
2069 * gdb.base/pie-execl.c: New file.
2070
92163a10
JK
20712010-10-13 Doug Evans <dje@google.com>
2072 Jan Kratochvil <jan.kratochvil@redhat.com>
2073
2074 PR exp/12117
2075 * gdb.cp/ptype-cv-cp.cc: New file.
2076 * gdb.cp/ptype-cv-cp.exp: New file.
2077
7062b0a0
SW
20782010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2079
2080 * gdb.cp/converts.cc: New test program.
2081 * gdb.cp/converts.exp: New test.
2082 * gdb.cp/overload.exp: Added test for void* vs int*.
2083 * gdb.cp/overload.exp: Ditto.
2084 * gdb.cp/oranking.exp: Removed related kfail.
2085
0e3509db
DE
20862010-10-13 Doug Evans <dje@google.com>
2087
2088 * lib/gdb-python.exp (gdb_check_python_config): New function.
2089 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2090 * gdb.python/lib-types.cc: New file.
2091 * gdb.python/lib-types.exp: New file.
2092
8dc78533
JK
20932010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2094
2095 * gdb.python/py-error.exp: New file.
2096 * gdb.python/py-error.py: New file.
2097
93c17e06
JK
20982010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2101 gdb_test_multiple.
2102
d8b34041
JK
21032010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2106 * gdb.base/prelink.exp: Likewise.
2107 * gdb.base/solib-nodir.exp: Likewise.
2108 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2109 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2110 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2111
e0cc584e
UW
21122010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2113
2114 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2115 for the "info files" test to avoid timeouts on slow machines.
2116
cfc353b1
JK
21172010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2118
2119 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2120 (main): Make openlib dummy call.
2121
d3d7896d
JK
21222010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2125 * break-interp.exp (reach): Move the core body ...
2126 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2127 (test_ld): Provide always real argument, even to the linker. Replace
2128 dl_main by _dl_debug_state.
2129
5e533c94
JK
21302010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2131
2132 Fix results of prelinked PIEs on ppc*.
2133 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2134 Accept also DISPLACEMENT "PRESENT".
2135 (main): Replace "ZERO" displacements by "PRESENT".
2136
33540610
SW
21372010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2138
2139 * gdb.cp/oranking.exp: New test.
2140 * gdb.cp/oranking.cc: New test program.
2141
3bdf2bbd
KW
21422010-10-08 Ken Werner <ken.werner@de.ibm.com>
2143
2144 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2145 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2146
2f608a3a
KW
21472010-10-06 Ken Werner <ken.werner@de.ibm.com>
2148
2149 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2150 lush, lynx) New constant.
2151 * gdb.base/constvars.exp: Test const array types.
2152 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2153
aa2e2d8d
DE
21542010-10-06 Doug Evans <dje@google.com>
2155
2156 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2157 of syscall staging area.
2158
2844d6b5
KW
21592010-10-06 Ken Werner <ken.werner@de.ibm.com>
2160
2161 * gdb.base/gnu_vector.c: Add variable c4.
2162 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2163 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2164
7d8ac8bb
MR
21652010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2166
2167 * gdb.arch/altivec-abi.exp: Fix a typo.
2168
84a02e58
MR
21692010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2170
2171 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2172 to match a thread ID.
2173
b18e6318
JK
21742010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2175
2176 Fix s390x testcase compatibility.
2177 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2178
a2c09bd0
DE
21792010-10-01 Doug Evans <dje@google.com>
2180
2181 * lib/gdb-python.exp: New file.
2182 * gdb.python/py-block.exp: Use it.
2183 * gdb.python/py-breakpoint.exp: Ditto.
2184 * gdb.python/py-frame.exp: Ditto.
2185 * gdb.python/py-inferior.exp: Ditto.
2186 * gdb.python/py-param.exp: Ditto.
2187 * gdb.python/py-prettyprint.exp: Ditto.
2188 * gdb.python/py-shared.exp: Ditto.
2189 * gdb.python/py-symbol.exp: Ditto.
2190 * gdb.python/py-symtab.exp: Ditto.
2191 * gdb.python/py-type.exp: Ditto.
2192 * gdb.python/py-value.exp: Ditto.
2193 * gdb.python/python.exp: Ditto.
2194
38f12cfc
TT
21952010-09-30 Tom Tromey <tromey@redhat.com>
2196
2197 * gdb.base/anon.exp: New file.
2198 * gdb.base/anon.c: New file.
2199
9ae8282d
TT
22002010-09-30 Tom Tromey <tromey@redhat.com>
2201
2202 * gdb.base/completion.exp: Test completion through anonymous
2203 union.
2204 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2205
e9e07ba6
JK
22062010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2207
2208 Fix printing parameters of inlined functions.
2209 * gdb.dwarf2/dw2-inline-param.exp: New file.
2210 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2211 * gdb.dwarf2/dw2-inline-param.S: New file.
2212
cd2effb2
JK
22132010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 PR corefiles/12071.
2216 * gdb.base/corefile.exp (quit with a process, no question: load core)
2217 (quit with a core file): New tests.
2218
bceffbf3
JK
22192010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 Fix GDB crash on inferior calls with self-referencing classes.
2222 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2223 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2224 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2225
1736ad11
JK
22262010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 Fix lost siginfo_t for inferior calls.
2229 * gdb.base/siginfo-infcall.exp: New file.
2230 * gdb.base/siginfo-infcall.c: New file.
2231
a176ad92
JB
22322010-09-22 Joel Brobecker <brobecker@adacore.com>
2233
2234 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2235
c2b0a229
JK
22362010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2237
2238 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2239 New test.
2240 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2241
e8ae22d1
JB
22422010-09-22 Joel Brobecker <brobecker@adacore.com>
2243
2244 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2245 type of our const type.
2246
ec322823
SW
22472010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2248
2249 * gdb.cp/pr12028.cc: New.
2250 * gdb.cp/pr12028.exp: New.
2251
72929c62
JB
22522010-09-22 Joel Brobecker <brobecker@adacore.com>
2253
2254 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2255
875b4ff5 22562010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2257 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2258
2259 PR mi/11407
2260 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2261 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2262 * gdb.mi/dw2-ref-missing-frame.S New File.
2263 * gdb.mi/dw2-ref-missing-frame.exp New File.
2264
7155d578
TT
22652010-09-14 Tom Tromey <tromey@redhat.com>
2266
2267 PR symtab/8399:
2268 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2269
515ed532
TT
22702010-09-14 Tom Tromey <tromey@redhat.com>
2271
2272 PR exp/11803:
2273 * gdb.threads/tls.exp: Use C++.
2274 (check_thread_local): Use K::another_thread_local.
2275 * gdb.threads/tls.c (class K): New.
2276 (another_thread_local): Now a member of K.
2277 (spin): Update. No longer K&R C.
2278
450ca57c
SW
22792010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2280
2281 * gdb.cp/koenig.cc: created class for testing member lookup.
2282 * gdb.cp/koenig.exp: Added test for member lookup.
2283
dbd492a3
JK
22842010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 Fix false FAILs on sourcetree topdir directory containing "kill".
2287 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2288 source line matching regexp.
2289
8d4d924b
JK
22902010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2291
2292 * gdb.python/python.exp (set height 0, collect help from uiout)
2293 (verify help to uiout): New tests.
2294
8e64f2a0
JK
22952010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2296
2297 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2298 is_lp64_target to check 64bit target.
2299
4569eed2
JK
23002010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2301
2302 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2303 (test_ld) <powerpc64-*>: New.
2304
5e1617b1
DJ
23052010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2306
2307 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2308
c767944b
DJ
23092010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2310
2311 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2312 (FunctionArg::method): New function.
2313 (empty, arg): New variables.
2314 (main): Call arg.method.
2315 * gdb.cp/templates.exp (test_template_args): New function.
2316 (do_tests): Call it.
2317
27d3a3fc
UW
23182010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2319
2320 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2321 of "next" to proceed over pthread_exit call.
2322
55b7ce7f
UW
23232010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2324
2325 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2326 "maint print statistics" output to prevent expect timeouts.
2327
809df446
JK
23282010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2331 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2332 (test_float_rejected): ... here.
2333 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2334 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2335 (test_float_rejected): ... here.
2336 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2337 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2338 (test_float_rejected): ... here.
2339 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2340 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2341 (test_float_rejected): ... here.
2342
8464be76
DJ
23432010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2344
2345 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2346 before disabling hardware watchpoints.
2347 (test_inaccessible_watchpoint): Check that hardware watchpoints
2348 are used. Test for watchpoints on a constant address.
2349
14dba4b4
JK
23502010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2351
2352 * gdb.base/ui-redirect.exp: New file.
2353
3f3540e1 23542010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2355 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2356
2357 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2358
0f254bb7
DE
23592010-08-31 Doug Evans <dje@google.com>
2360
2361 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2362
03f17ccf
TT
23632010-08-30 Tom Tromey <tromey@redhat.com>
2364
2365 PR python/11792:
2366 * gdb.python/py-value.exp (test_subscript_regression): Add
2367 dynamic_type test.
2368
640617ad
DJ
23692010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2370
2371 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2372 instead of running to main. Do not test the main function.
2373 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2374 Add new main.
2375
2ed91d1b
PA
23762010-08-26 Pedro Alves <pedro@codesourcery.com>
2377
2378 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2379 one test.
2380
673bfd45
DE
23812010-08-24 Doug Evans <dje@google.com>
2382
2383 PR symtab/11942
2384 * gdb.dwarf2/dw4-sig-types.cc: New file.
2385 * gdb.dwarf2/dw4-sig-types.h: New file.
2386 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2387 * gdb.dwarf2/dw4-sig-types.exp: New file.
2388
f9ffd4bb
TT
23892010-08-23 Tom Tromey <tromey@redhat.com>
2390
2391 PR python/11145:
2392 * gdb.python/py-value.c (Base, Derived): New types.
2393 (base): New global.
2394 * gdb.python/py-value.exp (test_subscript_regression): Add
2395 dynamic_cast test.
2396
d839c8a4
TT
23972010-08-23 Tom Tromey <tromey@redhat.com>
2398
2399 PR python/10676:
2400 * gdb.python/py-type.exp (test_fields): Add tests for type
2401 equality.
2402
702c2711
TT
24032010-08-23 Tom Tromey <tromey@redhat.com>
2404
2405 PR python/11915:
2406 * gdb.python/py-type.exp (test_fields): Add tests for array.
2407
832bafd3
KS
24082010-08-23 Keith Seitz <keiths@redhat.com>
2409
2410 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2411 have any children. Create a new abbrev for it.
2412 Add missing terminal sequence to .debug_abbrev.
2413
c37bf528
KS
24142010-08-20 Keith Seitz <keiths@redhat.com>
2415
2416 PR symtab/11465:
2417 * gdb.dwarf2/pr11465.exp: New test.
2418 * gdb.dwarf2/pr11465.S: New file.
2419 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2420 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2421
4572cbac
TJB
24222010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2423
2424 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2425 registers. Update data sets with the new v2_double element in the
2426 VSX register union. Add vector_register3_vr data set for the AltiVec
2427 registers. Use gdb_test_no_output instead of send_gdb.
2428
e7fbb131
PA
24292010-08-19 Pedro Alves <pedro@codesourcery.com>
2430
2431 * gdb.python/py-shared.exp: New file, factored out from
2432 python.exp.
2433 * gdb.python/py-shared.c: New file.
2434 * gdb.python/py-shared-sl.c: New file.
2435 * gdb.python/python-1.c: New file.
2436 * gdb.python/python-sl.c: Delete.
2437 * gdb.python/python.c: Mention python-1.c.
2438 * gdb.python/python.exp: Move shared library tests to
2439 py-shared.exp.
2440 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2441 (MISCELLANEOUS): New.
2442 (clean mostlyclean): Also remove $MISCELLANEOUS.
2443
d30f5e1f
DE
24442010-08-19 Doug Evans <dje@google.com>
2445
2446 PR exp/11926
2447 * gdb.base/printcmds.exp (test_float_accepted): New function.
2448 Move existing float tests there. Add tests for floats with suffixes.
2449 (test_float_rejected): New function.
2450 * gdb.java/jv-print.exp (test_float_accepted): New function.
2451 (test_float_rejected): New function.
2452 * gdb.objc/print.exp: New file.
2453 * gdb.pascal/print.exp: New file.
2454 * lib/objc.exp: New file.
2455
7b3fd859
PM
24562010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2457
2458 * gdb.base/default.exp (info set): Avoid full buffer error and force
2459 reading up to final gdb prompt.
2460 (show): Likewise.
2461
c92817ce
TT
24622010-08-18 Tom Tromey <tromey@redhat.com>
2463
2464 PR symtab/11919:
2465 * gdb.base/completion.exp: Add test.
2466
f1208f9e
DE
24672010-08-18 Doug Evans <dje@google.com>
2468
2469 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2470 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2471 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2472 Simplify, early exit if runto_main fails.
2473 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2474 (set_lang_fortran): Moved to lib/fortran.exp.
2475 * gdb.fortran/types.exp: load_lib fortran.exp.
2476 (set_lang_fortran): Moved to lib/fortran.exp.
2477 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2478 * gdb.java/jprint.exp (set_lang_java): Ditto.
2479 * gdb.java/jv-exp.exp: load_lib java.exp.
2480 If set_lang_java fails, issue a warning instead of failure to be
2481 consistent with other set_lang_foo uses.
2482 (set_lang_java): Moved to lib/java.exp.
2483 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2484 If set_lang_java fails, issue a warning instead of failure to be
2485 consistent with other set_lang_foo uses.
2486 * gdb.pascal/types.exp: load_lib pascal.exp.
2487 (set_lang_pascal): Moved to lib/pascal.exp.
2488 * lib/fortran.exp: New file.
2489 * lib/java.exp (set_lang_java): New function.
2490 * lib/pascal.exp (set_lang_pascal): New function.
2491
2f06b485
YQ
24922010-08-18 Yao Qi <yao@codesourcery.com
2493
2494 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2495 func_nofb_start and func_loopfb_start, so that address of functions
2496 is equal to these labels on Thumb.
2497
96e25403
YQ
24982010-08-18 Yao Qi <yao@codesourcery.com>
2499
2500 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2501 to reflect latest c source file.
2502
36e6adc4
JK
25032010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 * gdb.cp/infcall-dlopen.exp: New file.
2506 * gdb.cp/infcall-dlopen.cc: New file.
2507 * gdb.cp/infcall-dlopen-lib.cc: New file.
2508
f431efe5
PA
25092010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2510 Pedro Alves <pedro@codesourcery.com>
2511
2512 PR breakpoints/11371
2513
2514 * gdb.base/watch-cond-infcall.exp: New file.
2515 * gdb.base/watch-cond-infcall.c: New file.
2516
06a64a0b
TT
25172010-08-16 Tom Tromey <tromey@redhat.com>
2518
2519 * gdb.base/help.exp: Update.
2520 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2521 watchpoint.
2522 (test_watch_location): New proc.
2523 (test_watchpoint_in_big_blob): Delete watchpoint.
2524 * gdb.base/watchpoint.c (func5): New function.
2525 (main): Call it.
2526
70ebf4ed
DE
25272010-08-16 Doug Evans <dje@google.com>
2528
2529 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2530
ca5c20b6
PM
25312010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2532
2533 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2534 tests.
2535
7346b668
KW
25362010-08-11 Ken Werner <ken.werner@de.ibm.com>
2537
2538 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2539 * gdb.base/gnu_vector.c: New File.
2540 * gdb.base/gnu_vector.exp: Likewise.
2541
cb2e07a6
PM
25422010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2543
2544 * gdb.python/python.c: New File.
2545 * gdb.python/python-sl.c: New File.
2546 * gdb.python/python.exp: Test solib_address and decode_line
2547 * functions.
2548
5da1313b
JK
25492010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * gdb.python/python.exp (show height, set height 10)
2552 (verify pagination beforehand, verify pagination beforehand: q)
2553 (gdb.execute does not page, verify pagination afterwards)
2554 (verify pagination afterwards: q): New.
2555
49c3ccf7
DE
25562010-08-02 Doug Evans <dje@google.com>
2557
2558 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2559 because of an older gcc, change test2
2560 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2561 to unsupported.
2562
42c0c4f1
KH
25632010-07-30 Kazu Hirata <kazu@codesourcery.com>
2564
2565 * gdb.base/break-always.exp: Do not expect full paths to file
2566 names.
2567 * gdb.base/commands.exp: Likewise.
2568
d3765805
DE
25692010-07-30 Doug Evans <dje@google.com>
2570
c98ee71b
DE
2571 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2572 xfail them when run with older gccs.
2573
fd961404
DE
2574 * lib/gdb.exp (build_executable): Forward "c++" option to
2575 get_compiler_info.
2576
999adef4
DE
2577 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2578 "python print ttype.template_argument(1)" and
2579 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2580 if using gcc 4.4 or earlier.
2581
d3765805
DE
2582 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2583 attach-to-debugger handling.
2584
1276c759
JK
25852010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2588 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2589 (main): Use copyreloc.
2590 * gdb.base/prelink.exp (split debug of executable)
2591 (.dynbss vs. .bss address shift): New tests.
2592
88caa9b9
PA
25932010-07-29 Pedro Alves <pedro@codesourcery.com>
2594
2595 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2596 in gdb_test_multiple.
2597
c6f2ac43
PA
25982010-07-29 Pedro Alves <pedro@codesourcery.com>
2599
2600 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2601 environment.
2602
326fd672
TT
26032010-07-28 Tom Tromey <tromey@redhat.com>
2604
2605 PR python/11060:
2606 * gdb.python/py-type.c (Temargs): New template.
2607 (temvar): New variable.
2608 * gdb.python/py-type.exp (test_template): New proc.
2609
3ce3b1ba
PA
26102010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2611
2612 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2613 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2614
34eaf542
TT
26152010-07-28 Tom Tromey <tromey@redhat.com>
2616
2617 PR c++/9946:
2618 * gdb.cp/temargs.exp: New file.
2619 * gdb.cp/temargs.cc: New file.
2620
d41b819e
JK
26212010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.base/help.exp (help disassemble): Update the content.
2624
26ab7092
JK
26252010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 * gdb.threads/ia64-sigill.exp: New file.
2628 * gdb.threads/ia64-sigill.c: New file.
2629
5283e9e1
TT
26302010-07-27 Tom Tromey <tromey@redhat.com>
2631
2632 * gdb.opt/inline-cmds.c (ATTR): New define.
2633 (func1): Use it.
2634 (func2): Likewise.
2635 (func3): Likewise.
2636 (outer_inline1): Likewise.
2637 (outer_inline2): Likewise.
2638 * gdb.opt/inline-bt.c (ATTR): New define.
2639 (func1): Use it.
2640 (func2): Likewise.
2641 * gdb.opt/inline-locals.c (ATTR): New define.
2642 (func1): Use it.
2643 (func2): Likewise.
2644
e992ef73
TT
26452010-07-27 Tom Tromey <tromey@redhat.com>
2646
2647 * gdb.stabs/gdb11479.c (hack): New function.
2648 (test): Use it.
2649 (test2): Use it.
2650 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2651 (int32_search_buf, int64_search_buf): No longer static.
2652 (x): Remove.
2653 * gdb.base/relocate.c (hack): New function.
2654
5374244e
PM
26552010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2656
2657 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2658 * gdb.python/py-value.c (func1): New function.
2659 (func2): Likewise.
2660
a99aee83
CV
26612010-07-26 Corinna Vinschen <vinschen@redhat.com>
2662
2663 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2664 as not to clash with .data section.
2665
a04ba985
JG
26662010-07-26 Jerome Guitton <guitton@adacore.com>
2667
2668 * gdb.base/code_elim.exp: New file.
2669 * gdb.base/code_elim1.c: New file.
2670 * gdb.base/code_elim2.c: New file.
2671
23bd0f7c
PA
26722010-07-21 Pedro Alves <pedro@codesourcery.com>
2673
2674 PR symtab/11827
2675
2676 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2677 (some_volatile_enum): New variable.
2678 * gdb.base/printcmds.exp (test_print_enums): New.
2679 <top level>: Call it.
2680
883df6dd
SW
26812010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2682
2683 * gdb.cp/fpointer.cc: New test.
2684 * gdb.cp/fpointer.exp: New test.
2685
569b05a5
JK
26862010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2687
2688 * gdb.base/solib-nodir.exp: New file.
2689 * lib/gdb.exp (runto): New case for a GDB internal error.
2690
51d7d803
JK
26912010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2692 Ulrich Weigand <uweigand@de.ibm.com>
2693 Tom Tromey <tromey@redhat.com>
2694
2695 * gdb.base/charset-malloc.c: New file.
2696 * gdb.base/charset.c (malloc_stub): New prototype.
2697 (main): Call it instead of malloc itself.
2698 * gdb.base/charset.exp: Use only prepare_for_testing.
2699 (binfile): Remove the variable.
2700
c0edd9ed
JK
27012010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 Make core files the process_stratum.
2704 * gdb.base/corefile.exp (run: load core again)
2705 (run: sanity check we see the core file, run: with core)
2706 (run: core file is cleared, attach: load core again)
2707 (attach: sanity check we see the core file, attach: with core)
2708 (attach: core file is cleared): New tests.
2709 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2710
3cbaedff
KW
27112010-07-14 Ken Werner <ken.werner@de.ibm.com>
2712
2713 * gdb.arch/altivec-abi.exp: New tests.
2714
91158a56
TT
27152010-07-13 Tom Tromey <tromey@redhat.com>
2716
2717 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2718 (main): Use it.
2719 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2720
0f5238ed
TT
27212010-07-13 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.base/label.exp: New file.
2724 * gdb.base/label.c: New file.
2725
add265ae
L
27262010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2727 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * lib/gdb.exp (is_ilp32_target): New.
2730 (is_lp64_target): Likewise.
2731
2732 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2733 target.
2734 * gdb.arch/amd64-disp-step.exp: Likewise.
2735 * gdb.arch/amd64-dword.exp: Likewise.
2736 * gdb.arch/amd64-i386-address.exp: Likewise.
2737 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2738
add265ae
L
2739 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2740 target.
2741 * gdb.arch/i386-bp_permanent.exp: Likewise.
2742 * gdb.arch/i386-byte.exp: Likewise.
2743 * gdb.arch/i386-disp-step.exp: Likewise.
2744 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2745 * gdb.arch/i386-prologue.exp: Likewise.
2746 * gdb.arch/i386-size-overlap.exp: Likewise.
2747 * gdb.arch/i386-size.exp: Likewise.
2748 * gdb.arch/i386-sse.exp: Likewise.
2749 * gdb.arch/i386-unwind.exp: Likewise.
2750 * gdb.arch/i386-word.exp: Likewise.
2751
2752 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2753 test only when building 64-bit executables. Do not hard-code
2754 -m64 option.
2755
2dfb8c17
DE
27562010-07-07 Doug Evans <dje@google.com>
2757
2758 * lib/gdb.exp (gdb_test_list_exact): New function.
2759 * gdb.base/default.exp (show convenience): Call it, add tests for
2760 $_sdata = void, $_thread = 0.
2761
4e5799b6
JK
27622010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2763 Joel Brobecker <brobecker@adacore.com>
2764
2765 Fix re-run of PIE executable, PR shlibs/11776.
2766 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2767 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2768 and re-"run" of the inferior.
2769
1a219cc7
JK
27702010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2771 Joel Brobecker <brobecker@adacore.com>
2772
2773 Cope with missing /usr/sbin/prelink.
2774 * lib/prelink-support.exp (prelink_no):
2775 <result == 1 && $output is "no such file or directory">: New.
2776 (prelink_yes): Likewise. Return on failed prelink_no.
2777
5e3b36f8
JK
27782010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2779 Joel Brobecker <brobecker@adacore.com>
2780
2781 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2782 build_executable by build_executable_own_libs. Replace "prelink -R"
2783 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2784 change.
2785 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2786 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2787 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2788 Replace build_executable by build_executable_own_libs's function
2789 build_executable_own_libs.
2790 (prelinkNO): Create new stub to call prelink_no.
2791 (prelinkYES): Create new stub to call prelink_yes.
2792 (test_attach): Rename calls of copy to file_copy.
2793 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2794 (copy): Move to ...
2795 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2796 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2797 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2798 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2799 special flags by gdb_compile_shlib. Replace second gdb_compile by
2800 build_executable_own_libs. Replace "prelink -R" execution by a call of
2801 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2802 a second call of prelink_yes. Replace restart commands by
2803 clean_restart.
2804 (prelink): Rename to ...
2805 (seen displacement message): ... this test. Extend its expectation
2806 strictness.
2807
86e4bafc
JK
28082010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2811 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2812 displacement message exactly once.
2813
3cd07d20
JK
28142010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2815 Joel Brobecker <brobecker@adacore.com>
2816
2817 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2818 its restore after the <$relink_args != ""> loop. new comment.
2819
0a1e94c7
JK
28202010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2821 Joel Brobecker <brobecker@adacore.com>
2822
2823 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2824 code for it. New variable relink_args.
2825 (prelinkYES): Call prelinkNO.
2826 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2827 in such case. Move the core code to ...
2828 (test_attach_gdb): ... a new function. Send GDB command "file".
2829 Extend expected "Attaching to " string.
2830
2f70bcfb
TT
28312010-07-02 Tom Tromey <tromey@redhat.com>
2832
2833 * gdb.base/bitops.exp: Remove extraneous "pass".
2834
a17ac5b0
TT
28352010-07-02 Ken Werner <ken.werner@de.ibm.com>
2836
2837 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2838
dc10affe
PA
28392010-07-01 Pedro Alves <pedro@codesourcery.com>
2840
d41c0fc8
PA
2841 * gdb.base/help.exp: Adjust expected output.
2842
28432010-07-01 Pedro Alves <pedro@codesourcery.com>
2844
2845 * gdb.base/help.exp: Adjust expected output.
dc10affe 2846
0a600c36
JK
28472010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2848
2849 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2850 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2851 c++/11702.
2852
37cc8bfe
JK
28532010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2854 Doug Evans <dje@google.com>
2855
2856 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2857 add .dynamic entry'.
2858
254e6b9e
DE
28592010-06-29 Doug Evans <dje@google.com>
2860
2861 Test PR c++/11702.
2862 * gdb.cp/m-static.exp: Add testcase.
2863 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2864
595939de 28652010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2866 Tom Tromey <tromey@redhat.com>
2867 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2868
2869 * gdb.python/py-inferior.c: New File.
2870 * gdb.python/py-infthread.c: New File.
2871 * gdb.python/py-inferior.exp: New File.
2872 * gdb.python/py-infthread.exp: New File.
2873
98751a41
JK
28742010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2875
2876 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2877 (ptype ::C::OtherFileClass typedefs): New.
2878 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2879 (C::OtherFileClass::cOtherFileClassVar2): New.
2880 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2881 cOtherFileClassVar2.
2882 (C::cOtherFileType2, C::cOtherFileVar2): New.
2883 (C::cOtherFileVar_use): use also cOtherFileVar2.
2884 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2885
41f62f39
JK
28862010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2887
2888 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2889 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2890 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2891 (print ::C::cOtherFileVar)
2892 (whatis C::OtherFileClass::cOtherFileClassType)
2893 (whatis ::C::OtherFileClass::cOtherFileClassType)
2894 (print C::OtherFileClass::cOtherFileClassVar)
2895 (print ::cOtherFileClassVar)
2896 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2897 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2898 trailing content.
2899 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2900 (C::OtherFileClass::cOtherFileClassVar)
2901 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2902 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2903
af53d231
JK
29042010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 Test PR c++/11703 and PR gdb/1448.
2907 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2908 gdb/1448.
2909
9655fd1a
JK
29102010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2913 (main) <rtti_data>: New.
2914 * gdb.cp/virtbase.exp (print rtti_data): New.
2915
824cc8dd
JK
29162010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2917 Joel Brobecker <brobecker@adacore.com>
2918
2919 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2920
6036c742
JK
29212010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2924
de6a0421
DE
29252010-06-28 Doug Evans <dje@google.com>
2926
2927 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2928
b2dae948
DE
29292010-06-27 Doug Evans <dje@google.com>
2930
2931 * gdb.cp/m-static.exp: Update expected test output.
2932
0f3bb72e
PH
29332010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2934
889bf7c5
PA
2935 * gdb.gdb/selftest.exp: Adjust expected message for
2936 capturing start-up runtime.
0f3bb72e 2937
bc9f0842
TT
29382010-06-25 Tom Tromey <tromey@redhat.com>
2939
2940 PR python/10808:
2941 * gdb.python/python.exp: Add new tests.
2942
099ef718
SW
29432010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2944
2945 * gdb.cp/operator.cc: Created an import loop.
2946 * gdb.cp/operator.exp: Added testcase for import loop.
2947
5868a632
JK
29482010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2949
2950 Test PR python/11407.
2951 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2952 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2953 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2954 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2955 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2956 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2957 binfile. Call gdb_compile with clean_restart twice.
2958 (func_nofb print, func_nofb backtrace, func_loopfb print)
2959 (func_loopfb backtrace): New.
2960
af76db58
JK
29612010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2962
2963 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2964 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2965 by a hand made one.
2966 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2967 i?86 requirement. Remove variables srcfile and binfile. New variable
2968 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2969
f2c7657e
UW
29702010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2971
2972 * gdb.cell/dwarfaddr.exp: New file.
2973 * gdb.cell/dwarfaddr.S: New file.
2974
628fe4e4
JK
29752010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2976
2977 Test PR 9436.
2978 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2979
f1421989
HZ
29802010-06-24 Hui Zhu <teawater@gmail.com>
2981
2982 * gdb.base/eval.exp: New file.
2983
d03285ec
UW
29842010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2985
2986 * gdb.cell/fork.exp: New file.
2987 * gdb.cell/fork.c: Likewise.
2988 * gdb.cell/fork-spu.c: Likewise.
2989
41b2c92d
PM
29902010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2991
2992 * lib/gdb.exp (banned_variables_traced): New global variable.
2993 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2994 (gdb_init): Use `trace add variable' instead of obsolete
2995 `trace variable'.
2996
d5bc977f
DE
29972010-06-21 Doug Evans <dje@google.com>
2998
2999 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3000
d2ed6730
UW
30012010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3002
3003 * gdb.arch/spu-ls.exp: New file.
3004 * gdb.arch/spu-ls.c: Likewise.
3005
6aed2dbc
SS
30062010-06-18 Stan Shebs <stan@codesourcery.com>
3007
3008 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3009
e0756905
UW
30102010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3011
3012 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3013 * gdb.base/watch-cond.exp: Likewise.
3014 * gdb.python/py-breakpoint.exp: Likewise.
3015
d8053d4d
PA
30162010-06-18 Pedro Alves <pedro@codesourcery.com>
3017
3018 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3019 clean_restart, make sure every test has a distinct message, and
3020 that messages don't include the executable' full path.
3021
81ce510c
DE
30222010-06-17 Doug Evans <dje@google.com>
3023
3024 * gdb.arch/i386-size.exp: Updated expected output for
3025 DISASSEMBLY_OMIT_FNAME.
3026
65d79d4b
SDJ
30272010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3028 Sergio Durigan Junior <sergiodj@redhat.com>
3029
3030 * gdb.base/watch-notconst.c: New file.
3031 * gdb.base/watch-notconst.S: New file.
3032 * gdb.base/watch-notconst2.c: New file.
3033 * gdb.base/watch-notconst2.S: New file.
3034 * gdb.base/watch-notconst.exp: New file.
3035 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3036 (func4): Add operations on `global_ptr_ptr'.
3037 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3038 routine to test watchpoints created with a constant expression.
3039 (test_inaccessible_watchpoint): Include tests for watchpoints
3040 created with a constant expression.
3041
df0f4836
KB
30422010-06-14 Kevin Buettner <kevinb@redhat.com>
3043
3044 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3045 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3046 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3047 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3048 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3049 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3050 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3051 of `_start'.
3052
b769def5
UW
30532010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3054
3055 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3056 not supported on the target.
3057 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3058 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3059 * gdb.mi/mi-nsintrall.exp: Likewise.
3060 * gdb.mi/mi-nsmoribund.exp: Likewise.
3061 * gdb.mi/mi-nsthrexec.exp: Likewise.
3062
d914c394
SS
30632010-06-11 Stan Shebs <stan@codesourcery.com>
3064
3065 * gdb.base/permissions.exp: New file.
3066
30672010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3068
3069 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3070 does not support ELF executable class.
3071
f3ce5b9c
UW
30722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3073
3074 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3075
8e46892c
JK
30762010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3077
3078 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3079 (runto): Catch "The target does not support running in non-stop mode.".
3080
6cc55c64
MS
30812010-06-11 Michael Snyder <msnyder@vmware.com>
3082
3083 * gdb.base/setshow.exp (set language asm): Don't use
3084 gdb_test_no_output, fails on some targets.
3085
caddefa4
UW
30862010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3087
3088 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3089 * gdb.cp/pr9167.exp: Likewise.
3090
468b1aa7
UW
30912010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3092
3093 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3094
5c3552dc
UW
30952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3096
3097 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3098
02e6fe6a
UW
30992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3100
3101 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3102
0e03807e
TT
31032010-06-11 Tom Tromey <tromey@redhat.com>
3104
3105 PR gdb/9977, PR exp/11636::
3106 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3107 (pieces_test_f6): Update expected output.
3108
2bdf28a0
JK
31092010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * gdb.base/moribund-step.exp: New.
3112
f6978de9
MS
31132010-06-08 Michael Snyder <msnyder@vmware.com>
3114
3115 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3116 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3117 * gdb.ada/frame_args.exp: Ditto.
3118 * gdb.ada/lang_switch.exp: Ditto.
3119 * gdb.ada/ptype_arith_binop.exp: Ditto.
3120 * gdb.ada/ref_param.exp: Ditto.
3121 * gdb.ada/type_coercion.exp:Ditto.
3122
3123 * gdb.asm/asm-source.exp: Ditto.
3124
3125 * gdb.base/attach.exp: Ditto.
3126 * gdb.base/bitfields2.exp: Ditto.
3127 * gdb.base/call-signal-resume.exp: Ditto.
3128 * gdb.base/callfuncs.exp: Ditto.
3129 * gdb.base/commands.exp: Ditto.
3130 * gdb.base/dbx.exp: Ditto.
3131 * gdb.base/default.exp: Ditto.
3132 * gdb.base/dump.exp: Ditto.
3133 * gdb.base/exprs.exp: Ditto.
3134 * gdb.base/freebpcmd.exp: Ditto.
3135 * gdb.base/interrupt.exp: Ditto.
3136 * gdb.base/list.exp: Ditto.
3137 * gdb.base/long_long.exp: Ditto.
3138 * gdb.base/maint.exp: Ditto.
3139 * gdb.base/ptype.exp: Ditto.
3140 * gdb.base/return.exp: Ditto.
3141 * gdb.base/setshow.exp: Ditto.
3142 * gdb.base/sigbpt.exp: Ditto.
3143 * gdb.base/sigrepeat.exp: Ditto.
3144
3145 * gdb.cp/classes.exp: Ditto.
3146
3147 * gdb.dwarf2/dw2-restore.exp: Ditto.
3148
3149 * gdb.gdb/selftest.exp: Ditto.
3150
3151 * gdb.multi/base.exp: Ditto.
3152 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3153
3154 * gdb.python/py-block.exp: Ditto.
3155 * gdb.python/py-prettyprint.exp: Ditto.
3156 * gdb.python/py-template.exp: Ditto.
3157
3158 * gdb.server/ext-attach.exp: Ditto.
3159 * gdb.server/ext-run.exp: Ditto.
3160 * gdb.server/server-mon.exp: Ditto.
3161
3162 * gdb.threads/fork-thread-pending.exp: Ditto.
3163 * gdb.threads/hand-call-in-threads.exp: Ditto.
3164 * gdb.threads/interrupted-hand-call.exp: Ditto.
3165 * gdb.threads/linux-dp.exp: Ditto.
3166 * gdb.threads/manythreads.exp: Ditto.
3167 * gdb.threads/print-threads.exp: Ditto.
3168 * gdb.threads/pthreads.exp: Ditto.
3169 * gdb.threads/schedlock.exp: Ditto.
3170 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3171 * gdb.threads/threadapply.exp: Ditto.
3172
de7ff789
MS
31732010-06-08 Michael Snyder <msnyder@vmware.com>
3174
889bf7c5 3175 * gdb.ada/exec_changed.exp:
de7ff789
MS
3176 Use ".*" instead of "" as wildcard regexp.
3177
3178 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3179 * gdb.base/call-ar-st.exp: Ditto.
3180 * gdb.base/checkpoint.exp: Ditto.
3181 * gdb.base/default.exp: Ditto.
3182 * gdb.base/dump.exp: Ditto.
3183 * gdb.base/ending-run.exp: Ditto.
3184 * gdb.base/fileio.exp: Ditto.
3185 * gdb.base/miscexprs.exp: Ditto.
3186 * gdb.base/pointers.exp: Ditto.
3187 * gdb.base/readline.exp: Ditto.
3188 * gdb.base/reread.exp: Ditto.
3189 * gdb.base/restore.exp: Ditto.
3190 * gdb.base/shlib-call.exp: Ditto.
3191 * gdb.base/valgrind-db-attach.exp: Ditto.
3192 * gdb.base/volatile.exp: Ditto.
3193 * gdb.base/watchpoints.exp: Ditto.
3194
3195 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3196
3197 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3198 * gdb.python/py-value.exp: Ditto.
3199
3200 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3201 * gdb.trace/circ.exp: Ditto.
3202 * gdb.trace/collection.exp: Ditto.
3203 * gdb.trace/packetlen.exp: Ditto.
3204 * gdb.trace/passc-dyn.exp: Ditto.
3205 * gdb.trace/report.exp: Ditto.
3206 * gdb.trace/tfile.exp: Ditto.
3207 * gdb.trace/tfind.exp: Ditto.
3208 * gdb.trace/while-dyn.exp: Ditto.
3209
3bebe2f2
JK
32102010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3211
3212 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3213
5c631832
JK
32142010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3215
3216 Test PR 10640.
3217 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3218
4c3376c8
SW
32192010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3220
3221 * gdb.cp/koenig.exp: Test for ADL operators.
3222 * gdb.cp/koenig.cc: Added ADL operators.
3223 * gdb.cp/operator.exp: New test.
3224 * gdb.cp/operator.cc: New test.
3225
dc226d5a
MS
32262010-06-04 Michael Snyder <msnyder@vmware.com>
3227
dfb88a23
MS
3228 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3229 * gdb.base/pending.exp: Ditto.
f7ae76b3 3230
dc226d5a
MS
3231 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3232
967cf477
DE
32332010-06-04 Doug Evans <dje@google.com>
3234
3235 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3236 disabled printers.
3237 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3238 (enable_lookup_function): New function.
3239
eb801841
TT
32402010-06-04 Tom Tromey <tromey@redhat.com>
3241
3242 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3243 of hash and id.
3244
38979823
JK
32452010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3246
3247 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3248 newline.
3249 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3250 (empty verbose non-noisy clear, empty verbose noisy clear)
3251 (empty non-verbose noisy clear): Likewise.
3252
35ec993f
MS
32532010-06-03 Michael Snyder <msnyder@vmware.com>
3254
3255 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3256 * gdb.base/display.exp: Ditto.
3257 * gdb.base/find.exp: Ditto.
3258 * gdb.base/ifelse.exp: Ditto.
3259 * gdb.base/multi-forks.exp: Ditto.
3260 * gdb.base/recurse.exp: Ditto.
3261 * gdb.base/setshow.exp: Ditto.
3262 * gdb.base/value-double-free.exp: Ditto.
3263 * gdb.base/watch-vfork.exp: Ditto.
3264 * gdb.base/watch_thread_num.exp: Ditto.
3265 * gdb.base/watchpoint-solib.exp: Ditto.
3266 * gdb.base/watchpoint.exp: Ditto.
3267 * gdb.base/watchpoints.exp: Ditto.
3268
3269 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3270 * gdb.cp/overload.exp: Ditto.
3271 * gdb.cp/virtfunc.exp: Ditto.
3272
3273 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3274
889bf7c5 3275 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3276 Replace gdb_test with gdb_test_no_output.
3277
889bf7c5 3278 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3279 Replace gdb_test with gdb_test_no_output.
3280 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3281 * gdb.threads/watchthreads.exp: Ditto.
3282 * gdb.threads/watchthreads2.exp: Ditto.
3283
3284 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3285 * gdb.trace/tfind.exp: Ditto.
3286
c22decce
JB
32872010-06-03 Joel Brobecker <brobecker@adacore.com>
3288
3289 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3290 successful test if message is the empty string.
3291
fd5700c7
JK
32922010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.fortran/module.exp (stopped language detection): New test.
3295
f55ee35c
JK
32962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3297
3298 Support DW_TAG_module as separate namespaces.
3299 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3300 gdb.fortran/library-module-lib.f90: New.
3301 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3302 (print i): Remove.
3303 (continue to breakpoint: i-is-1, print var_i value 1)
3304 (continue to breakpoint: i-is-2, print var_i value 2)
3305 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3306 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3307 (complete `modmany, complete `modmany`, complete `modmany`var)
3308 (show language, setting breakpoint at module): New tests.
3309 * gdb.fortran/module.f90 (module mod): Remove.
3310 (module mod1, module mod2, module modmany, subroutine sub1)
3311 (subroutine sub2, program module): New.
3312
b8e8282f
JK
33132010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3314
3315 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3316 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3317 * gdb.cp/anon-union.exp (pass): Rename to ...
3318 (print z 2): ... here.
b8e8282f 3319
019ebafc
MS
33202010-06-02 Michael Snyder <msnyder@vmware.com>
3321
e68d8fd4
MS
3322 * gdb.trace/actions.exp: Use gdb_test_no_output.
3323 * gdb.trace/circ.exp: Ditto.
3324 * gdb.trace/packetlen.exp: Ditto.
3325 * gdb.trace/save-trace.exp: Ditto.
3326 * gdb.trace/tracecmd.exp: Ditto.
3327 * gdb.trace/tsv.exp: Ditto.
3328
12b5d08a
MS
3329 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3330 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3331 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3332 * gdb.threads/manythreads.exp: Ditto.
3333 * gdb.threads/print-threads.exp: Ditto.
3334 * gdb.threads/pthreads.exp: Ditto.
3335 * gdb.threads/schedlock.exp: Ditto.
3336 * gdb.threads/staticthreads.exp: Ditto.
3337 * gdb.threads/thread-specific.exp: Ditto.
3338 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3339 * gdb.threads/threadapply.exp: Ditto.
3340 * gdb.threads/watchthreads.exp: Ditto.
3341 * gdb.threads/watchthreads2.exp: Ditto.
3342
89493308
MS
3343 * gdb.python/py-block.exp: Use gdb_test_no_output.
3344 * gdb.python/py-prettyprint.exp: Ditto.
3345 * gdb.python/py-template.exp: Ditto.
3346 * gdb.python/py-value.exp: Ditto.
3347
3348 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3349 * gdb.reverse/watch-reverse.exp: Ditto.
3350
3351 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3352 * gdb.server/ext-run.exp: Ditto.
3353
019ebafc
MS
3354 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3355 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3356 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3357 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3358 * gdb.dwarf2/dw2-producer.exp: Ditto.
3359 * gdb.dwarf2/mac-fileno.exp: Ditto.
3360
3361 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3362 * gdb.gdb/selftest.exp: Ditto.
3363
3364 * gdb.multi/base.exp: Use gdb_test_no_output.
3365
3366 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3367
3e0ca3a5
JK
33682010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3369
3370 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3371
9db70545
MS
33722010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3373
a8d52276
MS
3374 * gdb.cp/class2.exp: Use gdb_test_no_output.
3375 * gdb.cp/classes.exp: Ditto.
3376 * gdb.cp/extern-c.exp: Ditto.
3377 * gdb.cp/inherit.exp: Ditto.
3378 * gdb.cp/maint.exp: Ditto.
3379 * gdb.cp/mb-inline.exp: Ditto.
3380 * gdb.cp/mb-templates.exp: Ditto.
3381 * gdb.cp/method2.exp: Ditto.
3382 * gdb.cp/misc.exp: Ditto.
3383 * gdb.cp/ovldbreak.exp: Ditto.
3384 * gdb.cp/punctuator.exp: Ditto.
3385 * gdb.cp/templates.exp: Ditto.
3386 * gdb.cp/virtbase.exp: Ditto.
3387
889bf7c5 3388 * gdb.threads/attach-stopped.exp:
9db70545 3389 Replace uses of send_gdb / gdb_expect.
889bf7c5 3390 * gdb.threads/attachstop-mt.exp:
9db70545 3391 Replace uses of send_gdb / gdb_expect.
889bf7c5 3392 * gdb.threads/gcore-thread.exp:
9db70545 3393 Replace uses of send_gdb / gdb_expect.
889bf7c5 3394 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3395 Replace uses of send_gdb / gdb_expect.
3396 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3397 * gdb.threads/print-threads.exp:
9db70545
MS
3398 Replace uses of send_gdb / gdb_expect.
3399 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3400 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3401 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3402
3403 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3404 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3405 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3406 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3407 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3408 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3409 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3410 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3411 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3412 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3413 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3414
359cc68c
JK
34152010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3418
7d3fe98e
SW
34192010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3420
3421 * gdb.cp/koenig.exp: Added new test case.
3422 * gdb.cp/koenig.cc: Ditto.
3423
27d3a1a2
MS
34242010-06-01 Michael Snyder <msnyder@vmware.com>
3425
3426 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3427 * gdb.base/arrayidx.exp: Ditto.
3428 * gdb.base/attach.exp: Ditto.
3429 * gdb.base/auxv.exp: Ditto.
3430 * gdb.base/bigcre.exp: Ditto.
3431 * gdb.base/break-always.exp: Ditto.
3432 * gdb.base/break-interp.exp: Ditto.
3433 * gdb.base/break.exp: Ditto.
3434 * gdb.base/breakpoint-shadow.exp: Ditto.
3435 * gdb.base/call-ar-st.exp: Ditto.
3436 * gdb.base/call-sc.exp: Ditto.
3437 * gdb.base/call-signal-resume.exp: Ditto.
3438 * gdb.base/callfuncs.exp: Ditto.
3439 * gdb.base/catch-syscall.exp: Ditto.
3440 * gdb.base/charset.exp: Ditto.
3441 * gdb.base/code-expr.exp: Ditto.
3442 * gdb.base/commands.exp: Ditto.
3443 * gdb.base/cond-expr.exp: Ditto.
3444 * gdb.base/condbreak.exp: Ditto.
3445 * gdb.base/cursal.exp: Ditto.
3446 * gdb.base/cvexpr.exp: Ditto.
3447 * gdb.base/default.exp: Ditto.
3448 * gdb.base/del.exp: Ditto.
3449 * gdb.base/detach.exp: Ditto.
3450 * gdb.base/display.exp: Ditto.
3451 * gdb.base/ena-dis-br.exp: Ditto.
3452 * gdb.base/eval-skip.exp: Ditto.
3453 * gdb.base/foll-fork.exp: Ditto.
3454 * gdb.base/foll-vfork.exp: Ditto.
3455 * gdb.base/frame-args.exp: Ditto.
3456 * gdb.base/funcargs.exp: Ditto.
3457 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3458 * gdb.base/gdbvars.exp: Ditto.
3459 * gdb.base/help.exp: Ditto.
3460 * gdb.base/ifelse.exp: Ditto.
3461 * gdb.base/included.exp: Ditto.
3462 * gdb.base/list.exp: Ditto.
3463 * gdb.base/macscp.exp: Ditto.
3464 * gdb.base/maint.exp: Ditto.
3465 * gdb.base/multi-fork.exp: Ditto.
3466 * gdb.base/overlays.exp: Ditto.
3467 * gdb.base/page.exp: Ditto.
3468 * gdb.base/pending.exp: Ditto.
3469 * gdb.base/pointers.exp: Ditto.
3470 * gdb.base/pr11022.exp: Ditto.
3471 * gdb.base/prelink.exp: Ditto.
3472 * gdb.base/printcmds.exp: Ditto.
3473 * gdb.base/psymtab.exp: Ditto.
3474 * gdb.base/randomize.exp: Ditto.
3475 * gdb.base/relational.exp: Ditto.
3476 * gdb.base/relocate.exp: Ditto.
3477 * gdb.base/remote.exp: Ditto.
3478 * gdb.base/sepdebug.exp: Ditto.
3479 * gdb.base/set-lang-auto.exp: Ditto.
3480 * gdb.base/setshow.exp: Ditto.
3481 * gdb.base/setvar.exp: Ditto.
3482 * gdb.base/signals.exp: Ditto.
3483 * gdb.base/signull.exp: Ditto.
3484 * gdb.base/sigstep.exp: Ditto.
3485 * gdb.base/sizeof.exp: Ditto.
3486 * gdb.base/solib-disc.exp: Ditto.
3487 * gdb.base/store.exp: Ditto.
3488 * gdb.base/structs.exp: Ditto.
3489 * gdb.base/structs2.exp: Ditto.
3490 * gdb.base/subst.exp: Ditto.
3491 * gdb.base/term.exp: Ditto.
3492 * gdb.base/trace-commands.exp: Ditto.
3493 * gdb.base/unwindonsignal.exp: Ditto.
3494 * gdb.base/valgrind-db-attach.exp: Ditto.
3495 * gdb.base/varargs.exp: Ditto.
3496 * gdb.base/watch-cond.exp: Ditto.
3497 * gdb.base/watch_thread_num.exp: Ditto.
3498 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3499 * gdb.base/watchpoint.exp: Ditto.
3500 * gdb.base/whatis-exp.exp: Ditto.
3501
f8d3bf8f
MS
35022010-06-01 Michael Snyder <msnyder@vmware.com>
3503
3504 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3505 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3506 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3507 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3508 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3509 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3510 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3511 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3512 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3513 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3514 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3515 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3516 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3517 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3518 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3519
3f9e0d32
JK
35202010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3521
3522 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3523 trailing newline.
3524 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3525 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3526 (p *args): ... here and remove excessive trailing newline.
3527
f629457d
JB
35282010-05-31 Joel Brobecker <brobecker@adacore.com>
3529
3530 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3531
09eef106
JK
35322010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 Accept the new Linux kernel "t (tracing stop)" string.
3535 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3536 Update comment.
3537 (state_wait) <T (tracing stop)>: New.
3538 (main): Update the state_wait expect string.
3539
94f31136
PA
35402010-05-28 Pedro Alves <pedro@codesourcery.com>
3541
3542 * limits.c, limits.exp: Delete files.
3543 * Makefile.in (clean mostlyclean): Adjust.
3544 * tracecmd.exp: Adjust.
3545
096554ab
JK
35462010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3547
3548 * gdb.base/tui-layout.exp: New.
3549
27d3a1a2 35502010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3551
889bf7c5 3552 * gdb.reverse/break-precsave.exp:
bcd2dc50 3553 Replace uses of send_gdb / gdb_expect.
889bf7c5 3554 * gdb.reverse/break-reverse.exp:
bcd2dc50 3555 Replace uses of send_gdb / gdb_expect.
889bf7c5 3556 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3557 Replace uses of send_gdb / gdb_expect.
889bf7c5 3558 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3559 Replace uses of send_gdb / gdb_expect.
889bf7c5 3560 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3561 Replace uses of send_gdb / gdb_expect.
889bf7c5 3562 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3563 Replace uses of send_gdb / gdb_expect.
889bf7c5 3564 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3565 Replace uses of send_gdb / gdb_expect.
889bf7c5 3566 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3567 Replace uses of send_gdb / gdb_expect.
889bf7c5 3568 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3569 Replace uses of send_gdb / gdb_expect.
889bf7c5 3570 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3571 Replace uses of send_gdb / gdb_expect.
889bf7c5 3572 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3573 Replace uses of send_gdb / gdb_expect.
889bf7c5 3574 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3575 Replace uses of send_gdb / gdb_expect.
889bf7c5 3576 * gdb.reverse/machinestate.exp:
bcd2dc50 3577 Replace uses of send_gdb / gdb_expect.
889bf7c5 3578 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3579 Replace uses of send_gdb / gdb_expect.
889bf7c5 3580 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3581 Replace uses of send_gdb / gdb_expect.
889bf7c5 3582 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3583 Replace uses of send_gdb / gdb_expect.
889bf7c5 3584 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3585 Replace uses of send_gdb / gdb_expect.
889bf7c5 3586 * gdb.reverse/step-precsave.exp:
bcd2dc50 3587 Replace uses of send_gdb / gdb_expect.
889bf7c5 3588 * gdb.reverse/step-reverse.exp:
bcd2dc50 3589 Replace uses of send_gdb / gdb_expect.
889bf7c5 3590 * gdb.reverse/until-precsave.exp:
bcd2dc50 3591 Replace uses of send_gdb / gdb_expect.
889bf7c5 3592 * gdb.reverse/until-reverse.exp:
bcd2dc50 3593 Replace uses of send_gdb / gdb_expect.
889bf7c5 3594 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3595 Replace uses of send_gdb / gdb_expect.
889bf7c5 3596 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3597 Replace uses of send_gdb / gdb_expect.
3598
3def43e0
JK
35992010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3600
3601 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3602 excessive newline.
3603
27d3a1a2 36042010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3605
3606 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3607 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3608 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3609 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3610 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3611 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3612 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3613 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3614 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3615 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3616 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3617 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3618 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3619 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3620 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3621 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3622 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3623 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3624 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3625
27d3a1a2 36262010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3627
22454424
MS
3628 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3629 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3630
3631 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3632 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3633 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3634
889bf7c5 3635 * gdb.reverse/consecutive-reverse.exp:
22454424 3636 Replace uses of send_gdb / gdb_expect.
889bf7c5 3637 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3638 Replace uses of send_gdb / gdb_expect.
3639
3640 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3641 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3642 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3643 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3644 Replace uses of send_gdb / gdb_expect.
3645 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3646 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3647 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3648 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3649 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3650 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3651 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3652 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3653 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3654
36552010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3656
22454424 3657 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3658
22454424 3659 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3660
22454424
MS
3661 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3662 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3663 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3664 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3665 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3666 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3667 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3668 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3669 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3670
6e5f2c59
TT
36712010-05-25 Tom Tromey <tromey@redhat.com>
3672
3673 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3674
bbc8b958
TT
36752010-05-25 Tom Tromey <tromey@redhat.com>
3676
3677 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3678 argument order.
3679 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3680 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3681 order.
3682 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3683 order.
3684 * gdb.base/call-sc.exp (setup_kfails): Remove.
3685 (setup_compiler_kfails): Remove.
3686 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3687 argument order.
3688 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3689 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3690 (advancei): Fix setup_kfail argument order.
3691 * gdb.base/radix.exp: Fix setup_kfail argument order.
3692 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3693 order.
3694 * gdb.base/structs.exp (setup_kfails): Remove.
3695 (setup_compiler_kfails): Fix setup_kfail argument order.
3696 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3697 order.
3698 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3699 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3700 setup_kfail argument order.
3701 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3702
83d1babf
TT
37032010-05-25 Tom Tromey <tromey@redhat.com>
3704
3705 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3706
6acb16a2
MS
37072010-05-25 Michael Snyder <msnyder@vmware.com>
3708
3709 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3710 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3711 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3712 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3713 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3714 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3715 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3716 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3717 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3718 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3719 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3720 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3721 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3722 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3723 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3724 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3725 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3726 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3727 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3728 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3729 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3730 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3731 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3732 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3733 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3734 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3735 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3736 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3737 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3738 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3739 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3740 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3741 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3742 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3743 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3744 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3745 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3746 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3747 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3748 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3749 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3750 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3751 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3752 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3753 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3754 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3755 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3756 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3757
37582010-05-25 Doug Evans <dje@google.com>
3759
3760 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3761 gdb.string_to_argv.
ad3986f0 3762
d3b1e874
TT
37632010-05-21 Tom Tromey <tromey@redhat.com>
3764
3765 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3766 Call it.
3767 * gdb.dwarf2/pieces.S: Update.
3768 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3769
cb826367
TT
37702010-05-21 Tom Tromey <tromey@redhat.com>
3771
3772 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3773 Call it.
3774 * gdb.dwarf2/pieces.c (struct C): New.
3775 (f6): New function.
3776 * gdb.dwarf2/pieces.S: Replace.
3777
74de6778
TT
37782010-05-21 Tom Tromey <tromey@redhat.com>
3779
3780 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3781 Call it.
3782
afd74c5f
TT
37832010-05-21 Tom Tromey <tromey@redhat.com>
3784
3785 * gdb.dwarf2.pieces.exp: New file.
3786 * gdb.dwarf2.pieces.S: New file.
3787 * gdb.dwarf2.pieces.c: New file.
3788
a7b75dfd 37892010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3790 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3791
3792 * lib/gdb.exp (gdb_test_no_output): New function.
3793 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3794 when testing commands that should produce no output.
3795
c81c812a
JB
37962010-05-17 Joel Brobecker <brobecker@adacore.com>
3797
3798 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3799 parameter that we want to watch being a constant.
3800
0cce5bd9
JB
38012010-05-17 Joel Brobecker <brobecker@adacore.com>
3802
3803 * gdb.ada/cond_lang: New testcase.
3804
47050449
JB
38052010-05-17 Joel Brobecker <brobecker@adacore.com>
3806
3807 * lib/gdb.exp (banned_variables): New variable/constant.
3808 (gdb_init): Add write trace on variables listed in banned_variables.
3809 (gdb_finish): Remove write traces on variables listed in
3810 banned_variables.
3811
77c01586
JB
38122010-05-17 Joel Brobecker <brobecker@adacore.com>
3813
3814 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3815 * gdb.cp/koenig.exp: Likewise.
3816
88d4aea7
PM
38172010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3818
889bf7c5 3819 PR python/11482
88d4aea7
PM
3820
3821 * gdb.python/py-value.exp (test_value_hash): New function.
3822
f5a010c0
PM
38232010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3824
3825 PR exp/11530.
3826 * gdb.base/gdb11530.c: New file.
3827 * gdb.base/gdb11530.exp: New file.
3828
8ef4892f
JK
38292010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3830
3831 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3832 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3833
7322dca9
SW
38342010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3835
3836 * gdb.cp/koenig.exp: New test.
3837 * gdb.cp/koenig.cc: New test program.
3838
02e7ea18
JB
38392010-05-05 Joel Brobecker <brobecker@adacore.com>
3840
3841 Remove the use of prms_id and bug_id throughout the testsuite.
3842
e1c34c5d
PM
38432010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3844
3845 PR exp/11349.
3846 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3847 use a reference local variable.
3848
8e1d0c49
JK
38492010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3850
3851 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3852 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3853 variable different_dir. Move debugfile into a full directory pathname
3854 under DIFFERENT_DIR.
3855 * lib/gdb.exp (separate_debug_filename): Remove.
3856 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3857 variable debug_dir and mkdir of it. Update function comments.
3858
e66408ed
PA
38592010-04-29 Pedro Alves <pedro@codesourcery.com>
3860
3861 PR gdb/11557
3862
3863 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3864 files.
3865
d7b32ed3
PM
38662010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3867
889bf7c5 3868 * gdb.python/py-param.exp: New File.
d7b32ed3 3869
6aecb9c2
JB
38702010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3871
3872 * gdb.base/default.exp: Fix "set language" test.
3873
bdf92a1c
PM
38742010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3875
3876 PR breakpoints/11531.
3877 * gdb.base/gdb11531.c: New file.
3878 * gdb.base/gdb11531.exp: New file.
3879
3f172e24
TT
38802010-04-26 Tom Tromey <tromey@redhat.com>
3881
3882 * gdb.base/completion.exp: Add tests for completion and deprecated
3883 commands.
3884
64af4c92
JK
38852010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3888 (print /x char_array): Escape curly brackets.
3889
492928e4
JK
38902010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 Fix deadlock on looped list of loaded shared objects.
3893 * gdb.base/solib-corrupted.exp: New.
3894
66d09542
DE
38952010-04-23 Doug Evans <dje@google.com>
3896
3897 * gdb.python/py-section-script.c: New file.
3898 * gdb.python/py-section-script.exp: New file.
3899 * gdb.python/py-section-script.py: New file.
3900
8bd10a10
CM
39012010-04-20 Chris Moller <cmoller@redhat.com>
3902
3903 PR 10179
3904
3905 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3906 * gdb.base/pr10179-a.c:
3907 * gdb.base/pr10179-b.c:
3908 * gdb.base/pr10179.exp: New files.
3909
c0201579
JK
39102010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3911
3912 Fix crashes on dangling display expressions.
3913 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3914 is SEP.
3915 (lib_flags): Remove the "debug" keyword.
3916 (libsepdebug): New variable for iterating new loop.
3917 (save_pf_prefix): New variable wrapping the loop.
3918 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3919 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3920
793b0ff8
PM
39212010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3922
3923 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3924
097f51f7
PM
39252010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3926
3927 PR stabs/11479.
3928 * gdb.stabs/gdb11479.exp: New file.
3929 * gdb.stabs/gdb11479.c: New file.
3930
9a22f0d0
PM
39312010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3932
3933 * gdb.base/charset.c (Strin16, String32): New variables.
3934 * gdb.base/charset.exp (gdb_test): Test correct display
3935 of 16 or 32 bit strings.
3936
39372010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3938
3939 PR 9167
3940 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3941 * gdb.cp/pr9167.cc: New file.
3942 * gdb.cp/pr9167.exp: New file.
3943
3944
6e354e5e
PM
39452010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3946
3947 PR pascal/11492.
3948 * gdb.pascal/gdb11492.pas: New file.
3949 * gdb.pascal/gdb11492.exp: New file.
3950
be942545
JB
39512010-04-20 Joel Brobecker <brobecker@adacore.com>
3952
1667e6e3 3953 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3954
0c3acc09
JB
39552010-04-20 Joel Brobecker <brobecker@adacore.com>
3956
3957 * gdb.ada/dyn_loc: New testcase.
3958
ec31cde5
CM
39592010-04-20 Chris Moller <cmoller@redhat.com>
3960
3961 PR 10867
889bf7c5 3962
ec31cde5
CM
3963 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3964 * gdb.cp/pr10687.cc: New file.
3965 * gdb.cp/pr10687.exp: New file.
3966
3967
ce4b0682
SDJ
39682010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3969 Sergio Durigan Junior <sergiodj@redhat.com>
3970
3971 * gdb.fortran/logical.exp: New testcase.
3972 * gdb.fortran/logical.f90: New file.
3973
3436961f
DE
39742010-04-19 Doug Evans <dje@google.com>
3975
3976 * gdb.base/help.exp (help source): Update expected output.
3977
4d836c09
JK
39782010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3979
3980 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3981 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3982 gdb_exit and return.
3983 (executable): New variable.
3984 (binfile): Use it.
3985
6149aea9
PA
39862010-04-19 Pedro Alves <pedro@codesourcery.com>
3987
3988 PR breakpoints/8554.
3989
3990 * gdb.trace/save-trace.exp: Adjust.
3991
ed41462c
L
39922010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 PR corefiles/11511
3995 * gdb.arch/system-gcore.exp: New.
3996 * gdb.arch/gcore.c: Likewise.
3997
3f7b2faa
DE
39982010-04-15 Doug Evans <dje@google.com>
3999
fa33c3cd
DE
4000 * gdb.python/py-progspace.c: New file.
4001 * gdb.python/py-progspace.exp: New file.
4002
3f7b2faa
DE
4003 * gdb.base/source.exp: Add tests for "source -s".
4004
79f283fe
PM
40052010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4006
4007 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4008 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4009 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4010 * gdb.python/py-mi.exp: New test for to_string returning None.
4011
fc8eb08a
PM
40122010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4013
4014 * gdb.python/py-breakpoint.c: Make result global.
4015
26e197f6
JK
40162010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 Fix non-GNU make compatibility.
4019 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4020
adc36818
PM
40212010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4022
4023 * gdb.python/py-breakpoint.exp: New File.
4024 * gdb.python/py-breakpoint.C: Ditto.
4025
64e17368
SS
40262010-04-08 Stan Shebs <stan@codesourcery.com>
4027
4028 * gdb.trace/actions.exp: Clear default-collect.
4029 * gdb.trace/save-trace.exp: Clear default-collect.
4030
fff5cc64
PM
40312010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4032
4033 * gdb.python/py-value: Add null string variable.
4034 (test_lazy_string): Test zero length, NULL address lazy
4035 strings.
4036
a055a187
L
40372010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * gdb.arch/i386-avx.c: New.
4040 * gdb.arch/i386-avx.exp: Likewise.
4041
4042 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4043
96e39866
DE
40442010-04-06 Doug Evans <dje@google.com>
4045
4046 * gdb.base/source-test.gdb: New file.
4047 * gdb.base/source.exp: Test source -v.
4048
5984a431
UW
40492010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4050
4051 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4052
ec8a089a
PM
40532010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4054
4055 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4056 within one line, unless it is followed by a double quote.
4057 * gdb.stabs/hppa.sed: Idem.
4058 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4059 * gdb.stabs/weird.exp: Check for correct parsing of
4060 char and string constants.
ec8a089a
PM
4061 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4062 in .stabs to .stabx substitution.
4063
fce3c1f0
SS
40642010-04-05 Stan Shebs <stan@codesourcery.com>
4065
4066 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4067 constant global.
4068 * gdb.trace/tfile.exp: Try to print them.
4069
d77f58be
SS
40702010-04-04 Stan Shebs <stan@codesourcery.com>
4071
4072 * gdb.base/completion.exp: Update for new "info watchpoints".
4073 * gdb.base/default.exp: Ditto.
4074 * gdb.base/help.exp: Ditto.
4075 * gdb.base/watchpoint.exp: Ditto.
4076 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4077
af54718e
SS
40782010-04-04 Stan Shebs <stan@codesourcery.com>
4079
4080 * gdb.trace/tfile.exp: Sharpen tfind test.
4081
74d1f91e
JK
40822010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4083
4084 * gdb.base/break-entry.exp: New.
4085
eb8e76db 40862010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4087 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4088
4089 * gdb.reverse/i386-sse-reverse.exp: New file.
4090 * gdb.reverse/i386-sse-reverse.c: New file.
4091
bf65cad8
PA
40922010-04-02 Pedro Alves <pedro@codesourcery.com>
4093
4094 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4095
fff87407
SS
40962010-04-01 Stan Shebs <stan@codesourcery.com>
4097
4098 * gdb.trace/actions.exp: Tweak expected output.
4099 * gdb.trace/while-stepping.exp: Tweak expected output.
4100
fe01d668
L
41012010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4102
4103 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4104
86b17b60
PA
41052010-04-01 Pedro Alves <pedro@codesourcery.com>
4106
4107 * gdb.base/commands.exp: Adjust.
4108 * gdb.cp/extern-c.exp: Adjust.
4109
2c58c0a9
PA
41102010-04-01 Pedro Alves <pedro@codesourcery.com>
4111
4112 * gdb.trace/collection.c (local_test_func): Define a local struct,
4113 and instanciate it.
4114
0db9b91c
PA
41152010-04-01 Pedro Alves <pedro@codesourcery.com>
4116
4117 * gdb.trace/collection.exp (gdb_collect_args_test)
4118 (gdb_collect_argarray_test): XFAIL the tests that assume the
4119 argarray argument's elements are collected.
4120
8072405b
JK
41212010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4124 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4125
8bf6485c
SS
41262010-03-31 Stan Shebs <stan@codesourcery.com>
4127
4128 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4129 and tracepoint conditionals.
4130 (gdb_verify_tracepoints): Delete unused return.
4131
fd7f724a
KS
41322010-03-26 Keith Seitz <keiths@redhat.com>
4133
4134 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4135 appear in the output before main.
4136 Remove KFAIL for gdb/2215 aka bz 9320.
4137
8d9e7719
DE
41382010-03-30 Doug Evans <dje@google.com>
4139
0906dd0b
DE
4140 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4141 by dejagnu.
4142 * gdb.arch/amd64-dword.exp: Ditto.
4143
8d9e7719
DE
4144 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4145 match.
4146 (break printf): Ditto.
4147
1da644f0
SW
41482010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4149
4150 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4151 gcc < 4.4.
4152 * gdb.cp/shadow.exp: Ditto.
4153
a8121990
PA
41542010-03-29 Pedro Alves <pedro@codesourcery.com>
4155
4156 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4157 "tstart" is silent.
4158
6e79d367
PA
41592010-03-29 Pedro Alves <pedro@codesourcery.com>
4160
4161 * gdb.trace/collection.exp (executable): New.
4162 (binfile): Use it.
4163 (fpreg, spreg, pcreg): New.
4164 (test_register): Use gdb_test_multiple. Pass /x to print.
4165 (prepare_for_trace_test): New.
4166 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4167 (gdb_collect_args_test, gdb_collect_argstruct_test)
4168 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4169 prepare_for_trace_test.
4170 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4171 fpreg, spreg and pcreg.
4172 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4173 prepare_for_trace_test.
4174 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4175 try to detect tracing support here. Don't set breakpoints at
4176 `begin' or `end' here.
4177 <global scope>: Use clean_restart. Run to main before checking
4178 for tracing support. Check for for tracing support here.
4179
09248348
JK
41802010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4181
4182 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4183 " as $displacement" to "seen displacement message".
4184
d350db38
PA
41852010-03-28 Pedro Alves <pedro@codesourcery.com>
4186
4187 * gdb.trace/while-dyn.exp (executable): New variable.
4188 (binfile): Use it.
4189 (test_while_stepping): New function. Move most tests here. Call
4190 it once for each of the while-stepping, stepping and ws aliases.
4191
907af001
UW
41922010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4193
4194 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4195 that do not provide the tagless_struct type name at all.
4196 (test_print_anon_union): Do not check value of uninitialized
4197 union member. Do not use cp_test_ptype_class, so we can accept
4198 "long" as well as "long int".
4199
610197fd
PA
42002010-03-26 Pedro Alves <pedro@codesourcery.com>
4201
4202 * gdb.trace/tfile.c (tohex, bin2hex): New.
4203 (write_error_trace_file): Hexify error description.
4204
6c28cbf2
SS
42052010-03-25 Stan Shebs <stan@codesourcery.com>
4206
4207 * gdb.trace/tfile.c: Generate an additional trace file, improve
4208 portability.
4209 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4210 files in a better way.
4211
e62b8c7e
KS
42122010-03-25 Keith Seitz <keiths@redhat.com>
4213
4214 * gdb.java/jprint.exp: XFAIL printing of static class members
4215 because of GCC debuginfo problem.
4216
82ccf5a5
JK
42172010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4218
4219 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4220
293e2f9e
DJ
42212010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4222
4223 * gdb.base/completion.exp: Allow long instead of long int.
4224 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4225 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4226 variable p.
4227 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4228 * gdb.base/pointers.exp: Allow long instead of long int.
4229 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4230 * gdb.base/step-line.exp: Allow a directory before the source file name.
4231
95a42b64
TT
42322010-03-24 Tom Tromey <tromey@redhat.com>
4233
4234 PR breakpoints/9352:
4235 * gdb.base/default.exp: Update.
4236 * gdb.base/commands.exp: Update.
4237 * gdb.cp/extern-c.exp: Test setting commands on multiple
4238 breakpoints at once.
4239
2390201f
DJ
42402010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4241
4242 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4243 if gdb,nosignals.
4244 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4245 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4246 exited".
4247
8c9a6790
SS
42482010-03-24 Stan Shebs <stan@codesourcery.com>
4249
4250 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4251
a6c727b2
DJ
42522010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4253
4254 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4255 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4256 argument. Handle "short" and "long".
4257 (Top level): Pass overprototyped output for old_fptr and xptr.
4258
4dfd5423
PA
42592010-03-23 Pedro Alves <pedro@codesourcery.com>
4260
4261 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4262 format strings and add casts to avoid compiler warnings.
4263
42642010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4265
4266 * lib/trace-support.exp (gdb_trace_setactions):
4267 Don't expect whitespace after ">" prompt.
4268 * gdb.trace/actions.exp: Adjust for output changes.
4269 * gdb.trace/while-stepping.exp: Likewise.
4270
c847d045
JK
42712010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4272
4273 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4274 and r157645).
4275
5f717f1d
JK
42762010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4277
4278 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4279 New.
4280
7d6d51d5
DJ
42812010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4282
4283 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4284 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4285
3b11a015
SS
42862010-03-19 Stan Shebs <stan@codesourcery.com>
4287
4288 * gdb.trace/ax.exp: New file.
4289
d7d158ed
DE
42902010-03-19 Doug Evans <dje@google.com>
4291
6bb85cd1
DE
4292 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4293 output from gcc.
4294
d7d158ed
DE
4295 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4296 named /usr/sbin/prelink<foo>.
4297
4daf5ac0
SS
42982010-03-18 Stan Shebs <stan@codesourcery.com>
4299
4300 * gdb.trace/circ.exp: Test circular-trace-buffer.
4301 * gdb.trace/tfile.exp: Update tstatus test.
4302
e8d05480
JB
43032010-03-18 Joel Brobecker <brobecker@adacore.com>
4304
4305 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4306 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4307
441b986a
UW
43082010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4309
4310 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4311
4247603b
PA
43122010-03-18 Pedro Alves <pedro@codesourcery.com>
4313
4314 * gdb.base/default.exp: Adjust the expected output of the finish
4315 and until commands when the inferior is not being run.
4316
13387711
SW
43172010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4318
4319 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4320 * gdb.cp/nsusing.exp: Ditto.
4321
6e31430b
TT
43222010-03-15 Tom Tromey <tromey@redhat.com>
4323
4324 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4325 * gdb.cp/userdef.cc (operator==): New function.
4326 (main): New locals mem1, mem2.
4327
e2d69cb5
JZ
43282010-03-15 Jie Zhang <jie@codesourcery.com>
4329
4330 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4331 Declare and use new loadtimeout variable.
4332
f572f0a9
DJ
43332010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4334
4335 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4336 Use gdb_load later.
4337
51f4c0b0
PA
43382010-03-14 Pedro Alves <pedro@codesourcery.com>
4339
4340 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4341 literal. Add missing endlines to prints to stderr.
4342
1c809c68
TT
43432010-03-12 Tom Tromey <tromey@redhat.com>
4344
4345 PR c++/9708:
4346 * gdb.cp/m-static.exp: Add regression test.
4347 * gdb.cp/m-static.cc (method): New method.
4348 (main): Call it.
4349
00ae8fef
SW
43502010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4351
4352 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4353 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4354
759f0f0b
PA
43552010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4356
21e24d21
PA
4357 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4358
43592010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4360
759f0f0b
PA
4361 * lib/gdb.exp (skip_stl_tests): New.
4362 (gdb_compile): Symbian needs -ldl.
4363 (shlib_target_file): New.
4364 (shlib_symbol_file): New.
4365 (gdb_load_shlibs): Use shlib_target_file.
4366 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4367 * gdb.cp/exception.exp: Use skip_stl_tests.
4368 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4369 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4370 * gdb.cp/mb-templates.exp: Ditto.
4371 * gdb.base/commands.exp: Relax regexes.
4372 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4373 shlib_target_file and shlib_symbol_file.
4374 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4375 sections.
4376 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4377 * gdb.base/solib-disc.exp: Use
4378 shlib_target_file and shlib_symbol_file.
4379 * gdb.base/unload.exp: Don't skip on symbian. Use
4380 shlib_target_file and shlib_symbol_file.
4381 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4382
6a8f2671 43832010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4384
6a8f2671
PA
4385 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4386 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4387 Issue a tfind end before looking for a tracepoint frame.
4388 * gdb.trace/tfind.exp: Adjust tstatus output.
4389 Adjust disassembly output.
4390 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4391
ccf26247
JK
43922010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4393
4394 * gdb.base/break-interp.exp: Create new displacement parameter value
4395 for the test_ld calls.
4396 (reach): New parameter displacement, verify its content. New push of
4397 pf_prefix "reach-$func:". Import global expect_out.
4398 (test_core): New parameter displacement, verify its content. New push
4399 of pf_prefix "core:". New command "set verbose on". Import global
4400 expect_out.
4401 (test_attach): New parameter displacement, verify its content. New
4402 push of pf_prefix "attach:". New command "set verbose on". Import
4403 global expect_out.
4404 (test_ld): New parameter displacement, pass it to the reach, test_core
4405 and test_attach calls and verify its content in the "ld.so exit" test.
4406 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4407 (prelink): Update expected text, use gdb_test.
4408
e469c7fb
DE
44092010-03-10 Doug Evans <dje@google.com>
4410
4411 * gdb.base/checkpoint.exp: Fix comment.
4412 Lengthen timeout while doing >600 checkpoints test.
4413 Rename duplicate "kill all one" test to keep test names unique.
4414
60e1c644
PA
44152010-03-10 Pedro Alves <pedro@codesourcery.com>
4416
4417 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4418
cec808ec
KS
44192010-03-08 Keith Seitz <keiths@redhat.com>
4420
889bf7c5
PA
4421 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4422 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4423 (dm_type_long): New function.
4424 (dm_type_unsigned_short): New function.
4425 (dm_type_unsigned_long): New function.
4426 (myint): New typedef.
4427 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4428 long, unsigned shor and long, operator char*, and typedef.
4429 (test_lookup_operator_functions): Add operator char* test.
4430 (test_paddr_operator_functions): Likewise.
4431 (test_paddr_overloaded_functions): Use probe values for
4432 short, long, and unsigned short and long.
4433 (test_paddr_hairy_functions): If the demangler probe detected
4434 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4435 demangler.
4436 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4437 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4438 and "print null_pmf".
4439 Add test "ptype a.*pmf".
4440 * gdb.cp/overload.exp: Allow optional "int" to appear with
4441 "short" and "long".
4442 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4443 long expect value for men_overload1arg.
4444 Allow "int" to appear with "short" and "long".
4445 When testing "info break", add argument for main (void).
4446 Also allow "int" to appear with "short" and "long".
4447 Ditto with "unsigned" and "long long".
cec808ec
KS
4448 * gdb.java/jmain.exp: Do not enclose methods names in single
4449 quotes.
4450 * gdb.java/jmisc.exp: Likewise.
4451 * gdb.java/jprint.exp: Likewise.
4452 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4453
4454 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4455 * gdb.cp/exception.exp (backtrace after first throw)
4456 (backtrace after second throw): Allow a namespace before __cxa_throw.
4457 (backtrace after first catch, backtrace after second catch): Allow
4458 a namespace before __cxa_begin_catch.
4459
4460 * gdb.cp/cpexprs.exp: New file.
4461 * gdb.cp/cpexprs.cc: New file.
4462
4463 From Daniel Jacobowitz <dan@codesourcery.com>
4464 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4465 to use string_to_regexp.
4466 (ctor, dtor): New functions. Use them to match constructor
4467 and destructor function types.
4468 (Top level): Use runto_main.
4469
f870a310
TT
44702010-03-05 Tom Tromey <tromey@redhat.com>
4471
4472 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4473 gdb.target_charset.
4474 (pp_ns.to_string): Likewise.
4475
0c199f28
KS
44762010-03-04 Keith Seitz <keiths@redhat.com>
4477
4478 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4479 can be quoted. Test that both the filename and function/line
4480 portions can be quoted at the same time.
4481
c7437ca6
PA
44822010-03-04 Pedro Alves <pedro@codesourcery.com>
4483
4484 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4485
b111b805
DE
44862010-03-03 Doug Evans <dje@google.com>
4487
24486cb7
DE
4488 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4489 libc contains libpthread.
4490
b111b805
DE
4491 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4492 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4493 of gdb_compile. Add another pattern to match android backtrace.
4494
a0e0ef55
TT
44952010-03-03 Tom Tromey <tromey@redhat.com>
4496
4497 PR gdb/11345:
4498 * gdb.base/printcmds.exp (test_printf): Add test.
4499
1ba53b71
L
45002010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * gdb.arch/amd64-byte.exp: New.
4503 * gdb.arch/amd64-dword.exp: Likewise.
4504 * gdb.arch/amd64-pseudo.c: Likewise.
4505 * gdb.arch/amd64-word.exp: Likewise.
4506 * gdb.arch/i386-byte.exp: Likewise.
4507 * gdb.arch/i386-pseudo.c: Likewise.
4508 * gdb.arch/i386-word.exp: Likewise.
4509
f5dff777
DJ
45102010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4511
4512 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4513 types. Add structreg, bitfields, and flags registers.
4514 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4515 registers.
4516
90884b2b
L
45172010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4518
4519 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4520 (load_description): Set architecture if defined.
4521
dc00d89f
PM
45222010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4523
4524 * gdb.python/py-frame.exp: Add read_var block tests.
4525 * gdb.python/py-frame.c (block): New function.
4526
0e095b7e
JK
45272010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4528 Daniel Jacobowitz <dan@codesourcery.com>
4529
4530 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4531
624f1a65
DM
45322010-02-25 David S. Miller <davem@davemloft.net>
4533
4534 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4535 fix logic for setting all_syscalls_numbers.
4536
f3e9a817
PM
45372010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4538
4539 * Makefile.in: Add py-block and py-symbol.
4540 * gdb.python/py-symbol.exp: New File.
4541 * gdb.python/py-symtab.exp: New File.
4542 * gdb.python/py-block.exp: New File.
4543 * gdb.python/py-symbol.c: New File.
4544 * gdb.python/py-block.c: New File.
4545
f6bbabf0
PM
45462010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4547
4548 PR python/11314
4549 * lib/gdb.exp (skip_python_tests): New function.
4550 * gdb.python/py-cmd.exp: Use skip_python_tests.
4551 * gdb.python/py-frame.exp: Likewise.
4552 * gdb.python/py-function.exp: Likewise.
4553 * gdb.python/py-prettyprint.exp: Likewise.
4554 * gdb.python/py-template.exp: Likewise.
4555 * gdb.python/py-type.exp: Likewise.
4556 * gdb.python/py-value.exp: Likewise.
4557
85d721b8
PA
45582010-02-22 Pedro Alves <pedro@codesourcery.com>
4559
4560 PR9605
4561
4562 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4563
48e32051
TT
45642010-02-19 Tom Tromey <tromey@redhat.com>
4565
4566 PR c++/8693, PR c++/9496:
4567 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4568 regression tests.
4569
ac9c0048
JK
45702010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4571
4572 Fix compatibility with m68k as.
4573 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4574 Use only /* comments */.
4575
57bb97a4
UW
45762010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4577
4578 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4579 * configure: Regenerate.
4580
7d1bf85c
DJ
45812010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4582
4583 * gdb.python/py-type.exp: Check for Python support.
4584
061b5285
PA
45852010-02-17 Pedro Alves <pedro@codesourcery.com>
4586
4587 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4588 `regsub' syntax available.
4589
f8a8bc2c
PA
45902010-02-17 Pedro Alves <pedro@codesourcery.com>
4591
4592 * gdb.base/shmain.c (main): Remove printf call.
4593 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4594 * gdb.base/unload.c (main): Make format of fprintf a string
4595 literal. Add missing endlines to prints to stderr.
4596 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4597
6f451e5e
TT
45982010-02-17 Tom Tromey <tromey@redhat.com>
4599
4600 * gdb.java/jprint.java (jprint.props): New field.
4601 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4602
12d79008
PA
46032010-02-17 Pedro Alves <pedro@codesourcery.com>
4604
ef801a0e 4605 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4606 available.
4607
d252f7e5
DJ
46082010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4609
4610 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4611 creation to support remote host testing.
4612
67bdab6c
DJ
46132010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4614
4615 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4616 Recognize "command not found".
4617
bb391223
DJ
46182010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4619
4620 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4621 single-stepping.
4622
70362913
DJ
46232010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4624
4625 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4626 if arguments are not supported.
4627
493f3c00
DJ
46282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4629
4630 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4631 be const or non-const.
4632
8034c749
DJ
46332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4634
4635 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4636 mi_send_resuming_command to send -exec-continue.
4637
791dfb64
DJ
46382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4639
4640 * gdb.base/list.exp (test_list_filename_and_function): Add test
4641 with single quotes.
4642 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4643 matching.
4644 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4645 Add KFAIL'd tests for PR gdb/11289.
4646
7c5fe868
DJ
46472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4648
4649 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4650
fdc498b8
DJ
46512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4652
4653 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4654 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4655 a temporary directory.
4656
b519e2a6
DJ
46572010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4658
4659 * gdb.base/charset.exp: Use a single regular expression to match
4660 show host-charset and show target-charset output.
4661
74164c56
JK
46622010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4663
4664 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4665 "Illegal process-id" expect string more exact.
4666 (attach to digits-starting nonsense is prohibited): New.
4667
701ed6dc
JK
46682010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 * gdb.base/prelink.exp (set verbose on): New.
4671
889bf7c5 46722010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4673
4674 * mi-reverse.exp: New file. Test for reverse option to the
4675 following MI commands: exec-continue, exec-finish, exec-next,
4676 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4677
dadf0e9c
JB
46782010-02-09 Joel Brobecker <brobecker@adacore.com>
4679
4680 * gdb.ada/ptype_tagged_param: New testcase.
4681
714f19d5
TT
46822010-02-08 Tom Tromey <tromey@redhat.com>
4683
4684 PR c++/8017:
4685 * gdb.cp/overload.exp: Add tests.
4686 * gdb.cp/overload.cc (struct K): New.
4687 (namespace N): New.
4688 (main): Call new functions.
4689 (K::staticoverload): Define.
4690
889bf7c5 46912010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4692
4693 PR gdb/10728
4694 * gdb.cp/pr10728-x.h: New file.
4695 * gdb.cp/pr10728-x.cc: New file.
4696 * gdb.cp/pr10728-y.cc: New file.
4697 * gdb.cp/pr10728.exp: New file.
4698 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4699
889bf7c5 47002010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4701
4702 PR gdb/9067
4703 * gdb.cp/pr9067.exp: New
4704 * gdb.cp/pr9067.cc: New
4705 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4706
7b356089
JB
47072010-02-08 Joel Brobecker <brobecker@adacore.com>
4708
4709 * lib/gdb.exp (gdb_test_timeout): New global variable.
4710 Set it to timeout if not already set.
4711 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4712
1be00882
DE
47132010-02-05 Doug Evans <dje@google.com>
4714
4715 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4716 user.
4717
82856980
SW
47182010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4719
4720 PR c++/7935:
4721 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4722
1a334831
TT
47232010-02-04 Tom Tromey <tromey@redhat.com>
4724
4725 * gdb.cp/virtbase.exp: Make test case names unique.
4726
9c3c02fd
TT
47272010-02-02 Tom Tromey <tromey@redhat.com>
4728
4729 * gdb.cp/virtbase.exp: Add regression tests.
4730 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4731 (main): Instantiate RHC.
4732
0cc2414c
TT
47332010-02-02 Tom Tromey <tromey@redhat.com>
4734
4735 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4736 type-printing change.
4737
edf3d5f3
TT
47382010-02-02 Tom Tromey <tromey@redhat.com>
4739
4740 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4741 * gdb.cp/virtbase.cc: New file.
4742 * gdb.cp/virtbase.exp: New file.
4743 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4744
e4b7f41c
JK
47452010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 PR libc/11214:
4748 * gdb.threads/current-lwp-dead.c: Include features.h.
4749 (HAS_NOMMU): New.
4750 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4751
b381ea14
JK
47522010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 * gdb.base/symbol-without-target_section.exp,
4755 gdb.base/symbol-without-target_section.c: New.
4756
c593ac0e
DJ
47572010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4758
4759 * gdb.base/bigcore.exp: Reset increased timeout.
4760 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4761
db25f29d
DJ
47622010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4763
4764 * gdb.base/gcore.exp (capture_command_output): Use
4765 gdb_test_multiple.
4766
f9d67f43
DJ
47672010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4768
4769 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4770 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4771 (Top level): Call it.
4772
177321bd
DJ
47732010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4774
4775 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4776
97f2ed50
DJ
47772010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4778
4779 * gdb.base/call-strs.exp, gdb.base/default.exp,
4780 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4781 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4782 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4783 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4784 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4785 * gdb.base/ending-run.exp: Correct restore of timeout.
4786 * gdb.base/page.exp: Remove unnecessary timeout setting.
4787
e4e2711a
JB
47882010-01-29 Joel Brobecker <brobecker@adacore.com>
4789
4790 * gdb.ada/rec_return: New testcase.
4791
ba581dc1
JB
47922010-01-29 Joel Brobecker <brobecker@adacore.com>
4793
4794 * gdb.ada/call_pn: New testcase.
4795
4ea95be9
DJ
47962010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4797
4798 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4799 (Top level): Use it to resume.
4800 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4801 the Thumb mode displaced stepping error as unsupported.
4802
df83a9bf
SW
48032010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4804
889bf7c5
PA
4805 * gdb.cp/nsusing.exp: Added more tests.
4806 * gdb.cp/nsrecurs.exp: Ditto.
4807 * gdb.cp/nsusing.cc: Added test functions.
4808 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4809
40b27cdc
JK
48102010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4811
4812 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4813 absolute directory pathnames in gdb.sum file.
4814
de958931
SW
48152010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4816
4817 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4818 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4819
708ead4e
TT
48202010-01-26 Tom Tromey <tromey@redhat.com>
4821
4822 PR exp/7643:
4823 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4824 setup_kfail.
4825
b14e635e
SW
48262010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4827
4828 * gdb.cp/nsrecurs.exp: New test.
4829 * gdb.cp/nsrecurs.cc: New test program.
4830 * gdb.cp/nsstress.exp: New test.
4831 * gdb.cp/nsstress.cc: New test program.
4832 * gdb.cp/nsdecl.exp: New test.
4833 * gdb.cp/nsdecl.cc: New test program.
4834
8540c487
SW
48352010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4836
4837 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4838 imported into file scope.
4839 Marked test as xfail.
4840 * gdb.cp/namespace-using.cc (marker5): New function.
4841 * gdb.cp/shadow.exp: New test.
4842 * gdb.cp/shadow.cc: New test program.
4843 * gdb.cp/nsimport.exp: New test.
4844 * gdb.cp/nsimport.cc: New test program.
4845
421d5d99
TT
48462010-01-25 Tom Tromey <tromey@redhat.com>
4847
4848 PR gdb/11049:
4849 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4850 with "set print null-stop on".
4851
691f8dc1
JK
48522010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4853
4854 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4855 Adjust it for DISASSEMBLY_OMIT_FNAME.
4856
0b92b5bb
TT
48572010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 PR symtab/11199:
4860 * gdb.dwarf2/member-ptr-forwardref.exp,
4861 gdb.dwarf2/member-ptr-forwardref.S: New.
4862
23787403
JK
48632010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4864
4865 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4866 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4867 thread1_tid_mutex. Remove gdbstop_mutex handling.
4868 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4869 thread2_tid_mutex. Remove gdbstop_mutex handling.
4870 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4871 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4872 pthread_cond_wait conditionalizations by while loops.
4873
b966cb8a
TT
48742010-01-20 Tom Tromey <tromey@redhat.com>
4875
4876 PR backtrace/10770:
4877 * gdb.dwarf2/pr10770.exp: New file.
4878 * gdb.dwarf2/pr10770.c: New file.
4879 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4880
fcae584b
VP
48812010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4882
4883 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4884 that target was removed, and the test always runs native anyway.
4885
a0f49112
JK
48862010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4887
4888 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4889 gdb.base/watchpoint-cond-gone-stripped.c: New.
4890
ceeb3d5a
TT
48912010-01-19 Tom Tromey <tromey@redhat.com>
4892
4893 PR c++/8000:
4894 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4895 existing tests.
4896 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4897 (main): Use AAA::SomeEnum.
4898
dd322c54
JK
48992010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4900
4901 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4902 (test_ignore_count): Declare line_callme_body global.
4903 (run to breakpoint with ignore count): Use line_callme_body.
4904 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4905 (set line_main_hello, set line_main_return): Reindent.
4906 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4907 New.
4908 (continue to callee4): Use line_callee4_body.
4909 (check *stopped from CLI command): Use line_callee4_next.
4910 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4911 (set line_main_hello, set line_main_return): Reindent.
4912 (set line_callee4_head, set line_callee4_body): New.
4913 (continue to callee4): Use line_callee4_body.
4914
4e8f195d
TT
49152010-01-18 Tom Tromey <tromey@redhat.com>
4916
4917 PR c++/9680:
4918 * gdb.cp/casts.cc: Add new classes and variables.
4919 * gdb.cp/casts.exp: Test new operators.
4920
9e14a9ba
JB
49212010-01-18 Tom Tromey <tromey@redhat.com>
4922 Thiago Jung Bauermann <bauerman@br.ibm.com>
4923
4924 * gdb.python/source2.py: New file.
4925 * gdb.python/source1: New file.
4926 * gdb.python/python.exp: Test "source" command.
4927
00bf0b85
SS
49282010-01-15 Stan Shebs <stan@codesourcery.com>
4929
4930 * gdb.trace/tfile.c: New file.
4931 * gdb.trace/tfile.exp: New file.
889bf7c5 4932
55235ad7
JK
49332010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4934
4935 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4936
9f2982ff
JK
49372010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4938
4939 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4940
bbfba9ed
JK
49412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4942
4943 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4944 (libfunc): New parameter action. Implement also selectable "sleep".
4945 * gdb.base/break-interp-main.c: Include assert.h.
4946 (libfunc): New parameter action.
4947 (main): New parameters argc and argv. Assert argc. Pass argv.
4948 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4949 (test_attach): New proc.
4950 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4951 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4952
61f0d762
JK
49532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4954
4955 * gdb.base/break-interp.exp (test_core): New proc.
4956 (test_ld): Call it.
4957
06a6f270
JK
49582010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4959
4960 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4961 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4962 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4963 and gdb_compile_shlib. Use new -Wl compiler options.
4964 (dl bt, main bt): New tests.
4965
51bee8e9
JK
49662010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4967
4968 Support PIEs with no symfile_objfile.
4969 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4970 (test_ld): New parameter trynosym.
4971 (test_ld <$trynosym>): New block.
4972
b8040f19
JK
49732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4974
4975 * gdb.base/break-interp.exp: New file.
4976
be759fcf
PM
49772010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4978
4979 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4980 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4981 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4982 test.
4983 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4984 * gdb.python/py-mi.exp: Add lazy string test.
4985
dc146f7c
VP
49862010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4987
4988 * lib/mi-support.exp (mi_check_thread_states): Handle
4989 core number in thread listing.
4990
b4ba55a1
JB
49912010-01-12 Joel Brobecker <brobecker@adacore.com>
4992
4993 * gdb.base/maint.exp: Adjust the expected output for the
4994 "maint print type" test. Use gdb_test_multiple instead of
4995 gdb_sent/gdb_expect.
4996
08e24bd4
DE
49972010-01-11 Doug Evans <dje@google.com>
4998
6496a609
DE
4999 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5000 from gdbserver_download. All callers updated.
5001
08e24bd4
DE
5002 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5003
b5cfddf5
JK
50042010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5005
5006 Implement binary numbers parsing.
5007 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5008 (test_integer_literals_rejected): New binary tests.
5009
3725885a
RW
50102010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5011
5012 * gdb.cell/configure: Regenerate.
5013
37aeb5df
JK
50142010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5015
5016 * gdb.base/corefile.exp: Move the core finding block out and call it as
5017 core_find, new variable $corefile, replace corefile by $corefile and
5018 [file tail $corefile] for usage vs. test names resp.
5019 * lib/gdb.exp (core_find): Move it as a new function here. New
5020 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5021 $destcore. Return "" on error.
5022
d521f563
JK
50232010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5024
5025 Workaround PR binutils/10802.
5026 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5027 (twice).
5028
28f24826
DJ
50292010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5030
5031 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5032
2de75e71
JB
50332010-01-08 Joel Brobecker <brobecker@adacore.com>
5034
5035 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5036 call, to avoid interruption.
5037
fe00719b 50382010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5039
5040 * gdb.stabs/weird.def (args93): New.
5041
d0ef5df8
DE
50422010-01-07 Doug Evans <dje@google.com>
5043
5044 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5045
3a08d52f
TT
50462010-01-07 Tom Tromey <tromey@redhat.com>
5047
5048 * gdb.base/source.exp: Use correct line number.
5049
7a697b8d
SS
50502010-01-05 Stan Shebs <stan@codesourcery.com>
5051
5052 * gdb.trace/tracecmd.exp: Test ftrace.
5053
7803799a
UW
50542010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5055
5056 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5057
c54eabfa
JK
50582010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5059
5060 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5061 "uint_for_mi_testing".
5062
02e7ef19
JB
50632010-01-01 Joel Brobecker <brobecker@adacore.com>
5064
5065 Test indented comment in file being sourced.
5066 * gdb.base/commands.exp: Test indented comment in file being sourced.
5067
abd775ce
JB
50682010-01-01 Joel Brobecker <brobecker@adacore.com>
5069
5070 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5071 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5072 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5073 notice.
5074
79b55b82
JB
50752010-01-01 Joel Brobecker <brobecker@adacore.com>
5076
5077 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5078 notice.
5079
8997583e
JK
50802010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5081
5082 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5083 missing $after_stopped and comma (,) expectation.
5084
6da95a67
SS
50852009-12-31 Stan Shebs <stan@codesourcery.com>
5086
5087 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5088
218d2fc6
TJB
50892009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5090
5091 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5092 (top level): Call test_watchpoint_in_big_blob.
5093 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5094 watchpoints.
5095 (func3): Write to buf.
5096
236f1d4d
SS
50972009-12-29 Stan Shebs <stan@codesourcery.com>
5098
5099 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5100
f61e138d
SS
51012009-12-28 Stan Shebs <stan@codesourcery.com>
5102
5103 * gdb.trace/tsv.exp: New file.
5104 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5105
0219b378
DJ
51062009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5107
5108 * gdb.base/find.c (main): Reference search buffers.
5109 * gdb.base/included.c (main): Reference integer.
5110 * gdb.base/ptype.c (charfoo): Declare.
5111 (intfoo): Call charfoo.
5112 * gdb.base/scope0.c (useitp): New function.
5113 (usestatics): Use useitp.
5114 (useit): Add a type for val.
5115 * gdb.base/scope1.c (useit1): Take a pointer argument.
5116 (usestatics1): Update calls to useit1.
5117 * gdb.cp/call-c.cc: Declare foo.
5118 (main): Call foo.
5119 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5120 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5121 (main): Call C::ensureRefs and ensureOtherRefs.
5122 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5123 variables.
5124 (ensureOtherRefs): New function.
5125 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5126 * gdb.cp/templates.cc (main): Call t5i.value.
5127
3f78692f
JK
51282009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 Fix compatibility with G++-4.5.
5131 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5132 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5133 (uncaught return): Remove.
5134
429374b8
JK
51352009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5136 Phil Muldoon <pmuldoon@redhat.com>
5137
5138 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5139 (bp_location13, bp_location14, bp_location17, bp_location18)
5140 (marker3_proto, marker4_proto): New variables.
5141 (breakpoint info): Update output.
5142 (run until breakpoint at marker3, run until breakpoint at marker4): New
5143 tests.
5144
859825b8
JK
51452009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5148 Replace the printf call of Y by provided "y-set-1" label. New block
5149 for the second shared library.
5150 * gdb.base/unload.exp: Compile also the second library, call
5151 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5152 (single pending breakpoint info): Rename to ...
5153 (pending breakpoint info before run): ... this extended test.
5154 (libfile2, libname2, libsrcfile2, libsrc2)
5155 (lib_sl2): New variables.
5156 (exec_opts): Set also SHLIB_NAME2.
5157 (pending breakpoint info on first run at shrfunc1)
5158 (pending breakpoint info on second run at shrfunc1)
5159 (pending breakpoint info on second run at shrfunc2)
5160 (print y from libfile, print y from libfile2): New tests.
5161 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5162 * gdb.base/unloadshr2.c: New.
5163
e6a386cd
HZ
51642009-12-22 Hui Zhu <teawater@gmail.com>
5165
5166 * gdb.reverse/sigall-reverse.exp: Adjust.
5167
9e19b45e
VP
51682009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5169
5170 PR gdb/10884
5171
5172 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5173 (main): Call do_bitfield_tests.
aacf5b1e 5174 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5175
d53a7b30
JB
51762009-12-20 Joel Brobecker <brobecker@adacore.com>
5177
5178 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5179 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5180 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5181 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5182 gdb.modula2/unbounded1.c: Update copyright header.
5183
191ca0a1
CM
51842009-12-10 Chris Moller <moller@mollerware.com>
5185
5186 PR gdb/9399
5187 * gdb.cp/virtfunc2.exp: New tests
5188 * gdb.cp/virtfunc2.cc: New tests
5189 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5190
0fa6cf1b
MS
51912009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5192
5193 * gdb.reverse/i387-env-reverse.c: New file.
5194 * gdb.reverse/i387-env-reverse.exp: New file.
5195 * gdb.reverse/i387-stack-reverse.c: New file.
5196 * gdb.reverse/i387-stack-reverse.exp: New file.
5197
361ae042
PM
51982009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5199
5200 * gdb.python/py-type.exp (test_range): New test.
5201
bfd31e71
PM
52022009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5203
5204 PR python/10805
5205
5206 * gdb.python/py-type.exp: New file.
5207 * gdb.python/py-type.c: New file.
5208 * Makefile.in: Add py-type.
5209
57a1d736
TT
52102009-12-03 Tom Tromey <tromey@redhat.com>
5211
5212 * gdb.python/py-value.exp (test_parse_and_eval): New
5213 function.
5214
1f3b5d1b
PP
52152009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5216
5217 PR gdb/11022
5218
5219 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5220 * gdb.base/pr11022.c: New test.
5221
8b7dbdc9
JK
52222009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5223
5224 Fix spurious false FAILs.
5225 * gdb.base/structs.c (chartest): New.
5226 (main): Fill-in chartest.
5227 * gdb.base/structs.exp (anychar_re, first): New.
5228 (start_structs_test): Import global anychar_re and first.
5229 New gdb_test call "set print elements 300; ${testfile}"
5230 (start_structs_test <$first>): New block.
5231 (any): Import global anychar_re. New variable ac. Use ${ac}.
5232
6a53b2ec
JK
52332009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5234
5235 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5236
d7167b4c
JK
52372009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5238
5239 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5240 Force $srcfile file.
5241 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5242
b1798462
UW
52432009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5244
5245 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5246 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5247 * gdb.threads/watchthreads-reorder.exp: Likewise.
5248
b6199126
DJ
52492009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5250
5251 PR gdb/8704
5252
5253 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5254 "if", and "thread". Correct matching in the previous test.
5255
b22a0510
DJ
52562009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5257
5258 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5259
930636d2
MS
52602009-11-23 Michael Snyder <msnyder@vmware.com>
5261
5262 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5263 * gdb.reverse-watch-precsave.exp: Ditto.
5264
21a0512e
PP
52652009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5266
5267 * gdb.asm/asm-source.exp: Adjust.
5268 * gdb.base/help.exp: Adjust.
889bf7c5 5269
fc30d5e0
PA
52702009-11-22 Pedro Alves <pedro@codesourcery.com>
5271
5272 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5273 (do_syscall_tests_without_xml): Set data-directory to
5274 /the/path/to/nowhere.
5275
f6bc2008
PA
52762009-11-21 Pedro Alves <pedro@codesourcery.com>
5277
5278 * gdb.threads/local-watch-wrong-thread.c,
5279 gdb.threads/local-watch-wrong-thread.exp: New files.
5280
8c2fb5de
PA
52812009-11-21 Pedro Alves <pedro@codesourcery.com>
5282
5283 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5284 assume new `regsub' syntax available.
5285
ebec9a0f
PA
52862009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5287
a79d3c27
JK
5288 * gdb.base/watchpoint-hw-hit-once.exp,
5289 gdb.base/watchpoint-hw-hit-once.c: New.
5290
52912009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 * gdb.threads/watchthreads-reorder.exp,
5294 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5295
276a961b
MK
52962009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5297
5298 * gdb.xml/tdesc-regs.exp: Use for m68k.
5299
4867c1fb
PA
53002009-11-15 Pedro Alves <pedro@codesourcery.com>
5301
5302 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5303
f6838f81
DJ
53042009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5305
5306 * lib/gdb.exp (current_target_name): New procedure.
5307 (gdb_wrapper_target): New variable.
5308 (gdb_wrapper_init): Set gdb_wrapper_target.
5309 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5310 wrapper.
5311
4ac4dd3f
DJ
53122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5313
5314 * gdb.base/remote.exp: Delete the slowest load test.
5315 Do not load with fixed packet sizes.
5316
a7881759
DJ
53172009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5318
5319 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5320
97a5b505
DJ
53212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5322
5323 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5324 srcfile when setting a breakpoint.
5325
d3e1fc54
DJ
53262009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5327
5328 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5329 macros.
5330
7cbcbded
DJ
53312009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5332
5333 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5334 to be in memory.
5335 * gdb.base/display.c (force_mem): New.
5336 (do_loops): Use it. Add breakpoint comments.
5337 (do_vars): Add a breakpoint comment.
5338 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5339 line numbers.
5340
bdea3a92
NF
53412009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5342
5343 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5344 instead of a bare "run".
5345
269f82e5
PP
53462009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5347
5348 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5349
a69b7d9d
DJ
53502009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5351
5352 * lib/cell.exp (skip_cell_tests): Clean up test files before
5353 returning.
5354
b598bfda
DJ
53552009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5356
5357 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5358 and the breakpoint menu. Do not call perror if a prompt is seen.
5359 Consume the following GDB prompt.
5360 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5361 * gdb.cp/namespace.exp: Use gdb_test.
5362 * gdb.cp/templates.exp: Use gdb_test.
5363 (test_template_breakpoints): Use gdb_test_multiple.
5364
87728fa0
DJ
53652009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5366
5367 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5368 (marker4): Reference values.
5369
b67c692f
DJ
53702009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5371
5372 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5373 is missing.
5374
f0df251a
DJ
53752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5376
5377 * gdb.base/break.c (need_malloc): New.
5378 * gdb.base/constvars.c (main): Reference crass and crisp.
5379 * gdb.base/gdb1821.c (main): Reference bar.
5380 * gdb.cp/gdb1355.cc (main): Reference s1.
5381 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5382 (main): Call them.
5383 * gdb.cp/hang2.cc (dummy2): Define.
5384 * gdb.cp/hang3.cc (dummy3): Define.
5385 * gdb.cp/m-data.cc (main): Reference shadow.
5386
bdf7534a
NF
53872009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5388 Nathan Froyd <froydnj@codesourcery.com>
5389
5390 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5391 remote host.
5392
f24fce77
NF
53932009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5394
5395 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5396 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5397 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5398 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5399 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5400 * gdb.dwarf2/dw2-producer.exp: Likewise.
5401 * gdb.dwarf2/mac-fileno.exp: Likewise.
5402 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5403 py-prettyprint.py to the remote host.
5404 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5405
40f0318e
KS
54062009-11-11 Keith Seitz <keiths@redhat.com>
5407
5408 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5409 use it instead of "Foo".
5410 * gdb.cp/classes.exp (do_tests): Add a test to access
5411 a method through a typedef'd class name.
5412
f3d9f7fb
NF
54132009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5414
5415 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5416 exponents.
5417 * gdb.base/pointers.exp: Likewise.
5418 * gdb.cp/ref-types.exp: Likewise.
5419
a4216f37
KS
54202009-11-11 Keith Seitz <keiths@redhat.com>
5421
5422 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5423 new[] and delete[].
5424 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5425 "void".
5426 (probe_demangler): Remove all single-quoting of
5427 method and variable names.
5428 (info_func_regexp): Remove the word "void" from any
5429 occurrence of "(void)".
5430 (print_addr_2): Remove all single-quoting of
5431 method names.
5432 (print_addr_2_kfail): Likewise.
5433 (print_addr): Single-quote C function names before
5434 passing to print_addr_2.
5435 (test_paddr_operator_functions): Remove single-quoting
5436 for method names.
5437 Add tests for operator new[] and operator delete[].
5438
9b14d7aa
JK
54392009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5442
85feb311
KS
54432009-11-09 Keith Seitz <keiths@redhat.com>
5444
5445 * gdb.cp/overload.exp: Add tests for resolving overloaded
5446 methods in expression parsing/evaluation.
5447
fa335448
DJ
54482009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5449
5450 * lib/gdb.exp (default_gdb_version): Use --version instead of
5451 --command.
5452
ec3c07fc
NS
54532009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5454
5455 * lib/gdb.exp (gdb_compile_test): New.
5456 (skip_ada_tests, skip_java_tests): New.
5457 (gdb_compile): Use gdb_compile_test for f77.
5458 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5459 * lib/java.exp (compile_java_from_source): Remove runtests check,
5460 use gdb_compile_test to record result.
5461 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5462 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5463 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5464 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5465 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5466 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5467 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5468 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5469 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5470 adjust gdb_compile invocations.
5471
b8b4e42b
JK
54722009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5473
5474 * Makefile.in (abs_builddir): New.
5475 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5476 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5477 `$(abs_builddir)/site.exp'.
5478
f8b7eaf3
DJ
54792009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5480
5481 * config/m68k-emc.exp, lib/emc-support.exp,
5482 gdb.trace/gdb_c_test.c: Delete.
5483 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5484 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5485 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5486 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5487 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5488 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5489 casing for m68k-*-elf.
5490
c4187697
NS
54912009-11-03 Pedro Alves <pedro@codesourcery.com>
5492
5493 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5494 * gdb.arch/i386-prologue.exp: Likewise.
5495 * gdb.arch/i386-unwind.exp: Likewise.
5496
db16b772
DJ
54972009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5498
5499 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5500
bcf71277
DJ
55012009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5502
5503 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5504
0105cee2
DJ
55052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5506
5507 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5508
24ddea62
JK
55092009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5510
5511 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5512
287ccc17
JK
55132009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5514
5515 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5516 * gdb.base/sepdebug2.c: New file.
5517
08bca259 55182009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5519
5520 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5521 the modified warnings for catch syscall. Verify if GDB was compiled
5522 with support for lib expat, and choose which tests to run depending
5523 on this.
5524
5d4e2b76
VP
55252009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5526
5527 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5528 that composite commands are parsed OK. And also test
5529 that breakpoint commands do work.
5530
240e538a
MS
55312009-10-23 Michael Snyder <msnyder@vmware.com>
5532
5533 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5534 to allow for new disassembly style.
5535
9c419145
PP
55362009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5537
5538 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5539
02506ff1
MS
55402009-10-22 Michael Snyder <msnyder@vmware.com>
5541
5542 * gdb.reverse/break-precsave.exp: New test.
5543 * gdb.reverse/consecutive-precsave.exp: Ditto.
5544 * gdb.reverse/finish-precsave.exp: Ditto.
5545 * gdb.reverse/i386-precsave.exp: Ditto.
5546 * gdb.reverse/machinestate-precsave.exp: Ditto.
5547 * gdb.reverse/sigall-precsave.exp: Ditto.
5548 * gdb.reverse/solilb-precsave.exp: Ditto.
5549 * gdb.reverse/step-precsave.exp: Ditto.
5550 * gdb.reverse/until-precsave.exp: Ditto.
5551 * gdb.reverse/watch-precsave.exp: Ditto.
5552
4cf866a3
MS
55532009-10-22 Michael Snyder <msnyder@vmware.com>
5554
5555 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5556 for gdb_expect. Adjust one test's expect strings for the new
5557 format of disassemble.
5558 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5559 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5560 gdb_test_multiple.
5561 * gdb.reverse/step-reverse.exp: Delete 'return'.
5562 * gdb.reverse/until-reverse.exp: Delete blank lines.
5563 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5564
2b28d209
PP
55652009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5566
5567 * gdb.base/consecutive.exp: Adjust.
5568 * gdb.base/display.exp: Likewise.
5569 * gdb.base/pc-fp.exp: Likewise.
5570 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5571
33b9c32b
MS
55722009-10-19 Michael Snyder <msnyder@vmware.com>
5573
5574 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5575 * gdb.reverse/finish-reverse.c: Ditto.
5576 * gdb.reverse/sigall-reverse.c: Ditto.
5577 * gdb.reverse/solib-reverse.c: Ditto.
5578 * gdb.reverse/step-reverse.c: Ditto.
5579 * gdb.reverse/watch-reverse.c: Ditto.
5580
6c95b8df
PA
55812009-10-19 Pedro Alves <pedro@codesourcery.com>
5582 Stan Shebs <stan@codesourcery.com>
5583
5584 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5585 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5586 "Executing new program".
5587 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5588 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5589 left listed after having been killed.
5590 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5591 * gdb.base/maint.exp: Adjust test.
5592
5593 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5594 * gdb.multi/Makefile.in: New.
5595 * gdb.multi/base.exp: New.
5596 * gdb.multi/goodbye.c: New.
5597 * gdb.multi/hangout.c: New.
5598 * gdb.multi/hello.c: New.
5599 * gdb.multi/bkpt-multi-exec.c: New.
5600 * gdb.multi/bkpt-multi-exec.exp: New.
5601 * gdb.multi/crashme.c: New.
5602
279017b7
TG
56032009-10-13 Tristan Gingold <gingold@adacore.com>
5604
5605 * gdb.base/sepdebug.exp: Check debug info are found.
5606
0413d738
PA
56072009-10-08 Pedro Alves <pedro@codesourcery.com>
5608
5609 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5610 bits.
5611
c628eecc
JK
56122009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5613
5614 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5615
38af1bfe
JB
56162009-10-07 Joel Brobecker <brobecker@adacore.com>
5617
5618 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5619 of the comments.
5620
2b0adecd
PM
56212009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5622
5623 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5624 * gdb.base/annota3.exp: Idem.
5625 * gdb.base/maint.exp: Idem.
5626
8d417781
PM
56272009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5628
889bf7c5 5629 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5630 to default.
5631
bb61102d
PM
56322009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5633
889bf7c5 5634 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5635 mingw and cygwin targets.
5636
ace5c364
PM
56372009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5638 Pedro Alves <pedro@codesourcery.com>
5639
889bf7c5 5640 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5641 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5642
c2d494a0
PM
56432009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5644
e1b52ce2
PM
5645 * gdb.base/shr1.c: Use %p in format string.
5646 * gdb.base/unload.c: Avoid warning in fprintf.
5647 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5648
209f53f5
PM
56492009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5650
5651 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5652 long type.
5653 (test_unlink): Correct printf string.
5654 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5655 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5656
8172766a
JK
56572009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5658
5659 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5660 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5661 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5662
0f73703c
UW
56632009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5664
5665 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5666 * gdb.objc/nondebug.exp: Likewise.
5667
b32306ca
UW
56682009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5669
5670 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5671 target_info setting.
5672
5673 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5674 that detect new threads during "info threads".
5675
0057022f
UW
56762009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5677
5678 * gdb.threads/manythreads.c (main): Increase thread stack size
5679 to 2*PTHREAD_STACK_MIN.
5680 * gdb.threads/multi-create.c (main): Likewise.
5681 (create_function): Likewise.
5682
f29c0325
UW
56832009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5684
5685 * gdb.base/dump.exp: Pass difference of pointer types instead
5686 of integer types as offset to restore in intarr3.srec case.
5687
fcb34849
UW
56882009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5689
5690 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5691
d5142e3b
UW
56922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5693
5694 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5695
087b74b2 56962009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5697
087b74b2
PM
5698 New test for two watchpoints, with disabling of
5699 the first inserted.
5700 * testsuite/gdb.base/watchpoints.c: New file.
5701 * testsuite/gdb.base/watchpoints.exp: New file.
5702
96c07c5b
TT
57032009-09-25 Tom Tromey <tromey@redhat.com>
5704
5705 * gdb.base/charset.exp: Test utf-16 strings with Python.
5706
b8899f2b
TT
57072009-09-25 Tom Tromey <tromey@redhat.com>
5708
5709 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5710 UCS-4.
5711 * gdb.base/charset.c (utf_32_string): Rename.
5712 (init_utf32): Rename.
5713 (main): Update.
5714
329719ec
TT
57152009-09-22 Tom Tromey <tromey@redhat.com>
5716
5717 * gdb.python/py-function.exp: Add regression tests.
5718
11ef0d76
KS
57192009-09-21 Keith Seitz <keiths@redhat.com>
5720
5721 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5722 with invalid operator.
5723
3fe8f3b3
KS
57242009-09-21 Keith Seitz <keiths@redhat.com>
5725
5726 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5727 and destructor using typedef name of class.
5728 * gdb.cp/classes.cc (class Base1): Add a destructor.
5729 (base1): New typedef.
5730 (use_methods): Instanitate an object of type base1.
5731 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5732 (do_tests): Call test_template_typedef.
5733 * gdb.cp/templates.cc (Baz::~Baz): New method.
5734 (intBazOne): New typedef.
5735 (main): Instantiate intBazOne.
5736
7a9fe101
PM
57372009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5738
5739 PR python/10633
5740
5741 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5742 Function.
5743 (run_lang_tests): Add print elements test.
5744
2e4d963f
PM
57452009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5746
5747 * gdb.python/py-value.exp (test_subscript_regression): New
5748 function. Test for invalid subscripts.
5749 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5750 (ptr_ref): New function.
5751
ec7e75e7
PP
57522009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5753
5754 * gdb.base/default.exp: Fix "show convenience".
5755
0cc7d26f
TT
57562009-09-15 Tom Tromey <tromey@redhat.com>
5757
5758 * lib/mi-support.exp (mi_create_varobj): Update.
5759 (mi_create_floating_varobj): Likewise.
5760 (mi_create_dynamic_varobj): New proc.
5761 (mi_varobj_update): Update.
5762 (mi_varobj_update_with_type_change): Likewise.
5763 (mi_varobj_update_kv_helper): New proc.
5764 (mi_varobj_update_dynamic_helper): Rewrite.
5765 (mi_varobj_update_dynamic): New proc.
5766 (mi_list_varobj_children): Update.
5767 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5768 * gdb.python/python-prettyprint.py (pp_outer): New class.
5769 (pp_nullstr): Likewise.
5770 (lookup_function): Register new printers.
5771 * gdb.python/python-prettyprint.c (struct substruct): New type.
5772 (struct outerstruct): Likewise.
5773 (substruct_test): New function.
5774 (struct nullstr): New type.
5775 (string_1, string_2): New globals.
5776 (main): Add new tests.
5777 * gdb.python/python-mi.exp: Added regression tests.
5778 * gdb.mi/mi2-var-display.exp: Update.
5779 * gdb.mi/mi2-var-cmd.exp: Update.
5780 * gdb.mi/mi2-var-child.exp: Update.
5781 * gdb.mi/mi2-var-block.exp: Update.
5782 * gdb.mi/mi-var-invalidate.exp: Update.
5783 * gdb.mi/mi-var-display.exp: Update.
5784 * gdb.mi/mi-var-cmd.exp: Update.
5785 * gdb.mi/mi-var-child.exp: Update.
5786 * gdb.mi/mi-var-block.exp: Update.
5787 * gdb.mi/mi-break.exp: Update.
5788 * gdb.mi/gdb701.exp: Update.
5789
a96d9b2e
SDJ
57902009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5791
5792 * Makefile.in: Inclusion of catch-syscall object.
5793 * gdb.base/catch-syscall.c: New file.
5794 * gdb.base/catch-syscall.exp: New file.
5795
b43b923a
MS
57962009-09-12 Michael Snyder <msnyder@vmware.com>
5797
5798 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5799 that can support reverse debuggnig.
5800
cec03d70
TT
58012009-09-11 Tom Tromey <tromey@redhat.com>
5802
5803 * gdb.dwarf2/valop.S: New file.
5804 * gdb.dwarf2/valop.exp: New file.
5805
e23bb3fc
MK
58062009-09-11 Mark Kettenis <kettenis@gnu.org>
5807
5808 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5809
37c3696d
DE
58102009-09-10 Doug Evans <dje@google.com>
5811
5812 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5813 Add $gdb_prompt to second breakpoint regexp.
5814
5172aecb
JB
58152009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5816
5817 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5818 names, add missing ones.
5819 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5820 * gdb.python/py-frame.c: Rename from python-frame.c.
5821 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5822 testfile name.
5823 * gdb.python/py-function.exp: Rename from python-function.exp.
5824 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5825 testfile name.
5826 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5827 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5828 Adjust testfile name.
5829 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5830 * gdb.python/py-template.cc: Rename from python-template.cc.
5831 * gdb.python/py-template.exp: Rename from python-template.exp.
5832 Adjust testfile name.
5833 * gdb.python/py-value.c: Rename from python-value.c.
5834 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5835 testfile name.
5836
b554e4bd
JK
58372009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5838
5839 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5840 $bpt2address.
5841 (Second breakpoint address is valid on ia64)
5842 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5843
9a68ae16
JM
58442009-09-03 Joseph Myers <joseph@codesourcery.com>
5845
5846 * gdb.base/ending-run.exp: Restrict regular expression matching
5847 line number to require closing brace following.
5848
146b9145
DE
58492009-09-03 Doug Evans <dje@google.com>
5850
5851 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5852
787d21e1
TT
58532009-09-02 Tom Tromey <tromey@redhat.com>
5854
5855 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5856
e7802207
TT
58572009-09-02 Tom Tromey <tromey@redhat.com>
5858
5859 * gdb.dwarf2/callframecfa.exp: New file.
5860 * gdb.dwarf2/callframecfa.S: New file.
5861
817aadd2
JK
58622009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5863
5864 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5865 gdb.base/solib-overlap-main.c: New.
5866
4a76eae5
DJ
58672009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5868
5869 PR gdb/10565
5870
5871 * gdb.base/bitfields.c (struct container, container): New.
5872 (main): Initialize it and call break5.
5873 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5874
d4b96c9a
JK
58752009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5878 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5879
4e22772d
JK
58802009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5881
5882 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5883
2efab443
MS
58842009-08-26 Michael Snyder <msnyder@vmware.com>
5885
5886 * gdb.base/i386-reverse.c: New file.
5887 * gdb.base/i386-reverse.exp: New file.
5888 * gdb.base/Makefile.in: Add new files to be removed.
5889
07ab73a0
JM
58902009-08-26 Joseph Myers <joseph@codesourcery.com>
5891
5892 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5893 environment-pwd for remote host.
5894 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5895
676accff
KS
58962009-08-24 Keith Seitz <keiths@redhat.com>
5897
5898 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5899 Add two new C++ completer tests which limit the output to a
889bf7c5 5900 given class.
676accff 5901
f9f7ad22
MS
59022009-08-24 Michael Snyder <msnyder@vmware.com>
5903
5904 * gdb.base/del.exp: Fix typo in comment.
5905 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5906
81ecdfbb
RW
59072009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5908
5909 * configure: Regenerate.
5910 * gdb.hp/configure: Likewise.
5911 * gdb.hp/gdb.aCC/configure: Likewise.
5912 * gdb.hp/gdb.base-hp/configure: Likewise.
5913 * gdb.hp/gdb.compat/configure: Likewise.
5914 * gdb.hp/gdb.defects/configure: Likewise.
5915 * gdb.hp/gdb.objdbg/configure: Likewise.
5916 * gdb.stabs/configure: Likewise.
5917
cab0c772
UW
59182009-08-19 Doug Evans <dje@google.com>
5919
5920 * gdb.base/gdbvars.c: New file.
5921 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5922
b8fa0bfa
PA
59232009-08-14 Pedro Alves <pedro@codesourcery.com>
5924
5925 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5926 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5927
b84aa90a
PA
59282009-08-13 Pedro Alves <pedro@codesourcery.com>
5929
5930 * gdb.base/default.exp: Adjust "set language test": it's now an
5931 enum command. Larger help string moved to "help set language".
5932 * gdb.base/help.exp: Adjust "help set language" expected output,
5933 now lists all known languages.
5934
0d8f9b2c
NF
59352009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5936
5937 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5938 all frame arguments.
5939 * gdb.arch/altivec-regs.exp: Likewise.
5940
bda180e0
TT
59412009-08-07 Tom Tromey <tromey@redhat.com>
5942
5943 * gdb.base/setshow.exp: Add tests for changes to set language, set
5944 check range, and set check type.
5945
48cb2d85
VP
59462009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5947
5948 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5949 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5950 Call it.
48cb2d85 5951
1ea34204
UW
59522009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5953
5954 * configure.ac: Run gdb.cell tests when appropriate.
5955 * configure: Regenerate.
5956 * lib/cell.exp: New file.
5957 * gdb.cell: New directory.
5958 * gdb.cell/configure.ac: New file.
5959 * gdb.cell/configure: New file.
5960 * gdb.cell/Makefile.in: New file.
5961 * gdb.cell/arch.exp: New file.
5962 * gdb.cell/break.c: New file.
5963 * gdb.cell/break.exp: New file.
5964 * gdb.cell/break-spu.c: New file.
5965 * gdb.cell/bt.c: New file.
5966 * gdb.cell/bt2-spu.c: New file.
5967 * gdb.cell/bt-spu.c: New file.
5968 * gdb.cell/bt.exp: New file.
5969 * gdb.cell/coremaker.c: New file.
5970 * gdb.cell/coremaker-spu.c: New file.
5971 * gdb.cell/core.exp: New file.
5972 * gdb.cell/gcore.exp: New file.
5973 * gdb.cell/data.c: New file.
5974 * gdb.cell/data.exp: New file.
5975 * gdb.cell/data-spu.c: New file.
5976 * gdb.cell/ea-cache.exp: New file.
5977 * gdb.cell/ea-cache.c: New file.
5978 * gdb.cell/ea-cache-spu.c: New file.
5979 * gdb.cell/ea-standalone.c: New file.
5980 * gdb.cell/ea-standalone.exp: New file.
5981 * gdb.cell/ea-test.c: New file.
5982 * gdb.cell/ea-test.exp: New file.
5983 * gdb.cell/f-regs.exp: New file.
5984 * gdb.cell/mem-access.c: New file.
5985 * gdb.cell/mem-access.exp: New file.
5986 * gdb.cell/mem-access-spu.c: New file.
5987 * gdb.cell/ptype.exp: New file.
5988 * gdb.cell/registers.exp: New file.
5989 * gdb.cell/size.c: New file.
5990 * gdb.cell/sizeof.exp: New file.
5991 * gdb.cell/size-spu.c: New file.
5992 * gdb.cell/solib.exp: New file.
5993 * gdb.cell/solib-symbol.exp: New file.
5994
85e747d2
UW
59952009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5996
5997 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5998
58d6951d
DJ
59992009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6000
6001 * gdb.base/float.exp: Handle VFP registers.
6002
6e0a4f15
MS
60032009-07-14 Michael Snyder <msnyder@vmware.com>
6004
dcd5da87
MS
6005 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6006 to bring gdb to the beginning of the calling line.
6007
6e0a4f15
MS
6008 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6009 confusing the i386 epilogue unwinder.
6010
782b2b07
SS
60112009-07-14 Stan Shebs <stan@codesourcery.com>
6012
6013 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6014
f662c3bc
MS
60152009-07-14 Michael Snyder <msnyder@vmware.com>
6016
6017 * gdb.reverse/step-reverse.exp (stepi into function call):
6018 Call instruction may not be first instruction in the line.
6019 (reverse stepi from a function call): Used wrong line number.
6020
8f313923
JK
60212009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6022
6023 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6024
4662c76e
JK
60252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 Fix gdb.base/macscp.exp when using custom inputrc.
6028 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6029 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6030 env(TERM) set.
6031 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6032 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6033
aa81e255
JK
60342009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6035
6036 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6037 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6038 Change the compilation target to match the testcase name.
6039 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6040 testcase name.
6041 * a2-run.exp: Use for setup prepare_for_testing. Change the
6042 compilation target to match the testcase name.
6043 * gdb.base/commands.exp: Likewise.
6044 * gdb.base/finish.exp: Likewise.
6045 * gdb.base/float.exp: Likewise.
6046 * gdb.base/info-target.exp: Likewise.
6047 * gdb.base/relational.exp: Likewise.
6048 * gdb.base/term.exp: Likewise.
6049 * gdb.base/until.exp: Likewise.
6050 * gdb.base/volatile.exp: Likewise.
6051 * gdb.base/whatis-exp.exp: Likewise.
6052
4c93b1d7
HZ
60532009-07-11 Hui Zhu <teawater@gmail.com>
6054
6055 * gdb.base/help.exp (disassemble): Update expected help text.
6056
812f7342
TT
60572009-07-09 Tom Tromey <tromey@redhat.com>
6058
6059 * lib/gdb.exp: Handle TRANSCRIPT.
6060 (remote_spawn, remote_close, send_gdb): New procs.
6061
fbb8f299
PM
60622009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6063
6064 * gdb.python/python-prettyprint.c: Add counted null string
6065 structure.
6066 * gdb.python/python-prettyprint.exp: Print null string. Test for
6067 embedded nulls.
6068 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6069 * gdb.python/python-value.exp (test_value_in_inferior): Add
6070 variable length string fetch tests.
6071 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6072
c0ac0ec7
JK
60732009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6074
6075 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6076
30b66ecc
TT
60772009-07-07 Tom Tromey <tromey@redhat.com>
6078
6079 * gdb.base/call-rt-st.exp: Update for change to escape output.
6080 * gdb.base/callfuncs.exp: Likewise.
6081 * gdb.base/charset.exp: Likewise.
6082 * gdb.base/constvars.exp: Likewise.
6083 * gdb.base/long_long.exp: Likewise.
6084 * gdb.base/pointers.exp: Likewise.
6085 * gdb.base/printcmds.exp: Likewise.
6086 * gdb.base/setvar.exp: Likewise.
6087 * gdb.base/store.exp: Likewise.
6088 * gdb.cp/ref-types.exp: Likewise.
6089 * gdb.mi/mi-var-child.exp: Likewise.
6090 * gdb.mi/mi-var-display.exp: Likewise.
6091 * gdb.mi/mi2-var-display.exp: Likewise.
6092 * gdb.base/charset.exp: Test octal escape sequence length.
6093 Update for change to escape output.
6094
187c4a2b
JK
60952009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6098
d80a43f9
DJ
60992009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6100
6101 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6102
047427a8
JK
61032009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6104
6105 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6106 gdbserver increasing $portnum if "Can't bind address" has been seen.
6107
8b5a0f4f
PA
61082009-07-05 Pedro Alves <pedro@codesourcery.com>
6109
6110 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6111 mingw32ce.
6112
7d93ba58
PA
61132009-07-05 Pedro Alves <pedro@codesourcery.com>
6114
6115 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6116 VFP format.
6117
2277426b
PA
61182009-07-02 Pedro Alves <pedro@codesourcery.com>
6119
6120 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6121 linux. Adjust to use "inferior", "info inferiors", "detach
6122 inferior" and "kill inferior" instead of "restart", "info fork",
6123 "detach fork" and "delete fork".
6124 * gdb.base/ending-run.exp: Spell out "info".
6125 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6126 the "kill" command.
6127
5af949e3
UW
61282009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6129
6130 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6131 change to prefix TLS offset in hex with 0x.
6132
5d3729b5
UW
61332009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6134
6135 * gdb.base/default.exp: Update test case for "x" changes.
6136
af589bd0
TG
61372009-07-01 Tristan Gingold <gingold@adacore.com>
6138
6139 * gdb.base/bigcore.exp: Make darwin untested.
6140
40974f91
JK
61412009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6142
6143 * gdb.base/completion.exp (directory completion): Create the directory.
6144 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6145 escapeuniquesub.
6146 (directory completion 2): Expect now ${escapeuniquesub}.
6147 (Glob remaining of directory test): Remove one excessive newline.
6148 Expect the real output.
6149
59dd3af6
JK
61502009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6151
6152 Fix `make check//%' target after `make check' has been ran.
6153 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6154 a mkdir call.
6155 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6156 (%/.dir): Remove.
6157
f4e164aa
JK
61582009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6159
6160 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6161 the expected result record.
6162
69af2122
JK
61632009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6164
6165 Remove racy FAILs relying just on the timeouts.
6166 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6167 (annotation_level 2): Remove racy FAILs.
6168
2fd481e1
PP
61692009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6170
6171 gdb/10275
889bf7c5
PA
6172 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6173
c38f313d
DJ
61742009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6175
6176 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6177
8b777f02
VP
61782009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6179
6180 * gdb.mi/mi-stack.exp: Testing symbolic options
6181 to -stack-list-locals and -stack-list-arguments.
6182
00c7eacf
JK
61832009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6184
6185 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6186
6bc80edc
TT
61872009-06-29 Tom Tromey <tromey@redhat.com>
6188
6189 * dg-extract-results.sh: New file.
6190 * Makefile.in (FORCE_PARALLEL): New variable.
6191 (CHECK_TARGET): New conditional variable.
6192 (check): Use CHECK_TARGET.
6193 (DO_RUNTEST): New variable.
6194 (check-single): New target.
6195 (TEST_DIRS): New variable.
6196 (TEST_TARGETS): Likewise.
6197 (check-parallel): New target.
6198 (check-gdb.%): New pattern.
6199 (BASE1_FILES): New variable.
6200 (BASE2_FILES): Likewise.
6201 (check-gdb.base%): New pattern.
6202 (%/.dir): New pattern.
6203 * configure: Rebuild.
6204 * aclocal.m4 (AM_CONDITIONAL): New defun.
6205 * configure.ac: Check whether user is using GNU make.
6206 (GMAKE): New conditional.
6207
794684b6
SW
62082009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6209
6210 * gdb.cp/namespace-nested-import.cc: New test.
6211 * gdb.cp/namespace-nested-import.exp: New test.
6212
edb3359d
DJ
62132009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6214
6215 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6216 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6217 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6218 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6219 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6220 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6221 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6222 gdb.opt/inline-markers.c: New files.
6223 * lib/gdb.exp (skip_inline_frame_tests): New function.
6224 (skip_inline_var_tests): New function.
6225
cf657a0c
AS
62262009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6227
6228 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6229 backtrace.
6230
28d41a99
MS
62312009-06-27 Michael Snyder <msnyder@vmware.com>
6232
6233 * gdb.reverse: New directory.
6234 * gdb.reverse/break-reverse.c: New test.
6235 * gdb.reverse/break-reverse.exp: New test.
6236 * gdb.reverse/consecutive-reverse.c: New test.
6237 * gdb.reverse/consecutive-reverse.exp: New test.
6238 * gdb.reverse/finish-reverse.c: New test.
6239 * gdb.reverse/finish-reverse.exp: New test.
6240 * gdb.reverse/machinestate.c: New test.
6241 * gdb.reverse/ms1.c: New test.
6242 * gdb.reverse/machinestate.exp: New test.
6243 * gdb.reverse/Makefile.in: New file.
6244 * gdb.reverse/shr2.c: New test.
6245 * gdb.reverse/solib-reverse.c: New test.
6246 * gdb.reverse/solib-reverse.exp: New test.
6247 * gdb.reverse/step-reverse.c: New test.
6248 * gdb.reverse/step-reverse.exp: New test.
6249 * gdb.reverse/until-reverse.c: New test.
6250 * gdb.reverse/ur1.c: New test.
6251 * gdb.reverse/until-reverse.exp: New test.
6252 * gdb.reverse/watch-reverse.c: New test.
6253 * gdb.reverse/watch-reverse.exp: New test.
6254 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6255 * configure: Regenerate.
6256
fe3c8b0d
DE
62572009-06-26 Doug Evans <dje@google.com>
6258
6259 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6260
3a72a602
PM
62612009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6262
6263 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6264 windows problem for 'file delete $binfile'.
6265
27aa8d6a
SW
62662009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6267
6268 * gdb.cp/namespace-using.exp: New test.
6269 * gdb.cp/namespace-using.cc: New test.
6270
8ac055f8
JB
62712009-05-20 Joel Brobecker <brobecker@adacore.com>
6272
6273 * gdb.ada/variant_record_packed_array: New testcase.
6274
85e306ed
TT
62752009-06-23 Tom Tromey <tromey@redhat.com>
6276
6277 * gdb.base/charset.exp (test_combination): Regression test.
6278 * gdb.base/charset.c (my_wchar_t): New typedef.
6279 (myvar): New global.
6280 (main): Set myvar.
6281
56643c5e
PM
62822009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6283
6284 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6285 target.
6286
1fac167a
UW
62872009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6288
6289 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6290
7ccb0be9
UW
62912009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6292
6293 * gdb.mi/gdb680.exp: Update test for error message.
6294
568d6575
UW
62952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6296
6297 * gdb.base/annota1.exp: Allow multiple occurrences of the
6298 frames-invalid annotation.
6299 * gdb.cp/annota2.exp: Likewise.
6300
7cd1089b
PM
63012009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6302
6303 * gdb.cp/gdb2495.cc: New file.
6304 * gdb.cp/gdb2495.exp: New file.
6305
72c63395
JK
63062009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6307
6308 Report error on GDB crash during runto.
6309 * lib/gdb.exp (runto <eof>): New.
6310
3788363d
DJ
63112009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6312
6313 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6314 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6315 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6316 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6317 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6318 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6319 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6320 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6321 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6322 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6323 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6324 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6325 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6326 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6327 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6328 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6329 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6330 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6331 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6332 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6333 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6334 gdb.trace/passcount.exp, gdb.trace/report.exp,
6335 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6336 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6337 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6338 executable.
6339
17592de3
PA
63402009-06-07 Pedro Alves <pedro@codesourcery.com>
6341
6342 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6343 defined before referencing it.
6344
701e355d
DE
63452009-06-03 Doug Evans <dje@google.com>
6346
6347 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6348 * gdb.arch/i386-see.c: Ditto.
6349
f2292c65
PM
63502009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6351
6352 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6353 (check_macro): Return 1 if undefined.
6354 If first test fails, check if macro debug information is available,
6355 and report unsupported test if no macro information is found.
6356
5a437975
DE
63572009-05-29 Doug Evans <dje@google.com>
6358
6359 * gdb.threads/hand-call-in-threads.exp: New.
6360 * gdb.threads/hand-call-in-threads.c: New.
6361
c141c696
MS
63622009-05-29 Michael Snyder <msnyder@vmware.com>
6363
6364 * gdb.base/break-always.exp: Change "1" to "on".
6365 Add confirmation check.
6366
b3444185
PA
63672009-05-28 Pedro Alves <pedro@codesourcery.com>
6368
6369 * gdb.threads/threxit-hop-specific.c: New.
6370 * gdb.threads/threxit-hop-specific.exp: New.
6371 * gdb.threads/thread-execl.c: New.
6372 * gdb.threads/thread-execl.exp: New.
6373
b6313243
TT
63742009-05-27 Tom Tromey <tromey@redhat.com>
6375 Thiago Jung Bauermann <bauerman@br.ibm.com>
6376
6377 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6378 (mi_child_regexp): Likewise.
6379 (mi_list_varobj_children_range): Likewise.
6380 (mi_get_features): Likewise.
6381 (mi_list_varobj_children): Rewrite.
6382 * gdb.python/python-mi.exp: New file.
6383
a6bac58e
TT
63842009-05-27 Tom Tromey <tromey@redhat.com>
6385 Thiago Jung Bauermann <bauerman@br.ibm.com>
6386 Phil Muldoon <pmuldoon@redhat.com>
6387 Paul Pluzhnikov <ppluzhnikov@google.com>
6388
6389 * gdb.python/python-prettyprint.exp: New file.
6390 * gdb.python/python-prettyprint.c: New file.
6391 * gdb.python/python-prettyprint.py: New file.
6392 * gdb.base/display.exp: print/r is now valid.
6393
2c74e833
TT
63942009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6395 Tom Tromey <tromey@redhat.com>
6396 Pedro Alves <pedro@codesourcery.com>
6397 Paul Pluzhnikov <ppluzhnikov@google.com>
6398
6399 * gdb.python/python-template.exp: New file.
6400 * gdb.python/python-template.cc: New file.
6401 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6402 tests.
6403 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6404 Call it.
6405 (test_value_after_death): New proc.
6406 * gdb.python/python-value.c (PTR): New typedef.
6407 (main): New variable 'x'.
6408
89c73ade
TT
64092009-05-27 Tom Tromey <tromey@redhat.com>
6410
6411 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6412 tests.
6413 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6414 Call it.
6415
a75724bc
PA
64162009-05-27 Pedro Alves <pedro@codesourcery.com>
6417
6418 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6419
e58b0e63
PA
64202009-05-24 Pedro Alves <pedro@codesourcery.com>
6421
6422 * gdb.threads/fork-thread-pending.c: New.
6423 * gdb.threads/fork-thread-pending.exp: New.
6424
4ac36638
JK
64252009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6426
6427 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6428 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6429
889bf7c5 64302009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6431
889bf7c5 6432 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6433
b242c3c2
PA
64342009-05-17 Pedro Alves <pedro@codesourcery.com>
6435
6436 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6437 `gdb_get_line_number'. Call `callee' in both parent and child.
6438 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6439 `gdb_get_line_number' instead of hardcoding line numbers.
6440 (catch_fork_unpatch_child): New procedure to test detaching
6441 breakpoints from child fork.
6442 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6443 hardcoding line numbers.
6444 (do_fork_tests): Run `catch_fork_unpatch_child'.
6445
ee342b23
VP
64462009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6447
6448 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6449 of structure type enters or leaves the scope, it
6450 is reported by -var-update.
6451
e2009e98
DE
64522009-05-11 Doug Evans <dje@sebabeach.org>
6453
6454 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6455 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6456 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6457
00903456
JK
64582009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6459
6460 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6461
dc621c35
DE
64622009-04-30 Doug Evans <dje@google.com>
6463
6464 * gdb.threads/watchthreads2.exp: New testcase.
6465 * gdb.threads/watchthreads2.c: New testcase.
6466
9ab4e744
DE
64672009-04-29 Doug Evans <dje@google.com>
6468
6469 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6470 * gdb.cp/mb-ctor.cc: Ditto.
6471 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6472 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6473 * gdb.cp/mb-inline1.cc: Call it.
6474 * gdb.cp/mb-inline2.cc: Ditto.
6475 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6476 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6477
484086b7
JK
64782009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6479
6480 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6481 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6482 Replace all uses of `decimal' by `nonzero'.
6483 (info macro FROM_COMMANDLINE): New test.
6484
379a77b5
TT
64852009-04-27 Tom Tromey <tromey@redhat.com>
6486
6487 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6488
b92b73c2
DE
64892009-04-27 Doug Evans <dje@google.com>
6490
6491 * gdb.threads/watchthreads.c (main): Initialize args before starting
6492 the threads. Plus formatting cleanup.
6493 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6494 biased scheduling of one thread.
6495
945a118d
JG
64962009-04-27 Jerome Guitton <guitton@adacore.com>
6497
6498 * gdb.cp/templates.cc (GetMax): New template.
6499 (main): Declare two instances of GetMax.
6500 * gdb.cp/templates.exp: Add new test.
6501
d389af10
JK
65022009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6503
6504 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6505
e7f86de9
JM
65062009-04-22 Joseph Myers <joseph@codesourcery.com>
6507
6508 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6509
334cc82d
TT
65102009-04-15 Tom Tromey <tromey@redhat.com>
6511
6512 * gdb.base/charset.exp: Add regression test.
6513
d12672cc
JB
65142009-04-14 Joel Brobecker <brobecker@adacore.com>
6515
6516 * gdb.base/exe-lock.exp: New testcase.
6517
18e8c3bc
TT
65182009-04-13 Tom Tromey <tromey@redhat.com>
6519
6520 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6521 operator on Frame.
6522
5ecd5cbe
UW
65232009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6524
6525 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6526 * gdb.server/ext-attach.exp: Likewise.
6527
7309f756
VP
65282009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6529
6530 Eliminate some sleep usage.
6531
889bf7c5
PA
6532 * gdb.mi/basics.c (do_nothing): New.
6533 (main): Use do_nothing instead of printf, so that
6534 not to introduce race condition between output of
6535 inferiour and output of gdb. Do not use sleep as it
6536 is not generally available on embedded targets.
7309f756 6537
f4b95f6f
PA
65382009-04-02 Pedro Alves <pedro@codesourcery.com>
6539
6540 * gdb.server/ext-attach.exp: Expect an optional process id after
6541 "Detached from remote process".
6542
de40b933
JK
65432009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6544
6545 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6546 gdb.dwarf2/dw2-unresolved.exp: New.
6547
2ae101a4
PA
65482009-04-02 Pedro Alves <pedro@codesourcery.com>
6549
6550 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6551 mi_run_to_main.
6552
56a8e183
PA
65532009-04-02 Pedro Alves <pedro@codesourcery.com>
6554
6555 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6556 mi_run_to_main. Skip thread exit test on remote targets.
6557 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6558 mi_run_to_main.
6559 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6560 mi_run_to_main.
6561 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6562 when expecting ^connected. Detect when the target doesn't support
6563 non-stop mode.
6564 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6565 supported. Return -1 on error, 0 on success.
6566 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6567 (mi_runto): Return mi_runto_helper's result explicitly.
6568
c35fafde
PA
65692009-04-01 Pedro Alves <pedro@codesourcery.com>
6570
6571 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6572
f8a8dce6
JB
65732009-04-01 Tom Tromey <tromey@redhat.com>
6574
6575 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6576 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6577 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6578 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6579
71c25dea
TT
65802009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6581 Jan Kratochvil <jan.kratochvil@redhat.com>
6582
6583 PR gdb/931
6584 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6585 output.
6586 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6587 for gdb/931.
6588 * dw2-strp.S (DW_AT_language): Change to C++.
6589 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6590
02d9a9ce
JB
65912009-03-31 Joel Brobecker <brobecker@adacore.com>
6592
6593 * gdb.ada/tasks: New testcase.
6594
1042e4c0
SS
65952009-03-30 Stan Shebs <stan@codesourcery.com>
6596
6597 * gdb.trace/actions.exp: Update to match new info trace format.
6598 * gdb.trace/deltrace.exp: Ditto.
6599 * gdb.trace/infotrace.exp: Ditto.
6600 * gdb.trace/passcount.exp: Ditto.
6601 * gdb.trace/save-trace.exp: Ditto.
6602 * gdb.trace/while-stepping.exp: Ditto.
6603 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6604
f8f6f20b
TJB
66052009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6606
6607 * gdb.python/python-frame.c: New file.
6608 * gdb.python/python-frame.exp: New file.
6609
c0c6f777
TJB
66102009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6611
6612 * gdb.python/python-value.exp: Add tests for the address
6613 attribute.
6614
3cb51905
AS
66152009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6618
88fc996f
DE
66192009-03-26 Doug Evans <dje@google.com>
6620
6621 * gdb.mi/mi-nonstop-exit.exp: New file.
6622 * gdb.mi/non-stop-exit.c: New file.
6623
56ef84b1
TT
66242009-03-26 Tom Tromey <tromey@redhat.com>
6625
6626 Update for change to prologue skipping:
6627 * gdb.mi/mi2-simplerun.exp: Update.
6628 * gdb.mi/mi2-break.exp: Update.
6629 * gdb.mi/mi-simplerun.exp: Update.
6630 * gdb.mi/mi-break.exp: Update.
6631 * gdb.base/ending-run.exp: Update.
6632
def2b000
TJB
66332009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6634
6635 * gdb.python/python-value.exp (test_value_in_inferior): Test
6636 gdb.Value.is_optimized_out attribute.
6637
442ddf59
JK
66382009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6639
6640 * gdb.dwarf2/dw2-noloc-main.c: New file.
6641 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6642 (.text): Remove.
6643 (.data): New.
6644 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6645 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6646 (DW_TAG_subprogram func_cu1, noloc): Remove.
6647 (main): New.
6648 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6649 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6650 (file_symbols): New procedure.
6651
a8df5de4
TT
66522009-03-25 Tom Tromey <tromey@redhat.com>
6653
6654 * gdb.base/charset.exp (valid_target_charset): New proc.
6655 Use it to skip tests on invalid charsets.
6656
cc1d7add
PM
66572009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6658
6659 * gdb.base/completion.exp: Add a test for directory completion.
6660
bcd5727b
JK
66612009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 Fix a racy FAIL.
6664 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6665 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6666
cc924cad
TJB
66672009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6668
6669 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6670 * gdb.python/python-function.exp: Add test for function returning
6671 a GDB value.
6672
bc3b79fd
TJB
66732009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6674
6675 * gdb.python/python-function.exp: New file.
6676
6c7a06a3
TT
66772009-03-20 Tom Tromey <tromey@redhat.com>
6678
6679 * gdb.base/store.exp: Update for change to escape output.
6680 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6681 to escape output.
6682 * gdb.base/pointers.exp: Update for change to escape output.
6683 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6684 to escape output.
6685 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6686 escape output.
6687 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6688 to escape output.
6689 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6690 escape output.
6691 * gdb.base/setvar.exp: Update for change to escape output.
6692 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6693 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6694 to escape output.
6695 (test_print_string_constants): Likewise.
6696 * gdb.base/charset.exp (valid_host_charset): Check size of
6697 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6698 cases. Handle "auto"-related output.
6699 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6700 (uvar, Uvar): New globals.
6701
c31af87b
JG
67022009-03-19 Jerome Guitton <guitton@adacore.com>
6703
6704 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6705 deltas.
6706 * gdb.ada/fixed_points.exp: Ditto.
6707
51272cf2
PA
67082009-03-18 Pedro Alves <pedro@codesourcery.com>
6709
6710 * return-nodebug.c: Don't include stdio.h.
6711 (init): Delete.
6712 (func): Delete definition and provide extern declaration.
6713 (t): New.
6714 (main): Don't call printf. Call func and store its result in t.
6715 * return-nodebug1.c: New.
6716 * return-nodebug.exp: Don't expect stdio output. Instead, print
6717 the global variable t. Drop printf formatters and cast types from
6718 foreach loop. Don't use prepare_for_testing. Compile
6719 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6720 define FORMAT or CAST.
6721
d24948ac
PP
67222009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6723
6724 * gdb.base/solib-display.exp: Disable test for remote targers.
6725
61ff14c6
JK
67262009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6729
cb4dce93
JK
67302009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6731
6732 Fix a racy FAIL.
6733 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6734 code from `follow parent, print pids'.
6735 (`follow child, print pids', `follow parent, print pids'): Call it.
6736 Replace `gdb_test "break..."' by gdb_breakpoint.
6737
f7c60c5e
VP
67382009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6739
6740 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6741 sync and async modes.
f7c60c5e 6742
383ace49
JB
67432009-03-12 Joel Brobecker <brobecker@adacore.com>
6744
6745 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6746 that was checked in by mistake. Remove loading of ada.exp, since
6747 this is not necessary in this case.
6748
4ce102af
JB
67492009-03-12 Joel Brobecker <brobecker@adacore.com>
6750
6751 * gdb.ada/ptype_arith_binop.exp: New testcase.
6752
529a2aef
JB
67532009-03-12 Joel Brobecker <brobecker@adacore.com>
6754
6755 * gdb.ada/mod_from_name: New testcase.
6756
8a38181c
JB
67572009-03-12 Joel Brobecker <brobecker@adacore.com>
6758
6759 * gdb.ada/tick_last_segv: New testcase.
6760
11436dee
VP
67612009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6762
61ff14c6 6763 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6764
1f31650a
VP
67652009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6766
61ff14c6
JK
6767 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6768 include the token in ^running and frame info in *stopped.
1f31650a 6769
a3247a22
PP
67702009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6771
6772 * solib-display.exp: New file.
6773 * solib-display-main.c: New file.
6774 * solib-display-lib.c: New file.
61ff14c6 6775
aae64587
PA
67762009-03-05 Pedro Alves <pedro@codesourcery.com>
6777
6778 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6779
44aabfbc
JK
67802009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6781
6782 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6783 (list_and_check_macro): Use more specific test name.
6784 (next to definition): Make the test names unique.
6785
c087fcd3
PM
67862009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6787
6788 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6789
c86cf029
VP
67902009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6791
6792 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6793 notifications.
6794 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6795 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6796 * lib/mi-support.exp (library_loaded_re): New.
6797 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6798
3ea85240
VP
67992009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6800
6801 * gdb.gdb/observer.exp: Use test_notification observer, not
6802 normal_stop, everywhere.
6803 (test_normal_stop_notifications): Rename to...
6804 (test_notifications): ...this.
6805 (test_observer_normal_stop): Rename to...
6806 (test_observer): ...this.
6807
1903f0e6
DE
68082009-02-16 Doug Evans <dje@google.com>
6809
6810 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6811 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6812 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6813 (test_prefixed_syscall,test_int3): New tests.
6814 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6815 (test_prefixed_syscall,test_int3): New tests.
6816
1d33d6ba
VP
68172009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6818
3cb51905
AS
6819 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6820 (mi_expect_interrupt): Likewise.
6821 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6822 response.
1d33d6ba 6823
faafb047
PM
68242009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6825
6826 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6827 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6828 Replace calls to get_valueofx by get_hexadecimal_valueof.
6829
417e16e2
PM
68302009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6831
6832 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6833 (get_integer_valueof): New procedure.
6834 (get_sizeof): Use new get_integer_value_of.
6835 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6836 by get_integer_valueof.
6837
7065b901
TT
68382009-02-13 Tom Tromey <tromey@redhat.com>
6839
6840 * gdb.base/remote.exp (get_sizeof): Remove.
6841 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6842 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6843 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6844 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6845 (get_sizeof): Likewise.
6846
5d7cb8df
JK
68472009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6848
6849 PR fortran/9806
6850 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6851
b2febfff
PP
68522009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6853
6854 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6855
4aa995e1
PA
68562009-02-06 Pedro Alves <pedro@codesourcery.com>
6857
6858 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6859
d8906c6f
TJB
68602009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6861
6862 * gdb.python/python-cmd.exp: New file.
6863
ff4ab08d
TG
68642009-02-06 Tristan Gingold <gingold@adacore.com>
6865
6866 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6867
aacd552b
TG
68682009-02-05 Tristan Gingold <gingold@adacore.com>
6869
6870 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6871 pointer is dereferenced and use this signal name in regexp.
6872 * gdb.base/signull.exp: Ditto.
6873 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6874 * gdb.base/signull.c (main): Ditto.
6875
08c637de
TJB
68762009-02-04 Tom Tromey <tromey@redhat.com>
6877 Thiago Jung Bauermann <bauerman@br.ibm.com>
6878
6879 * gdb.python/python-value.exp: Use `gdb.history' instead of
6880 `gdb.value_from_history'.
6881 (test_value_numeric_ops): Add test for conversion of enum constant.
6882 * gdb.python/python-value.c (enum e): New type.
6883 (evalue): New global.
6884 (main): Use argv.
6885
20261af8
JG
68862009-02-04 Jerome Guitton <guitton@adacore.com>
6887
6888 * gdb.ada/uninitialized_vars: New test program.
6889 * gdb.ada/uninitialized_vars.exp: New testcase.
6890
52e44b43
TT
68912009-02-02 Tom Tromey <tromey@redhat.com>
6892
6893 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6894 * gdb.cp/pr2489.cc: Rename...
6895 * gdb.cp/pr9594.cc: ... to this.
6896
1c71341a
TT
68972009-02-02 Tom Tromey <tromey@redhat.com>
6898
6899 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6900 * gdb.cp/pr2489.cc: New file.
6901 * gdb.cp/cpcompletion.exp: New file.
6902
a4295225
TT
69032009-02-02 Tom Tromey <tromey@redhat.com>
6904
6905 PR exp/9059:
6906 * gdb.cp/call-c.exp: Add regression test.
6907 * gdb.cp/call-c.cc (FooHandle): New typedef.
6908 (main): New variable 'handle'.
6909
592375cd
VP
69102009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6911
6912 * lib/mi-support.exp (et_mi_thread_list)
6913 (check_mi_and_console_threads): Adjust for current thread in
6914 -thread-list-ids output.
6915
41447f92
VP
69162009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6917
889bf7c5
PA
6918 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6919 Call it.
41447f92 6920
35669430
DE
69212009-01-28 Doug Evans <dje@google.com>
6922
6923 * gdb.arch/amd64-disp-step.S: New file.
6924 * gdb.arch/amd64-disp-step.exp: New file.
6925 * gdb.arch/i386-disp-step.S: New file.
6926 * gdb.arch/i386-disp-step.exp: New file.
6927
09f00d9a
PM
69282009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6929
6930 * gdb.base/find.exp: Set newline variable
6931 using quotes instead of braces to fix cygwin failures.
6932
1e8fb976
PA
69332009-01-23 Pedro Alves <pedro@codesourcery.com>
6934
6935 * gdb.base/radix.exp: Add tests to ensure that that set
6936 input-radix 0 and set output-radix 0 are really rejected.
6937
da061712
PA
69382009-01-23 Pedro Alves <pedro@codesourcery.com>
6939
6940 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6941 copyright years.
6942
dd7e2d2b
PA
69432009-01-23 Pedro Alves <pedro@codesourcery.com>
6944
6945 PR gdb/9664:
6946 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6947
392452f6
PA
69482009-01-22 Pedro Alves <pedro@codesourcery.com>
6949
6950 PR c++/9631:
6951 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6952
8653e71c
PM
69532009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6954
6955 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6956 binfile definition to fix Windows OS failure.
6957
a12cc160
DJ
69582009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6959
6960 PR gdb/9346
6961 * gdb.base/interrupt.c (sigint_handler): New.
6962 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6963 on error.
6964 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6965 Test "signal SIGINT".
6966
b89667eb
DE
69672009-01-19 Doug Evans <dje@google.com>
6968
6969 * gdb.base/break.exp: Update expected gdb output.
6970 * gdb.base/sepdebug.exp: Ditto.
6971 * gdb.mi/mi-syn-frame.exp: Ditto.
6972 * gdb.mi/mi2-syn-frame.exp: Ditto.
6973 * gdb.base/call-signal-resume.exp: New file.
6974 * gdb.base/call-signals.c: New file.
6975 * gdb.base/unwindonsignal.exp: New file.
6976 * gdb.base/unwindonsignal.c: New file.
6977 * gdb.threads/interrupted-hand-call.exp: New file.
6978 * gdb.threads/interrupted-hand-call.c: New file.
6979 * gdb.threads/thread-unwindonsignal.exp: New file.
6980
adb483fe
DJ
69812009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6982
6983 * gdb.base/define.exp: Test defining and hooking prefix commands.
6984 * gdb.python/python.exp: Update test for "show user" output.
6985
60023297
JK
69862009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6987
6988 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6989 now the output exactly, using less wildcards. Expect also the output
6990 of gfortran-4.3. Update for the f-valprint.c modification from
6991 2008-04-22.
6992 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6993 Remove gdb_test test names where matching the command.
6994
ccc57cf9
PA
69952009-01-01 Pedro Alves <pedro@codesourcery.com>
6996
6997 PR breakpoints/9681:
6998 * gdb.base/watchpoint.exp: Add regression test.
6999
c7a6ca08
PA
70002008-12-31 Pedro Alves <pedro@codesourcery.com>
7001
7002 * gdb.threads/attach-into-signal.exp: Don't use
7003 gdb_suppress_entire_file.
7004 * gdb.threads/attach-stopped.exp: Ditto.
7005 * gdb.threads/attachstop-mt.exp: Ditto.
7006
3a031f65
PA
70072008-12-31 Pedro Alves <pedro@codesourcery.com>
7008
7009 PR gdb/8812:
7010 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7011
09e6485f
PA
70122008-12-29 Pedro Alves <pedro@codesourcery.com>
7013
7014 PR gdb/7536:
7015 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7016 and unsupported output radices are really rejected.
7017
0cd53049
JK
70182008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7019
7020 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7021
ba163c7e
TT
70222008-12-22 Tom Tromey <tromey@redhat.com>
7023
7024 * gdb.cp/punctuator.exp: New file.
7025
6f4de6c9
JK
70262008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7027
7028 * gdb.base/completion.exp (Completing non-existing component): New test.
7029
0f34d0b4
JK
70302008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 Fix for PR gdb/8648.
7033 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7034 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7035 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7036 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7037
db2ad4c3
JK
70382008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7039
7040 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7041
bb5ef15e
DP
70422008-12-16 Christophe Lyon <christophe.lyon@st.com>
7043
7044 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7045 compiler actually generate code at the expected line number.
7046
90142adc
JZ
70472008-12-15 Jie Zhang <jie.zhang@analog.com>
7048
7049 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7050
fad6eecd
TT
70512008-12-12 Tom Tromey <tromey@redhat.com>
7052
7053 * gdb.base/commands.exp (redefine_hook_test): New proc.
7054 Call it.
7055
17c8aaf5
TT
70562008-12-11 Tom Tromey <tromey@redhat.com>
7057
7058 * gdb.base/macscp.exp: New regression test.
7059
7c8adf68
TT
70602008-12-11 Tom Tromey <tromey@redhat.com>
7061
7062 * gdb.base/macscp.exp: Print "address.addr".
7063 * gdb.base/macscp1.c (struct outer): New struct.
7064 (address): New global.
7065
b05dcbb7
TT
70662008-12-09 Tom Tromey <tromey@redhat.com>
7067
7068 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7069 Call it.
7070
2d476de1
DE
70712008-12-04 Doug Evans <dje@google.com>
7072
7073 * gdb.server/ext-run.exp: Relax regexp for init program.
7074
87bdc959
TG
70752008-12-03 Tristan Gingold <gingold@adacore.com>
7076
7077 * gdb.base/macscp.exp: Generate an object file during compilation
7078 to work around Darwin dsymutil limitations.
7079
e0740f77
JK
70802008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7081
7082 Test resolving external references to TLS variables.
7083 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7084 FILE2_THREAD_LOCAL.
7085 (testfile2, srcfile2): New variables.
7086 * gdb.threads/tls.c (file2_thread_local)
7087 (function_referencing_file2_thread_local): New.
7088 * gdb.threads/tls2.c: New file.
7089
67f0aac5
JB
70902008-11-28 Joel Brobecker <brobecker@adacore.com>
7091
7092 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7093 rather than integer, as integer might not be big enough when
7094 on 64bit targets.
67f0aac5 7095
c332165e
JG
70962008-11-27 Jerome Guitton <guitton@adacore.com>
7097
7098 * gdb.cp/formatted-ref.exp: Add equality test.
7099 * gdb.ada/formatted_ref.exp: Ditto.
7100
fc9b693c
JK
71012008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7104 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7105
a9c64011
AS
71062008-11-20 Andreas Schwab <schwab@suse.de>
7107
7108 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7109 matching syscall entry point.
7110 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7111 (tcatch_vfork_then_child_follow): Likewise. Finish through
7112 vfork even if we stopped at the syscall trampoline.
7113
e2fd701e
DE
71142008-11-20 Doug Evans <dje@google.com>
7115
7116 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7117
69abc51c
TJB
71182008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7119
7120 * gdb.arch/ppc-dfp.exp: New file.
7121 * gdb.arch/ppc-dfp.c: New file.
7122
c14c28ba
PP
71232008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7124
7125 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7126
2e74121d
DE
71272008-11-17 Doug Evans <dje@google.com>
7128
7129 * gdb.mi/mi-syn-frame.exp: Update expected output.
7130 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7131
66bb093b
VP
71322008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7133
7134 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7135 "thread N" results in =thread-selected.
7136 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7137 (mi_send_resuming_command_raw): Be prepared for
7138 =thread-selected.
7139
3d043ef6
VP
71402008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7141
a9c64011
AS
7142 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7143 * lib/mi-support.exp: Likewise.
3d043ef6 7144
808104c8
JB
71452008-11-16 Joel Brobecker <brobecker@adacore.com>
7146
7147 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7148 commands from the expected output for "help catch".
7149
00b22944
JB
71502008-11-15 Joel Brobecker <brobecker@adacore.com>
7151
7152 * gdb.ada/int_deref.exp: New testcase.
7153
59669435
TT
71542008-11-14 Nick Roberts <nickrob@snap.net.nz>
7155
7156 * gdb.mi/gdb2549.exp: New file.
7157
de04a248
DE
71582008-11-11 Doug Evans <dje@google.com>
7159
7160 * gdb.base/callexit.exp: New file.
7161 * gdb.base/callexit.c: New file.
7162
6b8ce727
DE
71632008-11-10 Doug Evans <dje@google.com>
7164
7165 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7166 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7167 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7168 (default_gdb_start,default_gdb_exit): Ditto.
7169 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7170 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7171 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7172 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7173 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7174 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7175
1b14b8aa
AS
71762008-11-03 Andreas Schwab <schwab@suse.de>
7177
7178 * gdb.base/hashline2.exp: Fix typo.
7179 * gdb.base/hashline3.exp: Likewise.
7180
f3134b88
TT
71812008-10-30 Tom Tromey <tromey@redhat.com>
7182
7183 * gdb.base/pointers.exp: Add test.
7184 * gdb.base/pointers.c (k, S): New typedefs.
7185 (instance): New global.
7186
c2226152
AS
71872008-10-30 Andreas Schwab <schwab@suse.de>
7188
7189 * gdb.base/args.exp: Add tests for newlines.
7190
462f405c
JB
71912008-10-30 Joel Brobecker <brobecker@adacore.com>
7192
7193 gdb.base/foll-exec.exp: Update the expected output of a couple
7194 of "info breakpoints" tests.
7195
79a45b7d
TT
71962008-10-28 Tom Tromey <tromey@redhat.com>
7197
7198 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7199
adc13a14
PA
72002008-10-24 Pedro Alves <pedro@codesourcery.com>
7201
7202 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7203 gdb_start_cmd.
7204 Use runto_main before any test that requires execution.
7205
252fbfc8
PA
72062008-10-23 Pedro Alves <pedro@codesourcery.com>
7207
7208 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7209 instead of SIGINT.
7210
28148e3d
JB
72112008-10-22 Joel Brobecker <brobecker@adacore.com>
7212
7213 * gdb.base/completion.exp: Update expected output following
7214 the addition of the "info tasks" command.
7215
c209f847
TT
72162008-10-22 Tom Tromey <tromey@redhat.com>
7217
7218 * gdb.base/exprs.exp (test_expr): Add test for string
7219 concatenation.
7220
f177e350
PA
72212008-10-19 Pedro Alves <pedro@codesourcery.com>
7222
7223 * configure.ac: Output gdb.python/Makefile.
7224 * configure: Regenerate.
7225 * gdb.python/Makefile.in: New.
7226
cce89356
JB
72272008-10-16 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.base/foll-fork.exp: Adjust the expected output to match
7230 the new description for fork/vfork catchpoints in the "info
7231 breakpoints" output.
7232
176d289d
TJB
72332008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7234
7235 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7236
a08702d6
TJB
72372008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7238
7239 * gdb.python/python-value.c: New file.
7240 * gdb.python/python-value.exp: New file.
7241
1c5cfe86
PA
72422008-10-15 Pedro Alves <pedro@codesourcery.com>
7243
7244 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7245
5a98ad69
DP
72462008-10-15 Denis Pilat <denis.pilat@st.com>
7247
41702f1b 7248 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7249
dcb1a1e2
TT
72502008-10-09 Tom Tromey <tromey@redhat.com>
7251
7252 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7253 'fprintf' and 'stderr'.
7254
9124fe48
JB
72552008-10-07 Joel Brobecker <brobecker@adacore.com>
7256
7257 * gdb.ada/ref_tick_size.exp: New testcase.
7258
45452591
DE
72592008-10-06 Doug Evans <dje@google.com>
7260
7261 * gdb.dwarf2/dw2-cu-size.exp: New file.
7262 * gdb.dwarf2/dw2-cu-size.S: New file.
7263
7264 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7265 .Ltype_int for clarity.
7266
4fc5b208
PP
72672008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7268
7269 PR gdb/2384:
7270 * gdb.cp/gdb2384.exp: Extended to test more cases.
7271 * gdb.cp/gdb2384.cc: Likewise.
7272 * gdb.cp/gdb2384-base.h: Likewise.
7273 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7274
d78df370
JK
72752008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.base/maint.exp (maint print type): Remove printing
7278 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7279
9a044a89
TT
72802008-09-30 Tom Tromey <tromey@redhat.com>
7281
7282 * gdb.base/macscp.exp: Add completion tests.
7283 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7284 (TWENTY_THREE): Likewise.
7285 (FORTY_EIGHT): Likewise.
7286
506800a9
TT
72872008-09-30 Tom Tromey <tromey@redhat.com>
7288
7289 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7290 everywhere.
7291 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7292
1a6f01b5
JK
72932008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7294
7295 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7296 testcase is derived from. Fix racy dependency on an expected PID
7297 number. No longer support the testcase on Linux kernel 2.4.x.
7298
2fae03e8
TT
72992008-09-27 Tom Tromey <tromey@redhat.com>
7300
7301 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7302 and varargs.
7303
1ad15515
PA
73042008-09-22 Pedro Alves <pedro@codesourcery.com>
7305
7306 * lib/mi-support.exp (mi_expect_interrupt): New.
7307 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7308 from gdb.mi/mi-nonstop.exp.
7309 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7310 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7311 lib/mi-support.exp.
7312 Use mi_check_thread_states throughout. Avoid ".*" and do not
7313 require an anchor after -exec-run.
7314
d0b76dc6
DJ
73152008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7316
7317 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7318 stop is pending. Avoid ".*" when two stops are pending.
7319 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7320 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7321 newlines in fullnames.
7322 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7323 (mi_expect_stop): Update comments. Only anchor in sync mode.
7324 Do not match newlines.
7325 (mi_send_resuming_command_raw): Always return status.
7326 (mi_get_stop_line): Do not match more than one line by accident.
7327 Only anchor in sync mode.
7328 (mi_run_inline_test): If -exec-next fails, give up.
7329
9990c830
UW
73302008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7331
7332 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7333 on SPU.
7334
ebcf6f00
JB
73352008-09-10 Joel Brobecker <brobecker@adacore.com>
7336
7337 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7338
b6db24e5
JB
73392008-09-10 Joel Brobecker <brobecker@adacore.com>
7340
7341 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7342 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7343 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7344 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7345 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7346 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7347 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7348 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7349 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7350 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7351 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7352 Include the "= " sequence in the expected output of print tests.
7353
2bf448e0
JB
73542008-09-10 Joel Brobecker <brobecker@adacore.com>
7355
7356 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7357 description for boolean types.
7358
d51fd4c8
PA
73592008-09-09 Pedro Alves <pedro@codesourcery.com>
7360
7361 * gdb.base/hook-stop-continue.c: New.
7362 * gdb.base/hook-stop-continue.exp: New.
7363
694182d2
DJ
73642008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7365
7366 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7367
3b8a7fc0
JG
73682008-09-08 Jerome Guitton <guitton@adacore.com>
7369
7370 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7371 (stack_check_probe_2, stack_check_probe_loop_1)
7372 (stack_check_probe_loop_2): New functions.
7373 (main): Add call to these new functions.
7374 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7375 functions, check that the breakpoint is inserted at the appropriate
7376 location.
7377 (insert_breakpoint): Slightly refine this procedure so that it can
7378 be called several times in the test.
7379
96cc0ae8
JG
73802008-09-08 Jerome Guitton <guitton@adacore.com>
7381
7382 * gdb.base/stack-checking.c: New file.
7383 * gdb.base/stack-checking.exp: New file.
7384
1f08b409
TJB
73852008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7386
7387 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7388 * gdb.arch/altivec-regs.exp: Likewise.
7389 * gdb.arch/vsx-regs.exp: Likewise.
7390
3099e1c4
TJB
73912008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7392
7393 * gdb.arch/ppc-fp.exp: New file.
7394 * gdb.arch/ppc-fp.c: New file.
7395
cc69bfc1
PP
73962008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7397
7398 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7399 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7400
b02a33db
MS
74012008-09-04 Michael Snyder <msnyder@vmware.com>
7402
7403 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7404 as "at" (for non-debug functions such as _start).
7405
2992cbe0
UW
74062008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7407
7408 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7409 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7410 software watchpoints.
7411 * gdb.base/watch_thread_num.exp: Likewise.
7412
514f746b
AR
74132008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7414
7415 * gdb.arch/i386-bp_permanent.exp: New test.
7416
876cecd0
TT
74172008-08-24 Tom Tromey <tromey@redhat.com>
7418
7419 * gdb.base/maint.exp: Update "maint print type".
7420
80f73d71
VP
74212008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7422
7423 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7424 support. Adjust the order of "*running" notifications.
7425 * gdb.mi/non-stop.c: Don't cast from int to void* and
7426 back.
7427
d9c78d7d
MK
74282008-08-20 Mark Kettenis <kettenis@gnu.org>
7429
7430 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7431 expect to find it in the "info frame" output.
7432
97a2d1d3
DJ
74332008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7434
7435 * gdb.base/interp.exp: Always consume both prompts.
7436
b96e2927
PA
74372008-08-20 Pedro Alves <pedro@codesourcery.com>
7438
7439 * gdb.base/pending.exp: Test pending breakpoints without symbols
7440 loaded.
7441
8cf6e61a
VP
74422008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7443
7444 * lib/mi-support.exp (mi_expect_stop): Produce
7445 more details on failures.
7446 * gdb.mi/mi-nonstop.exp: New.
7447 * gdb.mi/non-stop.c: New.
7448
c6ebd6cf
VP
74492008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7450
a9c64011
AS
7451 * gdb.mi/mi-async.exp: Use 'set target-async'.
7452 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7453
46a9b8ed
DJ
74542008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7455
7456 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7457
44feb3ce
TT
74582008-08-17 Tom Tromey <tromey@redhat.com>
7459
7460 * gdb.base/help.exp (help catch): Rewrite.
7461
311a4e6b
TJB
74622008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7463
7464 * gdb.base/define.exp: Test indented command documentation.
7465 * gdb.python/python.exp: Test indented multi-line command.
7466
604c2f83
LM
74672008-08-15 Luis Machado <luisgpm@br.ibm.com>
7468
7469 * testsuite/gdb.arch/vsx-regs.c: New source file.
7470 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7471 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7472
886a217c
TT
74732008-08-14 Tom Tromey <tromey@redhat.com>
7474
7475 * gdb.base/macscp.exp: Add regression test for "macro define" or
7476 "macro undef" with no arguments.
7477
c814a4f3
PP
74782008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7479
7480 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7481
12ab8a60
UW
74822008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7483
7484 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7485
d57a3c85
TJB
74862008-08-06 Tom Tromey <tromey@redhat.com>
7487
7488 * gdb.python/python.exp: New file.
7489
c7b778ff
JK
74902008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7491
7492 Fix for PR gdb/1543.
7493 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7494 $LOCATION.
7495 (location): New variable.
7496 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7497 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7498 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7499 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7500 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7501 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7502 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7503 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7504 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7505 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7506 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7507 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7508 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7509 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7510 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7511 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7512 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7513 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7514 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7515 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7516 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7517 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7518 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7519 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7520 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7521 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7522 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7523 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7524 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7525 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7526 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7527 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7528 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7529 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7530 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7531 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7532 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7533 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7534 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7535 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7536 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7537 gdb.base/type-opaque.exp, gdb.base/until.exp,
7538 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7539 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7540 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7541 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7542 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7543 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7544 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7545 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7546 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7547 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7548 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7549 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7550 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7551 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7552 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7553 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7554 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7555 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7556 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7557 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7558 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7559 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7560 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7561 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7562 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7563 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7564 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7565 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7566 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7567 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7568 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7569 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7570 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7571 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7572 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7573 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7574 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7575 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7576 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7577 to bug-gdb@prep.ai.mit.edu .
7578
5e06a3d1
VP
75792008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7580
7581 * lib/mi-support.exp (mi_load_shlibs): New.
7582 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7583
9d81d21b
VP
75842008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7585
7586 * lib/mi-support.exp (get_mi_thread_list)
7587 (check_mi_and_console_threads): New, moved from ...
7588 * gdb.mi/mi-pthread.exp: ...here.
7589 * gdb.mi/gdb669.exp (get_mi_thread_list)
7590 (check_mi_and_console_threads): Delete.
7591 * gdb.mi/mi2-pthread.exp: Likewise.
7592
bae98fe0
TT
75932008-07-28 Tom Tromey <tromey@redhat.com>
7594
7595 * Makefile.in (just-check): Remove. Move body to...
7596 (check): ... here.
7597
57380f4e
DJ
75982008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7599
7600 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7601 Add a test for duplicated SIGINTs.
7602
e09490f1
DJ
76032008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7604
7605 * gdb.threads/schedlock.exp (get_args): Update to work for any
7606 value of NUM.
7607 (Top level): Report the number of threads that did not resume.
7608
6387b45f
DJ
76092008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7610
7611 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7612
62f64ff2
DJ
76132008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7614
7615 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7616 non-MI prompt.
7617
fa8de41e
TT
76182008-07-26 Tom Tromey <tromey@redhat.com>
7619
7620 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7621 (function_struct, function_struct_ptr): New globals.
7622 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7623 function pointer in a struct.
7624
ccb3ac8a
TT
76252008-07-26 Tom Tromey <tromey@redhat.com>
7626
7627 * gdb.base/macscp.exp: Add test for macro lexing bug.
7628
d7d9f01e
TT
76292008-07-18 Tom Tromey <tromey@redhat.com>
7630
7631 * gdb.base/macscp.exp: Add macro tests.
7632
9bf07184
PP
76332008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7634
7635 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7636
becf6477
PP
76372008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7638
7639 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7640
0709f7d3
PP
76412008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7642
7643 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7644
7093c834
PP
76452008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7646
7647 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7648
b432ffe3
JK
76492008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7650
7651 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7652
b1a268e5
VP
76532008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7654
7655 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7656
e2995f8e
KB
76572008-07-11 Kevin Buettner <kevinb@redhat.com>
7658
7659 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7660 of regexp to account for changes made to GDB in the printing of
7661 byte vectors.
7662
14032a66
TT
76632008-07-11 Tom Tromey <tromey@redhat.com>
7664
7665 * gdb.base/completion.exp: Add 'help' completion test.
7666
981505ef
JK
76672008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7668
7669 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7670
10568435
JK
76712008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7674
4487aabf
PA
76752008-07-09 Pedro Alves <pedro@codesourcery.com>
7676
7677 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7678
a4a9b1c4
PA
76792008-07-09 Pedro Alves <pedro@codesourcery.com>
7680
7681 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7682
3c3185ac
JK
76832008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7686
7ebd49dc
VP
76872008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7688
7689 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7690 previous commit. Add a comment.
7691
84e46146
PA
76922008-06-28 Pedro Alves <pedro@codesourcery.com>
7693
7694 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7695
0f8d4a2f
VP
76962008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7697
7698 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7699
f747e0ce
PA
77002008-06-27 Pedro Alves <pedro@codesourcery.com>
7701
7702 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7703 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7704 compiling an executable, link in an object that forces unbuffered
7705 output.
7706 * lib/set_unbuffered_mode.c: New file.
7707
734a5c36
JK
77082008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7709
7710 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7711
a2840c35
VP
77122008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7713
a9c64011
AS
7714 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7715 mi_expect_stop.
7716 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7717 Demand that *running is output.
7718 (detect_async): Perform checking every time.
7719 (mi_send_resuming_command): Extract everything into...
7720 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7721 (mi_expect_stop): Don't accept any output before *stopped.
7722
6ae37fef
VP
77232008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7724
7725 Robustify mi-simplerun.
a9c64011
AS
7726 * gdb.mi/basics.c (main): Add a call to sleep.
7727 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7728 * gdb.mi/mi2-cli.exp: Likewise.
7729 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7730
b4aa76f0 77312008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7732
7733 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7734
e1ac3328
VP
77352008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7736
a9c64011
AS
7737 * gdb.mi/mi-console.exp: Adjust.
7738 * gdb.mi/mi-syn-frame.exp: Adjust.
7739 * gdb.mi/mi2-console.exp: Adjust.
7740 * gdb.mi/mi2-syn-frame.exp: Adjust.
7741 * lib/mi-support.exp (mi_run_cmd): Adjust.
7742 (mi_send_resuming_command): Adjust.
e1ac3328 7743
f7f9a841
VP
77442008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7745
7746 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7747 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7748 testing of stopped.
7749 * gdb.mi/mi2-syn-frame.exp: Likewise.
7750 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7751 (async, detect_async): New.
7752 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7753 depending on if we're running in sync or async mode.
f7f9a841 7754
37cd5d19
TT
77552008-06-09 Tom Tromey <tromey@redhat.com>
7756
7757 * gdb.base/completion.exp: New tests for field name completion
7758 with spaces, and field name completion with '->'.
7759
65d12d83
TT
77602008-06-06 Tom Tromey <tromey@redhat.com>
7761
7762 * gdb.base/break1.c (struct some_struct): New struct.
7763 (values): New global.
7764 * gdb.base/completion.exp: Add field name completion test.
7765
ebfe2e3f
PP
77662008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7767
7768 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7769 to pointer.
7770 * gdb.cp/call-c.cc: Likewise.
7771
bcf6fc3a
NR
77722008-06-06 Nick Roberts <nickrob@snap.net.nz>
7773
7774 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7775 annotation.
7776
49fd4a42 77772008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7778 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7779
7780 * gdb.threads/execl.c, gdb.threads/execl1.c,
7781 gdb.threads/execl.exp: New tests.
a9c64011 7782
8a34ac3f
AR
77832008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7784 Daniel Jacobowitz <dan@codesourcery.com>
7785
7786 * gdb.cp/exception.exp: Activate test, make it work with pending
7787 catchpoints.
7788
86ae69ef
JK
77892008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7790
7791 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7792
f7f9ae2c
VP
77932008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7794
a9c64011
AS
7795 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7796 now printed.
7797 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7798
2a2d4dc3
AS
77992008-05-27 Andreas Schwab <schwab@suse.de>
7800
7801 * gdb.base/frame-args.exp: Handle arguments that are optimized
7802 out.
7803
5099e4d9
LM
78042008-05-26 Luis Machado <luisgpm@br.ibm.com>
7805
7806 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7807 quiet for ppc32 and group options into a single variable.
7808
d9c36a91
JB
78092008-05-23 Joel Brobecker <brobecker@adacore.com>
7810
7811 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7812 of zero-size elements.
7813 * gdb.ada/null_array.exp: Test printing this new array.
7814
103a8671
JK
78152008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7816
7817 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7818
07a4cc1a 78192008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7820
7821 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7822 of the "finish" command.
7823
55f996a7
NR
78242008-05-21 Nick Roberts <nickrob@snap.net.nz>
7825
7826 * gdb.base/annota1.exp: Test for new annotation.
7827
907fc202
UW
78282008-05-16 Pedro Alves <pedro@codesourcery.com>
7829
7830 * gdb.base/fixsection.exp: New file.
7831 * gdb.base/fixsection0.c: New file.
7832 * gdb.base/fixsection1.c: New file.
7833
e8f97270
UW
78342008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7835
7836 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7837 * gdb.base/annota3.exp: Likewise.
7838
ac0bb574
NF
78392008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7840
7841 * gdb.base/watch_thread_num.exp: Don't run tests that require
7842 watchpoints if the target doesn't support them.
7843
6fadd07a
DE
78442008-05-12 Doug Evans <dje@google.com>
7845
7846 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7847
6e9a4a30
JB
78482008-05-09 Joel Brobecker <brobecker@adacore.com>
7849
7850 * gdb.ada/assign_1.exp: New testcase.
7851
08388c79
DE
78522008-05-09 Doug Evans <dje@google.com>
7853
a3c83fae
DE
7854 * gdb.base/find.exp: New file.
7855 * gdb.base/find.c: New file.
08388c79 7856
bd5ddfe8
DJ
78572008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7858
7859 * gdb.base/commands.exp (watchpoint_command_test): Handle
7860 gdb,no_hardware_watchpoints.
7861 * gdb.base/float.exp: Allow ARM targets without floating point.
7862 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7863
b5dd68e2 78642008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7865 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7866
7867 * gdb.ada/lang_switch: New test program.
7868 * gdb.ada/lang_switch.exp: New testcase.
7869
382d13d1
DE
78702008-05-05 Doug Evans <dje@google.com>
7871
7872 * gdb.base/help.exp (disassemble): Update expected help text.
7873
9dd789d0
PA
78742008-05-04 Pedro Alves <pedro@codesourcery.com>
7875
7876 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7877
611c83ae
PA
78782008-05-04 Pedro Alves <pedro@codesourcery.com>
7879
7880 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7881 different times.
7882
ff013f42
JK
78832008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7884
7885 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7886 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7887 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7888 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7889
96dff6a2
VP
78902008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7891
7892 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7893 notification to appear.
7894
55cd6f92
DJ
78952008-05-04 Daniel Jacobowitz <dan@debian.org>
7896
7897 * gdb.base/fullname.c: New file.
7898 * gdb.base/fullname.exp: New file.
7899 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7900
d705c43c
PA
79012008-05-03 Pedro Alves <pedro@codesourcery.com>
7902
7903 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7904 expressions with macros.
7905
333222e1
JK
79062008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7907
7908 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7909
5ac01682
DJ
79102008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7911
7912 * gdb.base/completion.exp: Handle lack of other symbols beginning
7913 with "a".
7914
7915 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7916
237fc4c9
PA
79172008-05-02 Jim Blandy <jimb@codesourcery.com>
7918
7919 * gdb.asm/asmsrc1.s: Add scratch space.
7920
ed5e9466
DJ
79212008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7922 Daniel Jacobowitz <dan@codesourcery.com>
7923
7924 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7925 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7926 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7927
b39cc962
DJ
79282007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7929
7930 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7931
36d520f5
JB
79322008-05-01 Joel Brobecker <brobecker@adacore.com>
7933
7934 * gdb.base/info-target.exp: New testcase.
7935
8d4e3071
DJ
79362008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7937
7938 * gdb.cp/hang.exp: Use .cc instead of .C.
7939 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7940 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7941
6f3f3097
DJ
79422008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7943
7944 * gdb.base/gdb1250.exp: Remove perror.
7945 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7946
5550a914
PA
79472008-04-30 Pedro Alves <pedro@codesourcery.com>
7948
7949 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7950 .2byte.
7951
d848e687
DJ
79522008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7953
7954 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7955 (maybe_kfail): New.
7956
93b5768b
PA
79572008-04-25 Pedro Alves <pedro@codesourcery.com>
7958
7959 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7960
721c02de
VP
79612008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7962
a9c64011
AS
7963 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7964 * gdb.mi/mi2-syn-frame.exp: Likewise.
7965 * lib/mi-support.exp: Likewise.
721c02de 7966
74960c60
VP
79672008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7968
7969 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7970 to specify regexp for the location to stop at.
7971 * gdb.base/break-always.c: New.
7972 * gdb.base/break-always.exp: New.
7973
d24317b4
VP
79742008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7975
7976 * lib/mi-support.exp (mi_runto_helper): Adjust
7977 for the original-location field.
7978 (mi_create_breakpoint, mi_list_breakpoints): New.
7979 * gdb.mi/mi-break.exp: Adjust.
7980 * gdb.mi/mi2-break.exp: Adjust.
7981 * gdb.mi/mi-pending.exp: Adjust.
7982 * gdb.mi/mi-simplerun.exp: Adjust.
7983 * gdb.mi/mi2-simplerun.exp: Adjust.
7984 * gdb.mi/mi-syn-frame.exp: Adjust.
7985 * gdb.mi/mi2-syn-frame.exp: Adjust.
7986 * gdb.mi/mi-until.exp: Adjust.
7987 * gdb.mi/mi2-until.exp: Adjust.
7988 * gdb.mi/mi-var-display.exp: Adjust.
7989 * gdb.mi/mi2-var-display.exp: Adjust.
7990 * gdb.mi/mi-watch.exp: Adjust.
7991 * gdb.mi/mi2-watch.exp: Adjust.
7992
fdc59709 79932008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 7994
a9c64011
AS
7995 * aclocal.m4: Add override.m4.
7996 * configure: Regenerate.
fdc59709 7997
8e91f023
VP
79982008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7999
8000 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8001 '-var-update --all-values' reports new value even the type
8002 of a variable object has changed.
8003
233a11ab
CS
80042008-04-18 Craig Silverstein <csilvers@google.com>
8005
8006 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8007 files.
d24317b4 8008
9c1137ad
JB
80092008-04-18 Joel Brobecker <brobecker@adacore.com>
8010
8011 * gdb.ada/atomic_enum: New test program.
8012 * gdb.ada/atomic_enum.exp: New testcase.
8013
66d0bbc7
DE
80142008-04-17 Doug Evans <dje@google.com>
8015
8016 * gdb.opt/Makefile.in: Fix whitespace.
8017
100906b0
UW
80182008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8019
8020 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8021
4584e32e
DE
80222008-04-17 Doug Evans <dje@google.com>
8023
8024 * gdb.base/hashline1.exp: New testcase.
8025 * gdb.base/hashline2.exp: New testcase.
8026 * gdb.base/hashline2.exp: New testcase.
8027
0a320680
PA
80282008-04-17 Pedro Alves <pedro@codesourcery.com>
8029
8030 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8031
18ac113b
AR
80322008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8033
8034 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8035 temporary breakpoint to match "Temporary breakpoint".
8036 * gdb.base/break.exp (delete_breakpoints): Likewise.
8037 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8038 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8039 * gdb.base/display.exp: Likewise.
8040 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8041 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8042 * gdb.base/restore.exp (restore_tests): Likewise.
8043 * gdb.base/sepdebug.exp: Likewise.
8044 * gdb.base/watchpoint.exp: Likewise.
8045 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8046 * gdb.mi/mi-pending.exp: Likewise.
8047 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8048 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8049 * gdb.mi/mi-var-cmd.exp: Likewise.
8050 * gdb.mi/mi-var-display.exp: Likewise.
8051 * gdb.mi/mi2-cli.exp: Likewise.
8052 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8053 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8054 * gdb.mi/mi2-var-display.exp: Likewise.
8055 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8056 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8057 new "disp" field.
a9c64011 8058 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8059 reason. This is to support fix for PR2424.
8060
add38693
JK
80612008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8062
8063 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8064
fcacd99f
VP
80652008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8066
8067 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8068 field. Add more floating varobj tests.
fcacd99f 8069 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8070 field.
8071 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8072 (main): Call do_at_tests.
8073 * lib/mi-support.exp (mi_create_floating_varobj)
8074 (mi_varobj_update_with_type_change): New.
fcacd99f 8075
de051565
MK
80762008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8077
8078 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8079 option of -var-evaluate-expression.
8080 * gdb.mi/mi2-var-display.exp: Likewise.
8081
dbc52822
VP
80822008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8083
8084 Introduce test setup helpers.
a9c64011
AS
8085 * lib/gdb.exp (build_executable, clean_restart)
8086 (prepare_for_testing): New.
8087 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8088 * gdb.base/return.exp: Likewise.
8089 * gdb.base/ending-run.exp: Likewise.
dbc52822 8090
473591da
NR
80912008-04-07 Nick Roberts <nickrob@snap.net.nz>
8092
8093 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8094 Interface (MI) responses.
8095
2b2d9e11
VP
80962008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8097
a9c64011
AS
8098 * gdb.cp/breakpoint.cc: New code to test conditions involving
8099 member variables.
8100 * gdb.cp/breakpoint.exp: Test condition involving member
8101 variables.
2b2d9e11 8102
bb378428
VP
81032008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8104
8105 * lib/mi-support.exp (mi_expect_stop): New.
8106 (mi_run_cmd): Change the
8107 token. Use mi_send_resuming_command, use
8108 mi_expect_stop.
8109 (mi_execute_to_helper): Rename to mi_execute_to.
8110 (mi_send_resuming_command): Add more error patterns.
8111 (mi_wait_for_stop): Renamed to...
8112 (mi_get_stop_line): ...this.
8113 (mi_run_inline_test): Adjust.
8114
8115 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8116 * gdb.mi/mi-console.exp: Likewise.
8117 * gdb.mi/mi-pending.exp: Likewise.
8118 * gdb.mi/mi-simplerun.exp: Likewise.
8119 * gdb.mi/mi-stack.exp: Likewise.
8120 * gdb.mi/mi-stepi.exp: Likewise.
8121 * gdb.mi/mi-syn-frame.exp: Add comment.
8122 * gdb.mi/mi-until.exp: Likewise.
8123 * gdb.mi/mi-var-display.exp: Likewise.
8124 * gdb.mi/mi-watch.exp: Likewise.
8125 * gdb.mi/mi2-cli.exp: Likewise.
8126 * gdb.mi/mi2-console.exp: Likewise.
8127 * gdb.mi/mi2-simplerun.exp: Likewise.
8128 * gdb.mi/mi2-stack.exp: Likewise.
8129 * gdb.mi/mi2-stepi.exp: Likewise.
8130 * gdb.mi/mi2-until.exp: Likewise.
8131 * gdb.mi/mi2-var-display.exp: Likewise.
8132 * gdb.mi/mi2-watch.exp: Likewise.
8133
62172bb9
UW
81342008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8135
8136 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8137
8138 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8139
a13e061a
PA
81402008-04-04 Pedro Alves <pedro@codesourcery.com>
8141
8142 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8143 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8144 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8145 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8146 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8147 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8148 expect an mi error duplicated in stderr.
8149
eae06beb
JB
81502008-04-03 Joel Brobecker <brobecker@adacore.com>
8151
8152 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8153 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8154 Add a couple of tests that verify the behavior when the new setting
8155 is set to "cancel" and "all".
8156 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8157 "ask" before we start the testing.
8158
79c6ced6
AR
81592008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8160
8161 * gdb.cp/casts.cc: Add class reference variables.
8162 * gdb.cp/casts.exp: New test cases for up/down casting references.
8163
6c2d1a6b
MK
81642008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8165
8166 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8167 instead of beginning to make an extra test pass.
8168 * gdb.mi/mi2-var-display.exp: Likewise.
8169
55b411d9
MR
81702008-03-31 Maciej W. Rozycki <macro@mips.com>
8171
8172 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8173
c6140da2
MD
81742008-03-31 Markus Deuling <deuling@de.ibm.com>
8175 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8176
8177 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8178 value. Add xfail for older kernels.
8179
79732189
AR
81802008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8181
8182 Bring mi-support in line with gdb.exp.
8183 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8184 (mi_gdb_start): New function.
8185
33c3676e
MR
81862008-03-28 Maciej W. Rozycki <macro@mips.com>
8187
8188 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8189
92e28119
VP
81902008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8191
8192 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8193 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8194
9e8e3afe
VP
81952008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8196
8197 * lib/mi-support.exp (mi_create_varobj_checked): New.
8198 (mi_list_varobj_children): Allow to check for a
8199 value.
8200 (mi_list_array_varobj_children): New.
8201
8202 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8203 and mi_list_varobj_children, as opposed to hardcoding
8204 expected strings.
8205 * gdb.mi/gdb701.exp: Likewise.
8206 * gdb.mi/gdb792.exp: Likewise.
8207 * gdb.mi/mi-var-block.exp: Likewise.
8208 * gdb.mi/mi-var-cmd.exp: Likewise.
8209 * gdb.mi/mi-var-invalidate.exp: Likewise.
8210 * gdb.mi/mi2-var-block.exp: Likewise.
8211 * gdb.mi/mi2-var-child.exp: Likewise.
8212 * gdb.mi/mi2-var-cmd.exp: Likewise.
8213 * gdb.mi/mi2-var-display.exp: Likewise.
8214
9df50351
JK
82152008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8216
8217 Fix random false FAILs on i386.
8218 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8219
31e5d73a
DJ
82202008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8221
8222 PR gdb/544
8223 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8224
12f4afab
DJ
82252008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8226
8227 PR gdb/544
8228 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8229
b562a0cb
DJ
82302008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8231
8232 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8233 fixed PR gdb/544.
8234
17faa917
DJ
82352008-03-21 Pedro Alves <pedro@codesourcery.com>
8236
8237 * gdb.threads/fork-child-threads.exp: Test next over fork.
8238
6214f497
DJ
82392008-03-21 Chris Demetriou <cgd@google.com>
8240
8241 * gdb.base/break.exp (rbreak junk): New test for rbreak
8242 "Junk at end of arguments" issue.
8243
63092375
DJ
82442008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8245
8246 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8247 *& to work on created array elements.
8248 (Top level): Test print $pc with a file. Test string operations
8249 without a target.
8250 * gdb.base/ptype.exp: Do not expect *& to work on created array
8251 elements.
8252
b21991b0
DJ
82532008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8254
8255 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8256 gdb.threads/staticthreads.exp: Update exit query.
8257
c4b347c7
SL
82582008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8259
8260 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8261
fa4727a6
DJ
82622008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8263
8264 * gdb.base/watchpoint.c (global_ptr, func4): New.
8265 (main): Call func4.
8266 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8267 (test_inaccessible_watchpoint): New.
8268
2f34202f
MR
82692008-02-29 Maciej W. Rozycki <macro@mips.com>
8270
8271 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8272 select the largest.
8273
0d6ba1b1
DJ
82742008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8275
8276 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8277 frames-invalid annotations.
8278
e691325a
PM
82792008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8280
a9c64011 8281 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8282
f85b5ecc
DE
82832008-02-27 Doug Evans <dje@google.com>
8284
8285 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8286 for bug 1738.
8287 (breakpoint_to_handler_entry): Ditto.
8288
b40e7bf3
JB
82892008-02-27 Joel Brobecker <brobecker@adacore.com>
8290
8291 * gdb.base/ending-run.exp: Use the first line of code inside
8292 function body to test breakpoints.
8293 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8294 location where the breakpoint is inserted when using the line
8295 where a function is declared. Fix typo in the description of
8296 one of the tests.
8297 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8298
2faca73a
PM
82992008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8300
8301 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8302 tests.
2faca73a 8303
6f439c36
PM
83042008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8305
8306 * gdb.base/args.exp: avoid same output for tests
8307 with single quotes.
8308
54e52265
VP
83092008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8310
a9c64011
AS
8311 * gdb.base/annota1.exp: Adjust for 'info break'
8312 format changes.
8313 * gdb.base/annota3.exp: Likewise.
8314 * gdb.base/break.exp: Likewise.
8315 * gdb.base/condbreak.exp: Likewise.
8316 * gdb.base/pending.exp: Likewise.
8317 * gdb.base/sepdebug.exp: Likewise.
8318 * gdb.base/unload.exp: Likewise.
8319 * gdb.cp/ovldbreak.exp: Likewise.
8320 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8321
897b09ca
DE
83222008-02-07 Doug Evans <dje@google.com>
8323
8324 * gdb.cp/mb-inline.exp: New.
8325 * gdb.cp/mb-inline.h: New.
8326 * gdb.cp/mb-inline1.cc: New.
8327 * gdb.cp/mb-inline2.cc: New.
8328
b1c32d35
PM
83292008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8330
8331 * gdb.pascal/floats.pas: New test program.
8332 * gdb.pascal/floats.exp: New testcase.
8333
1a4ca44a
TJB
83342008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8335
8336 * gdb.base/callfuncs.c (t_float_many_args): New function.
8337 (t_double_many_args): New function.
8338 * gdb.base/callfuncs.exp: Add tests for exceeding float
8339 and double parameters passed through the stack.
8340
439048e8
JB
83412008-02-05 Joel Brobecker <brobecker@adacore.com>
8342
8343 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8344 gdb.ada/complete/foo.adb: New files.
8345 * gdb.ada/complete.exp: New testcase.
8346
81fe8080
DE
83472008-02-03 Doug Evans <dje@google.com>
8348
301f0ecf
DE
8349 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8350
81fe8080
DE
8351 * gdb.cp/gdb2384.exp: New file.
8352 * gdb.cp/gdb2384.cc: New file.
8353 * gdb.cp/gdb2384-base.h: New file.
8354 * gdb.cp/gdb2384-base.cc: New file.
8355
4b071aec
DE
83562008-02-02 Doug Evans <dje@google.com>
8357
8358 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8359
61137ba6
JB
83602007-02-01 Joel Brobecker <brobecker@adacore.com>
8361
8362 * gdb.ada/sym_print_name: New test program.
8363 * gdb.ada/sym_print_name.exp: New testcase.
8364
83652007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8366
8367 * gdb.ada/nested/hello.adb: New file.
8368 * gdb.ada/nested.exp: New testcase.
8369 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8370
98deb0da
VP
83712008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8372
8373 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8374 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8375 don't cause future evaluations of function to report
8376 creation of internal breakpoints.
98deb0da 8377
723a2275
VP
83782008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8379
8380 * gdb.mi/mi-break.exp (test_error): New.
8381 Call it.
8382
fb546a2f
LM
83832008-01-31 Luis Machado <luisgpm@br.ibm.com>
8384
8385 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8386 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8387
2d8fd90a
PM
83882008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8389
8390 * gdb.pascal/integers.pas: New test program.
8391 * gdb.pascal/integers.exp: New testcase.
8392
a7fa0ded
PM
83932008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8394
8395 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8396
5e1a1926
TJB
83972008-01-30 Luis Machado <luisgpm@br.ibm.com>
8398
8399 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8400 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8401
8d04f9f0
JB
84022008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8403
8404 * gdb.ada/formatted_ref: New test program.
8405 * gdb.ada/formatted_ref.exp: New testcase.
8406
8407 * gdb.cp/formatted-ref.cc: New file.
8408 * gdb.cp/formatted-ref.exp: New testcase.
8409
ce75a98f
JB
84102008-01-30 Joel Brobecker <brobecker@adacore.com>
8411
8412 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8413
e835f6bf
NR
84142008-01-30 Nick Roberts <nickrob@snap.net.nz>
8415
8416 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8417 (test_file_list_exec_source_file): Update to new macro-info field.
8418
d118ef87
PH
84192008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8420
8421 * gdb.ada/exprs: New test program.
8422 * gdb.ada/exprs.exp: New testcase.
8423
7d35ab09
TJB
84242008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8425
8426 * dfp-test.c (DELTA, DELTA_B): New definitions.
8427 (double_val1, double_val2, double_val3, double_val4, double_val5,
8428 double_val6, double_val7, double_val8, double_val9, double_val10,
8429 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8430 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8431 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8432 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8433 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8434 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8435 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8436 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8437 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8438 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8439 dec128_val16): New global variables.
8440 (decimal_dec128_align): New function.
8441 (decimal_mixed): Likewise.
8442 (decimal_many_args_dec32): Likewise.
8443 (decimal_many_args_dec64): Likewise.
8444 (decimal_many_args_dec128): Likewise.
8445 (decimal_many_args_mixed): Likewise.
8446 * dfp-test.exp: Add tests calling new inferior functions.
8447
2d717e4f
DJ
84482008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8449
8450 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8451 gdb.server/ext-run.exp: New files.
8452 * lib/gdbserver-support.exp (gdbserver_download): New.
8453 (gdbserver_start): New. Update gdbserver expected
8454 output.
8455 (gdbserver_spawn): Use them.
8456 (gdbserver_start_extended): New.
8457
e85a822c
DJ
84582008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8459
8460 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8461 Run on GNU/Linux.
8462 (do_exec_tests): Check for systems which do not support catchpoints.
8463 Do not match START.
8464 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8465 Run on GNU/Linux. Enable verbose output.
8466 (check_fork_catchpoints): New.
8467 (explicit_fork_child_follow, catch_fork_child_follow)
8468 (tcatch_fork_parent_follow): Update expected messages.
8469 (do_fork_tests): Use check_fork_catchpoints.
8470 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8471 Run on GNU/Linux. Enable verbose output.
8472 (check_vfork_catchpoints): New.
8473 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8474 expected messages.
8475 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8476
401ea829
JB
84772008-01-29 Jim Blandy <jimb@red-bean.com>
8478
8479 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8480 host' errors.
8481 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8482
aceaf3ad
JB
84832008-01-29 Jim Blandy <jimb@red-bean.com>
8484
8485 * gdb.threads/sigthread.c: Use barriers to ensure that
8486 child_thread and child_thread_two are always initialized before we
8487 start to use them.
8488
a5606eee
VP
84892008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8490
8491 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8492 * gdb.base/watchpoint-solib.c: New.
8493 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8494
c55a82bb
PM
84952008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8496
8497 * gdb.base/gdb1056.exp: Add unsigned integer test.
8498
0993fe05
DE
84992008-01-28 Doug Evans <dje@google.com>
8500
8501 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8502
4fe42e7f
JB
85032008-01-27 Jim Blandy <jimb@codesourcery.com>
8504
c7a69933
JB
8505 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8506
4fe42e7f
JB
8507 * gdb.base/expand-psymtabs.exp: Doc fix.
8508
5def8285
MK
85092008-01-26 Mark Kettenis <kettenis@gnu.org>
8510
8511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8512
5313c911
NR
85132008-01-24 Nick Roberts <nickrob@snap.net.nz>
8514
a9c64011 8515 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8516 -var-set-format.
8517
93815fbf
VP
85182008-01-23 Chris Demetriou <cgd@google.com>
8519
8520 * gdb.threads/thread_events.c: New testcase source file.
8521 * gdb.threads/thread_events.exp: New testcase expect file.
8522
467a88ee
NR
85232008-01-23 Nick Roberts <nickrob@snap.net.nz>
8524
8525 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8526
8527 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8528 -var-set-format.
8529
d8f82aba
DJ
85302008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8531 Vladimir Prus <vladimir@codesourcery.com>
8532
8533 * gdb.base/float.exp: Allow missing floating point for m68k and
8534 PowerPC.
8535
60c46647
VP
85362008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8537
8538 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8539 ignore count.
8540 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8541 * gdb.mi/mi-cli.exp: Adjust.
8542 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8543
c7dd36a1
PA
85442008-01-17 Pedro Alves <pedro@codesourcery.com>
8545
8546 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8547 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8548 with dummy_ptr's address.
8549 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8550 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8551 all targets.
8552 * gdb.mi/mi2-var-child.exp: Likewise.
8553
39d5313e
JB
85542008-01-09 Joel Brobecker <brobecker@adacore.com>
8555
8556 * gdb.ada/null_array: New test program.
8557 * gdb.ada/null_array.exp: New testcase.
8558
0aea4bf3
LM
85592008-01-09 Luis Machado <luisgpm@br.ibm.com>
8560
8561 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8562 with required float modifiers.
8563
0b354900
JB
85642008-01-08 Joel Brobecker <brobecker@adacore.com>
8565
8566 * gdb.ada/funcall_param: New test program.
8567 * gdb.ada/funcall_param.exp: New testcase.
8568
cdb7f5d4
JB
85692008-01-08 Joel Brobecker <brobecker@adacore.com>
8570
8571 * gdb.ada/arrayparam: New test program.
8572 * gdb.ada/arrayparam.exp: New testcase.
8573
88e2547f
JB
85742008-01-08 Joel Brobecker <brobecker@adacore.com>
8575
8576 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8577 landed. Should also fix random failures in the test following it.
8578
f6867ce0
TJB
85792008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8580
8581 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8582 for expressions with decimal float values.
8583 (test_dfp_conversions): New function to test casts to and from
8584 decimal float types.
8585 Call test_dfp_conversions.
8586 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8587 elements.
8588 (main): Initialize ds.float4 and ds.double8 elements.
8589 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8590 string to new error message.
8591 (d64_set_tests): Likewise.
8592 (d128_set_tests): Likewise.
8593 Add tests for expressions with decimal float variables. Add tests for
8594 conversions to and from decimal float types.
8595
f9c11282
JB
85962008-01-05 Joel Brobecker <brobecker@adacore.com>
8597
8598 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8599 * gdb.ada/packed_tagged.exp: New testcase.
8600
0ecbca72
JB
86012008-01-04 Joel Brobecker <brobecker@adacore.com>
8602
8603 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8604 gdb.ada/homonym/homonym_main.adb: New files.
8605 * gdb.ada/homonym.exp: New testcase.
8606
c18d3d89
JB
86072008-01-04 Joel Brobecker <brobecker@adacore.com>
8608
8609 * gdb.ada/packed_array.exp: Add testing of references to
8610 a packed array.
8611
ecc7085b
JB
86122008-01-04 Joel Brobecker <brobecker@adacore.com>
8613
8614 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8615 New files.
8616 * gdb.ada/type_coercion.exp: New testcase.
8617
c474c922
JB
86182008-01-04 Joel Brobecker <brobecker@adacore.com>
8619
8620 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8621 gdb.ada/tagged/foo.adb: New file.
8622 * gdb.ada/tagged.exp: New testcase.
8623
9005b927
JB
86242008-01-04 Joel Brobecker <brobecker@adacore.com>
8625
8626 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8627 gdb.ada/ptype_field/foo.adb: New files.
8628 * gdb.ada/ptype_field.exp: New testcase.
8629
1a6aaad8
JB
86302008-01-03 Joel Brobecker <brobecker@adacore.com>
8631
8632 * gdb.ada/print_pc.exp: New testcase.
8633
0ef22f53
JB
86342008-01-03 Joel Brobecker <brobecker@adacore.com>
8635
8636 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8637 gdb.ada/taft_type/p.adb: New files.
8638 * gdb.ada/taft_type.exp: New testcase.
8639
1689ecf8
JB
86402008-01-03 Joel Brobecker <brobecker@adacore.com>
8641
8642 * gdb.ada/array_bounds/bar.adb: New file.
8643 * gdb.ada/array_bounds.exp: New testcase.
8644
a4d0b9c3
JB
86452008-01-03 Joel Brobecker <brobecker@adacore.com>
8646
8647 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8648 gdb.ada/arrayptr/foo.adb: New files.
8649 * gdb.ada/arrayptr.exp: New testcase.
8650
a31ace00
JB
86512008-01-03 Joel Brobecker <brobecker@adacore.com>
8652
8653 * gdb.base/set-lang-auto.exp: New testcase.
8654
a97fced3
JB
86552008-01-03 Joel Brobecker <brobecker@adacore.com>
8656
8657 * gdb.ada/fun_addr/foo.adb: New file.
8658 * gdb.ada/fun_addr.exp: New testcase.
8659
ef29ce1a
JK
86602008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8661
8662 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8663 New files
8664
0fafefe3
JB
86652008-01-02 Joel Brobecker <brobecker@adacore.com>
8666
8667 * array_subscript_addr/p.adb: New file.
a9c64011 8668 * array_subscript_addr.exp: New testcase.
0fafefe3 8669
c4359f8d
JB
86702008-01-02 Joel Brobecker <brobecker@adacore.com>
8671
a9c64011 8672 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8673 New files.
8674 * gdb.ada/str_cmp_ref.exp: New testcase.
8675
1aa1b15b
JB
86762008-01-01 Joel Brobecker <brobecker@adacore.com>
8677
8678 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8679 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8680 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8681
81c9b2cf
JB
86822008-01-01 Joel Brobecker <brobecker@adacore.com>
8683
8684 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8685 gdb.ada/ref_param/pck.ads: New files.
8686 * gdb.ada/ref_param.exp: New testcase.
8687
319e4674
JB
86882008-01-01 Joel Brobecker <brobecker@adacore.com>
8689
8690 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8691 gdb.ada/interface/foo.adb: New files.
8692 * gdb.ada/interface.exp: New testcase.
8693
ef682c56
JB
86942007-12-31 Jim Blandy <jimb@codesourcery.com>
8695
8696 * gdb.base/multi-forks.exp: Consume all output from child
8697 processes before proceeding to next test.
8698
f6f3eb6c
JB
86992007-12-29 Jim Blandy <jimb@codesourcery.com>
8700
8701 * configure: Regenerated.
8702
f652e42f
JB
87032007-12-27 Joel Brobecker <brobecker@adacore.com>
8704
8705 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8706 gdb.ada/fixed_cmp/fixed.adb: New files.
8707 * gdb.ada/fixed_cmp.exp: New testcase.
8708
6943e596
JB
87092007-12-27 Joel Brobecker <brobecker@adacore.com>
8710
8711 * gdb.ada/boolean_expr.exp: New testcase.
8712
aad9a193
JB
87132007-12-26 Jim Blandy <jimb@codesourcery.com>
8714
8715 * gdb.base/multi-forks.exp: Doc fix.
8716
fb5f3683
JB
87172007-12-26 Joel Brobecker <brobecker@adacore.com>
8718
8719 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8720 * gdb.ada/char_param.exp: Do not compile our test program with
8721 -gnata, this is unnecessary.
8722 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8723
384e4a9c
JB
87242007-12-24 Joel Brobecker <brobecker@adacore.com>
8725
8726 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8727 gdb.ada/print_chars/foo.adb: New files.
8728 * gdb.ada/print_chars.exp: New testcase.
8729
01e044f7
JB
87302007-12-24 Joel Brobecker <brobecker@adacore.com>
8731
8732 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8733 gdb.ada/char_param/foo.adb: New files.
8734 * gdb.ada/char_param.exp: New testcase.
8735
0ce17860
JB
87362007-12-22 Jim Blandy <jimb@codesourcery.com>
8737
8738 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8739 hard-coding source line numbers into the test.
8740 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8741 gdb_get_line_number to find.
8742
919809b9
JB
87432007-12-22 Joel Brobecker <brobecker@adacore.com>
8744
8745 * gdb.base/ptype.c (highest): New struct type.
8746 (the_highest): New variable of that type.
8747 (main): Add dummy assignment to a field of variable the_highest.
8748 * gdb.base/ptype.exp: Test type printing of our new variable.
8749
abc8a88d
PM
87502007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8751
8752 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8753 and record first explicitly generated thread number.
abc8a88d
PM
8754 Use that thread number for thread specific watchpoint test.
8755 Add iteration number to repetitive tests.
8756
5158f3e3
CES
87572007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8758 Jim Blandy <jimb@codesourcery.com>
8759
8760 * gdb.base/expand-psymtabs.c: New testcase
8761 source file.
8762 * gdb.base/expand-psymtabs.exp: New testcase
8763 expect file.
8764
37e4754d
LM
87652007-12-17 Luis Machado <luisgpm@br.ibm.com>
8766
8767 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8768 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8769
551e5d04
JB
87702007-12-17 Joel Brobecker <brobecker@adacore.com>
8771
8772 * gdb.ada/frame_args/foo.adb: New file.
8773 * gdb.ada/frame_args/pck.ads: New file.
8774 * gdb.ada/frame_args/pck.adb: New file.
8775 * gdb.ada/frame_args.exp: New testcase.
8776
a05ee097
JB
87772007-12-17 Joel Brobecker <brobecker@adacore.com>
8778
8779 * gdb.base/frame-args.c: New file.
8780 * gdb.base/frame-args.exp: New testcase.
8781
c162e8c9 87822007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8783 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8784
8785 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8786
afe8ab22 87872007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8788
afe8ab22
VP
8789 * gdb.mi/mi-pending.exp: New.
8790 * gdb.mi/mi-pending.c: New.
8791 * gdb.mi/mi-pendshr.c: New.
8792
dfdfb3ca
JB
87932007-12-06 Jim Blandy <jimb@codesourcery.com>
8794
8795 * gdb.base/default.exp: Update expected output for 'info catch'.
8796
b7fca990
JK
87972007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8798
8799 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8800 must be set to binary.
8801
6a1afc1e
PA
88022007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8803
8804 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8805
a6b151f1
DJ
88062007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8807
8808 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8809 gdb.mi/mi-file-transfer.exp: New.
8810
43039443
JK
88112007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8812
8813 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8814
0ef2251b
MR
88152007-11-22 Maciej W. Rozycki <macro@mips.com>
8816
8817 * gdb.trace/backtrace.exp: Fix a typo.
8818 * gdb.trace/circ.exp: Likewise.
8819 * gdb.trace/collection.exp: Likewise.
8820 * gdb.trace/limits.exp: Likewise.
8821 * gdb.trace/report.exp: Likewise.
8822 * gdb.trace/tfind.exp: Likewise.
8823 * gdb.trace/while-dyn.exp: Likewise.
8824
5443631e
NR
88252007-11-21 Nick Roberts <nickrob@snap.net.nz>
8826
8827 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8828 objects of pointers that can't be dereferenced are now
8829 "noneditable".
8830
a4ce5b0d
UW
88312007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8832
8833 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8834 (target_cpu): Remove.
8835
d6e956e5
VP
88362007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8837
8838 * gdb.base/ending-run.exp: Expect the list of cleared
8839 breakpoint to come in natural order, not the reversed one.
a9c64011 8840
214270ab
VP
88412007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8842
8843 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8844 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8845
1a619819
LM
88462007-11-05 Luis Machado <luisgpm@br.ibm.com>
8847
8848 * gdb.base/printcmds.exp: New function
8849 test_printf_with_dfp.
8850
5b01a6fa
DE
88512007-11-02 Doug Evans <dje@google.com>
8852
8853 * gdb.disasm/t01_mov.s: Remove carriage returns.
8854 * gdb.disasm/t02_mova.s: Ditto.
8855 * gdb.disasm/t03_add.s: Ditto.
8856 * gdb.disasm/t04_sub.s: Ditto.
8857 * gdb.disasm/t05_cmp.s: Ditto.
8858 * gdb.disasm/t06_ari2.s: Ditto.
8859 * gdb.disasm/t07_ari3.s: Ditto.
8860 * gdb.disasm/t08_or.s: Ditto.
8861 * gdb.disasm/t09_xor.s: Ditto.
8862 * gdb.disasm/t10_and.s: Ditto.
8863 * gdb.disasm/t11_logs.s: Ditto.
8864 * gdb.disasm/t12_bit.s: Ditto.
8865 * gdb.disasm/t13_otr.s: Ditto.
8866
ec33ab7f
JK
88672007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8868
8869 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8870
ae0d01ff
UW
88712007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8872
8873 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8874 provide DFP support.
8875
55eddb0f
DJ
88762007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8877
8878 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8879 Test "set powerpc vector-abi". Skip auto-detection tests for old
8880 toolchains.
8881
7020f05c
PA
88822007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8883
8884 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8885 with [string compare].
8886
84bc3db9
PA
88872007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8888
8889 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8890 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8891
5876dc88
LM
88922007-10-25 Luis Machado <luisgpm@br.ibm.com>
8893
8894 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8895 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8896 * gdb.opt/Makefile.in: New makefile.
8897 * Makefile.in: Create new directory "gdb.opt".
8898 * configure.ac: Add "gdb.opt" directory.
8899 * configure: Regenerated.
a9c64011 8900
c3ea9a14
DE
89012007-10-25 Doug Evans <dje@google.com>
8902
8903 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8904 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8905
a9c64011 89062007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8907 Thiago Jung Bauermann <bauerman@br.ibm.com>
8908
8909 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8910 Floating Point expressions.
8911 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8912 Floating Point variables.
8913 * gdb.base/dfp-test.c: new file containing program with Decimal
8914 Floating variables, used by gdb.base/dfp-test.exp.
8915
62a24a2b
DJ
89162007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8917
8918 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8919
e7b1eae6
UW
89202007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8921
8922 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8923 compiling test case with GCC.
8924 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8925
c641edcc
UW
89262007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8927
8928 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8929 format changes.
8930
5e5ebfe6
MS
89312007-10-18 Michael Snyder <msnyder@specifix.com>
8932
8933 * gdb.base/dbx.exp: Add missing "-re " operator.
8934
e831e7b6
GM
89352007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8936
8937 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8938 * configure.ac: Removed trailing spaces after backslash.
8939 * gdb.modula2: New directory.
8940 * gdb.modula2/Makefile.in: New file.
8941 * gdb.modula2/unbounded-array.exp: New file.
8942 * gdb.modula2/unbounded1.c: New file.
8943
7cc46491
DJ
89442007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8945
8946 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8947
89482007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8949
8950 * gdb.base/sigstep.c (main): Add checks for
8951 return values for setitimer call.
8952 Call setitimer again with itimer = ITIMER_REAL
8953 if first call to setitimer fails.
8954
e91528f0
KH
89552007-10-11 Kazu Hirata <kazu@codesourcery.com>
8956
8957 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8958 of $timeout.
8959
2ec9a4f8
DJ
89602007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8961
8962 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8963
89642007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8965
8966 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8967 of gdb_expect call, to avoid interruption.
8968
64b2fa04
PA
89692007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8970
8971 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8972 (v_unsigned_long_long, v_long_long_array)
8973 (v_signed_long_long_array, v_unsigned_long_long_array)
8974 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8975 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8976 [!NO_LONG_LONG]: New.
8977 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8978 v_long_long_member.
8979
8980 (v_long_long_func, v_signed_long_long_func)
8981 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8982 (main) [!NO_LONG_LONG]: Initialize long long variants.
8983
8984 * gdb.base/whatis.exp: If board file requests no_long_long, build
8985 test with NO_LONG_LONG defined. Test long long, signed long long,
8986 and unsigned long long variants but only if board file doesn't
8987 disable it.
8988
a912286e 89892007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 8990 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
8991
8992 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8993 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8994 * configure: Regenerated.
8995 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8996 gdb.pascal/types.exp, lib/pascal.exp: New files.
8997
471ba8c9
DJ
89982007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8999
9000 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9001 call.
9002 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9003 to return to the call.
9004 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9005 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9006 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9007 * gdb.mi/mi-until.exp (test_until): Likewise.
9008 * gdb.mi/mi2-until.exp (test_until): Likewise.
9009
fef8a650
DJ
90102007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9011
9012 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9013 two-char array.
9014 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9015
d983da9c
DJ
90162007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9017
9018 * gdb.threads/watchthreads.c (thread_function): Sleep between
9019 iterations.
9020 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9021 at once for S/390. Generate matching fails and passes.
9022
17f62551
VP
90232007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9024
9025 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9026 the 'struct_declarations' variable to zeros.
a9c64011 9027
ed0616c6
VP
90282007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9029
9030 * gdb.cp/mb-ctor.cc: New.
9031 * gdb.cp/mb-ctor.exp: New.
9032 * gdb.cp/mb-templates.cc: New.
9033 * gdb.cp/mb-templates.exp: New.
9034
41f1b697
DJ
90352007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9036
9037 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9038
3f213f78
PA
90392007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9040
9041 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9042 targets.
9043 * configure: Regenerate.
9044
0d381245 90452007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9046
0d381245
VP
9047 * gdb.base/annota1.exp: Adjust for 'info break'
9048 format changes.
9049 * gdb.base/annota3.exp: Likewise.
9050 * gdb.base/break.exp: Likewise.
9051 * gdb.base/condbreak.exp: Likewise.
9052 * gdb.base/pending.exp: Likewise.
9053 * gdb.base/sepdebug.exp: Likewise.
9054 * gdb.base/unload.exp: Likewise.
9055 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9056
fe3f5fa8
VP
90572007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9058
9059 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9060 messages.
9061 * gdb.base/chng-syms.exp: Likewise.
9062 * gdb.base/unload.exp: Likewise.
a9c64011 9063
a75cf6c0
DJ
90642007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9065
9066 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9067
18ecae38
DJ
90682007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9069
9070 * schedlock.c (NUM): Change to 1.
9071 (main): Use args[0] for the main thread.
9072 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9073 regardless of the number of threads.
9074
5509918f
MR
90752007-09-14 Maciej W. Rozycki <macro@mips.com>
9076
4a543daf
MR
9077 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9078 type down.
9079 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9080 test.
9081 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9082 watchpoint type down.
9083 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9084 test.
9085
90862007-09-14 Maciej W. Rozycki <macro@mips.com>
9087
5509918f
MR
9088 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9089 Move all the tests here and run them twice, once using software
9090 watchpoints and once using hardware watchpoints.
9091 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9092
40b53987
DJ
90932007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9094
9095 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9096 test.
9097
695e2681
MK
90982007-09-10 Mark Kettenis <kettenis@gnu.org>
9099
8b3fc8d8
MK
9100 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9101 build-id.
9102
695e2681
MK
9103 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9104 know about $ORIGIN. Calculate output dir from $dest instead of
9105 using ${objdir}/{$subdir}.
9106
58d69f29
MK
91072007-09-09 Mark Kettenis <kettenis@gnu.org>
9108
9109 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9110 gcore, before continuing with the test.
9111
3e347599
DJ
91122007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9113
9114 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9115 * gdb.mi/mi-watch.exp: Likewise.
9116
ea37ba09
DJ
91172007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9118 Jim Blandy <jimb@codesourcery.com>
9119
9120 * gdb.arch/i386-sse.exp: Do not expect character constants.
9121 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9122 * gdb.base/display.exp: Allow print/s.
9123 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9124 and unsigned char array changes.
9125
2025a643
DJ
91262007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9127
9128 * gdb.base/display.exp: Add tests for printf %p.
9129
26669a27
PA
91302007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9131
9132 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9133 the dll name to unicode.
9134
c8f021f8
JK
91352007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9136
9137 * gdb.base/default.exp (show version): Update the version text.
9138 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9139
4cf31eea
JK
91402007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9143 New files.
9144
4935890f
JK
91452007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9146
9147 * lib/gdb.exp (build_id_debug_filename_get): New function.
9148 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9149 Remove the generate DEBUG file for the future testcase runs.
9150 New testcase for the NT_GNU_BUILD_ID retrieval.
9151 Move the final testing step to ...
9152 (test_different_dir): ... a new function.
9153 New parameter XFAIL to XFAIL all the tests performed.
9154 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9155 New parameter TYPE to PF_PREFIX all the tests performed.
9156
02142340
VP
91572007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9158
9159 * gdb.mi/mi-var-cp.cc (path_expression): New
9160 function.
9161 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9162
36acd84e
UW
91632007-08-27 Markus Deuling <deuling@de.ibm.com>
9164
9165 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9166 to fit into SPU Local Store memory.
9167
a896d121
JB
91682007-08-23 Joel Brobecker <brobecker@adacore.com>
9169
9170 * gdb.base/default.exp: Adjust the expected output of "info
9171 warranty" after the switch to GPLv3.
9172
7b433602
JB
91732007-08-23 Joel Brobecker <brobecker@adacore.com>
9174
9175 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9176 to 30000 (from 20000).
9177
e22f8b7c
JB
91782007-08-23 Joel Brobecker <brobecker@adacore.com>
9179
9180 Switch the license of all .exp files to GPLv3.
9181 Switch the license of all .f and .f90 files to GPLv3.
9182 Switch the license of all .s and .S files to GPLv3.
9183
5a0e3bd0
JB
91842007-08-23 Joel Brobecker <brobecker@adacore.com>
9185
9186 * configure.ac: Switch license to GPLv3.
9187
cc00619d
JB
91882007-08-23 Joel Brobecker <brobecker@adacore.com>
9189
9190 Switch the licensing to GPLv3 for all .ads and .adb files.
9191
8d26208a
DJ
91922007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9193
9194 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9195 and t_int_double.
9196 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9197
4fcb9948
JB
91982007-08-17 Joel Brobecker <brobecker@adacore.com>
9199
9200 * gdb.base/step-line.c: Switch license to GPL version 3, and
9201 update copyright year.
9202 * gdb.base/step-line.inp: Likewise.
9203
b9c34f67
JB
92042007-08-17 Joel Brobecker <brobecker@adacore.com>
9205
9206 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9207 changes inside gdb1555.c.
9208 * gdb.base/pending.exp: Likewise.
9209
2cc17678
DJ
92102007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9211
9212 * config/default.exp: New file.
9213
e48883f7
DJ
92142007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9215
9216 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9217 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9218
1ab80e5b
MR
92192007-07-30 Maciej W. Rozycki <macro@mips.com>
9220
9221 * gdb.base/dump.exp: Force the correct endianness for binary
9222 formats not carrying this information.
9223
aba471f5
DJ
92242007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9225
9226 * gdb.threads/staticthreads.exp: Match .*sem_post.
9227
d4e07204
DJ
92282007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9229
9230 * gdb.base/readline.exp (operate_and_get_next): Match the final
9231 prompt.
9232
2b97317d
KB
92332007-07-23 Kevin Buettner <kevinb@redhat.com>
9234
9235 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9236 to restarting SID.
9237
44efa07a
KB
92382007-07-18 Kevin Buettner <kevinb@redhat.com>
9239
9240 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9241 prior to `gdb_start'.
9242
7b5ebade
KB
92432007-07-18 Kevin Buettner <kevinb@redhat.com>
9244
9245 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9246 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9247 Remove call to gdb_unload.
9248
255e7678
DJ
92492007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9250 Daniel Jacobowitz <dan@codesourcery.com>
9251
9252 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9253 for __WIN32__.
9254 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9255 * gdb.base/unload.exp: Use shared library test routines.
9256
3a40aaa0
UW
92572007-07-03 Markus Deuling <deuling@de.ibm.com>
9258
9259 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9260 * gdb.base/solib-symbol-lib.c: Likewise.
9261 * gdb.base/solib-symbol-main.c: Likewise.
9262
b0f4b84b
DJ
92632007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9264
9265 * config/gdbserver.exp (gdb_reconnect): New.
9266 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9267 gdb.base/solib-disc.exp: New files.
9268 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9269 remote debugging".
9270 (gdb_compile): Add shlib_load flag.
9271 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9272 port.
9273 (gdbserver_reconnect): New.
9274
1b05479a
DJ
92752007-07-01 Nick Roberts <nickrob@snap.net.nz>
9276 Daniel Jacobowitz <dan@codesourcery.com>
9277
9278 * gdb.base/annota3.exp: Test for if construct.
9279
86f78eb2
DJ
92802007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9281
9282 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9283
6a2eb474 92842007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9285 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9286
9287 * gdb.base/display.exp: Allow a newline after display/i.
9288 * gdb.base/pc-fp.exp: Likewise.
9289 * gdb.base/sigbpt.exp: Likewise.
9290
f8b73d13
DJ
92912007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9292
9293 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9294 required features to be included.
9295
4339e69e
DJ
92962007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9297
9298 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9299 in info threads output.
9300
23d964e7
UW
93012007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9302 Markus Deuling <deuling@de.ibm.com>
9303
9304 * gdb.arch/spu-info.exp: New testcase.
9305 * gdb.arch/spu-info.c: New file.
9306
fd20f75b
DJ
93072007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9308
9309 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9310 tpcs_offset. Restore lr after the call.
9311 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9312
2226f861
DJ
93132007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9314
9315 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9316 (gdbserver_run): Kill any running gdbserver.
9317 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9318
d12371a9
MR
93192007-05-17 Maciej W. Rozycki <macro@mips.com>
9320
9321 * gdb.base/sigbpt.exp: Preset segv_addr.
9322
93f02886
DJ
93232007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9324
9325 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9326 (gdb_compile_shlib): Likewise.
9327 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9328 (default_gdb_init): Clear cleanfiles.
9329 (gdb_finish): Delete recorded cleanfiles.
9330 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9331
9332 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9333 Do not use isnative.
9334 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9335 gdb.base/so-impl-ld.exp: Likewise.
9336 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9337 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9338 gdb_compile.
9339
b04e06d7
VP
93402007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9341
9342 * config/unknown.exp: Remove.
9343
069ed931
UW
93442007-05-15 Markus Deuling <deuling@de.ibm.com>
9345
9346 * gdb.base/info-proc.exp: Check is_remote.
9347
09db0d03
UW
93482007-05-14 Markus Deuling <deuling@de.ibm.com>
9349
9350 * gdb.base/gcore.exp: Initialize variable core_supported.
9351
af2cbe8c
DJ
93522007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9353
9354 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9355
027c0295
DJ
93562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9357
9358 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9359 * gdb.threads/print-threads.exp (test_all_threads): Allow
9360 negative and hexadecimal thread IDs.
9361
dc5000e7
DJ
93622007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9363
9364 * gdb.java/jprint.java (public): Avoid invalid call to static
9365 method.
9366
2e74ed18
DP
93672007-05-14 Denis Pilat <denis.pilat@st.com>
9368
9369 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9370 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9371 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9372 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9373 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9374
83547f02
UW
93752007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9376
9377 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9378 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9379 this mode.
9380 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9381 * gdb.base/spu.ld: New file.
9382
b18be20d
DJ
93832007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9384
9385 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9386
be444858
DJ
93872007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9388
9389 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9390
b1d53152
DJ
93912007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9392
9393 * gdb.java/jmain.exp: Handle demangled names with and without method
9394 signatures.
9395
d084b331
DJ
93962007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9397
9398 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9399 (have_a_very_merry_interrupt): Remove calls to puts.
9400 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9401 inferior output.
9402 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9403 test names.
9404
db9d7fc5
DJ
94052007-04-29 Markus Deuling <deuling@de.ibm.com>
9406 Daniel Jacobowitz <dan@codesourcery.com>
9407
9408 * gdb.base/auxv.exp (core_works): Also check is_remote.
9409 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9410
ef783a7d 94112007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9412
ef783a7d
VP
9413 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9414 message, not the undefined 'module' variable.
9415 * gdb.base/siginfo.exp: Likewise.
9416 * gdb.base/sigstep.exp: Likewise.
9417 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9418 serialport.
9419 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9420
b7b73cae
CV
94212007-04-25 Corinna Vinschen <vinschen@redhat.com>
9422
9423 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9424 target sim fails. Return 0 otherwise.
9425 (gdb_load): Return prematurely if gdb_target_sim fails.
9426
7d90fdfa
DP
94272007-04-16 Denis Pilat <denis.pilat@st.com>
9428
9429 * gdb.base/setshow.exp: Reset height after having set it to 100.
9430
5d3e9c85
DP
94312007-04-16 Denis Pilat <denis.pilat@st.com>
9432
9433 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9434
18e75969
DP
94352007-04-16 Denis Pilat <denis.pilat@st.com>
9436
9437 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9438
25d5ea92
VP
94392007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9440
9441 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9442 tests. Run the frozen varobjs test.
9443 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9444 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9445
0b49cb80
JK
94462007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9447
9448 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9449 gdb.base/type-opaque.exp: New files.
9450
a73bafbc 94512007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9452
9453 * gdb.mi/mi-var-child.c
a73bafbc
VP
9454 (do_children_tests): User char[2] instead of
9455 char so that automatic printing of pointers to char
9456 don't give unpredicable result.
9457 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9458 local variables.
9459 * gdb.mi/mi-var-child.exp: Step to right line
9460 of do_children_tests.
9461 * gdb.mi/mi2-var-child.exp: Likewise.
9462 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9463 do_locals_tests.
a73bafbc
VP
9464 (do_children_tests): User char[2] instead of
9465 char so that automatic printing of pointers to char
a9c64011 9466 don't give unpredicable result.
a73bafbc 9467 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9468 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9469 Pass test name to mi_wait_for_stop.
9470
7ce59000
DJ
94712007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9472
9473 * gdb.asm/asm-source.exp: Remove d10v case.
9474 * lib/gdb.exp (skip_cplus_tests): Likewise.
9475 * gdb.asm/d10v.inc: Deleted.
9476
20389057
DJ
94772007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9478
9479 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9480
8807d78b
DJ
94812007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9482
9483 * config/netware.exp: Delete file.
9484
aa3edb8e
JB
94852007-03-29 Joel Brobecker <brobecker@adacore.com>
9486
9487 * gdb.dwarf2/dw2-noloc.S: New file.
9488 * gdb.dwarf2/dw2-noloc.exp: New file.
9489
297561ac
PA
94902007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9491
9492 * gdb.cp/method2.cc: New test.
9493 * gdb.cp/method2.exp: New test.
9494 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9495
1f81bd39
DJ
94962007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9497
9498 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9499
9453113a
DJ
95002007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9501
9502 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9503
b741e217
DJ
95042007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9505
9506 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9507 (gdb_load): Delete, replace with...
9508 (gdb_reload): ...this.
9509 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9510 * gdb.server/server-mon.exp: Likewise.
9511 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9512 (gdb_start_cmd): New.
9513 (gdb_file_cmd): Save the last loaded file.
9514 (gdb_reload): New.
9515 (gdb_gnu_strip_debug): Use transform.
9516 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9517 support here. Use new $last_loaded_file. Check mtime.
9518 (gdb_target_cmd): Handle ObjC failure case.
9519 (infer_host_exec): Delete.
9520 (gdbserver_load): Rename to...
9521 (gdbserver_run): ...this. Simplify.
9522 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9523 (mi_gdb_load): Move most contents to a new function...
9524 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9525 (mi_run_cmd): Use mi_gdb_target_load.
9526 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9527 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9528 Use gdb_run_cmd.
9529 * gdb.base/charsign.exp: Remove incorrect comment.
9530 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9531 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9532 gdb.base/start.exp: Use gdb_start_cmd.
9533
446ab585 95342007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9535 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9536
9537 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9538 * gdb.base/signull.exp: Similarly.
9539
bbb88ebf
UW
95402007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9541
9542 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9543 messages available to test cases (like chng-sym.exp).
9544
cb8c4a99
AS
95452007-03-14 Andreas Schwab <schwab@suse.de>
9546
9547 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9548 format changes.
9549
4e463ff5
DJ
95502007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9551
9552 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9553 (optimized_1): New.
9554 (main): Call optimized_1.
9555 (gdb2029): Correct typos. Call gdb2029_marker.
9556 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9557 for gdb2029.
9558
b6db2c47
MK
95592007-03-12 Mark Kettenis <kettenis@gnu.org>
9560
9561 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9562 as tabs. Remove redundant test pattern.
9563
70ed3737
UW
95642007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9565
9566 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9567 for /a format output.
9568
47b67b60
DJ
95692007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9570
9571 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9572 collect output incrementally.
9573
b8953b0e
UW
95742007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9575
9576 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9577 for -var-create lpcharacter test.
9578 * gdb.mi/mi2-var-cmd.exp: Likewise.
9579
7acd5c40
UW
95802007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9581
9582 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9583 pass on targets where address zero is readable.
9584
9c6759c1
UW
95852007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9586
9587 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9588 just a single architecture.
9589
a2f1aeb4
UW
95902007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9591
9592 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9593 (fetch_all_registers): New function, uses gdb_test_multiple and
9594 exp_continue to fetch inferior output line-by-line.
9595 Replace all uses of do_get_all_registers by fetch_all_registers.
9596
46579ac2
UW
95972007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9598
9599 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9600 in target_info.
9601
fc133f24
MS
96022007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9603
a9c64011 9604 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9605 consistancy; add a default (timeout) case.
9606
7646a51d
MS
96072007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9608
9609 * gdb.base/watchpoint.exp: Fix truncated comment.
9610
dcfff61f
MS
96112007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9612
9613 * Makefile.in: Remove spurious single-quotes from sed command.
9614
664e3ee9
DJ
96152007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9616
9617 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9618 func.
9619 * gdb.mi/mi2-var-cmd.exp: Likewise.
9620
d7cc6f2f
JB
96212007-02-27 Joel Brobecker <brobecker@adacore.com>
9622
a9c64011
AS
9623 * gdb.dwarf2/dw2-producer.S: New file.
9624 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9625
96262007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9627
9628 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9629 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9630 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9631 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9632 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9633 Revert tests to use mi_gdb_test and include value field in output
9634 of -var-create.
9635
93d42b30
DJ
96362007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9637
9638 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9639
c499ed39
DJ
96402007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9641
9642 * gdb.base/maint.exp: Remove full paths from test names.
9643 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9644 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9645
9836f81b
JB
96462007-02-27 Joel Brobecker <brobecker@adacore.com>
9647
9648 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9649
c74d0ad8
DJ
96502007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9651
9652 * gdb.server/server-mon.exp: New test.
9653
2711e456
DJ
96542007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9655
9656 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9657
ff6f572f
DJ
96582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9659
9660 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9661 register capitalization.
9662
fada3feb
DP
96632007-02-13 Denis Pilat <denis.pilat@st.com>
9664
9665 * gdb.mi/mi-var-invalidate.exp: New file.
9666
fb1e4ffc
DJ
96672007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9668
9669 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9670
3da939d7
DJ
96712007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9672
9673 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9674
123dc839
DJ
96752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9676
9677 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9678 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9679
877e3645 96802007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9681
9682 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9683 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9684 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9685 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9686 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9687 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9688 Update tests to include value field in output of -var-create.
a9c64011 9689
3c0a2960
AS
96902007-02-08 Andreas Schwab <schwab@suse.de>
9691
9692 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9693
108546a0
DJ
96942007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9695
9696 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9697 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9698
d701dcab
DP
96992007-02-02 Denis Pilat <denis.pilat@st.com>
9700
9701 * gdb.threads/threadapply.exp: check that frame is not changed by
9702 the thread apply all command.
9703
783e3e2f
AS
97042007-01-31 Andreas Schwab <schwab@suse.de>
9705
6d9c3a87
AS
9706 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9707
3c50d7b9
AS
9708 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9709 in the dwarf sections.
9710 * gdb.dwarf2/mac-fileno.S: Likewise.
9711
783e3e2f
AS
9712 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9713 bspstore register on ia64.
9714
78ff580e
AS
97152007-01-29 Andreas Schwab <schwab@suse.de>
9716
cc8e9b12
AS
9717 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9718 "frame-begin" annotation.
9719
78ff580e
AS
9720 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9721 number of "frames-invalid" annotations.
9722
704a4f78
DJ
97232007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9724
9725 * gdb.base/commands.exp: Call if_commands_test.
9726 (gdb_test_no_prompt, if_commands_test): New.
9727
e741bf94
MK
97282007-01-28 Mark Kettenis <kettenis@gnu.org>
9729
9730 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9731
474d0ad3
AS
97322007-01-27 Andreas Schwab <schwab@suse.de>
9733
9734 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9735 .short/.int/.quad in the dwarf sections.
9736 * gdb.dwarf2/dw2-intercu.S: Likewise.
9737 * gdb.dwarf2/dw2-intermix.S: Likewise.
9738
e784b426
JK
97392007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9742 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9743 array.
e784b426
JK
9744 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9745 * gdb.base/setvar.exp: Likewise.
9746
37f08e04
AS
97472007-01-26 Andreas Schwab <schwab@suse.de>
9748
9a01813a
AS
9749 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9750 test.
9751
37f08e04
AS
9752 * gdb.base/multi-forks.exp ("restart $i"): Also match
9753 __kernel_syscall_via_break.
9754
6e2a9270
VP
97552007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9756
9757 * lib/mi-support.exp (mi_delete_varobj): New.
9758 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9759 testcase.
9760 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9761 (main): Call the above.
9762 (reference_update_test, base_in_reference_test)
9763 (reference_to_pointer): Delete the created varobjs.
a9c64011 9764
e515b470
DJ
97652007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9766
9767 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9768 * configure: Regenerated.
9769 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9770 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9771 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9772 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9773 * lib/gdb.exp (gdb_skip_xml_test): New function.
9774
08d8bcd7
DJ
97752007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9776
9777 * gdb.base/sigrepeat.exp: Correct error message.
9778
97792007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9780 Daniel Jacobowitz <dan@codesourcery.com>
9781
9782 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9783 gdb.arch/i386-gnu-cfi-asm.S: New files.
9784
97c3f1f3
JK
97852007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9786
9787 * lib/gdb.exp: Abort on missing `site.exp'.
9788
cb1df416
DJ
97892007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9790 Daniel Jacobowitz <dan@codesourcery.com>
9791
9792 * gdb.base/included.c, gdb.base/included.exp,
9793 gdb.base/included.h: New files.
9794
35990120
DJ
97952007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9796
9797 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9798 (maximize_rlimit): Reduce limits on 64-bit systems.
9799
6e81a116 98002007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9801
9802 From Marcus Deuling <deuling@de.ibm.com>:
9803 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9804 every case.
9805
6c3c41f3
NR
98062007-01-13 Nick Roberts <nickrob@snap.net.nz>
9807
9808 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9809 (test_path_specification): Use objdir instead of srcdir to always
9810 get an absolute filename.
9811
2f12c312
DJ
98122007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9813
9814 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9815
81121995
VP
98162007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9817
9818 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9819 Make sure the variable we're using is in scope.
9820 (reference_to_pointer): Likewise.
9821
4741b737
DJ
98222007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9823
9824 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9825 has no debug information.
9826
054410c3
DJ
98272007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9828
9829 * gdb.base/annota1.exp: Remove extra send_gdb.
9830
818f79f6
DJ
98312007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9832
9833 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9834
f7a6bb70
DJ
98352007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9836
9837 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9838
57e66780
DJ
98392007-01-08 Nick Roberts <nickrob@snap.net.nz>
9840 Daniel Jacobowitz <dan@codesourcery.com>
9841
9842 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9843 lcharacter or linteger change. Correct duplicated test name.
9844 * gdb.mi/mi2-var-cmd.exp: Likewise.
9845
3d799a95
DJ
98462007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9847
9848 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9849
98502007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9851
a9c64011
AS
9852 * gdb.base/nofield.c: New file.
9853 * gdb.base/nofield.exp: New testcase.
51679ba9 9854
eafb94e8
NR
98552007-01-05 Nick Roberts <nickrob@snap.net.nz>
9856
9857 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9858
9859 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9860 test.
9861
5e572bb4
DJ
98622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9863
9864 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9865
74a44383
DJ
98662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9867
9868 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9869 when continuing.
9870
1b572db9
DJ
98712007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9872
9873 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9874 Expect ".exe" extension.
9875
381bc39b
DJ
98762007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9877
9878 * gdb.base/charset.exp: Add explicit filename to break.
9879 * gdb.base/dbx.exp: Add explicit filename to breaks.
9880
2b70e4c6
DJ
98812007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9882
9883 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9884 * gdb.mi/mi2-file.exp: Likewise.
9885
303b6f5d
DJ
98862007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9887
9888 Implement specification of MI tests as comments
9889 in C and C++ sources.
9890 * lib/mi-support.exp (mi_autotest_data): New variable.
9891 (mi_autotest_source): New variable.
9892 (count_newlines, mi_prepare_inline_tests)
9893 (mi_get_inline_test, mi_continue_to_line)
9894 (mi_run_inline_test, mi_tbreak)
9895 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9896 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9897 Run inline tests.
9898 * gdb.mi/mi-var-cp.cc: Define tests here.
9899
23da0d94
VP
99002007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9901
9902 Simplify usage of mi_continue_to.
9903 * lib/mi-support.exp (mi_runto_helper): Renamed
9904 from mi_runto, added new parameter 'run_or_continue'.
9905 (mi_runto): Use mi_runto_helper.
9906 (mi_continue_to): Accept just function name as parameter.
9907 Use mi_runto_helper.
9908 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9909 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9910
f9e18282
JB
99112006-01-04 Joel Brobecker <brobecker@adacore.com>
9912
9913 Make this testcase a bit more realistic. The current code
9914 is too simplistic, and allows the compiler to optimize out
9915 some of the entities we need for this testcase.
9916 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9917 (Do_Nothing): Add extra parameter.
9918 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9919 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9920 by using a variable of type Void_Star.
9921
fd678c65
JB
99222006-01-04 Joel Brobecker <brobecker@adacore.com>
9923
9924 * gdb.ada/catch_ex/foo.adb: New file.
9925 * gdb.ada/catch_ex.exp: New testcase.
9926
05cfdb42
DJ
99272007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9928
9929 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9930 pass --image-base to linker.
9931
2e03ee74
DJ
99322007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9933 Daniel Jacobowitz <dan@codesourcery.com>
9934
9935 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9936 secondary prompts.
9937
0d5de010
DJ
99382007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9939
9940 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9941 output. Test the types of members and member pointers.
9942 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9943 gdb/2092.
9944 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9945 statement. Enable for GCC. Update expected output for some tests
9946 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9947 layout.
9948 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9949 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9950 (Diamond::vget_base): New.
9951 (main): Add new tests.
9952 * gdb.cp/printmethod.exp: Update expected output for member functions.
9953 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9954 print pEe->D::vg().
9955
61a771aa
DJ
99562007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9957
9958 * gdb.threads/tls.exp: Allow stops in sem_post.
9959
2fa63963
DJ
99602006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9961
9962 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9963 * gdb.base/annota3.exp: Likewise.
9964 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9965 again (instead of timing out).
9966 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9967 GCC bug 26475.
9968 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9969 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9970 test from jmisc1.exp.
9971 * gdb.java/jmisc1.exp: Delete.
9972 * gdb.java/jprint.exp: Adjust to work with method signatures including
9973 return types.
9974 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9975 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9976 * lib/java.exp (compile_java_from_source): Pass the correct type
9977 to target_compile.
9978
5eefc2b7
JB
99792006-12-31 Joel Brobecker <brobecker@adacore.com>
9980
9981 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9982 (stack_align_edx): New function.
9983 (stack_align_eax): New function.
9984 (main): Add calls to stack_align_edx and stack_align_eax.
9985 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9986 Add testing for the cases where the register used during a stack
9987 realignment is edx. Same for eax.
9988
227c54da
DJ
99892006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9990
9991 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9992 and generic PE targets.
9993
cab8ac94
JB
99942006-12-29 Joel Brobecker <brobecker@adacore.com>
9995
9996 * gdb.ada/array_return.exp: Update copyright date list.
9997
ba54f318
JB
99982006-12-27 Joel Brobecker <brobecker@adacore.com>
9999
10000 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10001 (Create_Small_Float_Vector): New function.
10002 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10003 function body.
10004 * gdb.ada/array_return/p.adb: Use new type and function from
10005 package Pck.
10006 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10007 able to print the value returned by a function returning an
10008 array of float.
10009
6b7a35dd
JB
100102006-12-20 Joel Brobecker <brobecker@adacore.com>
10011
10012 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10013 The associated tests should be PASSing.
10014
038224f6
VP
100152006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10016
10017 Test for base in references.
10018 * gdb.mi/mi-var-cp.cc: Add test code.
10019 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10020 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10021 * gdb.mi/mi2-watch.exp: Likewise.
10022 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10023 (mi_list_varobj_children): New function.
10024
b26ed50d
VP
100252006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10026
10027 * lib/mi-support.exp
10028 (mi_runto): Accept "()" after function name.
10029 (mi_create_varobj): New function.
10030 (mi_varobj_update): New function.
10031 (mi_Check_varobj_value): New function.
10032 * gdb.mi/mi-var-cp.exp: New file.
10033 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10034
08232497
DJ
100352006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10036
10037 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10038 gdb.base/weaklib2.c: New files.
10039
d394c993 100402006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10041
ac6c2fba
NS
10042 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10043 info. Adjust test names.
10044
8ec659a0 10045 * gdb.base/break.c (main): Move position of malloc.
d394c993 10046 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10047
acd65feb
VP
100482006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10049
10050 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10051 assignement of arrays and function pointers.
10052 * gdb.mi/var-cmd.c: Add declaration necessary for above
10053 tests.
10054
f556d5e5
NS
100552006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10056
10057 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10058
10059 * gdb.threads/linux-dp.exp: Read thread table before and after
10060 creating each philosopher and verify it.
10061
697bc68d
NS
100622006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10063 Paul Brook <paul@codesourcery.com>
10064 Daniel Jacobowitz <dan@codesourcery.com>
10065
10066 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10067 main to remove duplication. Add start function of the form
697bc68d
NS
10068 '_*start[1-9]*'. Add RVDS start function.
10069
29d73ae4
DJ
100702006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10071
10072 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10073
c1d88655
UW
100742006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10075
10076 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10077 * gdb.asm/spu.inc: New file.
10078 * gdb.base/term.exp: Disable if [target_info exists noargs].
10079 * gdb.gdb/complaints.exp: Disable if ![isnative].
10080 * gdb.gdb/selftest.exp: Likewise.
10081 * gdb.gdb/observer.exp: Likewise.
10082 * gdb.gdb/xfullpath.exp: Likewise.
10083 * gdb.base/attach.exp: Disable on SPU target.
10084 * gdb.cp/bs145503.exp: Likewise.
10085 * gdb.cp/exception.exp: Likewise.
10086 * gdb.cp/userdef.exp: Likewise.
10087
32a13b1a
DJ
100882006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10089
10090 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10091
d8295fe9
VP
100922006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10093
10094 * gdb.base/completion.exp: Fix completion tests for
10095 'info' and 'info '.
10096 * gdb.base/help.exp (help_test_raw, test_class_help)
10097 (test_prefix_command_help): Move...
10098 * lib/gdb.exp: Here.
10099 * gdb.base/main.exp: Adjust.
10100 * gdb.cp/maint.exp: Adjust.
10101 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10102
8c394015
VP
101032006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10104
10105 * gdb.stabs/weird.exp (print_weird_var): Use
10106 gdb_test_multiple instead of gdb_expect.
10107
027fc1bc
VP
101082006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10109
10110 * gdb.base/help.exp (help_test_raw): New.
10111 (test_class_help): New.
10112 (test_prefix_command_help): New.
10113 Adjust testcases.
10114
67609209
FR
101152006-11-09 Christophe Lyon <christophe.lyon@st.com>
10116
10117 * gdb.base/constvars.c (main): Write to crass and crips, so that
10118 they are allocated by the compiler.
10119
f73adfeb
AS
101202006-10-27 Andreas Schwab <schwab@suse.de>
10121
10122 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10123 "detach-fork".
10124
2f83a18e
DJ
101252006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10126
10127 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10128 of patterns.
10129
94277a38
DJ
101302006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10131
10132 * gdb.base/sepdebug.exp: Remove debug format test.
10133 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10134 Handle no-symtab.
10135 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10136
5bd2f6e2
DJ
101372006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10138
10139 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10140 int to pointer or pointer to int.
10141 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10142
8c008720
DJ
101432006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10144
10145 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10146
9e35dae4
DJ
101472006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10148
10149 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10150
d9639e13
DJ
101512006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10152
10153 PR c++/2116
10154 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10155
390a1bd0
JB
101562006-10-06 Joel Brobecker <brobecker@adacore.com>
10157
10158 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10159 the corresponding bug has been fixed in GDB (PR/2018).
10160
dd920c33
JB
101612006-10-06 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.base/subst.exp: New testcase.
10164
53bbefe9
JB
101652006-10-06 Joel Brobecker <brobecker@adacore.com>
10166
10167 * gdb.ada/array_return/pck.ads: Add copyright notice.
10168 * gdb.ada/array_return/pck.adb: Likewise.
10169 * gdb.ada/array_return/p.adb: Likewise.
10170 * gdb.ada/exec_changed/first.adb: Likewise.
10171 * gdb.ada/exec_changed/second.adb: Likewise.
10172
09851417
JB
101732006-10-06 Joel Brobecker <brobecker@adacore.com>
10174
10175 * gdb.ada/watch_arg/watch.adb: New file.
10176 * gdb.ada/watch_arg.exp: New testcase.
10177
041bf30d
VP
101782006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10179
10180 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10181 via string_to_regexp.
041bf30d 10182 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10183
f286fbdd 101842006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10185
10186 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10187 Remove unused / obsolete files.
10188
7c07f349
NR
101892006-09-19 Nick Roberts <nickrob@snap.net.nz>
10190
10191 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10192
cd5ff84a
VP
101932006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10194
10195 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10196 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10197 the number of frames.
cd5ff84a 10198
ae018d1a
DJ
101992006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10200
10201 * gdb.base/args.c (main): Add breakpoint marker.
10202 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10203 really test empty arguments.
10204 (args_load): Delete.
10205 (args_test): New.
10206
b399c549
NR
102072006-09-13 Nick Roberts <nickrob@snap.net.nz>
10208
10209 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10210 check for one file.
b399c549 10211
2ab1eb7a
VP
102122006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10213
10214 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10215 HIGH_FRAME argument to -stack-list-locals can be larger than
10216 the number of frames.
a9c64011 10217
476308bf
FF
102182006-08-18 Fred Fish <fnf@specifix.com>
10219
10220 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10221 '$' in front of skip_vmx_tests_saved when setting that.
10222
8625200f
AS
102232006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10224
10225 * gdb.base/trace-commands.exp: New file.
10226
089ec8f1
DJ
102272006-08-10 Joel Brobecker <brobecker@adacore.com>
10228 Daniel Jacobowitz <dan@codesourcery.com>
10229
10230 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10231 expected output of the backtrace commands.
10232
b60f0898
JB
102332006-08-09 Joel Brobecker <brobecker@adacore.com>
10234
10235 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10236 untested followed by return combination.
10237 * gdb.arch/altivec-regs.exp: Likewise.
10238 * gdb.arch/e500-abi.exp: Likewise.
10239 * gdb.arch/e500-regs.exp: Likewise.
10240 * gdb.arch/gdb1291.exp: Likewise.
10241 * gdb.arch/gdb1431.exp: Likewise.
10242 * gdb.arch/gdb1558.exp: Likewise.
10243 * gdb.arch/i386-prologue.exp: Likewise.
10244 * gdb.arch/i386-unwind.exp: Likewise.
10245 * gdb.asm/asm-source.exp: Likewise.
10246 * gdb.base/a2-run.exp: Likewise.
10247 * gdb.base/advance.exp: Likewise.
10248 * gdb.base/all-bin.exp: Likewise.
10249 * gdb.base/annota1.exp: Likewise.
10250 * gdb.base/annota3.exp: Likewise.
10251 * gdb.base/args.exp: Likewise.
10252 * gdb.base/arithmet.exp: Likewise.
10253 * gdb.base/assign.exp: Likewise.
10254 * gdb.base/async.exp: Likewise.
10255 * gdb.base/attach.exp: Likewise.
10256 * gdb.base/bang.exp: Likewise.
10257 * gdb.base/bigcore.exp: Likewise.
10258 * gdb.base/bitfields.exp: Likewise.
10259 * gdb.base/bitfields2.exp: Likewise.
10260 * gdb.base/break.exp: Likewise.
10261 * gdb.base/call-sc.exp: Likewise.
10262 * gdb.base/call-strs.exp: Likewise.
10263 * gdb.base/callfuncs.exp: Likewise.
10264 * gdb.base/checkpoint.exp: Likewise.
10265 * gdb.base/chng-syms.exp: Likewise.
10266 * gdb.base/code-expr.exp: Likewise.
10267 * gdb.base/commands.exp: Likewise.
10268 * gdb.base/completion.exp: Likewise.
10269 * gdb.base/cond-expr.exp: Likewise.
10270 * gdb.base/condbreak.exp: Likewise.
10271 * gdb.base/consecutive.exp: Likewise.
10272 * gdb.base/constvars.exp: Likewise.
10273 * gdb.base/corefile.exp: Likewise.
10274 * gdb.base/cvexpr.exp: Likewise.
10275 * gdb.base/dbx.exp: Likewise.
10276 * gdb.base/define.exp: Likewise.
10277 * gdb.base/detach.exp: Likewise.
10278 * gdb.base/display.exp: Likewise.
10279 * gdb.base/dump.exp: Likewise.
10280 * gdb.base/ena-dis-br.exp: Likewise.
10281 * gdb.base/ending-run.exp: Likewise.
10282 * gdb.base/environ.exp: Likewise.
10283 * gdb.base/eval-skip.exp: Likewise.
10284 * gdb.base/exprs.exp: Likewise.
10285 * gdb.base/fileio.exp: Likewise.
10286 * gdb.base/finish.exp: Likewise.
10287 * gdb.base/float.exp: Likewise.
10288 * gdb.base/foll-exec.exp: Likewise.
10289 * gdb.base/foll-fork.exp: Likewise.
10290 * gdb.base/foll-vfork.exp: Likewise.
10291 * gdb.base/freebpcmd.exp: Likewise.
10292 * gdb.base/funcargs.exp: Likewise.
10293 * gdb.base/gcore.exp: Likewise.
10294 * gdb.base/gdb1090.exp: Likewise.
10295 * gdb.base/gdb1250.exp: Likewise.
10296 * gdb.base/huge.exp: Likewise.
10297 * gdb.base/info-proc.exp: Likewise.
10298 * gdb.base/interrupt.exp: Likewise.
10299 * gdb.base/jump.exp: Likewise.
10300 * gdb.base/langs.exp: Likewise.
10301 * gdb.base/lineinc.exp: Likewise.
10302 * gdb.base/list.exp: Likewise.
10303 * gdb.base/logical.exp: Likewise.
10304 * gdb.base/long_long.exp: Likewise.
10305 * gdb.base/macscp.exp: Likewise.
10306 * gdb.base/maint.exp: Likewise.
10307 * gdb.base/mips_pro.exp: Likewise.
10308 * gdb.base/miscexprs.exp: Likewise.
10309 * gdb.base/multi-forks.exp: Likewise.
10310 * gdb.base/opaque.exp: Likewise.
10311 * gdb.base/overlays.exp: Likewise.
10312 * gdb.base/pc-fp.exp: Likewise.
10313 * gdb.base/pointers.exp: Likewise.
10314 * gdb.base/printcmds.exp: Likewise.
10315 * gdb.base/psymtab.exp: Likewise.
10316 * gdb.base/ptype.exp: Likewise.
10317 * gdb.base/recurse.exp: Likewise.
10318 * gdb.base/relational.exp: Likewise.
10319 * gdb.base/relocate.exp: Likewise.
10320 * gdb.base/remote.exp: Likewise.
10321 * gdb.base/reread.exp: Likewise.
10322 * gdb.base/restore.exp: Likewise.
10323 * gdb.base/return.exp: Likewise.
10324 * gdb.base/return2.exp: Likewise.
10325 * gdb.base/scope.exp: Likewise.
10326 * gdb.base/sect-cmd.exp: Likewise.
10327 * gdb.base/sep.exp: Likewise.
10328 * gdb.base/sepdebug.exp: Likewise.
10329 * gdb.base/setshow.exp: Likewise.
10330 * gdb.base/setvar.exp: Likewise.
10331 * gdb.base/sigall.exp: Likewise.
10332 * gdb.base/sigbpt.exp: Likewise.
10333 * gdb.base/signals.exp: Likewise.
10334 * gdb.base/signull.exp: Likewise.
10335 * gdb.base/sizeof.exp: Likewise.
10336 * gdb.base/solib.exp: Likewise.
10337 * gdb.base/step-line.exp: Likewise.
10338 * gdb.base/step-test.exp: Likewise.
10339 * gdb.base/structs.exp: Likewise.
10340 * gdb.base/structs2.exp: Likewise.
10341 * gdb.base/term.exp: Likewise.
10342 * gdb.base/twice.exp: Likewise.
10343 * gdb.base/until.exp: Likewise.
10344 * gdb.base/varargs.exp: Likewise.
10345 * gdb.base/volatile.exp: Likewise.
10346 * gdb.base/watchpoint.exp: Likewise.
10347 * gdb.base/whatis-exp.exp: Likewise.
10348 * gdb.base/whatis.exp: Likewise.
10349 * gdb.cp/ambiguous.exp: Likewise.
10350 * gdb.cp/annota2.exp: Likewise.
10351 * gdb.cp/annota3.exp: Likewise.
10352 * gdb.cp/bool.exp: Likewise.
10353 * gdb.cp/breakpoint.exp: Likewise.
10354 * gdb.cp/casts.exp: Likewise.
10355 * gdb.cp/class2.exp: Likewise.
10356 * gdb.cp/classes.exp: Likewise.
10357 * gdb.cp/cplusfuncs.exp: Likewise.
10358 * gdb.cp/ctti.exp: Likewise.
10359 * gdb.cp/derivation.exp: Likewise.
10360 * gdb.cp/exception.exp: Likewise.
10361 * gdb.cp/gdb1355.exp: Likewise.
10362 * gdb.cp/hang.exp: Likewise.
10363 * gdb.cp/inherit.exp: Likewise.
10364 * gdb.cp/local.exp: Likewise.
10365 * gdb.cp/m-data.exp: Likewise.
10366 * gdb.cp/m-static.exp: Likewise.
10367 * gdb.cp/member-ptr.exp: Likewise.
10368 * gdb.cp/method.exp: Likewise.
10369 * gdb.cp/misc.exp: Likewise.
10370 * gdb.cp/namespace.exp: Likewise.
10371 * gdb.cp/overload.exp: Likewise.
10372 * gdb.cp/ovldbreak.exp: Likewise.
10373 * gdb.cp/pr-1023.exp: Likewise.
10374 * gdb.cp/pr-1210.exp: Likewise.
10375 * gdb.cp/pr-574.exp: Likewise.
10376 * gdb.cp/printmethod.exp: Likewise.
10377 * gdb.cp/psmang.exp: Likewise.
10378 * gdb.cp/ref-params.exp: Likewise.
10379 * gdb.cp/ref-types.exp: Likewise.
10380 * gdb.cp/rtti.exp: Likewise.
10381 * gdb.cp/templates.exp: Likewise.
10382 * gdb.cp/try_catch.exp: Likewise.
10383 * gdb.cp/userdef.exp: Likewise.
10384 * gdb.cp/virtfunc.exp: Likewise.
10385 * gdb.disasm/am33.exp: Likewise.
10386 * gdb.disasm/h8300s.exp: Likewise.
10387 * gdb.disasm/mn10300.exp: Likewise.
10388 * gdb.disasm/sh3.exp: Likewise.
10389 * gdb.disasm/t01_mov.exp: Likewise.
10390 * gdb.disasm/t02_mova.exp: Likewise.
10391 * gdb.disasm/t03_add.exp: Likewise.
10392 * gdb.disasm/t04_sub.exp: Likewise.
10393 * gdb.disasm/t05_cmp.exp: Likewise.
10394 * gdb.disasm/t06_ari2.exp: Likewise.
10395 * gdb.disasm/t07_ari3.exp: Likewise.
10396 * gdb.disasm/t08_or.exp: Likewise.
10397 * gdb.disasm/t09_xor.exp: Likewise.
10398 * gdb.disasm/t10_and.exp: Likewise.
10399 * gdb.disasm/t11_logs.exp: Likewise.
10400 * gdb.disasm/t12_bit.exp: Likewise.
10401 * gdb.disasm/t13_otr.exp: Likewise.
10402 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10403 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10404 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10405 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10406 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10407 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10408 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10409 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10410 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10411 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10412 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10413 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10414 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10415 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10416 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10417 * gdb.mi/gdb701.exp: Likewise.
10418 * gdb.mi/gdb792.exp: Likewise.
10419 * gdb.mi/mi-basics.exp: Likewise.
10420 * gdb.mi/mi-break.exp: Likewise.
10421 * gdb.mi/mi-cli.exp: Likewise.
10422 * gdb.mi/mi-console.exp: Likewise.
10423 * gdb.mi/mi-disassemble.exp: Likewise.
10424 * gdb.mi/mi-eval.exp: Likewise.
10425 * gdb.mi/mi-file.exp: Likewise.
10426 * gdb.mi/mi-read-memory.exp: Likewise.
10427 * gdb.mi/mi-regs.exp: Likewise.
10428 * gdb.mi/mi-return.exp: Likewise.
10429 * gdb.mi/mi-simplerun.exp: Likewise.
10430 * gdb.mi/mi-stack.exp: Likewise.
10431 * gdb.mi/mi-stepi.exp: Likewise.
10432 * gdb.mi/mi-syn-frame.exp: Likewise.
10433 * gdb.mi/mi-until.exp: Likewise.
10434 * gdb.mi/mi-var-block.exp: Likewise.
10435 * gdb.mi/mi-var-child.exp: Likewise.
10436 * gdb.mi/mi-var-cmd.exp: Likewise.
10437 * gdb.mi/mi-var-display.exp: Likewise.
10438 * gdb.mi/mi-watch.exp: Likewise.
10439 * gdb.mi/mi2-basics.exp: Likewise.
10440 * gdb.mi/mi2-break.exp: Likewise.
10441 * gdb.mi/mi2-cli.exp: Likewise.
10442 * gdb.mi/mi2-console.exp: Likewise.
10443 * gdb.mi/mi2-disassemble.exp: Likewise.
10444 * gdb.mi/mi2-eval.exp: Likewise.
10445 * gdb.mi/mi2-file.exp: Likewise.
10446 * gdb.mi/mi2-read-memory.exp: Likewise.
10447 * gdb.mi/mi2-regs.exp: Likewise.
10448 * gdb.mi/mi2-return.exp: Likewise.
10449 * gdb.mi/mi2-simplerun.exp: Likewise.
10450 * gdb.mi/mi2-stack.exp: Likewise.
10451 * gdb.mi/mi2-stepi.exp: Likewise.
10452 * gdb.mi/mi2-syn-frame.exp: Likewise.
10453 * gdb.mi/mi2-until.exp: Likewise.
10454 * gdb.mi/mi2-var-block.exp: Likewise.
10455 * gdb.mi/mi2-var-child.exp: Likewise.
10456 * gdb.mi/mi2-var-cmd.exp: Likewise.
10457 * gdb.mi/mi2-var-display.exp: Likewise.
10458 * gdb.mi/mi2-watch.exp: Likewise.
10459 * gdb.stabs/exclfwd.exp: Likewise.
10460 * gdb.stabs/weird.exp: Likewise.
10461 * gdb.threads/gcore-thread.exp: Likewise.
10462 * gdb.trace/actions.exp: Likewise.
10463 * gdb.trace/backtrace.exp: Likewise.
10464 * gdb.trace/circ.exp: Likewise.
10465 * gdb.trace/collection.exp: Likewise.
10466 * gdb.trace/deltrace.exp: Likewise.
10467 * gdb.trace/infotrace.exp: Likewise.
10468 * gdb.trace/limits.exp: Likewise.
10469 * gdb.trace/packetlen.exp: Likewise.
10470 * gdb.trace/passc-dyn.exp: Likewise.
10471 * gdb.trace/passcount.exp: Likewise.
10472 * gdb.trace/report.exp: Likewise.
10473 * gdb.trace/save-trace.exp: Likewise.
10474 * gdb.trace/tfind.exp: Likewise.
10475 * gdb.trace/tracecmd.exp: Likewise.
10476 * gdb.trace/while-dyn.exp: Likewise.
10477 * gdb.trace/while-stepping.exp: Likewise.
10478
f4b618d1
JB
104792006-08-08 Joel Brobecker <brobecker@adacore.com>
10480
10481 * gdb.base/step-bt.c: New file.
10482 * gdb.base/step-bt.exp: New testcase.
10483
3d00d119
DJ
104842006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10485
10486 * config/monitor.exp (gdb_load): Remove support for obsolete
10487 download-write-size.
10488 * gdb.base/remote.exp: Likewise. Update all callers of
10489 gdb_timed_load.
10490
017b5bd4
DJ
104912006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10492
10493 * cursal.exp: Pass binfile to gdb_load.
10494
837c599d
DJ
104952006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10496
10497 * gdb.base/cursal.exp: Add "" to gdb_load call.
10498
8dd4540b
MK
104992006-07-29 Mark Kettenis <kettenis@gnu.org>
10500
10501 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10502 NetBSD/ELF targets.
10503
ab5c9f60
DJ
105042006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10505
10506 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10507 operator*.
10508
4c42eaff
DJ
105092006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10510
10511 * gdb.base/completion.exp: Update for change in "file" behavior.
10512 * gdb.stabs/weird.exp: Likewise.
10513 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10514 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10515
0155cc76
NS
105162006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10517
10518 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10519 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10520
16026cd7
AS
105212006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10522
10523 * gdb.base/default.exp: Update source command error message.
10524 * gdb.base/help.exp: Update 'help source' message.
10525
16963cb6
DJ
105262006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10527
10528 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10529 test.
10530
6d7fd486
AS
105312006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10532
10533 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10534
29e8a844
DJ
105352006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10536
10537 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10538
6afcfa39
DJ
105392006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10540
10541 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10542
267a692b
MK
105432006-07-17 Mark Kettenis <kettenis@gnu.org>
10544
10545 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10546 *-*-openbsd* from targets for wich we expect ARM FPA floating
10547 point format.
10548
85d2fec4
NR
105492006-07-17 Nick Roberts <nickrob@snap.net.nz>
10550
10551 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10552
105532006-07-17 Mark Kettenis <kettenis@gnu.org>
10554
10555 * gdb.base/annota3.exp: Expect frame-begin annotation.
10556
85b4c6e8
JB
105572006-07-14 Joel Brobecker <brobecker@adacore.com>
10558
10559 * gdb.base/help.exp: Adjust "help unset" test to accept
10560 any list of unset commands.
10561
fb933624
DJ
105622006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10563 Daniel Jacobowitz <dan@codesourcery.com>
10564
10565 * gdb.cp/ref-params.exp: New test.
10566 * gdb.cp/ref-params.cc: New source file.
10567 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10568
1dff4b64
MK
105692006-07-08 Mark Kettenis <kettenis@gnu.org>
10570
10571 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10572 spaces/tabs in regular expressions since they might not be there.
10573
40d2e0e3
AS
105742006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10575
10576 * gdb.base/ifelse.exp: New file.
10577
f6c957d2
NS
105782006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10579
10580 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10581 line.
10582 * gdb.base/huge.exp: Loop over compilation to find a size that
10583 is acceptable.
10584 * gdb.base/remote.exp: Correct expected strings.
10585 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10586
b9c5a23d
DJ
105872006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10588
10589 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10590
9af2e58d
DJ
105912006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10592
10593 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10594 native.
10595
30930ca5
DJ
105962006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10597
10598 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10599 enable stabs testing.
10600
aa32fa1d
DJ
106012006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10602
bd4a4c80 10603 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10604 gdb_test_multiple does.
10605
321fef15
DJ
106062006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10607
10608 * Makefile.in (host_alias): Remove.
10609 (target_alias): Use @target_noncanonical@.
10610 (site.exp): Don't set host_alias.
10611 * aclocal.m4: Remove contents. Include acx.m4.
10612 * configure: Regenerated.
10613 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10614
e1c2defa
NS
106152006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10616
e63b55d1
NS
10617 * lib/gdb.exp (gdb_load_cmd): New.
10618
5600ea19
NS
10619 * gdb.base/fileio.c: Add system(NULL) test.
10620 * gdb.base/fileio.exp: Check it.
10621
e1c2defa
NS
10622 * gdb.base/break.c: Add 10a breakpoint at }
10623 * gdb.base/break.exp: Add test for breakpoint at }
10624 * gdb.cp/anon-union.cc: Add code at end of function.
10625 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10626 * gdb.mi/var-cmd.c: Add code at end of function.
10627 * gdb.mi/mi-var-display.exp: Adjust end of next.
10628 * gdb.mi/mi2-var-display.exp: Likewise.
10629 * gdb.base/fileio.c: Add stop function and insert calls at
10630 stopping places.
10631 * gdb.base/fileio.exp: Breakpoint stop function and remove
10632 explicit line number references.
10633
6c0112ec
JB
106342006-05-19 Joel Brobecker <brobecker@adacore.com>
10635
a9c64011
AS
10636 * gdb.base/del.exp (test_delete_alias): New function.
10637 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10638
154189a4
FF
106392006-05-18 Fred Fish <fnf@specifix.com>
10640
10641 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10642 required. Check for spurious output after program exits normally.
10643
582e64c2
FF
106442006-05-17 Fred Fish <fnf@specifix.com>
10645
10646 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10647 gdb_load, so it works in the simulator.
10648
8ef6493a
FF
106492006-05-11 Fred Fish <fnf@specifix.com>
10650
10651 * gdb.base/bang.exp: Ignore unexpected output between the
10652 "program exited normally" and the gdb prompt, as many other
10653 tests do.
10654
692b141c
MK
106552006-05-07 Mark Kettenis <kettenis@gnu.org>
10656
10657 * gdb.base/help.exp: Make "delete checkpoint" part option for
10658 "help d" and "help delete" tests.
10659
540b8a30
UW
106602006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10661
a9c64011 10662 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10663 expected output in some mi_gdb_test statements.
10664 * gdb.mi/mi2-basics.exp: Likewise.
10665
9b6462d9
JB
106662006-05-05 Joel Brobecker <brobecker@adacore.com>
10667
10668 * gdb.base/del.c: New file.
10669 * gdb.base/del.exp: New testcase.
10670
954de43b
DM
106712006-05-05 David S. Miller <davem@sunset.davemloft.net>
10672
10673 * gdb.base/break.exp: Do not assume a breakpoint on
10674 main will actually be in $srcfile when optimizing.
1303f75e
DM
10675 * gdb.base/savedregs.exp: Do not require that the dummy
10676 frame location match up to a symbol and source file location.
c3242428
DM
10677 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10678 will get printed without a mi_cmd_data_list_register_values prefix.
10679 (*-data-list-register-*): Correct regular expressions to expect the new
10680 pseudo d? floating point registers.
10681 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10682
c7e64c9a
DJ
106832006-05-05 Christophe Lyon <christophe.lyon@st.com>
10684
10685 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10686 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10687 is allocated by the compiler.
10688 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10689 anons, e, anone to force their allocation by the compiler.
10690
106912006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10692
10693 * gdb.base/help.exp: Update expected text for help d and
10694 help delete.
10695
27ce9a6d
MK
106962006-05-02 Mark Kettenis <kettenis@gnu.org>
10697
10698 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10699 NetBSD/ELF targets.
10700
8608915f
MK
107012006-04-30 Mark Kettenis <kettenis@gnu.org>
10702
10703 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10704 single-step breakpoint fails; make this a KFAIL on
10705 sparc*-*-openbsd*.
10706 * gdb.base/siginfo.exp: Likewise.
10707 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10708
b8db102d
MS
107092006-04-26 Michael Snyder <msnyder@redhat.com>
10710
10711 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10712 which may have to consume output from other forks.
10713 Add tests to make sure that "delete fork" succeeded.
10714
c702009a
MS
107152006-04-20 Michael Snyder <msnyder@redhat.com>
10716
10717 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10718 Add support for the Renesas M32C and M16C.
10719
10720 * gdb.asm/asm-source.exp: Add m32c target.
10721 * gdb.asm/m32c.inc: Support for m32c target.
10722
e28493f2
AS
107232006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10724
10725 * gdb.base/commands.exp (recursive_source_test): New test.
10726
880da185
DM
107272006-04-04 David S. Miller <davem@sunset.davemloft.net>
10728
10729 * gdb.base/float.exp: Add pattern for sparc targets.
10730
61d9b92f
DJ
107312006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * gdb.base/commands.exp (stray_arg0_test): New test.
10734
bd717df8
PB
107352006-03-30 Paul Brook <paul@codesourcery.com>
10736
10737 * gdb.mi/mi-until.exp: kfail broken until command.
10738 * gdb.mi/mi2-until.exp: Ditto.
10739
ec793d3c
NR
107402006-03-27 Nick Roberts <nickrob@snap.net.nz>
10741
10742 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10743
831004b7
AO
107442006-03-08 Alexandre Oliva <aoliva@redhat.com>
10745
10746 * gdb.base/prelink.exp: Anchor tested-for regular expression
10747 on gdb prompt.
10748
effe49a0
PB
107492006-03-07 Paul Brook <paul@codesourcery.com>
10750
10751 * gdb.base/assign.exp: Correct fail message.
10752
e5461016
PB
107532006-03-07 Paul Brook <paul@codesourcery.com>
10754
10755 * lib/compiler.c: Extract armcc version number.
10756 * lib/compiler.cc: Ditto.
10757
fc91c6c2
PB
107582006-03-07 Paul Brook <paul@codesourcery.com>
10759
10760 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10761 additional_flags=-w.
10762 * gdb.arch/altivec-regs.exp: Ditto.
10763 * gdb.arch/e500-abi.exp: Ditto.
10764 * gdb.arch/e500-regs.exp: Ditto.
10765 * gdb.base/all-bin.exp: Ditto.
10766 * gdb.base/annota1.exp: Ditto.
10767 * gdb.base/annota3.exp: Ditto.
10768 * gdb.base/args.exp: Ditto.
10769 * gdb.base/arithmet.exp: Ditto.
10770 * gdb.base/assign.exp: Ditto.
10771 * gdb.base/async.exp: Ditto.
10772 * gdb.base/bang.exp: Ditto.
10773 * gdb.base/break.exp: Ditto.
10774 * gdb.base/call-rt-st.exp: Ditto.
10775 * gdb.base/completion.exp: Ditto.
10776 * gdb.base/cond-expr.exp: Ditto.
10777 * gdb.base/condbreak.exp: Ditto.
10778 * gdb.base/consecutive.exp: Ditto.
10779 * gdb.base/define.exp: Ditto.
10780 * gdb.base/display.exp: Ditto.
10781 * gdb.base/ena-dis-br.exp: Ditto.
10782 * gdb.base/environ.exp: Ditto.
10783 * gdb.base/eval-skip.exp: Ditto.
10784 * gdb.base/info-proc.exp: Ditto.
10785 * gdb.base/jump.exp: Ditto.
10786 * gdb.base/logical.exp: Ditto.
10787 * gdb.base/long_long.exp: Ditto.
10788 * gdb.base/maint.exp: Ditto.
10789 * gdb.base/miscexprs.exp: Ditto.
10790 * gdb.base/pc-fp.exp: Ditto.
10791 * gdb.base/pointers.exp: Ditto.
10792 * gdb.base/relational.exp: Ditto.
10793 * gdb.base/reread.exp: Ditto.
10794 * gdb.base/sect-cmd.exp: Ditto.
10795 * gdb.base/sep.exp: Ditto.
10796 * gdb.base/sepdebug.exp: Ditto.
10797 * gdb.base/until.exp: Ditto.
10798 * gdb.base/whatis-exp.exp: Ditto.
10799 * gdb.cp/annota2.exp: Ditto.
10800 * gdb.cp/annota3.exp: Ditto.
10801 * gdb.trace/actions.exp: Ditto.
10802 * gdb.trace/backtrace.exp: Ditto.
10803 * gdb.trace/circ.exp: Ditto.
10804 * gdb.trace/collection.exp: Ditto.
10805 * gdb.trace/deltrace.exp: Ditto.
10806 * gdb.trace/infotrace.exp: Ditto.
10807 * gdb.trace/limits.exp: Ditto.
10808 * gdb.trace/packetlen.exp: Ditto.
10809 * gdb.trace/passc-dyn.exp: Ditto.
10810 * gdb.trace/passcount.exp: Ditto.
10811 * gdb.trace/report.exp: Ditto.
10812 * gdb.trace/save-trace.exp: Ditto.
10813 * gdb.trace/tfind.exp: Ditto.
10814 * gdb.trace/tracecmd.exp: Ditto.
10815 * gdb.trace/while-dyn.exp: Ditto.
10816 * gdb.trace/while-stepping.exp: Ditto.
10817 * lib/gdb.exp: Ditto.
10818 (gdb_compile): Handle nowarning option.
10819
5f4a23d9
AO
108202006-03-07 Alexandre Oliva <aoliva@redhat.com>
10821
10822 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10823 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10824 Rename executable to prelinkt. Don't re-prelink if we didn't
10825 get a core file. Test prelink -u exit status to tell whether
10826 prelinking failed. Use gdb_test_multiple.
10827
9733fc94
DJ
108282006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10829
10830 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10831 (do_tests): Call it.
10832
cc10cae3
AO
108332006-02-28 Alexandre Oliva <aoliva@redhat.com>
10834
10835 * gdb.base/prelink.exp: New test.
10836 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10837
15c46491
WZ
108382006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10839
10840 * gdb.fortran/derived-type.f90: New file.
10841 * gdb.fortran/derived-type.exp: New testcase.
10842
5c9f7ded
DJ
108432006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10844
10845 * gdb.base/default.exp: Allow ';' as a directory separator.
10846
5b96932b
AS
108472006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10848
10849 * gdb.base/help.exp (help add-symbol-file): Update.
10850
1986bccd
AS
108512006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10852
10853 * gdb.base/help.exp (help load): Update expected results.
10854
a8b7528f
FF
108552006-02-19 Fred Fish <fnf@specifix.com>
10856
10857 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10858 specifix hex value as part of results.
10859 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10860
f8261448
FF
108612006-02-16 Fred Fish <fnf@specifix.com>
10862
10863 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10864 ushort_addr, and slong_addr, so the typedefs are not optimized
10865 away.
10866 * gdb.base/whatis.exp: Add tests using type name for struct type,
10867 union type, enum type, and typedef.
a9c64011 10868
31d8bdd2
MK
108692006-02-13 Mark Kettenis <kettenis@gnu.org>
10870
10871 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10872
34e41e63
JB
108732006-02-13 Jim Blandy <jimb@redhat.com>
10874
10875 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10876 case where it takes two "next" commands to skip past the init
10877 call.
10878
ac6e4f31
FF
108792006-02-12 Fred Fish <fnf@specifix.com>
10880
10881 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10882 to handle cases where it takes two "next" commands to skip
10883 past the init call.
10884
2db2d571
JB
108852006-02-07 Joel Brobecker <brobecker@adacore.com>
10886
10887 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10888 on hppa32 targets.
10889
38fcd64c
DJ
108902006-02-06 Vladimir Prus <ghost@cs.msu.su>
10891
10892 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10893 field.
10894
1315ad46
MK
108952006-01-29 Mark Kettenis <kettenis@gnu.org>
10896
10897 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10898
5625b943
DJ
108992006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10900
10901 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10902 files.
10903
80df1bbe
DJ
109042006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10905
10906 * gdb.cp/maint.exp: Set complaints to a positive value.
10907
9078e690
DJ
109082006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10909
10910 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10911 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10912 function name.
10913
9c903399
DJ
109142006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10915
10916 * gdb.base/checkpoint.c: Update copyright notice. Include
10917 <stdlib.h>.
10918
761ae4d6
JB
109192006-01-04 Jim Blandy <jimb@redhat.com>
10920
10921 * gdb.asm/asm-source.exp: Independently provide default values for
10922 asm-flags and debug-flags. Use 'string equal' to do the
10923 comparison, not the implicit expr's '==' operator. Remove
10924 now-unneeded assignments to asm-flags. In h8300 case, place
10925 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10926
099ac3dd
MS
109272006-01-04 Michael Snyder <msnyder@redhat.com>
10928
10929 * gdb.base/checkpoint.c: New file.
10930 * gdb.base/checkpoint.exp: New file.
10931 * gdb.base/multi-fork.c: New file.
10932 * gdb.base/multi-fork.exp: New file.
10933 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10934
f4d85314
FF
109352006-01-04 Fred Fish <fnf@specifix.com>
10936
10937 * gdb.base/ptype.c (foo): Add typedef.
10938 (intfoo): Add function.
10939 * gdb.base/ptype1.c: New file.
10940 * gdb.base/ptype.exp: Handle compilation and linking with two
10941 source files. Test that proper type for "foo" is found based
10942 on source context rather than first match found in symtabs.
10943
a1b06f35
MK
109442005-12-28 Mark Kettenis <kettenis@gnu.org>
10945
10946 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10947 * gdb.asm/openbsd.inc: Indent commands.
10948
d082a1e2
MK
109492005-12-26 Mark Kettenis <kettenis@gnu.org>
10950
c65016bd
MK
10951 * gdb.base/freebpcmd.exp: Increase timeout.
10952
d082a1e2
MK
10953 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10954
d3c32a0e
DJ
109552005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10956
10957 * gdb.base/default.exp: Update check for "show version".
10958
9fdb1f50
RC
109592005-12-09 Randolph Chung <tausq@debian.org>
10960
10961 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10962 * gdb.asm/pa64.inc: New file.
10963
5f2c56f7
RC
109642005-12-09 Randolph Chung <tausq@debian.org>
10965
10966 * gdb.asm/common.inc: Indent commands.
10967 * gdb.asm/asmsrc1.s: Likewise.
10968 * gdb.asm/asmsrc2.s: Likewise.
10969
8117349c
RC
109702005-12-09 Randolph Chung <tausq@debian.org>
10971
10972 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10973 (get_addr_of_sym): Remove duplicate print.
10974 (gen_core): xfail hppa*-*-hpux*, update expected output.
10975 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10976 * gdb.arch/pa64-nullify.s: New file.
10977
8f07f25a
RC
109782005-12-09 Randolph Chung <tausq@debian.org>
10979
10980 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10981
55b39184
DJ
109822005-12-07 Christophe Lyon <christophe.lyon@st.com>
10983
10984 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10985 code generation for these functions.
10986 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10987 error message.
10988
31e2b00f
AS
109892005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10990
10991 * gdb.base/help.exp (help b, help br, help bre, help brea)
10992 (help break): Update the expected message.
10993
c3d0b56e
SC
109942005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10995
10996 * gdb.asm/m68hc11.inc: Setup the data section.
10997 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10998 script for this test.
10999 (m6812-*-*): Likewise.
11000
36ae0ea9
RC
110012005-11-09 Randolph Chung <tausq@debian.org>
11002
11003 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11004
9d6f42e9
WZ
110052005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11006
11007 * gdb.base/break.exp: Fix a comment typo.
11008
e2126a14
EZ
110092005-11-03 Jim Blandy <jimb@redhat.com>
11010
a9c64011
AS
11011 Checked in by Elena Zannoni <ezannoni@redhat.com>
11012
889bf7c5 11013 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11014
e0ac7199
CV
110152005-11-02 Corinna Vinschen <vinschen@redhat.com>
11016
11017 * gdb.arch/gdb1558.c: Include stdio.h.
11018
31d3fb18
MK
110192005-10-31 Mark Kettenis <kettenis@gnu.org>
11020
11021 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11022
e52b687c
MK
110232005-10-31 Mark Kettenis <kettenis@gnu.org>
11024
11025 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11026
f4711d79
PG
110272005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11028
a9c64011
AS
11029 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11030 vscr" tests to better match output.
f4711d79 11031
987a9106
JB
110322005-10-12 Jim Blandy <jimb@redhat.com>
11033
11034 * gdb.base/structs.exp (any): New function.
11035 (test_struct_returns): Don't make any assumptions at all about
11036 what value the function returns when GDB can't set the return
11037 value.
11038
2336bb58
JB
110392005-10-09 Joel Brobecker <brobecker@adacore.com>
11040
11041 * gdb.ada/arrayidx/p.adb: New file.
11042 * gdb.ada/arrayidx.exp: New testcase
11043
110442005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11045
11046 * gdb.ada/array_return/pck.ads: New file.
11047 * gdb.ada/array_return/pck.adb: New file.
11048 * gdb.ada/array_return/p.adb: New file.
11049 * gdb.ada/array_return.exp: New testcase.
11050
705335ea
JB
110512005-10-03 Joel Brobecker <brobecker@adacore.com>
11052
a9c64011
AS
11053 * gdb.base/arrayidx.c: New file.
11054 * gdb.base/arrayidx.exp: New testcase.
705335ea 11055
11ee9940
NR
110562005-09-29 Nick Roberts <nickrob@snap.net.nz>
11057
11058 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11059 frames-invalid and breakpoints-invalid are no longer generated
11060 with level 3 so don't expect them in the output.
11061
39fb8e9e
BR
110622005-09-27 Bob Rossi <bob@brasko.net>
11063
a9c64011 11064 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11065 from test. Escape the | in mi_gdb_test call.
11066 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11067 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11068 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11069 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11070 expected regex's in mi_gdb_test calls.
11071 * lib/mi-support.exp: Remove arbitrary .* from tests.
11072 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11073 Fully anchor GDB/MI expected results in mi_gdb_test.
11074 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11075 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11076
2af48f68
PB
110772005-09-26 Paul Brook <paul@codesourcery.com>
11078
11079 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11080
f34502bc
WZ
110812005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11082
11083 * bfp-test.c: New file.
11084 * bfp-test.exp: New testcase.
11085
ca929517
WZ
110862005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11087
11088 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11089 of subarray and substring variable.
11090 * gdb.fortran/subarray.f: New source file for the test of subarray
11091 and substring variable evaluation.
11092 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11093 of string constant.
11094
c761af65
DJ
110952005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11096
11097 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11098 copyright dates.
11099
561d7a1d
PG
111002005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11101
11102 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11103 powerpc altivec' test with an almost identical 'info vector' test.
11104
b2b64cc9
PG
111052005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11106
a9c64011
AS
11107 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11108 vscr" tests to match output.
b2b64cc9 11109
6ac4d15a
PG
111102005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11111
a9c64011
AS
11112 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11113 output.
6ac4d15a 11114
40e55bef
BR
111152005-09-11 Bob Rossi <bob@brasko.net>
11116
889bf7c5
PA
11117 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11118 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11119 commands that return an MI output command and an asyncronous MI output
11120 command.
40e55bef
BR
11121 * gdb.mi/mi-console.exp: Ditto.
11122
3c7385ec
BR
111232005-09-11 Bob Rossi <bob@brasko.net>
11124
11125 * gdb.mi/mi-var-child.c: Include <string.h>.
11126
a6cd0eb3
DJ
111272005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11128
11129 * killed.exp: Correct gdb_expect syntax.
11130
2f168eed
CV
111312005-08-09 Corinna Vinschen <vinschen@redhat.com>
11132
11133 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11134
ecd3fd0f
BR
111352005-08-02 Bob Rossi <bob@brasko.net>
11136
11137 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11138 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11139 Change tests to inferior-tty-set/show.
11140 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11141 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11142 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11143 inferior. Use mi_gdb_test to get GDB and Inferior output.
11144 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11145 descriptor.
11146 (mi_inferior_tty_name): Add inferior PTY file name.
11147 (mi_gdb_start): Add INFERIOR_PTY parameter.
11148 (mi_gdb_test): Add IPATTERN parameter.
11149
f1ea48cb 111502005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11151
f1ea48cb
BR
11152 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11153 parameter to mi_gdb_test.
11154 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11155
6e650a67
DJ
111562005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11157
11158 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11159 struct_declarations.
11160 * gdb.mi/mi-var-child.exp: Step over the initialization of
11161 struct_declarations.
11162
8be260b6
DJ
111632005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11164
11165 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11166 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11167 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11168 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11169 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11170 file.
11171
4e660f07
NR
111722005-07-27 Nick Roberts <nickrob@snap.net.nz>
11173
11174 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11175 (do_children_tests): Assign values to the extra elements.
11176
11177 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11178 them for tests for "-var-update --no-values" and
a9c64011 11179 "-var-update --all-values".
4e660f07
NR
11180 Add test for "-var-list-children --simple-values".
11181
11182 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11183
11184 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11185 "-stack-list-locals --simple-values" Improve doc strings and
11186 comments.
11187
6bdae935
MK
111882005-07-18 Mark Kettenis <kettenis@gnu.org>
11189
598b7a6f
MK
11190 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11191 *-*-openbsd*.
11192 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11193
6bdae935
MK
11194 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11195 sigaltsatck'.
11196
1323e929 111972005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11198
1323e929
BR
11199 * gdb.base/default.exp (tty): Changed output of command.
11200 * gdb.base/help.exp (help tty): Ditto.
11201
b1a9c082
MK
112022005-07-12 Mark Kettenis <kettenis@gnu.org>
11203
11204 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11205
10a844a2
MK
112062005-07-10 Mark Kettenis <kettenis@gnu.org>
11207
11208 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11209 -stack-select-frame without arguments.
11210 (test_stack_frame_listing): Add test for newly implemented command
11211 -stack-info-frame.
11212
3cb3b8df
BR
112132005-07-06 Bob Rossi <bob@brasko.net>
11214
11215 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11216 command.
11217 (Copyright): Update copyright.
11218
a0c5fbcf
WZ
112192005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11220
11221 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11222 tests to evaluate exponentiation expression.
11223
984971d0
AS
112242005-06-29 Andreas Schwab <schwab@suse.de>
11225
11226 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11227 main to avoid warnings.
11228
11229 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11230
fe03833f
NR
112312005-06-20 Nick Roberts <nickrob@snap.net.nz>
11232
11233 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11234 -stack-select-frame without arguments.
11235 (test_stack_frame_listing): Add test for newly implemented command
11236 -stack-info-frame.
a9c64011 11237
7a55f279
WZ
112382005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11239
0ffa0ea5
DJ
11240 * gdb.fortran/array-element.f: New file.
11241 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11242
26585198
DJ
112432005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11244
11245 * gdb.base/bigcore.exp: Correct checks for systems which can
11246 not dump a large core file.
11247
c1bd25fd
DJ
112482005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11249
11250 * gdb.base/relocate.c: Add a copyright notice.
11251 (dummy): Remove.
11252 * gdb.base/relocate.exp: Test printing the values of variables
11253 from a relocatable file.
11254
589e074d
DJ
112552005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11256
11257 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11258 excess MI output after an error.
11259
0915f927
JB
112602005-05-29 Joel Brobecker <brobecker@adacore.com>
11261
11262 * gdb.arch/alpha-step.c: New file.
11263 * gdb.arch/alpha-step.exp: New testcase.
11264
76ff342d
DJ
112652005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11266 Dennis Brueni <dennis@slickedit.com>
11267
11268 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11269 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11270 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11271 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11272 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11273 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11274 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11275
96b0c7ac
DJ
112762005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11277 Wu Zhou <woodzltc@cn.ibm.com>
11278
11279 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11280 IBM's xlc compiler.
11281 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11282 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11283
f21565d2
JB
112842005-05-13 Jim Blandy <jimb@redhat.com>
11285
11286 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11287 calling gdb_suppress_entire_file.
11288 * gdb.base/charset.exp: Same.
11289 * gdb.base/call-rt-st.exp: Same.
11290
6006a3a1
BR
112912005-05-05 Bob Rossi <bob_rossi@cox.net>
11292
11293 * lib/gdb.exp (fullname_syntax): Added global regex.
11294 (fullname_syntax_POSIX): Ditto.
11295 (fullname_syntax_UNC): Ditto.
11296 (fullname_syntax_DOS_CASE): Ditto.
11297 (fullname_syntax_DOS): Ditto.
11298 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11299 fullname_syntax variable to scope and use it.
11300 (test_file_list_exec_source_files): Ditto.
11301 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11302
c3b69c04
DJ
113032005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11304
11305 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11306
3c95e6af
PG
113072004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11308
a9c64011
AS
11309 * lib/gdb.exp (skip_altivec_tests): New function, based on
11310 check_vmx_hw_available from the GCC testsuite.
11311 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11312 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11313
78df6c56
JB
113142005-05-02 Jim Blandy <jimb@redhat.com>
11315
11316 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11317 calling gdb_suppress_entire_file.
11318
1690f9cf
DJ
113192005-04-30 Randolph Chung <tausq@debian.org>
11320
11321 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11322 Slightly relax "sem_post" name checking.
11323
5ea106f7
PG
113242005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11325
11326 * gdb.base/unload.exp: Use new shared library infrastructure.
11327
bf7234cf
PG
113282005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11329
11330 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11331 infrastructure.
bf7234cf 11332
547b869a
CV
113332005-04-29 Corinna Vinschen <vinschen@redhat.com>
11334
11335 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11336 * gdb.asm/h8300.inc: New file.
11337
f07e55f0
PG
113382005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11339
11340 * gdb.base/shlib-call.exp: Change to use new shared library
11341 infrastructure.
11342
3cbba3d1
PG
113432005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11344
a9c64011
AS
11345 * gdb.base/pending.exp: Change to use new shared library
11346 infrastructure.
3cbba3d1 11347
ed6df200
PG
113482005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11349
a9c64011
AS
11350 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11351 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11352
8c8f4ebe
PG
113532005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11354
a9c64011
AS
11355 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11356 shared objects being adjusted and update copyright years.
8c8f4ebe 11357
607fbc54
DJ
113582005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11359
11360 * ChangeLog: Correct some 2003-01-13 dates.
11361 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11362 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11363 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11364 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11365 gdb.trace/tfind.exp: Update copyright years.
11366
57bf0e56
DJ
113672005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11368 Daniel Jacobowitz <dan@codesourcery.com>
11369
11370 * lib/gdb.exp (gdb_compile): Handle shlib=.
11371 (gdb_compile_shlib): New function.
11372
9b593790
PG
113732005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11374
a9c64011 11375 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11376
9494c6a5
DJ
113772005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11378
11379 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11380 gdb.server.
11381 * configure.ac: Likewise.
11382 * configure: Regenerated.
11383 * gdb.gdbserver/Makefile.in: Moved to...
11384 * gdb.server/Makefile.in: ... here.
11385 * gdb.gdbserver/server.c: Moved to...
11386 * gdb.server/server.c: ... here.
11387 * gdb.gdbserver/server-run.exp: Moved to...
11388 * gdb.server/server-run.exp: ... here.
11389
6f8eac0e
DJ
113902005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11391
11392 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11393 * configure.ac: Create gdb.gdbserver/Makefile.
11394 * configure: Regenerated.
11395 * lib/gdbserver-support.exp: New file, derived from
11396 config/gdbserver.exp.
11397 * config/gdbserver.exp: Use gdbserver-support.exp.
11398 * gdb.gdbserver/Makefile.in: New file.
11399 * gdb.gdbserver/server.c: New file.
11400 * gdb.gdbserver/server-run.exp: New file.
11401
6e87504d
PG
114022005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11403
a9c64011
AS
11404 * lib/gdb.exp (test_compiler_info): Return compiler_info
11405 if no arguments are given.
6e87504d 11406
d1779be4
PG
114072005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11408
11409 * gdb.arch/altivec-abi.exp: Check for compiler and set
11410 use altivec' flag accordingly.
11411 * gdb.arch/altivec-regs.exp: Likewise.
11412
88750304
DJ
114132005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11414
11415 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11416
f3fb768d
AS
114172005-03-27 Andreas Schwab <schwab@suse.de>
11418
11419 * gdb.base/bigcore.c (main): Add missing mode argument in open
11420 call.
11421
7e813ac5
DJ
114222005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11423
11424 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11425 downloads.
11426 * config/gdbserver.exp (gdb_load): Likewise.
11427
8e3049aa
PB
114282005-03-14 Paul Brook <paul@codesourcery.com>
11429
11430 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11431 targets.
11432
a9df7c44
JB
114332005-03-09 Joel Brobecker <brobecker@adacore.com>
11434
11435 * gdb.dwarf2/dup-psym.S: New file.
11436 * gdb.dwarf2/dup-psym.exp: New testcase.
11437
9f0d94e8
JB
114382005-03-09 Joel Brobecker <brobecker@adacore.com>
11439
11440 * gdb.ada/exec_changed/first.adb: New file.
11441 * gdb.ada/exec_changed/second.adb: New file.
11442 * gdb.ada/exec_changed.exp: New testcase.
11443
5f579bc5
NS
114442005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11445
36e9969c
NS
11446 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11447 (A2): New class.
11448 (main): Test operator+.
11449 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11450 breakpoint test.
11451
5f579bc5
NS
11452 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11453 * gdb.base/signull.exp: Disable if gdb,nosignals.
11454 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11455 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11456 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11457 * gdb.mi/mi2-console.exp: Likewise.
11458 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11459 continue output at start.
11460 (gdb_collect_locals_test): Robustify regexp.
11461 * gdb.trace/passc-dyn.exp: Fix comment typo.
11462 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11463
be46087e
CV
114642005-03-08 Corinna Vinschen <vinschen@redhat.com>
11465
11466 * gdb.asm/asm-source.exp: Add iq2000 case.
11467 * gdb.asm/iq2000.inc: New file.
11468
384e1a61 114692005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11470
384e1a61
MI
11471 * gdb.base/command.exp: Change hardcoded value to regular expression.
11472 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11473
584b6e9e
DJ
114742005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11475
11476 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11477 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11478 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11479 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11480 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11481
ab5b5d61
MK
114822005-03-05 Mark Kettenis <kettenis@gnu.org>
11483
11484 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11485 changes.
11486
ae051c1b
PG
114872004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11488
a9c64011
AS
11489 * lib/compiler.c: Add test for IBM's xlc compiler.
11490 * lib/compiler.cc: Likewise.
ae051c1b 11491
3f0f6ed2
JB
114922004-02-24 Joel Brobecker <brobecker@adacore.com>
11493
11494 * gdb.ada/fixed_points.exp: Create compilation object directory
11495 before running the test.
11496 * gdb.ada/null_record.exp: Likewise.
11497 * gdb.ada/packed_array.exp: Likewise.
11498 * gdb.ada/start.exp: Likewise.
11499
724f452b
JB
115002005-02-15 Joel Brobecker <brobecker@adacore.com>
11501
11502 * gdb.ada/packed_array/pa.adb: New file.
11503 * gdb.ada/packed_array.exp: New testcase.
11504
57f5cdfb 115052005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11506
1f393151
MK
11507 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11508 files.
11509
ebdda337
MK
11510 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11511 on *-*-openbsd*. Correctly match whitespace in regukar
11512 expressions.
11513
cf309262
DJ
115142005-02-10 Daniel Jacobowitz <dan@debian.org>
11515
11516 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11517 PR exp/1821
11518 * gdb.base/gdb1821.c: New test file.
11519 * gdb.base/gdb1821.exp: New test file.
11520
3be49e7a
JB
115212005-02-09 Joel Brobecker <brobecker@adacore.com>
11522
11523 * gdb.base/start.c: New file.
11524 * gdb.base/start.exp: New testcase.
11525
e292e67d
JB
115262005-02-09 Joel Brobecker <brobecker@adacore.com>
11527
11528 * gdb.ada/start/dummy.adb: New file.
11529 * gdb.ada/start.exp: New testcase.
11530
dbdfa66c
CV
115312005-02-09 Corinna Vinschen <vinschen@redhat.com>
11532
11533 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11534 for printing symbols and statistics.
11535 Add test for using relative pathnames in "maint print msymbols" test.
11536 Mark "maint info sections DATA" XFAIL on Cygwin.
11537 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11538 tests.
11539
d7941671
AC
115402005-02-09 Andreas Schwab <schwab@suse.de>
11541
11542 Committed by Andrew Cagney <cagney@gnu.org>
11543 * gdb.base/remotetimeout.exp: New file.
11544
74e5ef44
MK
115452005-02-07 Mark Kettenis <kettenis@gnu.org>
11546
11547 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11548
464dd14d
JB
115492005-02-03 Joel Brobecker <brobecker@adacore.com>
11550
11551 * gdb.ada/gnat_ada.gpr: New file.
11552 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11553 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11554 * configure.ac: No longer generate gnat_ada.gpr.
11555 * configure: Regenerate.
11556 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11557 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11558 * gdb.ada/null_record/bar.ads: Likewise.
11559 * gdb.ada/null_record/bar.adb: Likewise.
11560 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11561 * gdb.ada/null_record.exp (testdir): New variable.
11562 (testfile): executable is now in testdir subdirectory.
11563 (srcfile): Use full path to the main compilation unit.
11564 * gdb.ada/fixed_points.exp: Same changes as above.
11565
30d756ae
NR
115662005-02-03 Nick Roberts <nickrob@snap.net.nz>
11567
11568 * gdb.base/interp.exp: New test.
11569
9d799f85
AC
115702005-01-24 Andrew Cagney <cagney@gnu.org>
11571
11572 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11573
15656118
AC
115742005-01-19 Andrew Cagney <cagney@gnu.org>
11575
a892c31b
AC
11576 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11577 configure.ac not configure.in.
11578
15656118
AC
11579 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11580 of powerpc*-*-*.
11581 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11582 * gdb.base/list.exp (test_list_function)
15656118
AC
11583 (test_list_filename_and_function): Ditto.
11584 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11585
a7b01baf
AC
115862005-01-16 Andrew Cagney <cagney@gnu.org>
11587
17d92a02
AC
11588 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11589
a7b01baf
AC
11590 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11591
bc8332bb
AC
115922005-01-14 Andrew Cagney <cagney@gnu.org>
11593
11594 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11595 * gdb.mi/mi2-var-cmd.exp: Ditto.
11596
4d074752
CV
115972005-01-10 Corinna Vinschen <vinschen@redhat.com>
11598
11599 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11600
bec39cab
AC
116012005-01-07 Andrew Cagney <cagney@gnu.org>
11602
11603 * configure.ac: Rename configure.in, require autoconf 2.59.
11604 * configure: Re-generate.
11605 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11606 * gdb.stabs/configure: Re-generate.
11607 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11608 * gdb.hp/configure: Re-generate.
11609 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11610 autoconf 2.59.
11611 * gdb.hp/gdb.objdbg/configure: Re-generate.
11612 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11613 autoconf 2.59.
11614 * gdb.hp/gdb.defects/configure: Re-generate.
11615 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11616 autoconf 2.59.
11617 * gdb.hp/gdb.compat/configure: Re-generate.
11618 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11619 autoconf 2.59.
11620 * gdb.hp/gdb.base-hp/configure: Re-generate.
11621 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11622 autoconf 2.59.
11623 * gdb.hp/gdb.aCC/configure: Re-generate.
11624
f10b16d4
JB
116252004-12-15 Jim Blandy <jimb@redhat.com>
11626
11627 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11628 under NPTL when there is debugging info available for libpthread.
11629
fb6e1814
JG
116302004-12-13 Jerome Guitton <guitton@gnat.com>
11631
11632 * gdb.ada/fixed_points.c: New file.
11633 * gdb.ada/fixed_points.exp: New file.
11634
fe46cd3a
RC
116352004-12-03 Randolph Chung <tausq@debian.org>
11636
11637 * gdb.arch/pa-nullify.exp: New file.
11638 * gdb.arch/pa-nullify.s: New file.
11639
8de0841b
RC
116402004-11-30 Randolph Chung <tausq@debian.org>
11641
11642 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11643 instead of "tbug". Fix regexp to work properly with gdb_test.
11644
c8170782
PH
116452004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11646
11647 * gdb.base/bitfields2.exp: New test.
11648 * gdb.base/bitfields2.c: New file.
11649
954269c2
RE
116502004-11-28 Richard Earnshaw <rearnsha@arm.com>
11651
11652 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11653
0107feed
RC
116542004-11-16 Randolph Chung <tausq@debian.org>
11655
11656 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11657
f073ae8c
DJ
116582004-11-14 Daniel Jacobowitz <dan@debian.org>
11659
11660 * gdb.threads/threadapply.exp: Correct "macro details" test.
11661
19ad59e7
JJ
116622004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11663
11664 * gdb.threads/threadapply.exp: New test.
11665 * gdb.threads/threadapply.c: New file.
11666
9cf0961b
MK
116672004-11-07 Mark Kettenis <kettenis@gnu.org>
11668
11669 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11670 frames.
11671
c789492a
FL
116722004-11-05 Felix Lee <felix+log1@specifixinc.com>
11673
11674 * gdb.base/cursal.exp: New file.
11675 * gdb.base/cursal.c: New file.
11676
a1e167bb
AC
116772004-11-03 Andrew Cagney <cagney@gnu.org>
11678
11679 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11680
b7cbf173
MK
116812004-10-30 Mark Kettenis <kettenis@gnu.org>
11682
11683 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11684 NetBSD/ELF targets.
11685
88f9d34f
JB
116862004-10-29 Joel Brobecker <brobecker@gnat.com>
11687
11688 * gdb.threads/bp_in_thread.c: New file, copied from
11689 pthread_cond_wait.c.
11690 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11691 file, rather than reusing the .c file from another testcase.
11692
ca7d6a0c
JB
116932004-10-20 Joel Brobecker <brobecker@gnat.com>
11694
11695 * gdb.ada/null_record.exp: Check where we stopped after
11696 sending the start command, instead of where the associated
11697 temporary breakpoint was inserted.
11698
0d863d03
AC
116992004-10-14 Andrew Cagney <cagney@gnu.org>
11700
11701 * gdb.mi/gdb701.c (main): Return 0.
11702
d11e72cb
DJ
117032004-10-13 Daniel Jacobowitz <dan@debian.org>
11704
d40539a4 11705 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11706
e1923096
JJ
117072004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11708
11709 * gdb.threads/schedlock.c: Add comment markers to use to find
11710 line numbers.
11711 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11712 comments.
11713 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11714 breakpoint lines.
11715
ec8ba2c9
DJ
117162004-10-12 Daniel Jacobowitz <dan@debian.org>
11717
11718 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11719
0eb3658b
DJ
117202004-10-12 Daniel Jacobowitz <dan@debian.org>
11721
11722 * configure.in: Add gdb.dwarf2.
11723 * configure: Regenerated.
11724 * Makefile.in: Add gdb.dwarf2.
11725 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11726 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11727 gdb.dwarf2/file1.txt: New files.
11728
a271cc33
OF
117292004-10-11 Orjan Friberg <orjanf@axis.com>
11730
a9c64011 11731 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11732 of "run", since the latter doesn't work with remote targets. Adjust
11733 the breakpoint numbering accordingly.
11734 * gdb.threads/pthread_cond_wait.exp: Ditto.
11735
895ce074
MC
117362004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11737
11738 * gdb.base/overlays.exp: Update copyright years.
11739
6be3092d
KI
117402004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11741
11742 * gdb.base/overlays.exp: Disable if target is Linux.
11743
e05389b8
FL
117442004-10-06 Felix Lee <felix+log1@specifixinc.com>
11745
11746 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11747
73cb587d
KI
117482004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11749
11750 * gdb.asm/asm-source.exp: Add m32r-linux target.
11751 * gdb.asm/m32r-linux.inc: New file.
11752
3c0edcdc
AC
117532004-09-24 Andrew Cagney <cagney@redhat.com>
11754 David Anderson <anderson@redhat.com>
11755
11756 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11757 command fails, assume things will work.
11758 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11759 (_GNU_SOURCE): Define.
11760 (print_unsigned, print_hex): Change parameter to "long long".
11761 (print_byte_count): New function, use to print byte counts.
11762 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11763 O_LARGEFILE.
11764 (main): Compute an upper bound on a corefile in max_core_size.
11765 Limit memory chunk size to max_core_size. Limit total memory
11766 allocated to max_core_size.
11767
4bb3667f
AC
117682004-09-23 Andrew Cagney <cagney@gnu.org>
11769
11770 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11771 from a separate process with code that creates a corefile by
11772 making the inferior dump core.
11773
60fe1a51
MK
117742004-09-23 Mark Kettenis <kettenis@gnu.org>
11775
11776 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11777 block.
11778
8e937346
MC
117792004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11780
11781 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11782 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11783 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11784 Likewise.
11785
7213f6d6
JJ
117862004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11787
11788 * gdb.java/jprint.exp: New test case for java inferior call.
11789 * gdb.java/jprint.java: Ditto.
11790
eac69dca
JB
117912004-09-15 Joel Brobecker <brobecker@gnat.com>
11792
11793 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11794
22227696
MC
117952004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11796
11797 * gdb.threads/killed.c: Include <stdlib.h>.
11798 * gdb.threads/pthreads.c: Likewise.
11799
7dd403a4
MC
118002004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11801
11802 * gdb.threads/killed.c: Add copyright notice.
11803
33f2d567
JM
118042004-09-10 Jason Molenda (jmolenda@apple.com)
11805
a9c64011
AS
11806 * gdb.base/define.exp: Two new tests to verify zero space chars
11807 after 'if' and 'while' commands in a user-defined command is correctly
11808 parsed.
33f2d567 11809
e05b62ac
AC
118102004-09-08 Andrew Cagney <cagney@gnu.org>
11811
11812 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11813 delivery test with duplicate at end of file.
11814
9cbe82da
MK
118152004-09-06 Mark Kettenis <kettenis@jive.nl>
11816
11817 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11818
564803d9
MC
118192004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11820
11821 * config/hppro.exp: Removed.
11822
7c6807ce
MC
118232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11824
11825 * config/sparclet.exp: Removed.
11826
bf7e26dd
MC
118272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11828
11829 * config/udi.exp: Removed.
11830
714e341b
MC
118312004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11832
11833 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11834 of "exp_continue".
11835 (advancei): Likewise.
11836
1236e623
JJ
118372004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11838
11839 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11840
3bdcad15
MI
118412004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11842
228af206 11843 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11844 to check for nodebug in executable.
11845 * gdb.gdb/observer.exp (setup_test): Likewise.
11846 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11847 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11848
c72b934c
AC
118492004-09-01 Andrew Cagney <cagney@gnu.org>
11850
11851 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11852 files.
11853
edd9b715
JJ
118542004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11855
11856 * gdb.base/unload.exp: Fix expected warning message to match
11857 latest format.
11858
fb4ce06b
CV
118592004-09-01 Corinna Vinschen <vinschen@redhat.com>
11860
11861 * gdb.base/call-rt-st.exp: Fix typos.
11862
ce78e7c3
MI
118632004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11864
11865 * gdb.threads/thread_check.exp: New testcase.
11866 * gdb.threads/thread_check.c: New testcase.
11867
2dedb159
AC
118682004-08-31 Andrew Cagney <cagney@gnu.org>
11869
11870 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11871 (skip_to_handler_entry): New procedures. Test stepping into a
11872 handler when the breakpoint is at the handler's entry point.
11873
68f53502
AC
118742004-08-30 Andrew Cagney <cagney@gnu.org>
11875
11876 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11877 gdb/1757.
11878
3e3ffd2b
MC
118792004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11880
11881 With code from Manoj Iyer <manjo@austin.ibm.com>:
11882 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11883 return value. Add an arm for "no debugging symbols found".
11884 Change a stray "error" to "perror".
11885 (gdb_run_cmd): Adapt to new return value.
11886 * gdb.base/remote.exp: Adapt to new return value.
11887 * gdb.gdb/complaints.exp: Likewise.
11888 * gdb.gdb/observer.exp: Likewise.
11889 * gdb.gdb/selftest.exp: Likewise.
11890 * gdb.gdb/xfullpath.exp: Likewise.
11891
4b6f5fd2
JB
118922004-08-27 Joel Brobecker <brobecker@gnat.com>
11893
11894 * gdb.threads/bp_in_thread.exp: New testcase.
11895
e5b25496
MC
118962004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11897
11898 Fix PR testsuite/1735.
11899 * gdb.threads/schedlock.c (thread_function): Add a cast
11900 to suppress a gcc warning.
11901 * gdb.threads/thread-specific.c (thread_function): Likewise.
11902
934353d6
MC
119032004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11904
11905 * gdb.base/unload.c: Include <stdlib.h>.
11906
f98a0aef 119072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11908
f98a0aef 11909 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11910 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11911 synchronized after the "return".
11912
5a2e8882
MC
119132004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11914
11915 * gdb.mi/basics.c: Include <stdio.h>.
11916 * gdb.mi/pthreads.c: Include <stdlib.h>.
11917 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11918
a9640423
MC
119192004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11920
11921 * gdb.threads/schedlock.c: Add copyright notice.
11922
b04e311d
AC
119232004-08-25 Andrew Cagney <cagney@gnu.org>
11924
11925 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11926 (skip_over_handler, breakpoint_over_hander): New test procedures.
11927 (advance, advancei): Add a proper prefix, do not use
11928 rerun_to_main.
11929 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11930
7c27f15b
MC
119312004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11932
11933 * gdb.mi/basics.c: Add copyright notice.
11934 * gdb.mi/var-cmd.c: Add copyright notice.
11935
fffc87ae
MC
119362004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11937
11938 * lib/gdb.exp: Remove signed_keyword_not_used.
11939 * lib/compiler.c: Likewise.
11940 * lib/compiler.cc: Likewise.
11941
d782e0bf
MC
119422004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11943
11944 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11945 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11946
96033e83
MC
119472004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11948
11949 * gdb.base/whatis.c: Add copyright notice.
11950
cf38c229
MK
119512004-08-20 Mark Kettenis <kettenis@gnu.org>
11952
11953 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11954 it to skip the breakpoints encoded in the inline assembly.
11955
f4b49756
MC
119562004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11957
11958 * Makefile.in: Add gdb.fortran.
11959
2f193b69
MC
119602004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11961
11962 * gdb.base/call-sc.exp (test_scalar_returns):
11963 Fix cut-and-paste glitch in "Make fun return now".
11964
89a237cb
MC
119652004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11966
11967 * configure.in: Add gdb.fortran.
11968 * configure: Regenerate.
11969 * gdb.fortran/Makefile.in: New file.
11970 * lib/gdb.exp (skip_fortran_tests): New procedure.
11971
469aff8e
MC
119722004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11973
11974 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11975 reference to bug-gnu@prep.ai.mit.edu.
11976 * gdb.mi/mi-var-child.exp: Likewise.
11977 * gdb.mi/mi-var-cmd.exp: Likewise.
11978 * gdb.mi/mi-var-display.exp: Likewise.
11979 * gdb.mi/mi2-var-block.exp: Likewise.
11980 * gdb.mi/mi2-var-child.exp: Likewise.
11981 * gdb.mi/mi2-var-cmd.exp: Likewise.
11982 * gdb.mi/mi2-var-display.exp: Likewise.
11983
00b51b9f
MK
119842004-08-15 Mark Kettenis <kettenis@gnu.org>
11985
11986 * gdb.base/unload.c (main): Make local variable msg const.
11987
45f07fef
MC
119882004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11989
11990 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11991 to bug-gnu@prep.ai.mit.edu.
11992 * gdb.mi/mi-disassemble.exp: Likewise.
11993 * gdb.mi/mi-eval.exp: Likewise.
11994 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11995 default line number.
11996 * gdb.mi/mi-return.exp: Likewise.
11997 * gdb.mi/mi-simplerun.exp: Likewise.
11998 * gdb.mi/mi-stack.exp: Likewise.
11999 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12000 number with explicit range test.
12001 * gdb.mi/mi-watch.exp: Likewise.
12002 * gdb.mi/mi2-break.exp: Likewise.
12003 * gdb.mi/mi2-cli.exp: Likewise.
12004 * gdb.mi/mi2-disassemble.exp: Likewise.
12005 * gdb.mi/mi2-eval.exp: Likewise.
12006 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12007 default line number.
12008 * gdb.mi/mi2-return.exp: Likewise.
12009 * gdb.mi/mi2-simplerun.exp: Likewise.
12010 * gdb.mi/mi2-stack.exp: Likewise.
12011 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12012 number with explicit range test.
12013 * gdb.mi/mi2-watch.exp: Likewise.
12014
dd8c8ee7
MC
120152004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12016
12017 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12018 * gdb.cp/m-static.exp: Likewise.
12019 * gdb.cp/rtti.exp: Likewise.
12020
4e838464
MK
120212004-08-14 Mark Kettenis <kettenis@gnu.org>
12022
12023 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12024
8d8cb839
EZ
120252004-08-14 Eli Zaretskii <eliz@gnu.org>
12026
12027 * ChangeLog: Prefix Local Variables with semi-colons and indent
12028 the reference to older ChangeLog files, to fix fontification in
12029 Emacs.
12030
deea8bb0
MC
120312004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12032
12033 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12034 * gdb.mi/mi2-break.exp: Likewise.
12035
c3297504
MC
120362004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12037
12038 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12039
25808999
MC
120402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12041
12042 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12043
226a8d71
MC
120442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12045
12046 * gdb.cp/classes.exp: Remove unused declarations. Just let
12047 test names default instead of providing special names. Remove
12048 extraneous demangler test.
12049
37fdf854
JJ
120502004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12051
12052 * gdb.base/unload.exp: New test for breakpoints in dynamically
12053 loaded libraries.
12054 * gdb.base/unload.c: Ditto.
12055 * gdb.base/unloadshr.c: Ditto.
12056
2d3a7986
MC
120572004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12058
12059 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12060 cp_test_ptype_class.
12061 (test_enums): Likewise.
12062
c72b934c
AC
120632004-08-10 Andrew Cagney <cagney@gnu.org>
12064
12065 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12066 files.
12067
cc503c8a
AC
120682004-08-10 Andrew Cagney <cagney@gnu.org>
12069
12070 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12071 init_malloc call.
12072
902f2ccb
MC
120732004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12074
12075 * ChangeLog: Add copyright notice. The notice is copied
12076 from emacs 21.3 top level ChangeLog.
12077
78c90502
MC
120782004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12079
12080 * lib/cp-support.exp: New file.
12081 * lib/cp-support.exp (cp_test_type_class): New function.
12082 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12083 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12084 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12085 cp_test_ptype_class.
12086
88e5ea78
MC
120872004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12088
12089 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12090 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12091 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12092 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12093 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12094 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12095 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12096 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12097 gdb.mi/mi2-watch.exp: Update copyright years.
12098
6a89fc9c
MK
120992004-08-09 Mark Kettenis <kettenis@gnu.org>
12100
12101 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12102
1482e0de
MC
121032004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12104
12105 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12106 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12107 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12108 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12109 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12110 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12111 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12112 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12113 gdb.mi/mi-watch.exp: Update copyright years.
12114
1a5ce3f3
DJ
121152004-08-08 Daniel Jacobowitz <dan@debian.org>
12116
12117 PR gdb/1738
12118 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12119 from a breakpoint with a pending signal.
12120
04f6ecf2
DJ
121212004-08-08 Daniel Jacobowitz <dan@debian.org>
12122
12123 PR gdb/1736
12124 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12125 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12126 the prompt.
12127 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12128
54d90d35
DJ
121292004-08-08 Daniel Jacobowitz <dan@debian.org>
12130
12131 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12132
d2f6abb0
DJ
121332004-08-08 Daniel Jacobowitz <dan@debian.org>
12134
12135 PR gdb/1736
12136 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12137 for i?86-*-linux*.
12138
5598c03d
DJ
121392004-08-08 Daniel Jacobowitz <dan@debian.org>
12140
12141 * gdb.arch/i386-prologue.exp: Compile without debug information.
12142
c6fee705
MC
121432004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12144
12145 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12146 rather than asking gdb to search.
12147
dd90efdb
MC
121482004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12149
12150 * gdb.base/gcore.c: Include <string.h>.
12151
1e84bec1
MC
121522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12153
12154 * gdb.base/gcore.c: Add copyright notice.
12155
e425eb2b
MC
121562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12157
12158 * gdb.base/freebpcmd.c: Include <stdio.h>.
12159 * gdb.base/long_long.c: Include <string.h>.
12160 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12161 * gdb.base/siginfo.c: Include <string.h>.
12162 * gdb.base/sigstep.c: Include <string.h>.
12163
cb9aaed5
MC
121642004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12165
12166 * gdb.base/complex.c: Include <stdlib.h>.
12167
55944f3d
MC
121682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12169
12170 * gdb.base/complex.c: Add copyright notice.
12171
7b2953d9
MC
121722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12173
12174 * gdb.base/charset.c: Include <stdlib.h>.
12175
c9133d23
MC
121762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12177
12178 * gdb.base/auxv.c: Include <stdlib.h>.
12179
0a8490ad
MC
121802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12181
12182 * gdb.base/auxv.c: Add copyright notice.
12183
3426d5ec
MC
121842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12185
12186 * gdb.base/coremaker.c: Add copyright notice.
12187 * gdb.base/coremaker2.c: Add copyright notice.
12188
8da195dd
AC
121892004-08-04 Andrew Cagney <cagney@gnu.org>
12190
12191 * gdb.base/store.exp: Update copyright.
12192 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12193 names, do not import gdb_prompt.
12194
8d394f98
AC
121952004-08-01 Andrew Cagney <cagney@gnu.org>
12196
12197 Fix PR testsuite/1729.
12198 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12199 not use capture_value with value 4.
12200 (capture_value): Add optional test name parameter.
12201 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12202 the prefix, pass to capture_value.
12203
b6702b23
MK
122042004-08-01 Mark Kettenis <kettenis@gnu.org>
12205
12206 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12207 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12208 (main): Call new function.
12209
c203e0ca
MC
122102004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12211
12212 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12213
a7995a30
MC
122142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12215
12216 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12217
9366563b
MC
122182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12219
b6eeaf26 12220 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12221 Accept more values of vtbl pointer. Remove some messages
12222 about "obsolete gcc or gdb".
12223
2fc1f950
MC
122242004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12225
12226 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12227
c724d49b
MC
122282004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12229
12230 * gdb.base/asm-source.exp: Properly convert target board
12231 debug flags from gcc format to binutils format.
12232
736b0fce
MK
122332004-07-28 Mark Kettenis <kettenis@gnu.org>
12234
12235 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12236 gdb1718". PR backtrace/1718 partially fixed.
12237
5633ea5c
JJ
122382004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12239
12240 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12241
575eebb1
NC
122422004-07-26 Nick Clifton <nickc@redhat.com>
12243
12244 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12245 good default value for a specific architecture is available then
12246 set it to that value. Otherwise default to the -gstabs switch.
12247 Remove the -g... switches from the asm-flags variable. Allow the
12248 target board info to override the value if it wants to. Pass the
12249 switch on the assembler command line.
12250
62104619
MK
122512004-07-23 Mark Kettenis <kettenis@gnu.org>
12252
12253 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12254 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12255 (main): Call new function.
12256
4a1135b8
MC
122572004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12258
12259 Test for PR exp/1715.
12260 * gdb.base/radix.exp: Refactor common procedures. Make all
12261 test names unique. Change XFAIL to KFAIL.
12262
8a12c1f0
MC
122632004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12264
12265 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12266 * gdb.ada/gnat_ada.gin: ... to here.
12267 * configure.in: Use gnat_ada.gin.
12268 * configure: Regenerate.
12269
23b451cf
AC
122702004-07-20 Andrew Cagney <cagney@gnu.org>
12271
12272 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12273 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12274 XFAILs. Clean up test messages and comments. Check backtraces.
12275 Delete re-sync code.
12276
ab618a02
MC
122772004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12278
12279 Fix PR cli/740.
12280 * gdb.base/annota1.exp: Honor gdb,nosignals.
12281 * gdb.base/annota3.exp: Likewise.
12282
46dad340
MC
122832004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12284
12285 * lib/java.exp: Update copyright notice.
12286
756d8c70
AC
122872004-07-19 Andrew Cagney <cagney@gnu.org>
12288
12289 * gdb.base/selftest.exp: Copy file from here ...
12290 * gdb.gdb/selftest.exp: ... to here.
12291
586027e6
AC
122922004-07-16 Andrew Cagney <cagney@redhat.com>
12293
12294 * lib/insight-support.exp: Delete file.
12295 * lib/java.exp (java_init): Fix copyright.
12296
029d2200
AC
122972004-07-16 Andrew Cagney <cagney@gnu.org>
12298
12299 * gdb.base/restore.c: Append "prologue" to comments marking the a
12300 function's prologue.
12301 * gdb.base/restore.exp: Update copyright, re-indent.
12302 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12303 callerN" prefix where needed. Update patterns that match a
12304 function's prologue.
12305
653b62c5
MC
123062004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12307
12308 * gdb.base/restore.c: Add copyright notice.
12309
f7d690e5
AC
123102004-07-16 Andrew Cagney <cagney@gnu.org>
12311
12312 * gdb.base/logical.exp: Update copyright.
12313 (evaluate): New procedure. Use to re-implement tests using
12314 several tables.
12315
d629a7cb
MH
123162004-07-14 Martin Hunt <hunt@redhat.com>
12317
12318 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12319 which fixes some problems where init.tcl was not found.
12320
9c7bb332
AC
123212004-07-13 Andrew Cagney <cagney@gnu.org>
12322
6bf46641
AC
12323 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12324 (check_sizeof, check_valueof): Do not include the output in the
12325 test name. Use gdb_test.
12326 (get_valueof): Use gdb_test_multiple.
12327
c4ffd4c0
AC
12328 * gdb.base/step-test.exp: Update copyright. Use
12329 gdb_test_multiple. Ensure that test names do not include
12330 architecture dependent output.
12331
ab89363a
AC
12332 * gdb.gdb/observer.exp: Update copyright.
12333 (setup_test): Use gdb_test_multiple.
12334 (attach_first_observer, attach_second_observer)
12335 (attach_third_observer, detach_first_observer)
12336 (detach_second_observer, detach_third_observer)
12337 (reset_counters, check_counters): Make $message a prefix.
12338 (test_normal_stop_notifications): Add "args" parameter - a list of
12339 init functions to be called. Make $message a prefix,
12340 (test_observer_normal_stop): Change the message prefixes so that
12341 they are unique, pass the attach / detach procedures to
12342 test_normal_stop_notifications.
12343
ec58997a
AC
12344 * gdb.base/signull.exp (test_segv): Prefix all tests with
12345 "${name}". Clean up test messages.
12346
b475183b
AC
12347 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12348
9c7bb332
AC
12349 * gdb.base/ena-dis-br.exp: Update copyright.
12350 (break_at): New function. Replace send_gdb with gdb_test,
12351 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12352 ignore count, not stopped at bpt", with KFAIL.
12353
2dd95497
CV
123542004-07-13 Corinna Vinschen <vinschen@redhat.com>
12355
12356 * gdb.base/attach.exp: Remove cleanupfile handling.
12357
419e626b
AC
123582004-07-12 Andrew Cagney <cagney@gnu.org>
12359
12360 * gdb.base/annota1.exp: Cleanup corefile test name.
12361 * gdb.base/annota3.exp: Ditto.
12362
8b1b3228
AC
123632004-07-12 Andrew Cagney <cagney@gnu.org>
12364
78650829
AC
12365 * gdb.base/signals.exp: Clean up copyright, re-indent.
12366
8b1b3228
AC
12367 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12368 gdb_test and gdb_test_multiple.
12369
935c2760
JJ
123702004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12371
12372 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12373 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12374 provide line number info for first statement in main.
12375
1544280f
AC
123762004-07-08 Andrew Cagney <cagney@gnu.org>
12377
1279f4ff
AC
12378 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12379
1544280f
AC
12380 * gdb.base/sigbpt.exp: Make the common part of each test name a
12381 prefix instead of suffix.
12382
bcc82369
BR
123832004-07-07 Bob Rossi <bob_rossi@cox.net>
12384
12385 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12386 test from test_tbreak_creation_and_listing to
12387 test_file_list_exec_source_file
12388 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12389 Changed name of test from test_tbreak_creation_and_listing to
12390 test_file_list_exec_source_file
12391
23f4b0aa
JJ
123922004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12393
12394 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12395 the jmisc() constructor instead of <init>.
12396 * gdb.java/jmisc1.exp: Ditto.
12397
56401cd5
AC
123982004-07-07 Andrew Cagney <cagney@gnu.org>
12399
12400 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12401 corrupting the PC.
12402
44ae2f6a
MC
124032004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12404
12405 * gdb.cp/templates.exp: Accept whitespace change in demangler
12406 output.
12407
45a83408
AC
124082004-07-06 Andrew Cagney <cagney@gnu.org>
12409
12410 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12411
d205ad70
MC
124122004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12413
12414 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12415 * lib/compiler.cc: Likewise.
12416
06ea1a61
MC
124172004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12418
12419 * lib/compiler.cc: Work around string preprocessing problem
12420 with old hp c++ compiler.
12421 * lib/compiler.c: Likewise.
12422
daab1251
CV
124232004-06-29 Corinna Vinschen <vinschen@redhat.com>
12424
12425 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12426 directives to conditionalize symbol prefixing.
12427 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12428 additional_flags handling. Add underscore prefix for Cygwin.
12429 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12430 conditionalize symbol prefixing.
12431 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12432 additional_flags handling. Add underscore prefix for Cygwin.
12433
cc984116
CV
124342004-06-29 Corinna Vinschen <vinschen@redhat.com>
12435
12436 * gdb.base/bigcore.exp: Skip test on Cygwin.
12437
c279b077
MC
124382004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12439
12440 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12441 formats for "info register". Use gdb_test_multiple. Fix
12442 the "invalid register" test.
12443
0e915747
CV
124442004-06-28 Corinna Vinschen <vinschen@redhat.com>
12445
12446 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12447 PID for Cygwin. Add Cygwin specific strings to check for in some
12448 tests.
12449 (do_attach_tests): Add a test for user interaction when attaching
12450 to a process with no matching symbol table already loaded.
12451
11422c86
AC
124522004-06-26 Andrew Cagney <cagney@gnu.org>
12453
12454 Test PR java/1567 and PR java/1565.
12455 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12456 * gdb.java/jmisc2.exp: Delete file.
12457
cefbce26
MC
124582004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12459
12460 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12461
e19f872c
CV
124622004-06-25 Corinna Vinschen <vinschen@redhat.com>
12463
12464 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12465 attach process.
12466
d931ba3b
MC
124672004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12468
12469 * gdb.cp/pr-1553.exp: Remove.
12470
aef68c48
MC
124712004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12472
12473 * gdb.cp/pr-1553.cc: Remove.
12474 * gdb.cp/pr-1553.exp: Disable this test.
12475
8d5df71a
JB
124762004-06-20 Jim Blandy <jimb@redhat.com>
12477
a9c64011 12478 Fix PR testsuite/1680.
8d5df71a
JB
12479 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12480 regular expressions.
12481
4ac6f39d
MC
124822004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12483
12484 Fix PR testsuite/1679.
12485 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12486 Issue an UNSUPPORTED result instead.
12487
1b413552
JB
124882004-06-18 Jim Blandy <jimb@redhat.com>
12489
12490 * gdb.base/charset.exp: Only send a control-C if we see a new
12491 prompt and incomplete command.
12492
6daa6ebd
MC
124932004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12494
12495 * gdb.cp/pr-574.cc: Add copyright notice.
12496
51fa4ae0
JB
124972004-06-17 Jim Blandy <jimb@redhat.com>
12498
12499 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12500 cases where the regexp has no groups; this grabs random text from
12501 the previous test suite, whatever that was.
12502
8fea26c5
MC
125032004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 * gdb.cp/printmethod.cc: Add copyright notice.
12506
1e3aeb41
MC
125072004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12508
12509 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12510
9d9030bc
AC
125112004-06-16 Andrew Cagney <cagney@gnu.org>
12512
12513 * gdb.base/signull.c: Update copyright. Include <string.h>.
12514 (bowler): Replace data_pointer with data_read
12515 and data_write cases. Add code_descriptor case.
12516 (zero, desc): New array and pointer.
12517 (data, code): Change to simple pointers.
12518 * gdb.base/signull.exp: Fix probe pattern matching a function
12519 descriptor SIGSEGV. Replace data_pointer with data_read and
12520 data_write tests.
12521
acd4ad44
AC
125222004-06-16 Andrew Cagney <cagney@gnu.org>
12523
12524 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12525
08fd625c
MC
125262004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12527
12528 * gdb.base/long_long.c: Add copyright notice.
12529
1903502c
MC
125302004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12531
12532 * gdb.base/long_long.exp: Remove reference to
12533 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12534 to gdb_breakpoint and gdb_continue_to_breakpoint.
12535
83313cb1
JB
125362004-06-14 Jim Blandy <jimb@redhat.com>
12537
12538 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12539 endian case.
12540
1bf404ef
AC
125412004-06-14 Andrew Cagney <cagney@gnu.org>
12542
12543 * gdb.base/gcore.exp (capture_command_output): Delete the always
12544 passing tests containing inferior values.
12545 * gdb.base/ending-run.exp: Do not include the breakpoint address
12546 in the test message. Update copyright.
12547 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12548 size in the test name, use gdb_test_multiple. Update copyright.
12549
ef220b33
MC
125502004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12551
12552 * gdb.cp/ref-types.cc: Add copyright notice.
12553
4f70a4c9
MC
125542004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12555
12556 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12557 hp_aCC_compiler.
12558 * lib/compiler.cc: Likewise.
12559 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12560 'set' commands. Log diagnostics for other lines. Set
12561 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12562
335928ac
MC
125632004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12564
12565 * gdb.cp/try_catch.cc: Add copyright notice.
12566
2efb12e8
MC
125672004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12568
12569 * gdb.cp/userdef.cc: Add copyright notice.
12570
0bbed51a
MC
125712004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12572
12573 * gdb.cp/virtfunc.cc: Add copyright notice.
12574
e12a46c9
RC
125752004-06-11 Randolph Chung <tausq@debian.org>
12576
12577 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12578 problem.
12579
338e05af
AC
125802004-06-10 Andrew Cagney <cagney@gnu.org>
12581
12582 * lib/compiler.cc, lib/compiler.c: Append either
12583 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12584 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12585 instead of gcc-3-3.
12586
dc3f10cb
AC
125872004-06-09 Andrew Cagney <cagney@gnu.org>
12588
b4d946af
AC
12589 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12590 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12591
dc3f10cb
AC
12592 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12593 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12594 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12595 fixed.
12596
b5c0bfa2
AC
125972004-06-09 Andrew Cagney <cagney@gnu.org>
12598
12599 * gdb.base/structs.exp (test_struct_returns): Replace
12600 "return_value_unknown" and "finish_value_unknown" by
12601 "return_value_known" and "finish_value_known". Instead of
12602 "return_value_unknown" iff "finish_value_unknown", check
12603 "return_value_known" implies "finish_value_known".
12604
caeb605f
MH
126052004-06-08 Martin Hunt <hunt@redhat.com>
12606
12607 * gdb.base/float.exp: Add pattern for mips targets.
12608
c892bb64
RC
126092004-06-08 Randolph Chung <tausq@debian.org>
12610
12611 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12612 message for unknown architectures more clear.
12613
48306d3e
JB
126142004-06-08 Joel Brobecker <brobecker@gnat.com>
12615
12616 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12617 start the execution of the program.
12618
83ecb59f
JB
126192004-06-07 Jim Blandy <jimb@redhat.com>
12620
12621 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12622 * gdb.arch/i386-cpuid.h: New helper file.
12623
55264cb4
RC
126242004-06-07 Randolph Chung <tausq@debian.org>
12625
12626 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12627 has started.
12628
23cadb28
RM
126292004-06-04 Roland McGrath <roland@redhat.com>
12630
12631 Fix PR gdb/1647.
12632 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12633 differently to be robust to output buffering differences.
12634
51d01eda
MC
126352004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12636
12637 * gdb.threads/pthreads.exp: Update copyright years.
12638 (check_control_c): Change asynchronous 'after' to synchronous.
12639
f4fc3b93
RM
126402004-06-04 Roland McGrath <roland@redhat.com>
12641
12642 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12643 next gdb prompt.
12644
4013522b
MC
126452004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12646
12647 Fix PR gdb/1636.
12648 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12649 calls to synchronous.
12650
7a8f1e6b
JB
126512004-05-26 Jim Blandy <jimb@redhat.com>
12652
12653 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12654
81bb3443
RC
126552004-05-24 Randolph Chung <tausq@debian.org>
12656
12657 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12658 * gdb.asm/pa.inc: New file.
12659
8f5a3103
MK
126602004-05-22 Mark Kettenis <kettenis@gnu.org>
12661
12662 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12663
734b8fe8 126642004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12665 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12666
12667 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12668 GDB prompt.
12669
725603e1
UW
126702004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12671
f4fc3b93 12672 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12673 setjmp/longjmp. Use sigaction instead of signal.
12674
8b923272 126752004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12676 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12677
12678 * gdb.threads/pthread_cond_wait.c: New file.
12679 * gdb.threads/pthread_cond_wait.exp: New testcase.
12680
8bfabb04
AC
126812004-05-13 Andrew Cagney <cagney@redhat.com>
12682
12683 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12684 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12685
42edda50
AC
126862004-05-11 Andrew Cagney <cagney@redhat.com>
12687
12688 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12689 fixed but revealed gdb/1639.
12690
d303a6c7
AC
126912004-05-10 Andrew Cagney <cagney@redhat.com>
12692
12693 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12694 func1" and "next to 2nd alarm", kernel bug avoided.
12695
bf08c2a1
DJ
126962004-05-10 Daniel Jacobowitz <dan@debian.org>
12697
12698 PR external/1568
12699 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12700 XFAIL if it is smaller than bytes_allocated.
12701 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12702 (main): Make chunks_allocated unsigned. Correct comment.
12703
c0586a34
JB
127042004-05-07 Joel Brobecker <brobecker@gnat.com>
12705
12706 * gdb.arch/powerpc-aix-prologue.c: New file.
12707 * gdb.arch/powerpc-aix-prologue.exp: New file.
12708
f2785d12
JB
127092004-05-07 Jim Blandy <jimb@redhat.com>
12710
12711 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12712 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12713
bd7f6e30
JB
127142004-05-06 Joel Brobecker <brobecker@gnat.com>
12715
12716 * gdb.base/sep.exp: No longer setup_kfail when the program was
12717 built with dwarf2.
12718
0a5e7efe
JI
127192004-05-05 Jim Ingham <jingham@apple.com>
12720
12721 * gdb.base/pending.exp: Make sure pending breakpoints
12722 preserve the ignore count.
f4fc3b93 12723
a8958849
MK
127242004-04-27 Jerome Guitton <guitton@gnat.com>
12725
12726 * i386-prologue.exp: Add testcase for jump instruction as first
12727 instruction of the real code.
12728 * i386-prologue.c (jump_at_beginning): New function.
12729
7e103f5b
MK
127302004-04-28 Mark Kettenis <kettenis@gnu.org>
12731
12732 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12733 x86_64-*-*.
12734
5d38b224
MK
127352004-04-28 Mark Kettenis <kettenis@gnu.org>
12736
12737 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12738 i*86-*-*.
12739
0ef32fd9
MK
127402004-04-25 Mark Kettenis <kettenis@gnu.org>
12741
12742 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12743 expression that checks the return type.
12744
71d7dd7c
AC
127452004-04-23 Andrew Cagney <cagney@redhat.com>
12746
12747 * gdb.base/call-sc.exp: New test of scalar call/return values.
12748 * gdb.base/call-sc.c: Ditto.
12749
1e9f977e
JJ
127502004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12751
12752 * gdb.threads/manythreads.c: Reduce thread stack size.
12753
899d9e3a
JJ
127542004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12755
12756 * gdb.threads/manythreads.c: Add copyright notice.
12757
61bcae62
AC
127582004-04-23 Andrew Cagney <cagney@redhat.com>
12759
12760 * gdb.base/siginfo.exp: Better handle step out of signal.
12761 * gdb.base/sigstep.exp: Ditto.
12762
7339a42e 127632004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12764 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12765
12766 * gdb.threads/manythreads.c: New testcase.
12767 * gdb.threads/manythreads.exp: Ditto.
12768
5c98409b
JB
127692004-04-22 Jim Blandy <jimb@redhat.com>
12770
12771 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12772 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12773
3b611f1a
MC
127742004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12775
12776 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12777
f0fd9238
AC
127782004-04-21 Andrew Cagney <cagney@redhat.com>
12779
12780 * gdb.base/sigstep.c: New file.
12781 * gdb.base/sigstep.exp: New file.
12782
90990674
JB
127832004-04-16 Joel Brobecker <brobecker@gnat.com>
12784
12785 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12786 call to observer_notify_normal_stop.
12787
78cef34b
AC
127882004-04-15 Andrew Cagney <cagney@redhat.com>
12789
12790 * gdb.base/siginfo.c: New file.
12791 * gdb.base/siginfo.exp: New file.
12792
d2343407
JB
127932004-04-12 J. Brobecker <brobecker@gnat.com>
12794
12795 * gdb.base/sep.exp: Fix typo in comment.
12796
a2dba3c8
JB
127972004-04-12 J. Brobecker <brobecker@gnat.com>
12798
12799 * gdb.base/sep.c: New file.
12800 * gdb.base/sep-proc.c: New file.
12801 * gdb.base/sep.exp: New testcase.
12802
15f7b60e
MK
128032004-04-09 Mark Kettenis <kettenis@gnu.org>
12804
12805 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12806 support.
12807
44f4de1a
AC
128082004-04-05 Andrew Cagney <cagney@redhat.com>
12809
12810 * gdb.base/sigaltstack.c: New file.
12811 * gdb.base/sigaltstack.exp: New file.
12812
ef04f396
JB
128132004-04-04 Joel Brobecker <brobecker@gnat.com>
12814
12815 * gdb.base/foll-fork.exp: Update the expected output for
12816 "help set follow-fork-mode", to match a change that was made
12817 to the help of this variable on 2004-01-13.
12818
d40d2c92
JB
128192004-04-01 Joel Brobecker <brobecker@gnat.com>
12820
12821 * lib/ada.exp: Add copyright notice.
12822 * bar.ads: Likewise.
12823 * bar.adb: Likewise.
12824 * null_record.adb: Likewise.
12825 * null_record.exp: Likewise.
12826 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12827
f86ef5a3
JB
128282004-04-01 Joel Brobecker <brobecker@gnat.com>
12829
12830 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12831 * configure: Regenerate.
12832
414e70e3
JB
128332004-04-01 Joel Brobecker <brobecker@gnat.com>
12834
12835 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12836 to build the application. Remove the message printed when in
12837 verbose mode, redundant with the UNSUPPORTED message above.
12838
f0aaee49
JB
128392004-03-31 Joel Brobecker <brobecker@gnat.com>
12840
12841 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12842 * gdb.ada (null_record.exp): New testcase.
12843
ac81cb54
JB
128442004-03-31 Joel Brobecker <brobecker@gnat.com>
12845
12846 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12847
854af2f7
JB
128482004-03-31 Joel Brobecker <brobecker@gnat.com>
12849
12850 * gdb.ada: New subdirectory.
12851 * gdb.ada/Makefile.in: New file.
12852 * gdb.ada/gnat_ada.gpr.in: New file.
12853
034cb681
JB
128542004-03-31 Joel Brobecker <brobecker@gnat.com>
12855
12856 * lib/ada.exp: New file.
12857
78a1a894
DJ
128582004-03-24 Daniel Jacobowitz <drow@mvista.com>
12859
12860 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12861 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12862
4b2b3b3e
AC
128632004-03-22 Andrew Cagney <cagney@redhat.com>
12864
12865 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12866 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12867 Problem identified by Ulrich Weigand.
12868
23c73aa3
DC
128692004-03-17 David Carlton <carlton@kealia.com>
12870
12871 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12872 PR c++/826.
12873
d63a86f8
RM
128742004-03-16 Roland McGrath <roland@redhat.com>
12875
12876 * gdb.base/auxv.exp: New file.
12877 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12878
0e02aa50
DC
128792004-03-12 David Carlton <carlton@kealia.com>
12880
12881 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12882 * gdb.cp/pr-1553.cc: Ditto.
12883 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12884 pass branch.
12885
c20b71be
MC
128862004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12887
12888 * gdb.cp/templates.exp: Accept more template types.
12889
c7414a01
MC
128902004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12891
12892 From Corinna Vinschen with modifications.
12893 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12894 local variable obj_with_enum.
12895 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12896 results with obj_with_enum.
12897
ed69573c
MC
128982004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12899
12900 * gdb.cp/classes.cc: New file, copied from misc.cc.
12901 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12902
28301461
MC
129032004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12904
12905 * gdb.cp/misc.cc: Add copyright notice.
12906
1198ecbe
DC
129072004-03-05 David Carlton <carlton@kealia.com>
12908
12909 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12910 * gdb.cp/rtti.h: Update copyright.
12911 (namespace n2::n3): New.
12912 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12913 (n2::n3::func3): New.
12914 (main): Call n2::n3::func3.
12915 * gdb.cp/rtti2.cc: Update copyright.
12916 (n2::create3): New.
12917
9e08c470
MK
129182004-03-04 Mark Kettenis <kettenis@gnu.org>
12919
12920 * gdb.asm/openbsd.inc: Fix typo.
12921
4bebc3aa
FF
129222004-03-03 Fred Fish <fnf@redhat.com>
12923
12924 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12925 "val" instead of unused "size". Update copyright year.
12926
6ea9fb37
DJ
129272004-02-29 Daniel Jacobowitz <drow@mvista.com>
12928
12929 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12930 to use unsigned char.
12931 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12932 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12933
23b23974
DJ
129342004-02-29 Daniel Jacobowitz <drow@mvista.com>
12935
12936 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12937 line of output.
12938
7574fd53
DJ
129392004-02-28 Daniel Jacobowitz <drow@mvista.com>
12940
12941 * gdb.base/relocate.c (dummy): Initialize.
12942
a195357f
DJ
129432004-02-28 Daniel Jacobowitz <drow@mvista.com>
12944
12945 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12946 a breakpoint at exit.
12947
72fd54a9
FF
129482004-02-27 Fred Fish <fnf@redhat.com>
12949
12950 * gdb.base/chng-syms.exp: Add expect condition to match failing
12951 case that isn't a timeout.
12952
b9d23137
AC
129532004-02-27 Andrew Cagney <cagney@redhat.com>
12954
12955 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12956 support.
12957
15d208f6 129582004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12959
15d208f6
FF
12960 * gdb.arch/gdb1431.c: Remove.
12961 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12962 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12963 of "until" incorrectly.
12964
98f9cd2d
JB
129652004-02-26 J. Brobecker <brobecker@gnat.com>
12966
12967 * gdb.cp/class2.cc (empty): New class.
12968 (refer): New function.
12969 (main): Declare an object of type empty and use it.
12970 * gdb.cp/class2.exp: Print the value of an object of type empty.
12971
9b50c11b
JJ
129722004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12973
12974 * gdb.base/langs.exp: Update query string to match the
12975 new nquery format used for pending breakpoints.
12976
0dcd613f
AC
129772004-02-26 Andrew Cagney <cagney@redhat.com>
12978
12979 Fix PR i18n/1570.
12980 * gdb.base/charset.c: Update copyright notice.
12981 (main, init_string): Remove the escape character '\e' tests.
12982 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12983 * gdb.base/charset.exp (valid_host_charset): Ditto.
12984 * gdb.base/setvar.exp: Ditto.
12985
b8a56647
AC
129862004-02-24 Andrew Cagney <cagney@redhat.com>
12987
90d59e34
AC
12988 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12989 mmapped data in core file" PASS and FAIL messages consistent.
12990
b8a56647
AC
12991 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12992 setting a breakpoint. Work around PR java/1565.
12993
9f27c604
JJ
129942004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12995
12996 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12997 new nquery format.
12998 * gdb.base/pending.exp: Ditto.
12999
3224a706
MK
130002004-02-22 Mark Kettenis <kettenis@gnu.org>
13001
13002 * configure.in: Run stabs tests on *BSD.
13003 * configure: Regenerated.
13004
41e0a9ca
MK
130052004-02-21 Mark Kettenis <kettenis@gnu.org>
13006
13007 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13008
1e1b3428
FF
130092004-02-20 Fred Fish <fnf@redhat.com>
13010
13011 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13012 blank in test for "returns short", for consistency with other
13013 "returns xxx" tests. Update copyright year.
13014
f9a7572a
FF
130152004-02-19 Fred Fish <fnf@redhat.com>
13016
13017 New testcase for PR breakpoint/1558.
13018 * gdb.arch/gdb1558.exp: New file.
13019 * gdb.arch/gdb1558.c: New file.
13020
b2ce2854
EZ
130212004-02-19 Elena Zannoni <ezannoni@redhat.com>
13022
13023 * gdb.base/nodebug.exp: Fix typo.
13024
e7c9ff01
JB
130252004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13026
13027 Committed by Jim Blandy <jimb@redhat.com>.
13028
62f4b920
JB
13029 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13030
2db536a1
JB
13031 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13032
e7c9ff01
JB
13033 * gdb.base/float.exp: Support s390*-*-* targets.
13034
f3205b34
AF
130352004-02-17 Adam Fedor <fedor@gnu.org>
13036
13037 * gdb.base/gdb1555.exp: New file.
13038 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13039
9d62932d
EZ
130402004-02-17 Elena Zannoni <ezannoni@redhat.com>
13041
13042 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13043
344c9711
FF
130442004-02-16 Fred Fish <fnf@redhat.com>
13045
13046 * gdb.arch/gdb1291.c: Remove
13047 * gdb.arch/gdb1291.s: New test input file.
13048 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13049 fail. Test for correct result, known incorrect result, other
13050 failures and timeouts.
13051
2d822687
AC
130522004-02-16 Andrew Cagney <cagney@redhat.com>
13053
13054 * gdb.base/bigcore.exp: New file.
13055 * gdb.base/bigcore.c: New file.
13056
dac15b66
AC
130572004-02-13 Andrew Cagney <cagney@redhat.com>
13058
13059 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13060 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13061 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13062 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13063 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13064 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13065 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13066 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13067 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13068 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13069
6bdfc2c4
JJ
130702004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13071
13072 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13073 executed is an alloc instruction.
13074
87b3ede8
DC
130752004-02-11 David Carlton <carlton@kealia.com>
13076
13077 * gdb.cp/breakpoint.exp: New.
13078 * gdb.cp/breakpoint.cc: New.
13079
6e19e2bf
MC
130802004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13081
13082 Partial fix for PR gdb/1543.
13083 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13084 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13085 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13086 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13087 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13088 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13089 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13090 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13091 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13092 to bug-gdb@prep.ai.mit.edu .
13093 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13094 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13095 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13096 Likewise.
13097
5c5455dc
AC
130982004-02-10 Andrew Cagney <cagney@redhat.com>
13099
13100 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13101 using gdb_internal_error_resync.
13102
9cf689d7
DJ
131032004-02-09 Daniel Jacobowitz <drow@mvista.com>
13104
13105 * gdb.threads/thread-specific.exp: Stop early if no threads are
13106 found.
13107
d2dc51db
MC
131082004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13109
13110 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13111
14b1a056
DJ
131122004-02-08 Daniel Jacobowitz <drow@mvista.com>
13113
13114 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13115 breakpoints.
13116
83f66e8f
DJ
131172004-02-07 Daniel Jacobowitz <drow@mvista.com>
13118
13119 * config/sim.exp (gdb_load): Handle $arg == "".
13120 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13121 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13122
30fc0091
EZ
131232004-02-07 Elena Zannoni <ezannoni@redhat.com>
13124
a9c64011
AS
13125 * gdb.base/maint.exp: Update test to reflect
13126 obstack changes.
30fc0091 13127
4d806929
JJ
131282004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13129
13130 * gdb.base/pendshr.c (pendfunc): New function that calls
13131 pendfunc1.
13132 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13133
7bfdd688
FF
131342004-02-04 Fred Fish <fnf@redhat.com>
13135
13136 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13137 function symbols and update copyright years.
13138 * gdb.arch/gdb1291.c: Ditto.
13139
aaa08ee4
MC
131402004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13141
13142 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13143
dbad7755
MC
131442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13145
13146 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13147
ec4646ef
MC
131482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13149
13150 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13151
1b802196
FF
131522004-02-02 Fred Fish <fnf@redhat.com>
13153
13154 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13155 remote targets. Update copyright years.
13156
18fe2033
JJ
131572004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13158
13159 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13160 support.
13161 * gdb.base/langs.exp: Fix test which attempts to create
13162 breakpoint on non-existent function to handle new pending
13163 support.
13164 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13165 a breakpoint.
13166 * gdb.base/pending.exp: New test.
13167 * gdb.base/pending.c: New file.
13168 * gdb.base/pendshr.c: Ditto.
13169
8d577d32
DC
131702004-02-02 David Carlton <carlton@kealia.com>
13171
13172 * gdb.cp/overload.exp: Add overloadNamespace tests.
13173 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13174 (overloadNamespace, XXX): New.
13175 (main): Call XXX::marker2.
13176
3ad13771
FF
131772004-02-01 Fred Fish <fnf@redhat.com>
13178
13179 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13180 * gdb.base/finish.exp: Ditto.
13181 * gdb.base/gcore.exp: Ditto.
13182 * gdb.base/huge.exp: Ditto.
13183 * gdb.base/info-proc.exp: Ditto.
13184 * gdb.base/return2.exp: Ditto.
13185 * gdb.threads/gcore-thread.exp: Ditto.
13186
44c75849
DJ
131872004-02-01 Daniel Jacobowitz <drow@mvista.com>
13188
13189 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13190
005bc093
MK
131912004-02-01 Mark Kettenis <kettenis@gnu.org>
13192
13193 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13194 that opening the file succeeds on OpenBSD.
13195
c47cebdb
DJ
131962004-02-01 Daniel Jacobowitz <drow@mvista.com>
13197
13198 * gdb.threads/thread-specific.c: New file.
13199 * gdb.threads/threads-specific.exp: New test script.
13200 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13201 to expect_out.
13202
5a01311c
MK
132032004-02-01 Mark Kettenis <kettenis@gnu.org>
13204
13205 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13206 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13207 only on the "print_small_structs from print_long_arg_list" test.
13208
ce22a4f1
DJ
132092004-02-01 Daniel Jacobowitz <drow@mvista.com>
13210
13211 * gdb.base/completion.exp: Kill a stray backslash.
13212
13213 From Jim Ingham <jingham@apple.com>:
13214 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13215 agrees with the result from sending a tab.
13216
abbab9d3
DJ
132172004-01-31 Daniel Jacobowitz <drow@mvista.com>
13218
13219 * gdb.base/chng-syms.exp: Remove stray newline.
13220
53904d1e
MK
132212004-01-31 Mark Kettenis <kettenis@gnu.org>
13222
13223 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13224 *-*-openbsd*.
13225 * gdb.asm/openbsd.inc: New file.
13226
3a4b3aac
MK
132272004-01-30 Mark Kettenis <kettenis@gnu.org>
13228
13229 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13230 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13231 *-*solaris2*. Remove commented out default settings for
13232 asm-flags. Replace gdb_compile with target_link.
13233
ebac27b4
MC
132342004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13235
13236 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13237 for all tests. Remove old hp-ux and cygnus xfail cases.
13238
d8679d84
PH
132392004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13240
13241 * gdb.base/chng-syms.exp: New file.
13242 * gdb.base/chng-syms.c: New file.
13243
0a55bc22
MC
132442004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13245
13246 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13247 Provide arms for current output in all my configurations.
13248
94b8e876
MC
132492004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13250
13251 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13252 * lib/compiler.cc: Likewise.
13253 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13254 get the right preprocessor. Eval the output directly. Remove
13255 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13256 hp_f77_compiler and hp_f90_compiler completely.
13257 (gdb_preprocess): Delete.
13258 (get_compiler): Delete.
13259
7cf03d44
MK
132602004-01-24 Mark Kettenis <kettenis@gnu.org>
13261
13262 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13263 <string.h>.
13264
68b6dce9
NR
132652004-01-24 Nick Roberts <nick@nick.uklinux.net>
13266
13267 * gdb.mi/mi-stack.exp: Update copyright.
13268
b368761e
DC
132692004-01-23 David Carlton <carlton@kealia.com>
13270
13271 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13272 test for cp_lookup_transparent_type.
13273 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13274 call them.
13275
f2061b53
DJ
132762004-01-23 Daniel Jacobowitz <drow@mvista.com>
13277
13278 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13279 after -var-update.
13280
37fc574a
DC
132812004-01-23 David Carlton <carlton@kealia.com>
13282
13283 * gdb.cp/namespace.cc (C::ensureRefs): New.
13284 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13285
8e94b928
NR
132862004-01-20 Nick Roberts <nick@nick.uklinux.net>
13287
13288 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13289 case "-stack-list-locals 2".
13290 * gdb.mi/mi-var-child.exp: Test for case
13291 "-var-list-children --all-values NAME".
13292
997b0952
MC
132932004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13294
13295 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13296
52470da3
MK
132972004-01-18 Mark Kettenis <kettenis@gnu.org>
13298
7049b4b8
MK
13299 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13300 used with gdb_test_multiple.
13301
52470da3
MK
13302 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13303 read at address 0. This fixes PR testsuite/1504.
13304
da6012e5
DJ
133052004-01-18 Daniel Jacobowitz <drow@mvista.com>
13306
13307 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13308 Remove downloading, guessing the host executable, the calls to
13309 gdb_file_cmd and gdb_target_cmd, and "load" support.
13310 (infer_host_exec): New function broken out from gdb_load.
13311 (gdb_load): New wrapper for gdbserver_gdb_load.
13312 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13313 gdb_target_cmd. Use -target-select.
13314 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13315 Download binaries to the host. Clear last_mi_remote_file when
13316 we load a new binary.
13317 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13318 call gdbserver_gdb_load and mi_gdb_target_cmd.
13319
32c70722
MC
133202004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13321
13322 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13323 type patterns.
13324
b0cecf36
MC
133252004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13326
13327 * gdb.cp/templates.exp: Fix typo in test name of
13328 "print Foo<volatile char*>::foo".
13329
4120d7e6
MC
133302004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13331
13332 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13333
f679e530
BE
133342004-01-16 Ben Elliston <bje@wasabisystems.com>
13335
13336 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13337 (clean mostlyclean): Remove empty rm.
13338
091c48f6
MC
133392004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13340
13341 * gdb.base/setvar.exp: Add copyright years.
13342
3e5fc8d2
DC
133432004-01-14 David Carlton <carlton@bactrian.org>
13344
13345 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13346 PR c++/1511 and update coment.
13347 * gdb.cp/templates.exp: Update patterns to match current output.
13348 If changes involve something other than whitespace, KFAIL
13349 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13350
63d06c5c
DC
133512004-01-14 David Carlton <carlton@kealia.com>
13352
13353 * gdb.cp/namespace.exp: Add tests involving classes defined within
13354 namespaces.
13355 * gdb.cp/namespace.cc (C::CClass): New.
13356 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13357
a51dab88
EZ
133582004-01-14 Elena Zannoni <ezannoni@redhat.com>
13359
13360 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13361 what debug info we have. Print a better message if something goes
13362 wrong while producing the separate debug info file.
13363
a476ccc9
MC
133642004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13365
13366 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13367
f453692c
MC
133682004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13369
13370 * gdb.base/callfuncs.c: Add copyright notice.
13371
f40063a5
MC
133722004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13373
13374 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13375 inheritance. PR gdb/1498, PR gcc/13539.
13376
19ac3974
EZ
133772004-01-13 Elena Zannoni <ezannoni@redhat.com>
13378
a9c64011
AS
13379 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13380 test specific name.
13381 * gdb.mi/gdb669.exp: Ditto.
13382 * gdb.mi/mi-pthreads.exp: Ditto.
13383 * gdb.mi/mi1-pthreads.exp: Ditto.
13384 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13385
56c97c6e
MC
133862004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13387
13388 * gdb.cp/member-ptr.cc: Add copyright notice.
13389
a0644324
MC
133902004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13391
13392 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13393 some patterns for recent versions of gcc and hpacc. Delete
13394 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13395 Delete tests that access a NULL pointer-to-member-data. This
13396 script is still disabled for gcc.
13397
32fabe09
EZ
133982004-01-12 Elena Zannoni <ezannoni@redhat.com>
13399
13400 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13401 escaped correctly.
32fabe09 13402
1f8a6abb
EZ
134032004-01-12 Elena Zannoni <ezannoni@redhat.com>
13404
13405 * gdb.base/sepdebug.exp: New file.
13406 * gdb.base/sepdebug.c: New file.
13407 * lib/gdb.exp (separate_debug_filename): New procedure.
13408 (gdb_gnu_strip_debug): New procedure.
13409
48efe704
AC
134102004-01-12 Andrew Cagney <cagney@redhat.com>
13411
13412 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13413 * gdb.mi/ChangeLog-1999-2003: New file.
13414
a9415475
AC
134152004-01-12 Andrew Cagney <cagney@redhat.com>
13416
13417 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13418 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13419 or EEXIST", treat EBUSY as an XFAIL.
13420
83b8cf9d
MC
134212004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13422
13423 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13424 hp_cc_compiler.
13425
9939d2a8
MC
134262004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13427
13428 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13429 decorations.
13430
1ff8cadf
MC
134312004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13432
13433 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13434 and "(aCC)" decorations. Remove obsolete doco about old
13435 test results.
13436
6fa9022e
MC
134372004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13438
13439 * gdb.cp/exception.exp: Fix typo in doco.
13440
209721fe
MK
134412004-01-09 Mark Kettenis <kettenis@gnu.org>
13442
13443 * gdb.base/gdb1476.exp: Fix typo.
13444
ef11303e
MC
134452004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13446
13447 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13448 file.
13449
041ab88c
MC
134502004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13451
13452 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13453 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13454 Use gdb_compile. Remove restriction on gcc. Add some patterns
13455 for recent version of gdb. Delete second half, which was a copy
13456 of the first half with different build flags. This test is
13457 still disabled because it is still not ready for production.
13458
e36d075a
MC
134592004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13460
13461 * gdb.cp/exception.cc: Add copyright notice.
13462 * gdb.cp/exception.exp: Add a notice that this file is broken
13463 because of line number changes caused by addition of copyright
13464 notice.
13465
42b190ad
MC
134662004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13467
13468 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13469 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13470
8f25f06b
MC
134712004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13472
13473 * gdb.cp/classes.exp: Accept gnu abi 2.
13474 * gdb.cp/derivation.exp: Likewise.
13475 * gdb.cp/overload.exp: Likewise.
13476 * gdb.cp/virtfunc.exp: Likewise.
13477
06ded8b8
MC
134782004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13479
13480 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13481 semicolon after end of function.
13482
77c26ae3
MC
134832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13484
13485 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13486 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13487 boilerplate code for compiling and running the program under
13488 test. Add some string method tests.
13489
20757486
MC
134902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13491
13492 * gdb.cp/bs15503.cc: Add copyright notice.
13493 * gdb.cp/bs15503.exp: Adjust line number.
13494
0fd3b503
MC
134952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13496
13497 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13498 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13499
10d1bea8
MC
135002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13501
13502 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13503 hp_cc_compiler.
13504
2789202a
MC
135052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13506
13507 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13508 * gdb.cp/ctti.exp: Use the marker instead of "next".
13509 With gcc, run further before bailing.
13510
b862f14c
MC
135112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13512
13513 * gdb.cp/cttiadd.cc: Add copyright notice.
13514 * gdb.cp/cttiadd1.cc: Likewise.
13515 * gdb.cp/cttiadd2.cc: Likewise.
13516 * gdb.cp/cttiadd3.cc: Likewise.
13517
96da2469
MC
135182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13519
13520 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13521 Use gdb_test, gdb_test_multiple. Use floating-point values that
13522 have exact representations in IEEE-ish formats.
13523
053248ff
MC
135242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13525
13526 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13527 compilers. Delete duplicate call to get_compiler_info.
13528 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13529 * gdb.base/volatile.exp: Likewise.
13530
84acecdd
MK
135312004-01-07 Mark Kettenis <kettenis@gnu.org>
13532
13533 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13534 memory at address 0.
13535
fe11a27f
MC
135362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13537
13538 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13539 to test for hp-ux assembler. Fix copyright years.
13540
60ad077b
AC
135412004-01-07 Andrew Cagney <cagney@redhat.com>
13542
13543 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13544
1c9b8f33
AC
135452004-01-07 Andrew Cagney <cagney@redhat.com>
13546
13547 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13548 when creating the read-only file. From analysis by Roland McGrath
13549 and Elena Zannoni.
13550
753ccc7a
MC
135512004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13552
13553 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13554
eca3e36b
MC
135552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13556
13557 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13558 data pointers.
13559
f8d4bac4
MC
135602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13561
13562 * gdb.cp/m-static.exp: Compile one source file at a time.
13563 Delete unused call to get_compiler_info.
13564
9b4e0f94
MC
135652004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13566
13567 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13568 * gdb.base/call-rt-st.exp: Likewise.
13569 * gdb.base/nodebug.exp: Likewise.
13570 * gdb.base/volatile.exp: Likewise.
13571 * gdb.cp/ref-types.exp: Likewise.
13572 * gdb.cp/templates.exp: Likewise.
13573
023c1024
MK
135742004-01-05 Mark Kettenis <kettenis@gnu.org>
13575
13576 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13577
19703c4a
MC
135782004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13579
13580 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13581 hppa*-hp-hpux*.
13582
18b67037
MK
135832004-01-04 Mark Kettenis <kettenis@gnu.org>
13584
ba6219c8
MK
13585 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13586 x86_64-*-*.
13587
18b67037
MK
13588 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13589 sparc64-*-* and sparc*-solaris2*.
13590
1bfbbb9d
MK
135912004-01-04 Mark Kettenis <kettenis@gnu.org>
13592
13593 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13594 return ${tests}" test. The ${tests} already mentions the
13595 filename.
13596
06846494
MC
135972004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13598
13599 * gdb.cp/local.exp: Accept gcc abi 2.
13600
3b0cb202
MC
136012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13602
13603 * gdb.cp/templates.exp: Accept gcc abi 2.
13604
0643ec3f
MC
136052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13606
13607 * lib/compiler.cc: Remove supports_template_debugging.
13608 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13609
d231d0b1
MC
136102004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 * gdb.cp/namespace.exp: Accept gcc abi 2.
13613
44ffb27c
MC
136142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13615
13616 * gdb.cp/method.exp: Accept gcc abi 2.
13617
184ad485
MC
136182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13619
13620 * gdb.cp/classes.exp: Generate identical results as old version.
13621 * gdb.cp/derivation.exp: Likewise.
13622 * gdb.cp/overload.exp: Likewise.
13623 * gdb.cp/virtfunc.exp: Likewise.
13624
116f09e7
MC
136252004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13626
13627 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13628 mysterious bug with sourceware version of expect.
13629
b1379776
MC
136302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13631
13632 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13633 current versions of gcc, including gcc abi 2. Remove gratuitous
13634 restart of test program. Use gdb_test_multiple and gdb_test for
13635 all tests. Add patterns to xfail missing "const" in "const char *"
13636 and kfail PR gdb/1155.
13637
6b7a4c0e
MC
136382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13639
13640 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13641 current versions of gcc, including gcc abi 2. Remove gratuitous
13642 restart of test program. Use gdb_test_multiple and gdb_test for
13643 all tests. Add patterns to kfail PR gdb/1498.
13644
51615d72
MC
136452003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13646
13647 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13648 current versions of gcc, including gcc abi 2. Use "breakpoint"
13649 and "continue" instead of restarting the target program. Use
13650 gdb_test_multiple and gdb_test for all tests.
13651
7b79a9d7
MK
136522004-01-01 Mark Kettenis <kettenis@gnu.org>
13653
13654 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13655 for *-*-solaris2*.
13656
1cd3489f
MC
136572003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13658
13659 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13660 current versions of gcc, including gcc abi 2. Use "breakpoint"
13661 and "continue" instead of restarting the target program several
13662 times. Use gdb_test_multiple and gdb_test for all tests.
13663
850742db
MC
136642003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13665
13666 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13667 source files.
13668
eb4bbda8
MC
136692003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13670
13671 * gdb.base/environ.exp: Handle compiling test case from multiple
13672 source files.
13673
e42c7771
MC
136742003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13675
13676 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13677
80e4b428
JB
136782003-12-17 Jim Blandy <jimb@redhat.com>
13679
5f06973a
JB
13680 * gdb.base/freebpcmd.c: Add copyright notice.
13681
80e4b428
JB
13682 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13683
0ab84fb7
MC
136842003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13685
13686 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13687
1b3bb3d0
JB
136882003-12-13 Jim Blandy <jimb@redhat.com>
13689
13690 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13691
3a4c9371
KB
136922003-12-12 Kevin Buettner <kevinb@redhat.com>
13693
13694 * gdb.asm/frv.inc: New file.
13695 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13696
a1dea79a
FF
136972003-12-09 Fred Fish <fnf@redhat.com>
13698
13699 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13700 functions to break1.c and leave prototypes behind. Add more
13701 "set breakpoint NN here" comments.
13702 * gdb.base/break1.c: New file.
13703
13704 * gdb.base/break.exp: Handle compiling test case from multiple
13705 source files and change source file references as needed.
13706 * gdb.base/completion.exp: Ditto.
13707 * gdb.base/condbreak.exp: Ditto.
13708 * gdb.base/define.exp: Ditto.
13709 * gdb.base/ena-dis-br.exp: Ditto.
13710 * gdb.base/info-proc.exp: Ditto.
13711 * gdb.base/maint.exp: Ditto.
13712 * gdb.base/until.exp: Ditto.
13713
13714 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13715 hardcoded line numbers.
13716 * gdb.base/define.exp: Ditto.
13717 * gdb.base/ena-dis-br.exp: Ditto.
13718 * gdb.base/maint.exp: Ditto.
13719 * gdb.base/until.exp: Ditto.
13720
13721 * gdb.base/completion.exp: Use "break1" for completion tests since
13722 "break" is no longer a unique prefix.
13723
5266b69c
AC
137242003-12-06 Andrew Cagney <cagney@redhat.com>
13725
13726 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13727 "return_value_unimplemented". When an unimplemented struct return
13728 architecture, report incorrect values as a KFAIL
13729
374451f0
MC
137302003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13731
13732 * gdb.cp/rtti.exp: Accept new wording of warning from
13733 cp_lookup_rtti_type.
13734
ba9b20a7
MC
137352003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13736
13737 Partial fix for PR testsuite/1456.
13738 * gdb.base/scope.exp (test_at_main): Replace references to
13739 gcc_compiled with calls to test_compiler_info.
13740 (test_at_foo): Likewise.
13741 (test_at_bar): Likewise.
13742
b74b6d0b
MC
137432003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13744
13745 Partial fix for PR testsuite/1456.
13746 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13747 to test_compiler_info.
13748
ccfa3402
MC
137492003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13750
13751 * gdb.base/so-impl-ld.exp: Update copyright notice.
13752
f6246aba
MC
137532003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13754
13755 Partial fix for PR testsuite/1456.
13756 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13757 to test_compiler_info.
13758
13ae734a
MC
137592003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13760
13761 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13762 from current versions of gdb. Clean up regular expressions.
13763 Delete redundant timeout case.
13764
d8e1cdee
MC
137652003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13766
13767 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13768 from current versions of gdb. Clean up regular expressions.
13769 Delete redundant timeout case.
13770
96457b64
MC
137712003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13772
13773 Partial fix for PR testsuite/1456.
13774 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13775 gcc_compiled with call to test_compiler_info.
13776
f35309fc
MC
137772003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13778
13779 Partial fix for PR testsuite/1456.
13780 * gdb.base/list.exp (test_list_function): Delete unused declaration
13781 of gcc_compiled.
13782
d7afdf9b
MC
137832003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13784
13785 Partial fix for PR testsuite/1456.
13786 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13787 call to test_compiler_info.
13788
71507b56
MK
137892003-11-29 Mark Kettenis <kettenis@gnu.org>
13790
13791 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13792 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13793 it to create the appropriate note.inc.
13794 * gdb.asm/asmsrc1.s: Include "note.inc".
13795 * gdb.asm/netbsd.inc: New file.
13796 * gdb.asm/empty.inc: New file.
13797
f81f93f7
MC
137982003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13799
13800 Partial fix for PR testsuite/1456.
13801 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13802 calls to test_compiler_info.
13803
9a77938e
MC
138042003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13805
13806 Partial fix for PR testsuite/1456.
13807 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13808 calls to test_compiler_info.
13809
e8367dc7
MK
138102003-11-27 Mark Kettenis <kettenis@gnu.org>
13811
13812 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13813 pattern for the KFAILs.
13814
526c61ee
AF
138152003-11-25 Adam Fedor <fedor@gnu.org>
13816
13817 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13818 * gdb.objc/objcdecode.m: New file.
13819
28f2d600
AF
138202003-11-25 Adam Fedor <fedor@gnu.org>
13821
13822 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13823 * gdb.objc/nondebug.m: New file.
13824
a3895cee
BE
138252003-11-26 Ben Elliston <bje@wasabisystems.com>
13826
13827 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13828 NetBSD as it does on FreeBSD. Modelled on a similar change by
13829 Mark Kettenis on 2003-05-30.
13830 (link-flags): Set to "--entry _start" regardless of target.
13831 Special linker flags are to be appended to $link-flags.
13832 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13833
c9f2c8a3
MC
138342003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13835
13836 * gdb.cp/method.exp: Accept output of new demangler.
13837
15a0587a 138382003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13839
13840 * gdb/class2.exp: New file.
13841 * gdb/class2.cc: New file.
13842
3c00b570
MC
138432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13844
13845 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13846 of new demangler.
13847
7027acc7
MK
138482003-11-23 Mark Kettenis <kettenis@gnu.org>
13849
13850 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13851 of gdb_test "run".
13852
b0e1598a
MK
138532003-11-23 Mark Kettenis <kettenis@gnu.org>
13854
13855 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13856 "continue" into "run".
13857
4d9eda44
MC
138582003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13859
13860 Partial fix for PR testsuite/1456.
13861 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13862 call to test_compiler_info.
13863 * gdb.cp/ctti.exp: Likewise.
13864 * gdb.cp/derivation.exp: Likewise.
13865 * gdb.cp/member-ptr.exp: Likewise.
13866 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13867 reference to gcc_compiled.
13868
138692003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13870
13871 Fix PR testsuite/1463.
13872 * gdb.base/structs.exp (start_structs_test): Call
13873 get_debug_format before using the debug format.
13874
d422fe19
AC
138752003-11-22 Andrew Cagney <cagney@redhat.com>
13876
13877 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13878 * gdb.base/structs.exp: Use gdb_test_multiple.
13879
039cf96d
AC
138802003-11-20 Andrew Cagney <cagney@redhat.com>
13881
6882279b
AC
13882 * gdb.base/structs.exp: Handle and recover from internal errors.
13883 Replace "foo${n}" with "foo<n>" in test messages.
13884
e53890ae
AC
13885 * gdb.base/structs.exp: Update copyright. Rewrite.
13886 * gdb.base/structs.c: Update copyright. Rewrite.
13887
2b211c59
AC
13888 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13889 resync count exceeded.
d63a86f8 13890
039cf96d
AC
13891 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13892 from the internal error.
13893 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13894 Original from Jim Blandy.
13895 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13896
eac98b22
AC
138972003-11-19 Andrew Cagney <cagney@redhat.com>
13898
13899 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13900 KFAIL.
13901
67455b2a
MK
139022003-11-17 Mark Kettenis <kettenis@gnu.org>
13903
13904 New testcase for PR backtrace/1435.
13905 * gdb.arch/i386-unwind.exp: New file.
13906 * gdb.arch/i386-unwind.c: New file.
13907
853d6e5b
AC
139082003-11-17 Andrew Cagney <cagney@redhat.com>
13909
13910 * lib/gdb.exp (compiler_info): New global.
13911 (test_compiler_info): New function.
13912 (get_compiler_info): Set compiler_info.
13913 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13914 "compiler_info" to gcc-<major>-<minor>.
13915
38cf6e11
MC
139162003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13917
13918 * gdb.trace/configure: Remove.
13919
a50d3602
EZ
139202003-11-13 Elena Zannoni <ezannoni@redhat.com>
13921
13922 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13923 breakpoints.
a50d3602
EZ
13924 * gdb.base/break.exp: Remove all references to explicit line
13925 numbers.
13926
d9407aaa
NC
139272003-11-11 Nick Clifton <nickc@redhat.com>
13928
13929 * gdb.base/shreloc.exp: Do not run for targets which do not
13930 support shared objects.
13931
db488fc1
CV
139322003-11-10 Corinna Vinschen <vinschen@redhat.com>
13933
13934 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13935 Don't run tests if nofileio flag is given.
13936
6a90a18e
EZ
139372003-11-07 Elena Zannoni <ezannoni@redhat.com>
13938
13939 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13940 as well as 'Watchpoint'.
6a90a18e 13941
0b915e9c
EZ
139422003-11-06 Elena Zannoni <ezannoni@redhat.com>
13943
13944 Reported by Jim Ingham <jingham@apple.com>:
13945 * gdb.base/annota1.exp: Match at least one occurrence of the
13946 signal handler annotation.
13947
d7e4b55f
EZ
139482003-11-06 Elena Zannoni <ezannoni@redhat.com>
13949
a9c64011
AS
13950 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13951 as well as 'Watchpoint'.
d7e4b55f 13952
2fe4e8d0
MC
139532003-11-05 Michael Chastain <mec@shout.net>
13954
13955 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13956
6ef88553
KW
139572003-11-03 Kris Warkentin <kewarken@qnx.com>
13958
13959 * gdb.arch/gdb1291.c: New test file.
13960 * gdb.arch/gdb1291.exp: New test script.
13961 * gdb.arch/gdb1431.c: New test file.
13962 * gdb.arch/gdb1431.exp: New test script.
13963
ae7dc4d8
MC
139642003-10-22 Michael Chastain <mec@shout.net>
13965
13966 * gdb.mi/pthreads.c: Add copyright notice.
13967
c39d7427
MC
139682003-10-22 Michael Chastain <mec@shout.net>
13969
13970 * gdb.threads/pthreads.c: Add copyright notice.
13971
8b7d96c1
MC
139722003-10-20 Michael Chastain <mec@shout.net>
13973
13974 * gdb.base/gdb1056.exp: New test script.
13975
d1d69fdd
DJ
139762003-10-13 Daniel Jacobowitz <drow@mvista.com>
13977
13978 * gdb.threads/killed.exp: Use gdb_run_cmd.
13979
7d605576
DJ
139802003-10-13 Daniel Jacobowitz <drow@mvista.com>
13981
13982 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13983 create a core file.
13984 * gdb.threads/gcore-thread.exp: Likewise.
13985
618ec112
CV
139862003-10-13 Corinna Vinschen <vinschen@redhat.com>
13987
13988 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13989 type, based on char type.
13990 (struct bit_flags_short_t): New bitfield type, based on short type.
13991 (init_bit_flags_char): New fuction.
13992 (init_bit_flags_short): Ditto.
13993 (print_bit_flags_char): Ditto.
13994 (print_bit_flags_short): Ditto.
13995 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13996
9367a73c
MC
139972003-10-11 Michael Chastain <mec@shout.net>
13998
13999 * gdb.base/call-rt-st.exp: Update copyright year.
14000
1decf120
KI
140012003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14002
14003 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14004 * gdb.disasm/sh3.s: Ditto.
14005
5445b2ae
DJ
140062003-10-07 Daniel Jacobowitz <drow@mvista.com>
14007
14008 * gdb.threads/switch-threads.exp: New test.
14009 * gdb.threads/switch-threads.c: New source file.
14010
aec24853
CV
140112003-10-07 Corinna Vinschen <vinschen@redhat.com>
14012
14013 * gdb.base/ending-run.exp: Add sh specific case.
14014
adc7428d
AC
140152003-10-06 Andrew Cagney <cagney@redhat.com>
14016
14017 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14018 * gdb.disasm/mn10200.exp: Delete obsolete file.
14019
c9d37158
DJ
140202003-09-29 Daniel Jacobowitz <drow@mvista.com>
14021
14022 * ChangeLog: Correct an entry command.exp -> commands.exp.
14023 * gdb.base/commands.exp (bp_deleted_in_command_test)
14024 (temporary_breakpoint_commands): Check noargs.
14025
79c2c32d
DC
140262003-09-25 David Carlton <carlton@kealia.com>
14027
14028 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14029 of some print tests, where appropriate. Add tests for C::D::cd,
14030 E::ce, F::cXfX, G::XgX.
14031 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14032
594e6d67
RE
140332003-09-25 Richard Earnshaw <rearnsha@arm.com>
14034
14035 * lib/java.exp (java_init): Import target_alias before using it.
14036
10f0d451
DC
140372003-09-25 David Carlton <carlton@kealia.com>
14038
14039 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14040
274bcba0
EZ
140412003-09-23 Elena Zannoni <ezannoni@redhat.com>
14042
d63a86f8 14043 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14044 weirdness.
274bcba0 14045
cdbf20f7
MC
140462003-09-17 Michael Chastain <mec@shout.net>
14047
14048 * gdb.cp/gdb1355.exp: New file.
14049 * gdb.cp/gdb1355.c: New file.
14050
71e06f80
CV
140512003-09-15 Corinna Vinschen <vinschen@redhat.com>
14052
14053 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14054 * gdb.asm/sh.inc: New file.
14055
5c4e30ca
DC
140562003-09-11 David Carlton <carlton@kealia.com>
14057
bd45b7af
DC
14058 * gdb.cp/namespace.exp: Add tests for namespace types.
14059 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14060 (test_namespace): New.
14061
1c199746
EZ
140622003-09-11 Elena Zannoni <ezannoni@redhat.com>
14063
a9c64011 14064 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14065 * gdb.stabs/weird.exp: Ditto.
1c199746 14066
04ed252f
MC
140672003-09-08 Michael Chastain <mec@shout.net>
14068
14069 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14070
d8a2d9e7
MC
140712003-09-07 Michael Chastain <mec@shout.net>
14072
14073 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14074 'parse error'.
14075
161afb24
MK
140762003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14077
14078 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14079
49f2741a
MC
140802003-08-30 Michael Chastain <mec@shout.net>
14081
14082 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14083 * gdb.gdb/observer.exp: Ditto.
14084 * gdb.gdb/xfullpath.exp: Ditto.
14085
8afa723e
MK
140862003-08-29 Mark Kettenis <kettenis@gnu.org>
14087
14088 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14089 *-*-*bsd*.
14090
f31dfe3b
JJ
140912003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14092
14093 * gdb.base/dump.exp: Skip for ia64.
14094
4630e498
JJ
140952003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14096
14097 * gdb.asm/asm-source.exp: Add ia64 support.
14098 * gdb.asm/ia64.inc: New file.
14099
1105b7ef
MC
141002003-08-22 Michael Chastain <mec@shout.net>
14101
14102 * gdb.cp: New directory.
14103 * gdb.cp/*: Copy from gdb.c++/*.
14104 * gdb.c++/*: Remove.
14105 * Makefile.in: Change gdb.c++ to gdb.cp.
14106 * configure.in: Ditto.
14107 * configure: Regnerate.
14108
c945b932
MK
141092003-08-18 Mark Kettenis <kettenis@gnu.org>
14110
14111 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14112 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14113
2b66634b
DJ
141142003-08-17 Daniel Jacobowitz <drow@mvista.com>
14115
14116 * mi-var-display.exp (-var-list-children weird): Accept function
14117 pointers with argument types.
14118 * mi1-var-display.exp (-var-list-children weird): Likewise.
14119 * mi2-var-display.exp (-var-list-children weird): Likewise.
14120
a356f73b
DJ
141212003-08-17 Daniel Jacobowitz <drow@mvista.com>
14122
14123 * gdb.base/annota3.exp: Add missing newline.
14124
483417b8
MC
141252003-08-06 Michael Chastain <mec@shout.net>
14126
14127 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14128
c99c59c3
MS
141292003-08-12 Michael Snyder <msnyder@redhat.com>
14130
14131 * gdb.base/float.exp: Add test for SH.
14132
55ed7501
MK
141332003-08-10 Mark Kettenis <kettenis@gnu.org>
14134
14135 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14136
1a371f2e
EZ
141372003-08-07 Elena Zannoni <ezannoni@redhat.com>
14138
14139 * gdb.base/completion.exp: Remove reduntant completion test
14140 on filename.
14141
e0f353ce
EZ
141422003-08-07 Elena Zannoni <ezannoni@redhat.com>
14143
a9c64011
AS
14144 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14145 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14146 gdb.trace/save-trace.exp: Make sure that full pathnames are
14147 escaped correctly.
e0f353ce 14148
5710a1af 141492003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14150
a9c64011
AS
14151 * configure.in: Don't generate config.h from config.hin.
14152 * configure: Regenerate.
14153 * config.hin: Remove file.
14154 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14155 * gdb.threads/pthreads.c: Ditto.
5710a1af 14156
dcd81ce9
DJ
141572003-08-07 Daniel Jacobowitz <drow@mvista.com>
14158
14159 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14160 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14161 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14162 Replace ld24 with seth/add3.
14163
6009d884
AC
141642003-08-02 Andrew Cagney <cagney@redhat.com>
14165
14166 * gdb.base/annota3.exp: New file.
14167 * gdb.base/annota3.c: New file.
14168 * gdb.c++/annota3.exp: New file.
14169 * gdb.c++/annota3.cc: New file.
14170
51514e06
MC
141712003-07-29 Michael Chastain <mec@shout.net>
14172
14173 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14174 actually failed.
14175 (do_pass): Likewise.
14176 * gdb.threads/tls.exp: Always initialize no_of_threads.
14177
4ee6625b
DJ
141782003-07-27 Daniel Jacobowitz <drow@mvista.com>
14179
14180 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14181 pattern.
14182 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14183 * gdb.threads/tls.exp: Recognize one case of the host library not
14184 supporting TLS.
14185
225f2bf6
AC
141862003-07-27 Andrew Cagney <cagney@redhat.com>
14187
14188 * gdb.base/fileio.exp: Use SH when running commands using
14189 remote_exec.
14190
bcb27c9f
DJ
141912003-07-24 Daniel Jacobowitz <drow@mvista.com>
14192
14193 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14194 * gdb.base/relocate.c (dummy): New padding array.
14195
3d67be83
MS
141962003-07-22 Michael Snyder <msnyder@redhat.com>
14197
d63a86f8 14198 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14199
14200 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14201 patterns to be more general, accepting old and new output.
14202 Some output chars (such as '+') also must be quoted.
d63a86f8 14203 Some addresses are displayed numerically instead of
3d67be83
MS
14204 symbolically.
14205
57ba3b85
MS
142062003-07-23 Michael Snyder <msnyder@redhat.com>
14207
686d097c
MS
14208 * gdb.base/return2.exp: Don't test long-long return.
14209
57ba3b85
MS
14210 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14211 * gdb.disasm/t01_mov.exp: Ditto.
14212 * gdb.disasm/t02_mova.s: Ditto.
14213 * gdb.disasm/t02_mova.exp: Ditto.
14214 * gdb.disasm/t03_add.s: Ditto.
14215 * gdb.disasm/t03_add.exp: Ditto.
14216 * gdb.disasm/t04_sub.s: Ditto.
14217 * gdb.disasm/t04_sub.exp: Ditto.
14218 * gdb.disasm/t05_cmp.s: Ditto.
14219 * gdb.disasm/t05_cmp.exp: Ditto.
14220 * gdb.disasm/t06_ari2.s: Ditto.
14221 * gdb.disasm/t06_ari2.exp: Ditto.
14222 * gdb.disasm/t07_ari3.s: Ditto.
14223 * gdb.disasm/t07_ari3.exp: Ditto.
14224 * gdb.disasm/t08_or.s: Ditto.
14225 * gdb.disasm/t08_or.exp: Ditto.
14226 * gdb.disasm/t09_xor.s: Ditto.
14227 * gdb.disasm/t09_xor.exp: Ditto.
14228 * gdb.disasm/t10_and.s: Ditto.
14229 * gdb.disasm/t10_and.exp: Ditto.
14230 * gdb.disasm/t11_logs.s: Ditto.
14231 * gdb.disasm/t11_logs.exp: Ditto.
14232 * gdb.disasm/t12_bit.s: Ditto.
14233 * gdb.disasm/t12_bit.exp: Ditto.
14234 * gdb.disasm/t13_otr.s: Ditto.
14235 * gdb.disasm/t13_otr.exp: Ditto.
14236
e00759ef
EZ
142372003-07-22 Elena Zannoni <ezannoni@redhat.com>
14238
14239 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14240
8bc2021f
EZ
142412003-07-22 Elena Zannoni <ezannoni@redhat.com>
14242
a9c64011
AS
14243 * gdb.threads/tls.c : New file.
14244 * gdb.threads/tls.exp : New file.
14245 * gdb.threads/tls-main.c : New file.
14246 * gdb.threads/tls-shared.c : New file.
14247 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14248
89320c4c
AS
142492003-07-22 Andreas Schwab <schwab@suse.de>
14250
14251 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14252
180dea7c
AS
142532003-07-20 Andreas Schwab <schwab@suse.de>
14254
14255 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14256 due to insn reordering.
14257
0714963c
AC
142582003-07-15 Andrew Cagney <cagney@redhat.com>
14259
14260 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14261
98a23b3f
MC
142622003-07-15 Michael Chastain <mec@shout.net>
14263
14264 * gdb.base/gdb1250.exp: New file.
14265 * gdb.base/gdb1250.c: New file.
14266
27e417a2
ML
142672003-07-09 Michal Ludvig <mludvig@suse.cz>
14268
14269 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14270 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14271
8bc2021f
EZ
142722003-07-09 Elena Zannoni <ezannoni@redhat.com>
14273
a9c64011
AS
14274 * gdb.threads/tls.c: New file.
14275 * gdb.threads/tls.exp: New file.
14276 * gdb.threads/tls-main.c: New file.
14277 * gdb.threads/tls-shared.c: New file.
14278 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14279
d99968dc
EZ
142802003-07-09 Elena Zannoni <ezannoni@redhat.com>
14281
14282 * gdb.base/annota1.exp: Make sure that we properly escape the
14283 full path of the source file. Xfail more permissive patterns,
d63a86f8 14284 due to a compiler debug info problem.
d99968dc 14285
83876b3b
AS
142862003-07-07 Andreas Schwab <schwab@suse.de>
14287
2705e972
AS
14288 * gdb.asm/m68k.inc: New file.
14289 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14290
83876b3b
AS
14291 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14292 arguments"): Also match negative number.
14293
14294 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14295
3a871b37
DJ
142962003-07-03 Daniel Jacobowitz <drow@mvista.com>
14297
14298 * gdb.base/store.c (charest): New typedef.
14299 (add_char): Rename to add_charest, update.
14300 (wack_char): Rename to wack_charest, update types. Return l + r
14301 to keep r live across the call.
14302 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14303 (wack_double, wack_doublest): Return l + r to keep r live across
14304 the call.
14305 * gdb.base/store.exp: Accomodate store.c changes.
14306
b2a7f303
DC
143072003-06-30 David Carlton <carlton@kealia.com>
14308
14309 * gdb.c++/maint.exp (test_invalid_name): New.
14310 (test_first_component): Add tests for invalid names.
14311
3c6cb4a1
MC
143122003-06-29 Michael Chastain <mec@shout.net>
14313
14314 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14315 output of '<VTT for class>' for virtual base classes.
14316
f1c2644b
DJ
143172003-06-29 Daniel Jacobowitz <drow@mvista.com>
14318
14319 * gdb.base/completion.exp: Tab-complete "complet" instead of
14320 "compl".
14321 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14322
18080350
DJ
143232003-06-29 Daniel Jacobowitz <drow@mvista.com>
14324
14325 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14326 * gdb.base/volatile.exp: Likewise.
14327
f56973f8
DJ
143282003-06-29 Daniel Jacobowitz <drow@mvista.com>
14329
14330 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14331 gdb/1265.
14332
143332003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14334 Daniel Jacobowitz <drow@mvista.com>
14335
14336 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14337 initial line count of 'captured_main' from 26 to 32.
14338 (test_with_self): Allow xmalloc call to be interleaved with the
14339 preceding two lines.
14340
e766d4d6
JB
143412003-06-24 Joel Brobecker <brobecker@gnat.com>
14342
14343 * gdb.base/bang.exp: New testcase.
14344
f125c9a4
JB
143452003-06-23 Joel Brobecker <brobecker@gnat.com>
14346
14347 * gdb.base/langs.exp: Add some tests for the "minimal" language
14348 support.
14349
6e25beaf
EZ
143502003-06-23 Elena Zannoni <ezannoni@redhat.com>
14351
14352 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14353 the testcase.
14354
2f816dda
DJ
143552003-06-22 Daniel Jacobowitz <drow@mvista.com>
14356
14357 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14358 offset.
14359
db5a5748
DJ
143602003-06-22 Daniel Jacobowitz <drow@mvista.com>
14361
14362 * gdb.c++/pr-1210.cc: New file.
14363 * gdb.c++/pr-1210.exp: New file.
14364
1df0c130
DJ
143652003-06-21 Daniel Jacobowitz <drow@mvista.com>
14366
14367 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14368 000-exec-continue.
14369
a92feac0
MK
143702003-06-15 Mark Kettenis <kettenis@gnu.org>
14371
14372 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14373 on *-*-*bsd* instead of *-*-freebsd*.
14374
81a58f5b
AC
143752003-06-14 Andrew Cagney <cagney@redhat.com>
14376
14377 * gdb.base/store.exp: Test longest and doublest. Test all
14378 parameters. Weaken return statement match.
14379 * gdb.base/store.c: Add longest and doublest - aka long long and
14380 long double functions. Put all parameters into local register
14381 variables. Use negative values.
14382
b257a0d3
AC
143832003-06-14 Andrew Cagney <cagney@redhat.com>
14384
14385 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14386 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14387 exit status.
14388 * gdb.base/fileio.exp: Disable target when nointerrupts and
14389 noinferiorio, instead of limiting it to remote. Use remote_exec
14390 instead of system.
d63a86f8 14391
21c38304
JJ
143922003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14393
14394 * gdb.base/float.exp: Add ia64 support.
14395
1bcdb424
CV
143962003-06-12 Corinna Vinschen <vinschen@redhat.com>
14397
14398 * gdb.base/fileio.exp: Run only on remote targets.
14399
6aeb981f
CV
144002003-06-10 Corinna Vinschen <vinschen@redhat.com>
14401
14402 * gdb.base/fileio.c: New file, testing File-I/O.
14403 * gdb.base/fileio.exp: Ditto.
14404
53df362e
RG
144052003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14406
14407 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14408 shared objects after relocation at load time (gdb PR/1132).
14409 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14410 as above, part of the shared object relocation test.
53df362e 14411
ffee1b46
MK
144122003-06-08 Mark Kettenis <kettenis@gnu.org>
14413
b5ca3722
MK
14414 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14415 fully filled history list.
14416 * gdb.base/gdb_history: New file.
14417
03ed860d
MK
14418 * gdb.base/signals.exp: XFAIL "continue to func1" on
14419 i*86-*-freebsd*.
14420
ffee1b46
MK
14421 * gdb.base/attach.exp: When trying to attach to a nonexistent
14422 process, make it possible to specify the PID based on the target,
14423 and do so for *-*-freebsd*.
14424
d80dbb52
RH
144252003-06-02 Richard Henderson <rth@redhat.com>
14426
14427 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14428
6dd77b81
RH
144292003-06-02 Richard Henderson <rth@redhat.com>
14430
14431 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14432
f6347e16
RH
144332003-06-02 Richard Henderson <rth@redhat.com>
14434
14435 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14436
2c161407
DJ
144372003-06-01 Daniel Jacobowitz <drow@mvista.com>
14438
14439 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14440 of globalvar.
14441
572eb746
MK
144422003-06-01 Mark Kettenis <kettenis@gnu.org>
14443
14444 * gdb.asm/asm-source.exp: Check for memory read errors in
14445 disassembler test on *BSD too.
14446
9e9617a5
RH
144472003-06-01 Richard Henderson <rth@redhat.com>
14448
14449 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14450 for .frame.
14451 (gdbasm_call): Lose ldgp.
14452 (gdbasm_startup): Add frame information.
14453 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14454
7b34ad4e
MK
144552003-05-31 Mark Kettenis <kettenis@gnu.org>
14456
14457 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14458 i?86-*-*.
14459
10059fdf
MK
144602003-05-30 Mark Kettenis <kettenis@gnu.org>
14461
14462 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14463 FreeBSD.
14464
acf4b816
RH
144652003-05-29 Richard Henderson <rth@redhat.com>
14466
14467 * gdb.asm/alpha.inc: New file.
14468 * gdb.asm/asm-source.exp: Use it.
14469
e9ecd949
JB
144702003-05-29 Jim Blandy <jimb@redhat.com>
14471
14472 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14473 'core.PID'.
14474
e3e5a4f3
JB
144752003-05-22 Jim Blandy <jimb@redhat.com>
14476
14477 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14478 backtrace.
d63a86f8 14479
72fe3d25
DC
144802003-05-20 David Carlton <carlton@math.stanford.edu>
14481
14482 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14483 this time.
14484
58da2eb2
DC
144852003-05-19 David Carlton <carlton@bactrian.org>
14486
14487 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14488 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14489
1fcb5155
DC
144902003-05-19 David Carlton <carlton@bactrian.org>
14491
14492 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14493 namespace tests.
14494 Bump copyright date.
14495 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14496 (main): Call C::D::marker2.
14497 * gdb.c++/namespace1.cc: New file.
14498
85e85163
JJ
144992003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14500
14501 Roland McGrath <roland@redhat.com>
d63a86f8 14502 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14503 there is no manager thread.
14504
a25fbfec
JJ
145052003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14506
d63a86f8
RM
14507 * gdb.threads/schedlock.exp: Remove assumption that all threads
14508 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14509 in one of the child threads rather than the main thread.
14510
be375bae
JB
145112003-05-07 Jim Blandy <jimb@redhat.com>
14512
09bf6082
JB
14513 Add support for assembly source testing on the s390x.
14514 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14515 architecture.
14516 * gdb.asm/s390x.inc: New file.
14517
be375bae
JB
14518 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14519 succession of 'if' statements.
14520
00905d52
AC
145212003-05-05 Andrew Cagney <cagney@redhat.com>
14522
14523 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14524
b1e29e33
AC
145252003-05-05 Andrew Cagney <cagney@redhat.com>
14526
14527 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14528 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14529
e33d66ec
EZ
145302003-05-02 Elena Zannoni <ezannoni@redhat.com>
14531
14532 * gdb.base/charset.exp: Update based on new behavior of set/show
14533 charset commands.
14534
2b6fd0d8
AC
145352003-05-01 Andrew Cagney <cagney@redhat.com>
14536
14537 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14538 variable do not give memory errors.
14539
130cacce
AF
145402003-04-30 Adam Fedor <fedor@gnu.org>
14541
14542 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14543 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14544 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14545 gdb.objc/basicclass.m: : New files
14546
14547 * lib/gdb.exp (gdb_compile_objc): New procedure.
14548
bea71854
DJ
145492003-04-27 Daniel Jacobowitz <drow@mvista.com>
14550
14551 * gdb.base/signals.exp: Make backtrace tests more specific.
14552
0f20eeea
DC
145532003-04-23 David Carlton <carlton@bactrian.org>
14554
14555 * gdb.c++/maint.exp (test_first_component): Add tests for
14556 'operator' in more locations.
14557
c8c4d8dc
KB
145582003-04-16 Kevin Buettner <kevinb@redhat.com>
14559
14560 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14561
3fe60e3c
EZ
145622003-04-16 Elena Zannoni <ezannoni@redhat.com>
14563
14564 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14565 func marke' instead. Update test name.
3fe60e3c 14566
9219021c
DC
145672003-04-15 David Carlton <carlton@math.stanford.edu>
14568
14569 * gdb.c++/maint.exp: New file.
14570
5dd55bdd
EZ
145712003-04-14 Elena Zannoni <ezannoni@redhat.com>
14572
14573 * gdb.threads/schedlock.c: Change type of thread function argument
14574 to long, to avoid warnings on 64-bit platforms.
14575
00890572
EZ
145762003-04-14 Elena Zannoni <ezannoni@redhat.com>
14577
a9c64011
AS
14578 * gdb.base/attach.exp: Add new message from ptrace in case of
14579 attaching to nonexistent process.
d63a86f8 14580
93201743
JB
145812003-04-11 Jim Blandy <jimb@redhat.com>
14582
14583 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14584 gdb.c++/userdef.cc: Place comments on the lines to which the
14585 marker function might return.
14586 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14587 gdb.c++/userdef.exp: Look for those comments to check that we've
14588 returned to the right place, instead of checking line numbers.
14589
2a11c64d
EZ
145902003-04-11 Elena Zannoni <ezannoni@redhat.com>
14591
a9c64011
AS
14592 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14593 match on sourcefile name, instead of directory name.
2a11c64d 14594
68ab8fc5
EZ
145952003-04-10 Elena Zannoni <ezannoni@redhat.com>
14596
d63a86f8 14597 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14598 working directory name.
14599
5624293a
JB
146002003-04-09 Jim Blandy <jimb@redhat.com>
14601
14602 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14603 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14604 after an inferior function call, report the failure, but allow the
14605 test to continue.
14606
f1f02ee4
SC
146072003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14608
14609 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14610 with -DPROTOTYPES.
14611
6eb79af0
SC
146122003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14613
14614 * gdb.base/break.exp: Revert last patch.
14615
8dfb4cf0
SC
146162003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14617
14618 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14619 with -DPROTOTYPES.
14620
ed4c619a
AC
146212003-04-02 Andrew Cagney <cagney@redhat.com>
14622
14623 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14624 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14625 matching directories by the name breakpoint.
14626 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14627 Make "continue to marker1" consistent.
14628 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14629 message consistent.
14630 * lib/gdb.exp: Put "the program is no longer running", and "the
14631 program exited" in parenthesis.
14632 * lib/mi-support.exp: Ditto.
d63a86f8 14633
4e35d5f0 146342003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14635
4e35d5f0
BR
14636 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14637
71900fe8
AC
146382003-03-29 Andrew Cagney <cagney@redhat.com>
14639
14640 * gdb.base/sizeof.c (main): Print the value of '\377'.
14641 * gdb.base/sizeof.exp: Check the sign of '\377'.
14642
c0655a16
MC
146432003-03-27 Michael Chastain <mec@shout.net>
14644
14645 * gdb.base/gdb1090.exp: New file.
14646 * gdb.base/gdb1090.cc: New file.
14647
5b2a3989
JB
146482003-03-27 J. Brobecker <brobecker@gnat.com>
14649
14650 * gdb.gdb/observer.exp: New regression test.
14651
79876890
MC
146522003-03-27 Michael Chastain <mec@shout.net>
14653
14654 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14655 * gdb.base/ptype.exp: Likewise.
14656
6eac95e3
CV
146572003-03-27 Corinna Vinschen <vinschen@redhat.com>
14658
14659 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14660
e8c71839
MC
146612003-03-26 Michael Chastain <mec@shout.net>
14662
14663 * gdb.base/ptype.exp: Actually use some typedef'd types.
14664
71b10041
SC
146652003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14666
14667 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14668 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14669
2512cf80
CV
146702003-03-20 Corinna Vinschen <vinschen@redhat.com>
14671
14672 * gdb.base/default.exp: Fix regular expression.
14673
0d195a4f
CV
146742003-03-20 Corinna Vinschen <vinschen@redhat.com>
14675
14676 * gdb.base/args.exp: Fix regular expression.
14677
8a2dbca8
CV
146782003-03-20 Corinna Vinschen <vinschen@redhat.com>
14679
14680 * gdb.base/help.exp: Allow Win32 child process.
14681
bf028682
CV
146822003-03-20 Corinna Vinschen <vinschen@redhat.com>
14683
14684 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14685 when stepping out of main().
14686
182dbe85
CV
146872003-03-20 Corinna Vinschen <vinschen@redhat.com>
14688
14689 * gdb.base/default.exp: Check for win32 specific message when calling
14690 "run" without executable.
14691
d67a6ba5
CV
146922003-03-20 Corinna Vinschen <vinschen@redhat.com>
14693
14694 * gdb.base/args.exp: Expect .exe in output.
14695
a955b5bb
CV
146962003-03-20 Corinna Vinschen <vinschen@redhat.com>
14697
14698 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14699 Cygwin native.
14700
bf6bad4b
AC
147012003-03-17 Andrew Cagney <cagney@redhat.com>
14702
14703 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14704 vector registes.
14705 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14706 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14707
293e9a31
DC
147082003-03-17 David Carlton <carlton@math.stanford.edu>
14709
14710 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14711 test, for PR breakpoints/38.
14712 Call test_watchpoint_and_breakpoint.
14713 * gdb.base/watchpoint.c (func3): New function.
14714 (main): Call func3.
14715
5330f2db
DC
147162003-03-04 David Carlton <carlton@math.stanford.edu>
14717
14718 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14719 Garply<Garply<char> >:: garply".
14720 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14721 with respect to PR c++/1111; note also PR c++/1113.
14722 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14723 respect to PR c++/1062.
14724 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14725
6ece72da
DC
147262003-03-03 David Carlton <carlton@math.stanford.edu>
14727
14728 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14729 with respect to PR c++/57.
14730 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14731 c++/826.
14732 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14733 respect to PR c++/57.
14734
85ca1584
DC
147352003-03-03 David Carlton <carlton@math.stanford.edu>
14736
14737 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14738 respect to PR c++/33 into FAILs.
14739
98e9c5b8
MC
147402003-03-03 Michael Chastain <mec@shout.net>
14741
7bedbf27
MC
14742 * configure.in: Update copyright years.
14743
147442003-03-03 Michael Chastain <mec@shout.net>
14745
14746 * Makefile.in: Update copyright years.
98e9c5b8 14747
f683e100
DC
147482003-02-28 David Carlton <carlton@math.stanford.edu>
14749
14750 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14751 print class instead of struct and/or superfluous protection
14752 specifiers, as long as the resulting output is equivalent to the
14753 source code.
14754 Delete FIXME from end of messages on tests that don't need
14755 fixing.
14756
a9e0cf2c
DC
147572003-02-28 David Carlton <carlton@math.stanford.edu>
14758
14759 * gdb.c++/templates.exp (do_tests): Allow const in the two
14760 Foo<volatile char *>::foo tests.
14761
e8d359df
MS
147622003-02-27 Michael Snyder <msnyder@redhat.com>
14763
d63a86f8 14764 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14765 will be consistant.
14766
0b71dc91
DC
147672003-02-26 David Carlton <carlton@math.stanford.edu>
14768
14769 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14770 char *>::foo" test with respect to PR c++/33. Create a new test
14771 which is identical to that one except that it doesn't put the
14772 space between the "char" and the "*"; KFAIL it, too.
14773
dd14ab43
DC
147742003-02-26 David Carlton <carlton@math.stanford.edu>
14775
14776 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14777 template types into either PASSes or KFAILs (corresponding to PR
14778 c++/57). Tweak indentation. Update copyright.
14779
1146c7f1
SC
147802003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14781
14782 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14783
74641dfb
MC
147842003-02-13 Michael Chastain <mec@shout.net>
14785
14786 * gdb.base/exprs.exp: Remove i960 remnants.
14787 * gdb.base/funcargs.exp: Likewise.
14788 * gdb.base/list.exp: Likewise.
14789 * gdb.base/ptype.exp: Likewise.
14790
559cd2d0
DC
147912003-02-14 David Carlton <carlton@math.stanford.edu>
14792
14793 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14794 pEe->D::vg()" from XFAIL to KFAIL.
14795
c4f90d87
JM
147962003-02-13 Jason Molenda (jmolenda@apple.com)
14797
14798 * gdb.base/maint.exp: Update maint print statistics regexp to include
14799 new entries.
14800
cbc4d97c
MC
148012003-02-13 Michael Chastain <mec@shout.net>
14802
14803 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14804
40f235b7
MC
148052003-02-12 Michael Chastain <mec@shout.net>
14806
14807 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14808 * gdb.c++/inherit.exp: Likewise.
14809 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14810 * gdb.c++/templates.exp: Likewise.
14811 * gdb.c++/virtfunc.exp: Likewise.
14812
c56716b0
JM
148132003-02-06 Jason Molenda (jason-cl@molenda.com)
14814
14815 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14816 why the code is written that way.
14817
070afcf8
MC
148182003-02-05 Michael Chastain <mec@shout.net>
14819
14820 * gdb.base/dump.exp: Add missing copyright line.
14821
5d0331e5
JM
148222003-02-05 Jason Molenda (jason-cl@molenda.com)
14823
f7ae6d3e 14824 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14825 at the beginning so the breakpoint doesn't get set on the loop.
14826
92851186
MC
148272003-02-05 Michael Chastain <mec@shout.net>
14828
14829 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14830 output for configurations with gcc 2.95.3.
14831
cbf1e085
AC
148322003-02-05 Keith Seitz <keiths@redhat.com>
14833 Andrew Cagney <ac131313@redhat.com>
14834
14835 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14836
29518e1e
MC
148372003-02-04 Michael Chastain <mec@shout.net>
14838
14839 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14840 Call perror and then continue.
14841
5af1d5f3
MC
148422003-02-03 Michael Chastain <mec@shout.net>
14843
14844 * gdb.c++/pr-1023.cc: New file.
14845 * gdb.c++/pr-1023.exp: New file.
14846
6b549786
JB
148472003-02-05 Jim Blandy <jimb@redhat.com>
14848
14849 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14850 it's local to foobar. Check for it there, and check that it's not
14851 present in main.
14852 * gdb.c++/local.cc (marker2): New function.
14853 (foobar): Call marker1.
14854 (main): Call marker2 instead of marker1.
14855
67f16606
AC
148562003-02-04 Andrew Cagney <ac131313@redhat.com>
14857
14858 * gdb.disasm/mn10200.exp: Obsolete file.
14859 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14860 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14861 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14862
1c5cb38e
DC
148632003-02-04 David Carlton <carlton@math.stanford.edu>
14864
14865 * gdb.c++/overload.exp: Test intToChar(1).
14866 * gdb.c++/overload.cc (intToChar): New.
14867 (main): Call intToChar.
14868
d1fe6965
DC
148692003-02-03 David Carlton <carlton@math.stanford.edu>
14870
14871 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14872 'might_kfail' arg.
14873 KFAIL some of the continue_to_bp_overloaded calls, according to
14874 PR c++/1025.
14875
9ba61c5d
MC
148762003-02-01 Michael Chastain <mec@shout.net>
14877
14878 * gdb.base/advance.c (marker1): New marker function.
14879 * gdb.base/advance.exp: When the 'advance' command lands on the
14880 return breakpoint, it can legitimately stop on either the
14881 current line or the next line. Accommodate both outcomes.
14882 * gdb.base/until.exp: Likewise.
14883
e7494ffb
AC
148842003-02-02 Andrew Cagney <ac131313@redhat.com>
14885
14886 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14887 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14888 now a list, not a tuple.
14889 * gdb.mi/mi-var-display.exp: Ditto.
14890 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14891
075559bc
AC
148922003-02-01 Andrew Cagney <ac131313@redhat.com>
14893
14894 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14895 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14896 stack backtraces.
14897 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14898
2bd4c7b1
MK
148992003-02-01 Mark Kettenis <kettenis@gnu.org>
14900
14901 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14902 gdb.mi/mi1-pthreads.exp: Return instead of calling
14903 gdb_suppress_entire_file.
14904
eabd8992
MS
149052003-02-01 Mark Salter <msalter@redhat.com>
14906
14907 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14908
71469e2f
MS
149092003-01-31 Mark Salter <msalter@redhat.com>
14910
14911 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14912 Support empty arg.
14913
38a94d44
MC
149142003-01-30 Michael Chastain <mec@shout.net>
14915
14916 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14917 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14918 has been fixed in gdb/readline on 2003-01-09.
14919
19ea9e73
MS
149202003-01-29 Michael Snyder <msnyder@redhat.com>
14921
e8d359df
MS
14922 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14923 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14924 * gdb.base/args.exp: Skip if target does not support args passing.
14925
2307bd6a
DJ
149262003-01-22 Daniel Jacobowitz <drow@mvista.com>
14927
19ea9e73 14928 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14929 gdb_test. Accept a list of expect arguments as the third
14930 parameter.
14931 (gdb_test): Use it.
14932
f2dd3617
EZ
149332003-01-20 Elena Zannoni <ezannoni@redhat.com>
14934
14935 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14936 allow for different test tree configurations. Update some
14937 tescases accordingly.
14938 * gdb.arch/altivec-regs.exp: Ditto.
14939 * gdb.asm/asm-source.exp: Ditto.
14940 * gdb.base/advance.exp: Ditto.
14941 * gdb.base/display.exp: Ditto.
d63a86f8 14942 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14943 * gdb.base/mips_pro.exp: Ditto.
14944 * gdb.base/overlays.exp: Ditto.
14945 * gdb.base/relocate.exp: Ditto.
14946 * gdb.base/setshow.exp: Ditto.
14947 * gdb.base/step-line.exp: Ditto.
14948 * gdb.base/step-test.exp: Ditto.
14949 * gdb.base/until.exp: Ditto.
14950 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14951
c71cdefd
DC
149522003-01-17 David Carlton <carlton@math.stanford.edu>
14953
14954 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14955 corresponding to PR c++/945.
14956 Update copyright.
14957
fdba05d7
DC
149582003-01-17 David Carlton <carlton@math.stanford.edu>
14959
14960 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14961 corresponding to PR c++/68.
14962
149632003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14964
14965 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14966 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14967 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14968
c362c33a
EZ
149692003-01-15 Elena Zannoni <ezannoni@redhat.com>
14970
0fbc361c
EZ
14971 * gdb.base/break.exp: Fix change of default location, because of
14972 removal of until tests.
14973 * gdb.base/help.exp: Update test for new 'until' help message.
14974 Add test for help on 'advance'.
a9c64011 14975 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14976
dabf8a35
MK
149772003-01-15 Mark Kettenis <kettenis@gnu.org>
14978
14979 * gdb.base/default.exp: Adapt "info float" test for recent changes
14980 to that command. Add test for "info vector".
14981 * gdb.base/float.exp: New file. Add test for "info float" that
14982 resembles the old test in gdb.base/default.exp.
14983
a1769aca
DC
149842003-01-15 David Carlton <carlton@math.stanford.edu>
14985
14986 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14987
82025e13
EZ
149882003-01-15 Elena Zannoni <ezannoni@redhat.com>
14989
14990 * gdb.base/break.exp: Move the tests of until command from here...
14991 * gdb.base/until.exp: ... to here. New file. Add other tests.
14992 * gdb.base/advance.c: New file.
14993 * gdb.base/advance.exp: New file.
14994
8f9ab801
EZ
149952003-01-14 Elena Zannoni <ezannoni@redhat.com>
14996
a9c64011
AS
14997 * gdb.base/args.c: New file.
14998 * gdb.base/args.exp: New file.
8f9ab801 14999
9ae66589
DJ
150002003-01-14 Daniel Jacobowitz <drow@mvista.com>
15001
15002 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15003
8d77e5c3
DJ
150042003-01-14 Daniel Jacobowitz <drow@mvista.com>
15005
15006 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15007
12d2f0a1
DJ
150082003-01-14 Daniel Jacobowitz <drow@mvista.com>
15009
15010 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15011 dates.
15012
6ca37014
DJ
150132003-01-13 Daniel Jacobowitz <drow@mvista.com>
15014
15015 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15016
b0023472
DJ
150172003-01-13 Daniel Jacobowitz <drow@mvista.com>
15018
15019 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15020 (ptype &*"foo").
15021 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15022
607fbc54 150232003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15024
15025 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15026 * gdb.mi/mi1-console.exp: Likewise.
15027
607fbc54 150282003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15029
15030 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15031 * gdb.mi/mi1-console.exp: Likewise.
15032
a1fb14a2
DJ
150332003-01-13 Daniel Jacobowitz <drow@mvista.com>
15034
15035 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15036
c4cf40b7
DJ
150372003-01-09 Daniel Jacobowitz <drow@mvista.com>
15038
15039 * gdb.base/detach.exp: New test.
15040
696d5a5b
DJ
150412003-01-09 Daniel Jacobowitz <drow@mvista.com>
15042
15043 * Makefile.in (ALL_SUBDIRS): New variable.
15044 (subdirs, clean, distclean): Use it.
15045 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15046 regenerating Makefile, since it is generated from the top level.
15047 * gdb.asm/Makefile.in: Likewise.
15048 * gdb.base/Makefile.in: Likewise.
15049 * gdb.c++/Makefile.in: Likewise.
15050 * gdb.disasm/Makefile.in: Likewise.
15051 * gdb.java/Makefile.in: Likewise.
15052 * gdb.mi/Makefile.in: Likewise.
15053 * gdb.threads/Makefile.in: Likewise.
15054 * gdb.trace/Makefile.in: Likewise.
15055
754533e4
DC
150562003-01-09 David Carlton <carlton@math.stanford.edu>
15057
15058 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15059 Add copyright year 2003.
15060
d8b3e9ee
MC
150612003-01-06 Michael Chastain <mec@shout.net>
15062
15063 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15064 When selecting a thread, 'line' and 'file' are optional.
15065 * gdb.mi/mi1-pthreads.exp: Likewise.
15066
8e9e0fe6
AS
150672003-01-06 Andreas Schwab <schwab@suse.de>
15068
15069 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15070 failures.
15071
b5ab8ff3
DJ
150722003-01-04 Daniel Jacobowitz <drow@mvista.com>
15073
15074 Fix PR gdb/844
15075 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15076 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15077
15078 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15079 instead of calling gdb_suppress_entire_file.
15080 * gdb.threads/print-threads.exp: Likewise.
15081 * gdb.threads/schedlock.exp: Likewise.
15082
15083 * gdb.threads/killed.exp: Return instead of calling
15084 gdb_suppress_entire_file.
15085 * gdb.threads/linux-dp.exp: Likewise.
15086 * gdb.threads/pthreads.exp: Likewise.
15087
1e698235
DJ
150882003-01-04 Daniel Jacobowitz <drow@mvista.com>
15089
15090 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15091 stabs.
15092 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15093 * gdb.base/whatis.exp: Always allow (void) after function names.
15094
147ff08c
DJ
150952003-01-04 Daniel Jacobowitz <drow@mvista.com>
15096
15097 * gdb.c++/casts.exp: Correct regexp.
15098
dc62bfc2
MK
150992003-01-04 Mark Kettenis <kettenis@gnu.org>
15100
15101 * configure.in: Call AC_CONFIG_HEADER. Don't call
15102 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15103 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15104 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15105 aforementioned directories in the AC_OUPUT call.
15106 * config.hin: New file.
15107 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15108 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15109 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15110 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15111 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15112 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15113 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15114 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15115 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15116 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15117 gdb.threads/configure.in, gdb.threads/configure,
15118 gdb.threads/config.in, gdb.trace/configure.in,
15119 gdb.trace/configure: Removed.
15120
77afa639
MC
151212003-01-03 Michael Chastain <mec@shout.net>
15122
15123 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15124 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15125
7634bb6e
DJ
151262003-01-03 Daniel Jacobowitz <drow@mvista.com>
15127
15128 * gdb.base/store.exp: Fix regular expressions.
15129
b39c905e
MK
151302002-12-28 Mark Kettenis <kettenis@gnu.org>
15131
15132 * configure.in: Rewrite.
15133 * configure: Regenerated.
15134
0a8551dd
DC
151352003-01-03 David Carlton <carlton@math.stanford.edu>
15136
15137 * gdb.base/psymtab.exp: New file.
15138 * gdb.base/psymtab1.c: Ditto.
15139 * gdb.base/psymtab2.c: Ditto.
15140
c60b7188
AF
151412002-12-23 Adam Fedor <fedor@gnu.org>
15142
15143 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15144
ee73db83
DC
151452002-12-23 David Carlton <carlton@math.stanford.edu>
15146
15147 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15148 and current_directory initialization.
15149
d6c1774e
JB
151502002-12-22 Jim Blandy <jimb@redhat.com>
15151
f0a847b8
JB
15152 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15153 rather than as part of the output file name.
15154
d6c1774e
JB
15155 * gdb.base/attach.exp: There's no need to copy the test program to
15156 /tmp; that was only ever necessary on HP/UX, and this test is
15157 entirely disabled there anyway.
15158
f0708dbb
JB
151592002-12-21 Jim Blandy <jimb@redhat.com>
15160
4c2acfea
JB
15161 * gdb.c++/psmang.exp: Doc fix.
15162
f0708dbb
JB
15163 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15164 test.
15165
9579e000
DC
151662002-12-20 David Carlton <carlton@math.stanford.edu>
15167
15168 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15169
d1810171
MC
151702002-12-18 Michael Chastain <mec@shout.net>
15171
15172 * gdb.c++/annota2.exp: Add copyright year 2002.
15173
76565097
DC
151742002-12-17 David Carlton <carlton@math.stanford.edu>
15175
15176 * gdb.c++/try_catch.cc: Add marker comments.
15177 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15178 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15179 * gdb.c++/m-static.cc: Ditto.
15180 * gdb.c++/m-static1.cc: Ditto.
15181 * gdb.c++/try_catch.cc: Ditto.
15182
da81390b
JJ
151832002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15184
15185 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15186 to see whether we are using the new -environment-directory
15187 command which resets via -r or the old version of the command
15188 which may prompt the user. Part of fix for gdb/741.
15189
b304d130
AC
151902002-12-13 Andrew Cagney <ac131313@redhat.com>
15191
15192 * gdb.fortran/types.exp: Update obsolete comment.
15193 * gdb.fortran/exprs.exp: Ditto.
15194 * lib/gdb.exp: Delete obsolete code.
15195 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15196 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15197 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15198 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15199 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15200 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15201 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15202 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15203 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15204 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15205 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15206 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15207 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15208 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15209 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15210 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15211 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15212 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15213 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15214 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15215 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15216 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15217 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15218 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15219 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15220 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15221 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15222 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15223 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15224 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15225 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15226 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15227 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15228 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15229 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15230 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15231 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15232
a23b6e6a
DC
152332002-12-11 David Carlton <carlton@math.stanford.edu>
15234
15235 * gdb.c++/m-data.exp: Add test for members that shadow global
15236 variables: see PR gdb/804.
15237 * gdb.c++/m-data.cc: Ditto.
15238
6604731b
DJ
152392002-12-10 Daniel Jacobowitz <drow@mvista.com>
15240
15241 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15242
de46ecd7
DC
152432002-12-06 David Carlton <carlton@math.stanford.edu>
15244
15245 * gdb.base/store.c: Don't declare functions static.
15246
27e829d0
AC
152472002-12-04 Andrew Cagney <ac131313@redhat.com>
15248
15249 * gdb.base/store.exp, gdb.base/store.c: New files.
15250
92806416
DJ
152512002-12-03 Daniel Jacobowitz <drow@mvista.com>
15252
15253 * gdb.base/selftest.exp: Update for current gdb.
15254
3bcbaac5
DJ
152552002-12-03 Daniel Jacobowitz <drow@mvista.com>
15256
15257 * gdb.base/maint.exp: Only dump symbols from one source file
15258 or objfile.
15259
f4f00b1f
DJ
152602002-12-03 Daniel Jacobowitz <drow@mvista.com>
15261
15262 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15263 function call.
15264
f1c8a949
JB
152652002-11-25 Jim Blandy <jimb@redhat.com>
15266
15267 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15268 function appearing in error message.
15269
9e297a97
DJ
152702002-11-21 Daniel Jacobowitz <drow@mvista.com>
15271
15272 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15273
1f312e79
JJ
152742002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15275
d63a86f8
RM
15276 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15277 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15278 should be in mi console format. This is part of fix for PR gdb/604.
15279
83c31e7d
FN
152802002-09-18 Fernando Nasser <fnasser@redhat.com>
15281
15282 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15283 which explicitly prints the zero offset as "+0".
15284
322b3f65
DJ
152852002-10-22 Daniel Jacobowitz <drow@mvista.com>
15286
15287 * gdb.threads/schedlock.c (args): Make unsigned.
15288
152892002-10-21 Daniel Jacobowitz <drow@mvista.com>
15290
15291 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15292 numbers. Allow "foo2|selected stack frame".
15293 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15294 * gdb.asm/asmsrc2.s: Likewise.
15295 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15296 comments.
15297 * gdb.asm/mips.inc: New file.
15298
5e2fe5b8
AF
152992002-10-18 Adam Fedor <fedor@gnu.org>
15300
15301 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15302 * gdb.base/help.exp: Likewise.
15303
abe1a5d0
KB
153042002-10-17 Kevin Buettner <kevinb@redhat.com>
15305
15306 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15307 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15308
10abb1d4
JB
153092002-10-02 Jim Blandy <jimb@redhat.com>
15310
15311 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15312
1f609b42
AC
153132002-10-01 Andrew Cagney <ac131313@redhat.com>
15314
15315 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15316 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15317 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15318 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15319 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15320 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15321 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15322
0aee02e4
AC
153232002-09-29 Andrew Cagney <ac131313@redhat.com>
15324
15325 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15326 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15327 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15328 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15329 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15330 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15331 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15332
6fde09ad
KB
153332002-09-27 Kevin Buettner <kevinb@redhat.com>
15334
15335 * gdb.base/annota1.exp (info break): Make directory components of
15336 path optional since not all compilers emit this debug information.
15337
889bf7c5
PA
15338 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15339 step ends up stepping out of the function instead of stopping on
15340 the epilogue.
6fde09ad 15341
9e8aab75
KS
153422002-09-26 Keith Seitz <keiths@redhat.com>
15343
15344 * lib/insight-support.exp (gdbtk_start): Figure out where
15345 the insight executable is based on where gdb is. Use this
15346 executable to start insight instead of gdb.
15347
e36180d7
AC
153482002-09-25 Andrew Cagney <cagney@redhat.com>
15349
15350 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15351
9dd34b2b
AC
153522002-09-24 Andrew Cagney <ac131313@redhat.com>
15353
15354 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15355 test_isolated_complaints.
15356 (test_empty_complaint): New function.
15357 (test_empty_complaints): New function. Check no output when no
15358 complaints.
d63a86f8 15359
dea97812
KB
153602002-09-19 Jim Blandy <jimb@redhat.com>
15361
a9c64011 15362 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15363
54951bd7
AC
153642002-09-19 Andrew Cagney <ac131313@redhat.com>
15365
15366 * gdb.gdb/complaints.exp: New file.
15367
dec43320
AC
153682002-09-18 Andrew Cagney <ac131313@redhat.com>
15369
15370 * gdb.base/maint.exp: Check `help maint internal-warning'.
15371
e70d6e3f
DC
153722002-09-18 David Carlton <carlton@math.stanford.edu>
15373
15374 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15375 numbers, and replace them by a single breakpoint after the
15376 constructors are all finished.
15377 Add test 4.
15378 * gdb.c++/m-static.cc: Add test 4.
15379 * gdb.c++/m-static.h: New file.
15380 * gdb.c++/m-static1.cc: New file.
15381
15382 * gdb.c++/printmethod.exp: New file.
15383 * gdb.c++/printmethod.cc: New file.
15384
15385 * gdb.c++/pr-574.exp: New file.
15386 * gdb.c++/pr-574.cc: New file.
15387
afb5c968
CV
153882002-09-18 Corinna Vinschen <vinschen@redhat.com>
15389
15390 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15391 embedded targets which never actually exit.
15392
31e45dee
FN
153932002-09-18 Fernando Nasser <fnasser@redhat.com>
15394
15395 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15396 "don't step after run" as unresolved or unsupported, instead of xfail.
15397
a283c5a1
CV
153982002-09-18 Corinna Vinschen <vinschen@redhat.com>
15399
15400 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15401 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15402 Add newline to expected string in "step out of main (status wrapper)"
15403 case.
15404
11350d2a
CV
154052002-09-18 Corinna Vinschen <vinschen@redhat.com>
15406
15407 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15408 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15409
0deec7d6
TT
154102002-09-17 Tom Tromey <tromey@redhat.com>
15411
15412 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15413 \000, not \0, in double-quoted string.
15414
b2b4a1b5
CV
154152002-09-14 Corinna Vinschen <vinschen@redhat.com>
15416
c9d37158 15417 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15418 string after running the commands execution on breakpoint tests.
15419
1c56143a
CV
154202002-09-13 Corinna Vinschen <vinschen@redhat.com>
15421
15422 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15423
37f8da45
JB
154242002-09-12 Joel Brobecker <brobecker@gnat.com>
15425
15426 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15427
08b468e0
KS
154282002-09-10 Keith Seitz <keiths@redhat.com>
15429
15430 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15431 runto proc.
15432 (mi_run_to_main): Use mi_runto.
15433 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15434
dc360f58
KS
154352002-09-10 Keith Seitz <keiths@redhat.com>
15436
15437 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15438 regexp for stopping at main. Could have multiple event notifications.
15439 Don't assume that main was declared with no parameters.
15440 (mi_next): Use mi_step_to.
15441 (mi_step): Use mi_next_to.
15442
ce3abcfb
CV
154432002-09-09 Corinna Vinschen <vinschen@redhat.com>
15444
15445 * gdb.base/default.exp: Fix expected string in `info float' test.
15446
d1f5b980
BE
154472002-09-09 Ben Elliston <bje@redhat.com>
15448
15449 * config/mips.exp: Update comments.
15450 * config/mips-idt.exp: Likewise.
15451 * config/nind.exp: Likewise.
15452 * config/slite.exp: Likewise.
15453 * config/sparclet.exp: Likewise.
15454 * config/udi.exp: Likewise.
15455 * config/vx.exp: Likewise.
15456 * config/vxworks29k.exp: Likewise.
15457
2f71430b
JB
154582002-09-05 Jim Blandy <jimb@redhat.com>
15459
15460 * gdb.threads/killed.exp: Fix test failure message.
15461
7ddebc7e
KS
154622002-09-04 Keith Seitz <keiths@redhat.com>
15463
15464 * lib/mi-support.exp: Update copyright.
15465 (mi_gdb_test): Increase the priority of the expected pattern
15466 so that it matches gdb_test.
15467
0ae67eb3
KS
154682002-09-03 Keith Seitz <keiths@redhat.com>
15469
15470 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15471 Use integer comparison instead of string comparison for testing
15472 whether binary was built.
15473
38fc42c8
JB
154742002-09-03 Jim Blandy <jimb@redhat.com>
15475
15476 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15477
b6ff0e81
JB
154782002-08-29 Jim Blandy <jimb@redhat.com>
15479
15480 * gdb.threads/pthreads.exp: Move the portable thread compilation
15481 code into a function in lib/gdb.exp, and call that from here.
15482 * lib/gdb.exp (gdb_compile_pthreads): New function.
15483
07c98896
KS
154842002-08-29 Keith Seitz <keiths@redhat.com>
15485
15486 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15487 expect_out so that callers can get at it.
15488
0312286c
DJ
154892002-08-23 Daniel Jacobowitz <drow@mvista.com>
15490
15491 * gdb.threads/print-threads.c: New file.
15492 * gdb.threads/print-threads.exp: New file.
15493 * gdb.threads/schedlock.c: New file.
15494 * gdb.threads/schedlock.exp: New file.
15495
dd039bc4
EZ
154962002-08-22 Elena Zannoni <ezannoni@redhat.com>
15497
a9c64011
AS
15498 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15499 not altivec.c.
dd039bc4 15500
1f36144c
MK
155012002-08-17 Mark Kettenis <kettenis@gnu.org>
15502
15503 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15504 targets. The problem should be fixed now.
15505
16057ec7 155062002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15507
15508 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15509 2002-07-24 change that removes final dots from error messages.
15510
3c1499ad
TT
155112002-08-13 Tom Tromey <tromey@redhat.com>
15512
15513 * gdb.base/readline.exp: New file.
15514
a20ce2c3
AC
155152002-08-01 Andrew Cagney <ac131313@redhat.com>
15516
15517 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15518 supress message.
15519
db034ac5
AC
155202002-08-01 Andrew Cagney <cagney@redhat.com>
15521
15522 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15523 CHILL_FOR_TARGET and CHILL_LIB.
15524 * configure.in (configdirs): Remove gdb.chill.
15525 * configure: Regenerate.
15526 * lib/gdb.exp: Obsolete references to chill.
15527 * gdb.fortran/types.exp: Ditto.
15528 * gdb.fortran/exprs.exp: Ditto.
15529
3e000b18
KB
155302002-07-30 Kevin Buettner <kevinb@redhat.com>
15531
15532 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15533 set Irix-specific compile and link flags.
15534
28f4966b
KB
155352002-07-29 Kevin Buettner <kevinb@redhat.com>
15536
15537 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15538 source files. The ``-o'' option doesn't work with the ``-E'' option
15539 when using the Irix compiler.
15540
46c0d5a6
DJ
155412002-07-19 Daniel Jacobowitz <drow@mvista.com>
15542
15543 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15544 Improve support for reusing an exec file. Copy exec file
15545 to target, and run gdbserver on the target instead of on the host.
15546
eecf4bed
JB
155472002-07-18 Jim Blandy <jimb@redhat.com>
15548
0f815cdf
JB
15549 * gdb.base/ending-run.exp: Don't expect to see the program end in
15550 some orderly fashion when we're running on a real stand-alone
15551 board.
15552
eecf4bed
JB
15553 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15554 targets that don't support interrupts.
15555
52d309e4
JB
155562002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15557
15558 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15559 systems.
15560 Move comments in expect statements to inside the actions, so that they
15561 don't get matched against.
15562
ff683d9e
MK
155632002-07-10 Mark Kettenis <kettenis@gnu.org>
15564
15565 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15566 function when asleep" test.
15567
b5356753
AC
155682002-07-10 Andrew Cagney <ac131313@redhat.com>
15569
15570 * gdb.base/page.exp: Rewrite to handle problems with very long
15571 `info set' output. Update copyright.
15572
6aa4d13a
AC
155732002-06-26 Andrew Cagney <ac131313@redhat.com>
15574
15575 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15576 gdb.threads-hp.
15577 * gdb.hp/configure: Regenerate.
15578 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15579 * gdb.hp/gdb.threads-hp/configure: Delete file.
15580 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15581
8cf8c2b8
AC
155822002-06-22 Andrew Cagney <ac131313@redhat.com>
15583
15584 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15585 setlocale, bindtextdomain and textdomain.
15586
6827a8f8
JB
155872002-06-11 Jim Blandy <jimb@redhat.com>
15588
919d772c
JB
15589 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15590 preprocessor macro information is present.
15591
6827a8f8
JB
15592 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15593 tests.
15594
c15b0d21
MS
155952002-06-06 Michael Snyder <msnyder@redhat.com>
15596
c5984d70
MS
15597 * gdb.base/overlays.exp: Record addresses of overlay
15598 functions in TCL variables rather than in GDB variables,
15599 to avoid having GDB convert them to pointers (with loss
15600 of information).
15601
d63a86f8 15602 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15603 default linker script changes.
c15b0d21
MS
15604 * gdb.base/long_long.exp: Add check for sizeof (long double).
15605
be26fe0d
ML
156062002-06-06 Michal Ludvig <mludvig@suse.cz>
15607
15608 * gdb.asm/asm-source.exp: Add x86-64 target.
15609 * gdb.asm/x86_64.inc: New.
d63a86f8 15610
258093ca 156112002-05-30 Michael Chastain <mec@shout.net>
258093ca 15612
4b3153f1 15613 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15614 * gdb.c++/m-static.cc: New file.
15615 * gdb.c++/m-static.exp: New file.
15616
241264c6
MS
156172002-05-28 Michael Snyder <msnyder@redhat.com>
15618
15619 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15620 precision.
15621
9bba8c8f 156222002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15623
4b3153f1 15624 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15625 * gdb.c++/m-data.cc: New file.
15626 * gdb.c++/m-data.exp: New file.
15627
156282002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15629
4b3153f1 15630 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15631 * gdb.c++/try_catch.cc: New file.
d63a86f8 15632 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15633
def1b996
MC
156342002-05-27 Michael Chastain <mec@shout.net>
15635
15636 * gdb.c++/local.exp: Accept more nested types in output.
15637
522ba268
MC
156382002-05-26 Michael Chastain <mec@shout.net>
15639
15640 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15641
277254ba
MS
156422002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15643
15644 * lib/gdb.exp (gdb_wrapper_init): Just because
15645 gdb_wrapper_file exists, this does not mean that the file
15646 should not be rebuilt. That is what gdb_wrapper_initialized
15647 is for.
15648 (default_gdb_init): Reset gdb_wrapper_initialized.
15649
b61a8733
MS
156502002-05-23 Michael Snyder <msnyder@redhat.com>
15651
d63a86f8 15652 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15653 the precision of the floating point test results.
15654 * gdb.base/call-rt-st.exp: Ditto.
15655
b61a8733
MS
15656 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15657 * gdb.base/call-rt-st.exp: Ditto.
15658
56f6e910
MC
156592002-05-19 Michael Chastain <mec@shout.net>
15660
15661 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15662
ad0b0016
EZ
156632002-05-19 Elena Zannoni <ezannoni@redhat.com>
15664
a9c64011
AS
15665 * configure.in (configdirs): Add gdb.arch.
15666 * configure: Regenerate.
ad0b0016 15667
f617d2b6
JB
156682002-05-17 Jim Blandy <jimb@redhat.com>
15669
15670 * gdb.base/completion.exp: Recognize the more detailed error
15671 messages produced by the macro expander's lexical analyzer.
15672
eac2a696
EZ
156732002-05-14 Elena Zannoni <ezannoni@redhat.com>
15674
a9c64011
AS
15675 * gdb.arch/altivec-abi.c: New file.
15676 * gdb.arch/altivec-abi.exp: New file.
15677 * gdb.arch/altivec-regs.c: New file.
15678 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15679
2fdde8f8
DJ
156802002-05-14 Daniel Jacobowitz <drow@mvista.com>
15681
15682 * gdb.base/maint.exp (maint print type): Update for new type
15683 structure.
d63a86f8 15684
e31f1a7c
EZ
156852002-05-14 Elena Zannoni <ezannoni@redhat.com>
15686
15687 * gdb.arch: New directory.
15688 * gdb.arch/configure.in: New file.
15689 * gdb.arch/configure: New file.
15690 * gdb.arch/Makefile.in: New file.
15691
db589741
CV
156922002-05-13 Corinna Vinschen <vinschen@redhat.com>
15693
15694 * gdb.asm/asm-source.exp: Add v850 as supported target.
15695 * gdb.asm/v850.inc: New file.
15696
8ce2a7dc
DJ
156972002-05-13 Daniel Jacobowitz <drow@mvista.com>
15698
15699 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15700
df763c7f
DJ
157012002-05-12 Daniel Jacobowitz <drow@mvista.com>
15702
15703 * gdb.base/break.exp: Check 'break "marker2"'.
15704
377daeed
MS
157052002-05-10 Michael Snyder <msnyder@redhat.com>
15706
15707 * gdb.base/long_long.exp: Fix typo.
15708
c4b7bc2b
JB
157092002-05-10 Jim Blandy <jimb@redhat.com>
15710
ecac9a4e
JB
15711 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15712 a bug.
15713
c4b7bc2b
JB
15714 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15715 Recognize more detailed error message produced by the macro
15716 expander's lexical analyzer.
15717 * lib/gdb.exp (test_print_reject): Same.
15718
e71019a1
MK
157192002-05-09 Mark Kettenis <kettenis@gnu.org>
15720
15721 * gdb.c++/method.exp: Fix typo.
15722
fedfc8e6
MS
157232002-05-08 Michael Snyder <msnyder@redhat.com>
15724
166a1957
MS
15725 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15726 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15727 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15728 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15729 Add iftarget clause for strongarm.
d63a86f8 15730
f1c47eb2
MS
157312002-05-06 Michael Snyder <msnyder@redhat.com>
15732
cb9a9d3e
MS
15733 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15734 (gdb_continue_to_end): Accept output from status wrapper.
15735 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15736 Clean up fail messages to match pass messages.
15737
f1c47eb2
MS
15738 Enable the "needs_status_wrapper" testsuite feature.
15739 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15740 (gdb_compile): Conditionally call gdb_wrapper_init.
15741 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15742 * gdb.c++/method.exp: Recognize output from status wrapper.
15743
6079c749
BE
157442002-05-06 Ben Elliston <bje@redhat.com>
15745From Graydon Hoare <graydon@redhat.com>
15746
15747 * config/sid.exp: Include support for "rawsid" protocol.
15748
188baff3
JB
157492002-05-03 Jim Blandy <jimb@redhat.com>
15750
15751 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15752 * gdb.c++/hang3.C: New file.
15753
b9c07f0f
AC
157542002-05-04 Andrew Cagney <ac131313@redhat.com>
15755
15756 * gdb.base/default.exp: Remove obsolete code.
15757 * gdb.c++/misc.exp: Ditto. Update copyright.
15758 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15759 * gdb.base/whatis.exp: Ditto. Update copyright.
15760 * gdb.base/scope.exp: Ditto. Update copyright.
15761 * gdb.base/ptype.exp: Ditto. Update copyright.
15762 * gdb.base/printcmds.exp: Ditto. Update copyright.
15763 * gdb.base/opaque.exp: Ditto. Update copyright.
15764 * gdb.base/list.exp: Ditto.
15765 * gdb.base/funcargs.exp: Ditto. Update copyright.
15766 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15767 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15768 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15769 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15770 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15771 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15772
5c7a0397
MS
157732002-05-02 Michael Snyder <msnyder@redhat.com>
15774
d6dcc264 15775 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15776 * gdb.base/long_long.exp: Add xscale target.
15777 * gdb.base/default.exp: Add xscale target.
15778
eb7f1c48
JB
157792002-05-01 Jim Blandy <jimb@redhat.com>
15780
15781 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15782 gdb.c++/hang.exp: New test.
15783
a6befae8
FF
157842002-05-01 Fred Fish <fnf@redhat.com>
15785
15786 * gdb.base/completion.exp: Handle completions of "./Make" for
15787 more than one completion possibility, as is the case when we
15788 build and test in the source tree.
15789
0a310277
AG
157902002-04-29 Anthony Green <green@redhat.com>
15791
15792 * gdb.java/jmisc1.exp: New file.
15793 * gdb.java/jmisc2.exp: New file.
15794
6ff9af88
DJ
157952002-04-24 Daniel Jacobowitz <drow@mvista.com>
15796
15797 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15798
96b3d632
EZ
157992002-04-23 Elena Zannoni <ezannoni@redhat.com>
15800
15801 * gdb.base/help.exp: Change 'help status' to allow for target
15802 dependent output differences.
15803
5019bb54
MC
158042002-04-22 Michael Chastain <mec@shout.net>
15805
15806 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15807
a805a116
MC
158082002-04-22 Michael Chastain <mec@shout.net>
15809
15810 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15811
a1706bfd
DM
158122002-04-17 David S. Miller <davem@redhat.com>
15813
15814 * gdb.asm/sparc64.inc: New file.
15815 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15816
a73a20a2
EZ
158172002-04-19 Elena Zannoni <ezannoni@redhat.com>
15818
15819 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15820 instruction file directly into the build tree. Clean up at end of
15821 test.
15822
ba678339
DM
158232002-04-18 David S. Miller <davem@redhat.com>
15824
15825 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15826 handle 64-bit platforms correctly.
15827 * gdb.base/maint.exp: Likewise.
15828
b03399da
KB
158292002-04-18 Kevin Buettner <kevinb@redhat.com>
15830
15831 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15832 ``-fpic'' when compiling files comprising a shared library, but
15833 it does need additional linker flags in order to find shared
15834 libraries at run time.
15835
e2004992
KB
158362002-04-18 Kevin Buettner <kevinb@redhat.com>
15837
15838 * gdb.base/cvexpr.c (use): New function.
15839 (main): Invoke use() on all global variables to prevent
15840 some linkers from deleting these otherwise unused symbols.
15841
d8937120
MC
158422002-04-17 Michael Chastain <mec@shout.net>
15843From David S. Miller <davem@redhat.com>
15844
15845 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15846 handle 64-bit platforms correctly.
15847
ffd61a58
MS
158482002-04-12 Michael Snyder <msnyder@redhat.com>
15849From Jim Blandy <jimb@redhat.com>
a9c64011 15850 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15851 script can handle this instead.
15852 * gdb.base/bar.c (barx): Same.
15853 * gdb.base/baz.c (bazx): Same.
15854 * gdb.base/grbx.c (grbxx): Same.
15855
15856 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15857 manager doesn't automatically unmap overlays unnecessarily.
15858
6b8426a6
MH
158592002-04-10 Martin M. Hunt <hunt@redhat.com>
15860
15861 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15862 stepping out of main.
15863
34af4875
MC
158642002-04-09 Michael Chastain <mec@shout.net>
15865
15866 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15867 scope so that the nested scope tests will make sense.
15868 * gdb.c++/local.exp: Write patterns that actually work with gcc
15869 (the HP patterns "were never known to work with gcc").
15870 Keep the old aCC patterns too.
15871
2d1676a0
DJ
158722002-04-09 Daniel Jacobowitz <drow@mvista.com>
15873
15874 * gdb.base/attach.exp: Correct target board test.
15875
3a63e3f9
MC
158762002-04-08 Michael Chastain <mec@shout.net>
15877
15878 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15879 in a const method. Add some xfail and fail cases for configurations
15880 that do not emit the "const ...".
15881
f18dabd2
MC
158822002-04-07 Michael Chastain <mec@shout.net>
15883
15884 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15885 Accept "A * const" and "const A * const" as type of "this".
15886 Fix spelling of getFunky throughout. Make messages uniform.
15887
0fcddd82
EZ
158882002-04-07 Elena Zannoni <ezannoni@redhat.com>
15889
a9c64011 15890 Work around for PR gdb/285:
0fcddd82
EZ
15891 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15892
16a8534a
EZ
158932002-04-07 Elena Zannoni <ezannoni@redhat.com>
15894
15895 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15896 instructions file at run time instead of configure time.
15897 Sometimes we run the test in a directory that is not the one we
15898 configured in.
15899 * gdb.asm/configure.in: Delete creation of symlink.
15900 * gdb.asm/configure: Regenerate.
15901
24181d81
JB
159022002-04-05 J. Brobecker <brobecker@gnat.com>
15903
15904 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15905 xfullpath () function.
15906
7cdb7107
DJ
159072002-04-04 Daniel Jacobowitz <drow@mvista.com>
15908
15909 * gdb.asm/Makefile.in: Correct dependencies.
15910
15911 * gdb.asm/powerpc.inc: New file.
15912 * gdb.asm/asm-source.exp: Add PowerPC.
15913 * gdb.asm/configure.in: Likewise.
15914 * gdb.asm/configure: Regenerated.
15915
a7d17088
DJ
159162002-04-04 Daniel Jacobowitz <drow@mvista.com>
15917
15918 * gdb.base/relocate.exp: New file.
15919 * gdb.base/relocate.c: New file.
15920
cd721503
FF
159212002-04-04 Fred Fish <fnf@redhat.com>
15922
15923 * gdb.base/step-test.exp: Update comment regarding stopping in
15924 memcpy/bcopy calls inserted as part of the compiler runtime.
15925
b22ad7a7
MS
159262002-04-04 Michael Snyder <msnyder@redhat.com>
15927
15928 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15929
5f279fa6
DJ
159302002-04-03 Daniel Jacobowitz <drow@mvista.com>
15931
15932 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15933 (gdb_expect): Remove $notransfer hack.
15934
dd0fd3ce
DJ
159352002-04-02 Daniel Jacobowitz <drow@mvista.com>
15936
15937 * gdb.c++/classes.exp ("calling method for small class"): Match
15938 updated register output.
15939
1e50cda1
DJ
159402002-03-30 Daniel Jacobowitz <drow@mvista.com>
15941
15942 Fix PR gdb/452
15943 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15944 when finished. Make gdb_file_cmd send "exec-file" when
15945 appropriate.
15946
24015922
DJ
159472002-03-30 Daniel Jacobowitz <drow@mvista.com>
15948
15949 * gdb.base/attach.exp: Remove extra setup_xfail.
15950
dd7dfd64
MS
159512002-03-26 Michael Snyder <msnyder@redhat.com>
15952
15953 * gdb.base/default.exp: Add tests for dump, append, and restore.
15954 * gdb.base/help.exp: Add tests for dump, append, and restore.
15955 * gdb.base/dump.exp: New file, test dump, append and restore.
15956 * gdb.base/dump.c: New file.
15957
48b2f8d7
MS
159582002-03-27 Michael Snyder <msnyder@redhat.com>
15959
d63a86f8 15960 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15961 clean-ups in help messages.
15962
05b4d525
FF
159632002-03-26 Fred Fish <fnf@redhat.com>
15964
15965 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15966 have debugging info for those functions and the compiler uses them
15967 internally to copy structs around.
15968
d7679631
FF
159692002-03-26 Fred Fish <fnf@redhat.com>
15970
15971 * gdb.base/list.exp: Revert the change made yesterday and add note
15972 about why we don't list the default lines for remote targets.
15973
523ac3f9
MS
159742002-03-25 Michael Snyder <msnyder@redhat.com>
15975
15976 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15977
754b2b8d
FF
159782002-03-25 Fred Fish <fnf@redhat.com>
15979
15980 * gdb.base/list.exp: This test works on remote targets so remove
15981 the short circuit for remote targets. Update copyright.
15982
33c3e192
FF
159832002-03-25 Fred Fish <fnf@redhat.com>
15984
15985 * gdb.base/attach.exp: Fix logic error that was suppressing this
15986 test for all non hppa*-*-hpux* targets, instead of the hp target.
15987 Move comments closer to the suppression point. Also now need to
15988 check that we are running natively.
15989
d43e73ee
MS
159902002-03-22 Michael Snyder <msnyder@redhat.com>
15991
882c8f02
MS
15992 * gdb.base/default.exp: Add test for gcore. Update copyright.
15993 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 15994
04c12f60
FF
159952002-03-06 Fred Fish <fnf@redhat.com>
15996
15997 * gdb.base/funcargs.c: Remove extraneous ';' character.
15998 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15999
b43df995
MC
160002002-03-04 Michael Chastain <mec@shout.net>
16001
16002 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16003 accommodate gcc v3 function signature.
16004 * gdb.mi/mi0-var-cmd-exp: Ditto.
16005
92362027
AC
160062002-02-24 Andrew Cagney <ac131313@redhat.com>
16007
16008 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16009 ``GNU/Linux'' or ``Linux kernel''
16010 * testsuite/gdb.threads/pthreads.c: Ditto.
16011
258ad32d
MC
160122002-02-24 Michael Chastain <mec@shout.net>
16013
16014 * gdb.threads/pthreads.c (thread1): Add a return statement.
16015 (thread2): Likewise.
16016 (foo): Likewise.
16017
04c3b3d4
MC
160182002-02-23 Michael Chastain <mec@shout.net>
16019
16020 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16021 to placate gcc.
16022
5a2a0a20
MC
160232002-02-23 Michael Chastain <mec@shout.net>
16024
16025 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16026 test "ptype bint". The test passes on all my stabs configurations.
16027
a640f7fc
JB
160282002-02-21 Jim Blandy <jimb@redhat.com>
16029
27924826
JB
16030 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16031 filename at a time, and watch for the ones we want to see.
16032
a640f7fc
JB
16033 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16034 types of pointers to prototyped functions.
16035
edcc8c75
AC
160362002-02-20 Andrew Cagney <ac131313@redhat.com>
16037
16038 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16039 signed, unsigned and straight char.
16040 (padding_char, padding_short, padding_int, padding_long,
16041 padding_long_long, padding_float, padding_double,
16042 padding_long_double): New global variables.
16043 (fill, fill_structs): New functions.
16044
16045 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16046 for correctly sized writes. Update copyright.
16047 (get_valueof): New procedure.
16048 (get_sizeof): Call get_valueof.
16049 (check_valueof): New procedure.
16050 (check_padding): New procedure.
16051
ac57ea44
MC
160522002-02-20 Michael Chastain <mec@shout.net>
16053
16054 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16055 to setup_xfail. Document some of the remaining calls.
16056
7a10c941
MC
160572002-02-18 Michael Chastain <mec@shout.net>
16058
16059 * gdb.c++/userdef.exp: Update copyright year.
16060
fb8acdcc
DJ
160612002-02-18 Daniel Jacobowitz <drow@mvista.com>
16062
16063 * gdb.c++/userdef.exp: Test overloaded operators properly.
16064 Remove xfails.
16065
fda6ae12
MS
160662002-02-14 Michael Snyder <msnyder@redhat.com>
16067
16068 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16069
676a0442
DJ
160702002-02-14 Daniel Jacobowitz <drow@mvista.com>
16071
16072 * gdb.base/a2-run.exp: Check for a remote target properly.
16073 * gdb.base/annota1.exp: Likewise.
16074 * gdb.base/list.exp: Likewise.
16075 * gdb.base/reread.exp: Likewise.
16076 * gdb.base/scope.exp: Likewise.
16077 * gdb.base/shlib-call.exp: Likewise.
16078 * gdb.base/term.exp: Likewise.
16079 * gdb.c++/annota2.exp: Likewise.
16080
78b4f468
RE
160812002-02-13 Richard Earnshaw <rearnsha@arm.com>
16082
16083 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16084
9a81ba51
MC
160852002-02-10 Michael Chastain <mec@shout.net>
16086
16087 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16088 (call_after_alloca): Ditto.
16089
004af6c7
DJ
160902002-02-10 Daniel Jacobowitz <drow@mvista.com>
16091
16092 * gdb.base/ending-run.exp: Guard "cont" test with
16093 gdb_skip_stdio_test.
16094
37225f62
JB
160952002-02-06 Jim Blandy <jimb@redhat.com>
16096
16097 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16098 from here...
16099 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16100 To here. Disable this test on non-HP platforms. Add big comment.
16101
fe6fdd96
MS
161022002-02-04 Michael Snyder <msnyder@redhat.com>
16103
16104 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16105 other than d10v and m32r.
16106
036fad3f
RE
161072002-02-02 Richard Earnshaw <rearnsha@arm.com>
16108
16109 * gdb.base/default.exp: Rewrite test patterns to reduce time
16110 taken to match them.
16111
7148ab62
DJ
161122002-01-30 Daniel Jacobowitz <drow@mvista.com>
16113
16114 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16115 Allow a start function above main.
16116 * gdb.threads/linux-dp.exp: Fix copyright date.
16117
396cc255
DJ
161182002-01-30 Daniel Jacobowitz <drow@mvista.com>
16119
a9c64011
AS
16120 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16121 (check_philosopher_stack): Check for manager thread before checking
16122 for a just-starting thread.
396cc255 16123
f038d31b
DJ
161242002-01-30 Daniel Jacobowitz <drow@mvista.com>
16125
16126 From Neil Booth <neil@daikokuya.demon.co.uk>:
16127 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16128 warnings.
16129
b3ff9d9a
FF
161302002-01-21 Fred Fish <fnf@redhat.com>
16131
16132 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16133 not caller.
16134
39ad761d
JB
161352002-01-21 Jim Blandy <jimb@redhat.com>
16136
16137 * gdb.base/reread.exp: Check that GDB properly re-reads the
16138 executable file when it changes while no inferior is running.
16139
aaf320fa
FF
161402002-01-21 Fred Fish <fnf@redhat.com>
16141
a9c64011
AS
16142 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16143 optionally accept the "shlib events" variation.
aaf320fa 16144
808a31f5
JB
161452002-01-21 Jim Blandy <jimb@redhat.com>
16146
16147 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16148 call `fflush' after every `printf', so that the output is produced
16149 at predictable points, regardless of whatever buffering does (or
16150 doesn't) take place.
16151 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16152 at different points.
16153
4420d5e2
DJ
161542002-01-20 Daniel Jacobowitz <drow@mvista.com>
16155
16156 * gdb.c++/inherit.exp: Update copyright years.
16157 * gdb.c++/method.exp: Likewise.
16158
3e36a0f4
DJ
161592002-01-20 Daniel Jacobowitz <drow@mvista.com>
16160
16161 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16162 artificial methods/arguments.
16163 * gdb.c++/derivation.exp: Likewise.
16164 * gdb.c++/inherit.exp: Likewise.
16165 * gdb.c++/method.exp: Likewise.
16166 * gdb.c++/virtfunc.exp: Likewise.
16167
b4ceaee6
AC
161682002-01-18 Andrew Cagney <ac131313@redhat.com>
16169
16170 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16171 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16172 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16173 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16174 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16175 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16176
ecace851
JB
161772002-01-17 Jim Blandy <jimb@redhat.com>
16178
16179 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16180 anchoring the pattern matching the entry point symbol's name.
16181
375fc983
AC
161822002-01-17 Andrew Cagney <ac131313@redhat.com>
16183
16184 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16185 continue/quit query. Update copyright.
16186
fe6fdd96
MS
161872002-01-14 Michael Snyder <msnyder@redhat.com>
16188
16189 * gdb.base/gcore.exp: Remove extra debugging output.
16190
e017c81f
DJ
161912002-01-13 Daniel Jacobowitz <drow@mvista.com>
16192
16193 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16194 for slightly dubious v2 mangled string.
16195
37ab3bf8
DJ
161962002-01-13 Daniel Jacobowitz <drow@mvista.com>
16197
16198 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16199
1bc05c3a 162002002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16201
1bc05c3a 16202 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16203
1bc05c3a
JM
16204 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16205 constructors.
16206 * gdb.c++/derivation.exp: Likewise.
16207 * gdb.c++/templates.exp: Likewise.
16208 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16209
1bc05c3a
JM
162102002-01-10 Michael Snyder <msnyder@redhat.com>
16211
16212 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16213
a911c360
MS
162142002-01-08 Michael Snyder <msnyder@redhat.com>
16215
16216 * gdb.base/gcore.exp: New test for generate-core-file command.
16217 * gdb.base/gcore.c: Testcase for above.
16218 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16219
ea2119ec
JM
162202002-01-08 Jason Merrill <jason@redhat.com>
16221
16222 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16223
68203136
FF
162242002-01-07 Fred Fish <fnf@redhat.com>
16225
16226 * gdb.c++/overload.exp: Remove unconditional xfails for:
16227 print foo_instance1.overloadargs(1)
16228 print foo_instance1.overloadargs(1, 2)
16229 print foo_instance1.overloadargs(1, 2, 3)
16230 print foo_instance1.overloadargs(1, 2, 3, 4)
16231 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16232 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16233 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16234 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16235 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16236 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16237 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16238 print foo_instance1.overload1arg()
16239 print foo_instance1.overload1arg((char)arg2)
16240 print foo_instance1.overload1arg((signed char)arg3)
16241 print foo_instance1.overload1arg((unsigned char)arg4)
16242 print foo_instance1.overload1arg((int)arg7)
16243 print foo_instance1.overload1arg((unsigned int)arg8)
16244 print foo_instance1.overload1arg((float)arg11)
16245 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16246
21b9b5b1
MS
162472002-01-07 Michael Snyder <msnyder@redhat.com>
16248
16249 * gdb.base/huge.exp: New test. Print a very large target data object.
16250 (skip_huge_test): New test variable. Define if you want to skip this
16251 test. The test reads an 8 megabyte data object from the target, so it
16252 might be very time consuming on remote targets with a slow connection.
16253 * gdb.base/huge.c: New file. Test case for above.
16254
725f922e
FF
162552002-01-07 Fred Fish <fnf@redhat.com>
16256
16257 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16258 g_instance.bfoo, and g_instance.cfoo.
16259
889bf7c5 162602002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16261
889bf7c5
PA
16262 * gdb.base/break.c (multi_line_if_conditional): New function.
16263 (multi_ilne_while_conditional): Likewise.
16264 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16265 IF or WHILE condition puts the breakpoint at the start of
16266 the condition.
f286b2c3 16267
634d57ec
JL
16268 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16269 hppa*-*-hpux* expected failure.
16270 * gdb.base/structs.exp (do_function_calls): Similarly.
16271
16272 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16273 watchpoints.
16274
9fbfe2dc
AC
162752002-01-06 Andrew Cagney <ac131313@redhat.com>
16276
16277 Fix PR gdb/66.
16278 * gdb.base/structs.exp: Replace skip for a29k with skip for
16279 gdb,cannot_call_functions.
16280 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16281 * gdb.base/callfuncs.exp: Ditto.
16282 * gdb.base/call-rt-st.exp: Ditto.
16283 * gdb.base/call-strs.exp: Ditto.
16284 * gdb.base/callfwmall.exp: Ditto.
16285 * gdb.base/scope.exp: Obsolete xfail a29k.
16286 * gdb.c++/misc.exp: Ditto.
16287 * gdb.c++/cplusfuncs.exp: Ditto.
16288 * gdb.base/ptype.exp: Ditto.
16289 * gdb.base/printcmds.exp: Ditto.
16290 * gdb.base/opaque.exp: Ditto.
16291 * gdb.base/list.exp: Ditto.
16292 * gdb.base/funcargs.exp: Ditto.
16293 * gdb.base/default.exp: Ditto.
16294
8ddad156
MS
162952002-01-04 Michael Snyder <msnyder@redhat.com>
16296
ca4976a6 16297 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16298 * gdb.base/maint.exp: Add tests for maint info sections options.
16299
1b074332
JL
16300Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16301
16302 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16303
7d159115
CV
163042001-12-20 Corinna Vinschen <vinschen@redhat.com>
16305
16306 * gdb.asm/arm.inc: New file.
16307 * gdb.asm/asm-source.exp: Add arm targets.
16308 * gdb.asm/configure.in: Ditto.
16309 * gdb.asm/configure: Recreated from configure.in.
16310
8fb87725
JL
16311Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16312
afabe08c
JL
16313 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16314 with HP's compiler.
16315 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16316 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16317 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16318 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16319
16320 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16321 either HP's compilers or GCC.
16322
db521deb
JL
16323 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16324 a SIGBUS or SIGSEGV.
16325
16326 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16327
16328 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16329 can be compiled with either HP's compiler or GCC.
16330
cfa88ab7
JL
16331 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16332 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16333 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16334
ca344dff
JL
16335 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16336 to match current gdb output. Update due to using auto-solib-limit
16337 for limiting instead of overloading auto-solib-add.
16338 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16339 test program.
16340
3f3c6e55 16341 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16342 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16343 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16344 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16345 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16346 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16347 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16348 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16349 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16350 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16351 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16352 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16353 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16354
8fb87725
JL
16355 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16356 a SIGTRAP to the inferior.
16357
cf599fa7
CV
163582001-12-19 Corinna Vinschen <vinschen@redhat.com>
16359
16360 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16361 Substitute call to target_link by call to gdb_compile.
16362
2cd045cd
JL
16363Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16364
a9c64011
AS
16365 * gdb.base/break.exp: Fix HP specific search string when testing
16366 backtracing in a called function.
2cd045cd 16367
a9c64011
AS
16368 * gdb.base/constvars.exp: Only set lang to C++ if we're
16369 compiling the test with HP's compilers.
16370 * gdb.base/volatile.exp: Similarly.
2cd045cd 16371
99ebe9ac
JB
163722001-12-19 Jim Blandy <jimb@redhat.com>
16373
16374 * gdb.base/printcmds.exp: Expect the null character to be printed
16375 as '\0', and the '\013' to be printed as '\v'.
16376 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16377 * gdb.base/setvar.exp: Same.
16378
b9891b29
JB
163792001-12-17 Jim Blandy <jimb@redhat.com>
16380
0eba65ab
JB
16381 * gdb.base/completion.exp: Rather than completing very long
16382 filenames, which can make the readline library produce output we
16383 don't recognize, cd to the directory first, and then complete
16384 using nice, short relative paths.
16385
6970b5b1
JB
16386 * gdb.base/completion.exp: On some systems, there is, in fact, a
16387 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16388 variables as being in scope. So use `no_var_named_this'
16389 instead of `b'.
6970b5b1 16390
b9891b29 16391 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16392 can't find the core file's registers as a failure.
b9891b29 16393
e6ccd35f
JSC
163942001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16395
a9c64011
AS
16396 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16397 test expect string more specific.
e6ccd35f 16398
105ba819
CV
163992001-12-13 Corinna Vinschen <vinschen@redhat.com>
16400
16401 * gdb.asm/asm-source.exp: Add support for xstormy16.
16402 * gdb.asm/configure.in: Ditto.
16403 * gdb.asm/configure: Rebuild.
16404 * gdb.asm/xstormy16.inc: New file.
16405
e9e79dd9
FF
164062001-12-10 Fred Fish <fnf@redhat.com>
16407
16408 * gdb.base/maint.exp: Update to match changes in type dumping code.
16409
347dc97d
JB
164102001-12-10 Jim Blandy <jimb@redhat.com>
16411
16412 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16413 matching the entry point symbol's name at the beginning of the
16414 line.
347dc97d 16415
5178b9d6
DJ
164162001-12-07 Daniel Jacobowitz <drow@mvista.com>
16417
16418 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16419 gdb.c++/inherit.exp, gdb.c++/method.exp,
16420 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16421 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16422 and class layout support.
16423
af890c52
DJ
164242001-12-07 Daniel Jacobowitz <drow@mvista.com>
16425
16426 * gdb.c++/classes.exp: Add test for static member function.
16427 * gdb.c++/misc.cc: Add class with static member function.
16428
7a345fb3
JB
164292001-12-07 Jim Blandy <jimb@redhat.com>
16430
f2e54a80 16431 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16432 those tests as `unsupported'.
16433 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16434 Rewrite subsequent tests to use it.
16435
16436 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16437 those tests as `unsupported'.
16438 * gdb.base/structs.exp (call_struct_func): New function.
16439 (do_function_calls): Use call_struct_func to call the functions
16440 returning structs.
16441
0bc69509
JB
16442 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16443 whether functions are prototyped or not, so we can't possibly pass
16444 arguments to t_float_values2 properly.
16445
7a345fb3
JB
16446 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16447 value of `timeout' for targets other than the mips*tx39-*.
16448
edb6ede1
MS
164492001-12-06 Michael Snyder <msnyder@redhat.com>
16450
d63a86f8 16451 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16452 and detect whether the start symbol has a leading underscore.
16453
2d842f13
JB
164542001-12-04 Jim Blandy <jimb@redhat.com>
16455
16456 * gdb.base/completion.exp: Clarify indentation.
16457
68550daf
JB
164582001-12-03 Jim Blandy <jimb@redhat.com>
16459
16460 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16461 variables on the S/390, not `.word'.
16462
cd5195a8
JB
164632001-11-30 Jim Blandy <jimb@redhat.com>
16464
16465 Add assembly-source tests for s390-ibm-linux.
16466 * gdb.asm/s390.inc: New file.
16467 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16468 the S/390 architecture.
a9c64011 16469 * gdb.asm/configure: Regenerated.
cd5195a8 16470
ca9efc90
MS
164712001-11-30 Michael Snyder <msnyder@redhat.com>
16472
16473 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16474 next, info source, info sources, info line, global and static
16475 variables, and static functions.
16476 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16477 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16478 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16479 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16480 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16481 (gdbasm_leave): Restore frame pointer.
16482 (gdbasm_startup): Copy stack set-up from crt0.S.
16483
d0e66976
FN
164842001-11-26 Fernando Nasser <fnasser@redhat.com>
16485
16486 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16487 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16488 to a local (non-static) variable. Copy tstruct.a to a static buffer
16489 and return a pointer to that buffer.
16490 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16491
e2334072
MK
164922001-11-24 Mark Kettenis <kettenis@gnu.org>
16493
16494 * gdb.asm/configure.in: Fix recognition of ix86 target.
16495 * gdb.asm/configure: Regenerate.
16496
756caa3d
MS
164972001-11-21 Michael Snyder <msnyder@redhat.com>
16498
16499 * gdb.asm/sparc.inc: New file.
16500 * gdb.asm/asm-source.exp: Recognize sparc target.
16501 * gdb.asm/configure.in: Recognize sparc target.
16502 * gdb.asm/configure: Regenerate.
d63a86f8 16503
9a4d72d5
MS
165042001-11-21 Michael Snyder <msnyder@redhat.com>
16505
16506 * gdb.asm/m32r.inc: New file.
16507 * gdb.asm/asm-source.exp: Recognize m32r target.
16508 * gdb.asm/configure.in: Recognize m32r target.
16509 * gdb.asm/configure: Regenerate.
16510
a773d1cd
MS
165112001-11-20 Michael Snyder <msnyder@redhat.com>
16512
017ac23d
MS
16513 * gdb.asm/i386.inc: New file.
16514 * gdb.asm/asm-source.exp: Recognize ix86 target.
16515 * gdb.asm/configure.in: Recognize ix86 target.
16516 * gdb.asm/configure: Regenerate.
16517
a773d1cd
MS
16518 * gdb.c++/namespace.exp: Fix quotes in output messages.
16519
bb632afb
MS
165202001-11-14 Michael Snyder <msnyder@redhat.com>
16521
25d559ca 16522 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16523 qualifier in a type cast expression, to designate an address
16524 in the instruction space (Harvard architecture).
16525
4749e309
MS
165262001-11-13 Michael Snyder <msnyder@redhat.com>
16527
16528 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16529 Tests for expressions using 'const' and 'volatile'.
16530
25050984
CV
165312001-11-13 Corinna Vinschen <vinschen@redhat.com>
16532
16533 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16534
1902c51f
DJ
165352001-11-12 Daniel Jacobowitz <drow@mvista.com>
16536
16537 * lib/mi-support.exp (mi_run_to_helper): Move comments
16538 outside of gdb_expect.
16539
dcf95b47
DJ
165402001-11-11 Daniel Jacobowitz <drow@mvista.com>
16541
16542 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16543 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16544 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16545 mi0_run_to): New functions.
16546 * gdb.mi/mi-simplerun.exp: Use them.
16547 * gdb.mi/mi0-simplerun.exp: Likewise.
16548 * gdb.mi/mi-var-cmd.exp: Likewise.
16549 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16550
45b074e1
AC
165512001-11-10 Andrew Cagney <ac131313@redhat.com>
16552
16553 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16554 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16555
bf50d346
AC
165562001-11-09 Andrew Cagney <ac131313@redhat.com>
16557
16558 * gdb.base/restore.exp: Include $expected value in restored test
16559 message.
16560
9383332c
AC
165612001-11-09 Andrew Cagney <ac131313@redhat.com>
16562
16563 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16564 implemented.
16565
db62520a
MS
165662001-11-08 Michael Snyder <msnyder@redhat.com>
16567
16568 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16569 Add pass/fail message for stop at breakpoint in call dummy function.
16570
b5703437
MS
165712001-11-07 Michael Snyder <msnyder@redhat.com>
16572
d63a86f8
RM
16573 * gdb.c++/templates.exp (test_template_breakpoints):
16574 If we get an overload menu, but it does not match what
760f6330 16575 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16576 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16577 making the whitespace optional. Argument for "new" may be
16578 "unsigned" as well as "unsigned int/long".
d63a86f8 16579 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16580 making the whitespace optional. Also replace "(void) with
16581 "((void|)), making the keyword "void" optional.
d63a86f8 16582 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16583 making the whitespace optional. Also replace "(void) with
16584 "((void|)), making the keyword "void" optional.
3bf40917
MS
16585 * gdb.base/callfuncs.c (t_float_values): This function must
16586 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16587 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16588 can be tested against both cases. Usually one case involves
16589 promotion of float to double, while the other does not.
16590 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16591 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16592 includes a stack frame for "start".
16593
c8ab4e6d
JB
165942001-11-05 Jim Blandy <jimb@redhat.com>
16595
16596 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16597 pointers are 32 bits long, and that offsets of relocs are always
16598 stored in the data (REL-style), and not in the reloc entry itself
16599 (RELA-style).
16600 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16601 stabs.
16602
3f08ced9
MS
166032001-11-01 Michael Snyder <msnyder@redhat.com>
16604
16605 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16606 and regular expression operators by using quoting.
16607
cbfa24cd
MS
166082001-10-31 Michael Snyder <msnyder@redhat.com>
16609
16610 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16611 depending on what the symbol table contains.
16612 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16613 the output of the ptype command. Similarly, accept both "const &"
16614 and "const&".
16615
aaa68313
CV
166162001-10-31 Corinna Vinschen <vinschen@redhat.com>
16617
16618 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16619 symbol `STORAGE' to allow to choose the storage class of
16620 the local datastructures.
16621 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16622 compiler directive.
16623
91740388
MS
166242001-10-30 Michael Snyder <msnyder@redhat.com>
16625
16626 * gdb.base/jump.exp: Allow it to run for all targets.
16627
1b7c05e7
CV
166282001-10-29 Corinna Vinschen <vinschen@redhat.com>
16629
16630 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16631 with new double_array size.
16632 (main): Change storage class of all local variables to static.
16633 Reduce size of double_array to 9.
16634 * gdb.base/call-ar-st.exp: Increase timeout value.
16635 Change expected output for double array to match new size in
16636 call-ar-st.c.
16637
36a22261
CV
166382001-10-29 Corinna Vinschen <vinschen@redhat.com>
16639
16640 * gdb.base/ending-run.exp: Create identical output when passing
16641 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16642 Stormy16 target.
36a22261 16643
92b8ae91
MK
166442001-10-28 Mark Kettenis <kettenis@gnu.org>
16645
16646 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16647 that we catch the expected failure under Linux/x86.
16648
cb135b83
OF
166492001-10-29 Orjan Friberg <orjanf@axis.com>
16650
16651 * gdb.base/setvar.exp: Escape curly braces.
16652 * gdb.stabs/weird.exp: Ditto.
16653
6884aa54
DJ
166542001-10-27 Daniel Jacobowitz <drow@mvista.com>
16655
16656 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16657 * gdm.mi/mi0-hack-cli.exp: Likewise.
16658
0398c9aa
AC
166592001-10-25 Andrew Cagney <ac131313@redhat.com>
16660
16661 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16662 messages.
16663
d20bf2e8
AC
166642001-10-21 Andrew Cagney <ac131313@redhat.com>
16665
16666 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16667 checking MI enabled.
16668
03dd63aa
CV
166692001-10-09 Corinna Vinschen <vinschen@redhat.com>
16670
16671 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16672
1d9d99f3
FCE
166732001-10-04 Frank Ch. Eigler <fche@redhat.com>
16674
16675 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16676 if gdb child process crashes, just signal an error.
16677
838ae6c4
JB
166782001-10-02 Jim Blandy <jimb@redhat.com>
16679
16680 * lib/gdb.exp (test_xfail_format): Simplify.
16681
16682 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16683 front of the variable name `format'. Simplify `if'.
16684
8f0cbc1c
DJ
166852001-10-01 Daniel Jacobowitz <drow@mvista.com>
16686
16687 * gdb.threads/pthreads.exp: Wait for output and delay
16688 before sending ^C.
16689
1f08dafd
DJ
166902001-10-01 Daniel Jacobowitz <drow@mvista.com>
16691
16692 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16693 some incorrect output instead of timing out.
16694 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16695
674f90ff
CV
166962001-09-28 Corinna Vinschen <vinschen@redhat.com>
16697
16698 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16699 check to allow additional `int'.
16700
9b284272
DJ
167012001-09-27 Daniel Jacobowitz <drow@mvista.com>
16702
16703 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16704 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16705
b55a4771
MS
167062001-09-27 Michael Snyder <msnyder@redhat.com>
16707
16708 * lib/gdb.exp (test_debug_format): New proc.
16709 (setup_xfail_format): Use new proc test_debug_format.
16710 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16711 proc; use new service proc test_debug_format.
16712 Replace all other "gcc_compiled" tests with this test.
16713 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16714 proc; use new service proc test_debug_format.
16715 Replace all other "gcc_compiled" tests with this test.
16716
167172001-09-27 Michael Snyder <msnyder@redhat.com>
16718
16719 * gdb.base/cvexpr.exp: New file.
16720 * gdb.base/cvexpr.c: New file
16721 Test for expressions using const and volatile keywords.
16722
4e6667ac
CV
167232001-09-26 Corinna Vinschen <vinschen@redhat.com>
16724
16725 * gdb.base/constvars.exp: Check for different orders of keywords
16726 and additional "int" strings in output.
16727
4f337972
AC
167282001-09-22 Andrew Cagney <ac131313@redhat.com>
16729
16730 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16731 responses from "help maint".
16732
2015650d
FCE
167332001-09-19 Frank Ch. Eigler <fche@redhat.com>
16734
16735 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16736 to localhost:NNN instead of :NNN, in case Xvfb is listening
16737 only on TCP.
16738
f3bcedc1
CV
167392001-09-19 Corinna Vinschen <vinschen@redhat.com>
16740
16741 * gdb.base/recurse.exp: When checking leaving the watchpoint
16742 scope, recognize when gdb is in function's epilogue and pass.
16743
6b819c92
KS
167442001-09-18 Keith Seitz <keiths@redhat.com>
16745
16746 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16747 support for running tests against sid targets.
16748 (gdbtk_done): Ditto.
16749
a10c9419
CV
167502001-09-18 Corinna Vinschen <vinschen@redhat.com>
16751
16752 * gdb.base/ending-run.c (main): Set stdout buffersize
16753 to the same reasonable value for any target.
16754 * gdb.base/ending-run.exp: Add a regular expression
16755 to make testsuite happy on Sanyo Stormy16 target.
16756
739d0d99
CV
167572001-09-17 Corinna Vinschen <vinschen@redhat.com>
16758
16759 * gdb.base/display.c (do_loops): Add float variable `f'.
16760 Increment f in loop.
16761 * gdb.base/display.exp: Increment timeout by 60 seconds.
16762 Change float display test to use variable `f'.
16763
1b8947f0
JB
167642001-09-17 Jim Blandy <jimb@redhat.com>
16765
16766 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16767 overflowing the limited breakpoint tables on some ROM monitors
16768 (like the ROM68K).
16769
9890ac81
FCE
167702001-09-15 Frank Ch. Eigler <fche@redhat.com>
16771
16772 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16773 the "-ac" (disable access control) flag.
16774
6db765ea
JH
167752001-08-30 Jeff Holcomb <jeffh@redhat.com>
16776
16777 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16778 ints.
16779
4c32cc04
KS
167802001-08-30 Keith Seitz <keiths@redhat.com>
16781
16782 * lib/gdb.exp: Move all insight-related functionality into
16783 separate file.
16784 * lib/insight-support.exp: New file.
16785
8d6e6f81
FCE
167862001-08-29 Frank Ch. Eigler <fche@redhat.com>
16787
16788 * config/sid.exp (sid_start): Never set sid verbosity; disable
16789 expect_background {} that consumed its stdout; tolerate </dev/null.
16790 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16791
6a90e1d0
AC
167922001-08-18 Andrew Cagney <ac131313@redhat.com>
16793
16794 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16795 CLI jump command to start it.
16796 (mi_run_to_main): Fail immediatly when unexpected output.
16797
1759b3c3
AC
167982001-08-18 Andrew Cagney <ac131313@redhat.com>
16799
16800 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16801 beginning of function. Fix PR gdb/191.
16802
61d11d80
FCE
168032001-08-16 Frank Ch. Eigler <fche@redhat.com>
16804
16805 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16806 what to force sid endianness to.
16807
942a4df2
KS
168082001-08-15 Keith Seitz <keiths@redhat.com>
16809
16810 * lib/gdb.exp (gdbtk_start): Don't set environment
16811 variables for TCL_LIBRARY and friends. Insight will
16812 now figure these out for itself.
16813
0521c418
MS
168142001-08-02 Michael Snyder <msnyder@redhat.com>
16815
16816 * gdb.base/completion.exp: Remove the symbol "a64l" from
16817 the expect string; this is target-specific, and not related
16818 to what is being tested.
16819
74a9a58a
DB
168202001-08-02 Dave Brolley <brolley@redhat.com>
16821
16822 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16823
c70819fa
MS
168242001-07-25 Michael Snyder <msnyder@redhat.com>
16825
c2b8fa57
MS
16826 * gdb.base/consecutive.exp: New file. Test stepping over
16827 breakpoints on consecutive instructions.
16828 * gdb.base/consecutive.c: New file.
16829
c70819fa
MS
16830 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16831 curly braces in regular expressions.
16832
2b1a1355
MS
168332001-07-25 Michael Snyder <msnyder@redhat.com>
16834
16835 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16836 legitimate output from stepping out of main.
16837
413eca6f
KS
168382001-07-22 Keith Seitz <keiths@redhat.com>
16839
16840 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16841 the empty string, do not run the tests.
16842
7e5a9322
SC
168432001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16844
16845 * gdb.base/long_long.exp: Detect size of pointer. Take into
16846 account 2-byte pointers when testing for p/a results.
16847
de58f10f
SC
168482001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16849
d63a86f8 16850 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16851 and defined to 1K for m68hc11.
16852 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16853 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16854 (sizeof_random_data): New variable to tell the size of the data table;
16855 don't test past this size; always run to main.
16856
d6f5fea1
SC
168572001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16858
16859 * gdb.base/return2.exp: return of long long and double fails for
16860 68HC11; don't execute these tests on that platform.
16861 * gdb.base/return.exp: Return of a double fails for 68hc11.
16862
c477543d
SC
168632001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16864
16865 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16866 tests that print a float.
16867 * call-rt-st.exp: Likewise.
16868
63cf1c79
MK
168692001-07-12 Mark Kettenis <kettenis@gnu.org>
16870
16871 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16872 running this test on Linux.
16873
112f9ab5
MC
168742001-06-24 Michael Chastain <chastain@redhat.com>
16875
16876 * gdb.base/arithmet.exp: Remove some tests to make all test names
16877 unique.
16878
4970cb0f
MS
168792001-07-03 Michael Snyder <msnyder@redhat.com>
16880
16881 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16882 the output of the ptype command.
16883
d85da69f
MS
168842001-07-02 Michael Snyder <msnyder@redhat.com>
16885
4c8a82de
MS
16886 * gdb.base/completion.exp: Don't assume that break.c is the only
16887 source file that may contain functions named "marker".
d85da69f
MS
16888 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16889
8afc772b
AC
168902001-06-28 Andrew Cagney <ac131313@redhat.com>
16891
16892 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16893 of files to delete.
16894
16895 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16896 * gdb.disasm/h8300s.exp: New file.
16897 gdb.disasm/h8300s.s: Likewise.
16898
cff22675
AC
168992001-06-27 Andrew Cagney <ac131313@redhat.com>
16900
16901 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16902 empty breakpoint tables.
16903
68c81b54
AC
169042001-06-25 Andrew Cagney <ac131313@redhat.com>
16905
16906 * lib/mi-support.exp: Update args=... part of stop-reason
16907 patterns. Accept either a list or a tuple.
16908
2dd62704
AC
169092001-06-23 Andrew Cagney <ac131313@redhat.com>
16910
16911 * lib/mi-support.exp: Remove local emacs variable defining
16912 change-log-default-name.
16913
b4127474
MC
169142001-06-22 Michael Chastain <chastain@redhat.com>
16915
16916 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16917 This is operationally compatible with the previous version.
16918
8dbfb380
JB
169192001-06-13 Jim Blandy <jimb@redhat.com>
16920
16921 * lib/gdb.exp (gdb_test): Doc fix.
16922
f2d8c86d
MC
169232001-06-10 Michael Chastain <chastain@redhat.com>
16924
16925 * gdb.base/exprs.exp: Remove a duplicate test.
16926
81564d34
JB
169272001-06-06 Jim Blandy <jimb@redhat.com>
16928
16929 * gdb.base/return2.exp (main): Use values to test float and double
16930 returns that are not NaN's, to avoid being confused by IEEE
16931 comparison rules.
16932
da55addb
MS
169332001-06-04 Michael Snyder <msnyder@redhat.com>
16934
16935 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16936 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16937 rather than wait for 12 more tests to time out.
16938
42c65987
JB
169392001-06-06 Jim Blandy <jimb@redhat.com>
16940
b18bced9 16941 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16942 Don't forget to match the GDB prompt.
b18bced9 16943
42c65987
JB
16944 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16945
5b41e5f0
JB
169462001-06-04 Jim Blandy <jimb@redhat.com>
16947
16948 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16949 command.
16950
015e046f
KB
169512001-05-31 Kevin Buettner <kevinb@redhat.com>
16952
16953 * gdb.base/annota1.exp (info break): Match four or more spaces
16954 after "Address".
16955
fb1ffbbe
MC
169562001-05-31 Michael Chastain <chastain@redhat.com>
16957
16958 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16959 (dm_type_int_star): Likewise.
16960 (dm_type_long_star): Likewise.
16961 (dm_type_void_star): Likewise.
16962
5ea2a32c
KB
169632001-05-29 Kevin Buettner <kevinb@redhat.com>
16964
16965 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16966 to a known value in order to get consistent results regardless
16967 of the setting of INPUTRC or the presence or contents of .inputrc.
16968
ae23c492
MS
169692001-05-24 Michael Snyder <msnyder@redhat.com>
16970
ac55707e
MS
16971 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16972 Don't require that the main thread and the manager thread are the
16973 first in the list.
16974
ae23c492
MS
16975 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16976 debugging. If test fails, issue an "unsupported" not a "fail".
16977
400071f1
JB
169782001-05-24 Jim Blandy <jimb@redhat.com>
16979
16980 Don't assume that short is shorter than int.
16981 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16982 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 16983 this isn't true.
400071f1
JB
16984 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16985 an int, is not equal to ~0 stored in an unsigned char. This tests
16986 the same thing that the previous test meant to, but works on
16987 16-bit machines, too.
16988 ("print unsigned char != (~0)"): Same test, complemented.
16989
0816a3e5
MS
169902001-05-24 Michael Snyder <msnyder@redhat.com>
16991
16992 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 16993 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
16994 and prevents dejagnu getting out of step.
16995
f6dc23a9
KB
169962001-05-23 Kevin Buettner <kevinb@redhat.com>
16997
16998 * gdb.base/finish.exp (finish_void): Revise pattern for
16999 stopping on the call statement to not permit stopping at
17000 the start of the instructions comprising the call sequence.
17001
7dbd117d
MC
170022001-05-19 Michael Chastain <chastain@redhat.com>
17003
17004 * gdb.base/callfuncs.exp: Make all test names unique.
17005 * gdb.base/commands.exp: Make all test names unique.
17006 * gdb.base/condbreak.exp: Make all test names unique.
17007 * gdb.base/dbx.exp: Make all test names unique.
17008 * gdb.base/default.exp: Make all test names unique.
17009 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17010 and TIMEOUT messages to their corresponding PASS message.
17011 * gdb.base/ending-run.exp: Make all test names unique.
17012 * gdb.base/long_long.exp: Remove duplicate test.
17013
6b0b0a9e
KB
170142001-05-21 Kevin Buettner <kevinb@redhat.com>
17015
17016 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17017 stop on the call statement as well as the statement after the
17018 call.
17019
2caa35cb
MS
170202001-05-21 Michael Snyder <msnyder@redhat.com>
17021
17022 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17023
40713331
EZ
170242001-05-10 Elena Zannoni <ezannoni@redhat.com>
17025
a9c64011
AS
17026 * gdb.base/completion.exp: Revamp test. Make it execute on all
17027 platforms.
40713331 17028
c2c1be8d
EZ
170292001-05-10 Elena Zannoni <ezannoni@redhat.com>
17030
a9c64011
AS
17031 * config/gdbserver.exp (gdb_load): Handle the case
17032 in which the arguments to gdbserver are given in the
17033 baseboard configuration file.
17034 Also handle the case in which the server needs to do a
17035 load.
2c9cd303 17036
9671de48
KS
170372001-05-07 Keith Seitz <keiths@cygnus.com>
17038
a9c64011
AS
17039 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17040 set up the display for testing.
17041 (gdbtk_start): Convert all paths to paths that tcl will like.
17042 Export target information to environment.
17043 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17044 necessary.
17045 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17046 (to_tcl_path): New proc to convert a given pathname into
17047 a path acceptible as an argument to a tcl command.
17048 (_gdbtk_export_target_info): New proc to export target info
17049 into the environment for gdbtk testing.
17050 (gdbtk_done): New proc to signal end-of-test.
9671de48 17051
5a360f47
JB
170522001-05-06 Jim Blandy <jimb@redhat.com>
17053
17054 * restore.c: Make the code of caller0 correspond to its comment.
17055
66c756c6
MS
170562001-05-03 Michael Snyder <msnyder@redhat.com>
17057
17058 * config/sid.exp (gdb_target_sid): Check for error messages.
17059 On error or timeout, don't make expect exit (which will terminate
17060 all subsequent tests); instead just make gdb exit.
d63a86f8 17061 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17062 return a negative value.
17063
a966fde5
JB
170642001-04-24 Jim Blandy <jimb@redhat.com>
17065
851c18e0
JB
17066 * gdb.c++/templates.exp: If we see the prompt for the overload
17067 list, but we haven't recognized any of the longer patterns,
17068 arrange for this test to fail, not hang.
17069
a966fde5
JB
17070 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17071 variations.
17072
db144853
MC
170732001-04-22 Michael Chastain <chastain@redhat.com>
17074
17075 * gdb.c++/local.exp: Use the 'runto' library function.
17076 * gdb.c++/namespace.exp: Likewise.
17077 * gdb.c++/overload.exp: Likewise.
17078
3207ec21
KB
170792001-03-26 Kevin Buettner <kevinb@redhat.com>
17080
17081 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17082 * gdb.base/step-line.exp: New file. Test step/next in presence of
17083 #line directives.
17084 * gdb.base/step-line.c: New file. Test program for the above.
17085 * gdb.base/step-line.inp: New file. We pretend that this file has
17086 been transformed by some other tool into step-line.c.
17087
13b57657
JB
170882001-03-21 Jim Blandy <jimb@redhat.com>
17089
17090 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17091 unmangled operator names.
17092
754cbe1c
JB
170932001-03-20 Jim Blandy <jimb@redhat.com>
17094
17095 * gdb.threads/linux-dp.exp: Recognize an additional message
17096 generated by GDB when it doesn't understand how to debug threads
17097 on the target system.
17098
177495c9
AC
170992001-03-19 Andrew Cagney <ac131313@redhat.com>
17100
17101 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17102
f266096b
MC
171032001-03-12 Michael Chastain <chastain@redhat.com>
17104
17105 * gdb.c++/derivation.exp: Use the 'runto' library function.
17106
cac3c2ff
MC
171072001-03-12 Michael Chastain <chastain@redhat.com>
17108
17109 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17110
b6c11a24
MC
171112001-02-24 Michael Chastain <chastain@redhat.com>
17112
17113 * gdb.c++/ref-types.exp: Change handwritten code to library
17114 function 'runto'.
17115
6bae5bce
OF
171162001-03-16 Orjan Friberg <orjanf@axis.com>
17117
17118 * gdb.base/signals.exp: Set count to 0 explicitly.
17119
0015fd9a
MS
171202001-03-15 Mark Salter <msalter@redhat.com>
17121
17122 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17123 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17124 (gdb_load): Add support for additional target_info: gdb_download_size
17125 and gdb_load_timeout.
0015fd9a 17126
fc33412a
DT
17127Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17128
17129 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17130 file -- to prevent failing when the compile fails but we have no
17131 intention of running the tests anyway.
fc33412a
DT
17132
17133 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17134 tests if set.
17135
17136 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17137 integers.
fc33412a
DT
17138
17139 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17140 * gdb.c++/namespace.exp: Ditto.
17141
115f06de
OF
171422001-03-07 Orjan Friberg <orjanf@axis.com>
17143
17144 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17145 * gdb.base/pointers.exp: Relax pattern match of decimals.
17146
b6ba6518
KB
171472001-03-06 Kevin Buettner <kevinb@redhat.com>
17148
17149 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17150 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17151 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17152 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17153 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17154 config/sh.exp, config/sid.exp, config/slite.exp,
17155 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17156 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17157 config/vxworks.exp, config/vxworks29k.exp,
17158 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17159 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17160 gdb.base/arithmet.exp, gdb.base/assign.exp,
17161 gdb.base/async.exp, gdb.base/attach.exp,
17162 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17163 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17164 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17165 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17166 gdb.base/commands.exp, gdb.base/completion.exp,
17167 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17168 gdb.base/constvars.exp, gdb.base/corefile.exp,
17169 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17170 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17171 gdb.base/ending-run.exp, gdb.base/environ.exp,
17172 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17173 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17174 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17175 gdb.base/funcargs.exp, gdb.base/help.exp,
17176 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17177 gdb.base/logical.exp, gdb.base/long_long.exp,
17178 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17179 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17180 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17181 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17182 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17183 gdb.base/regs.exp, gdb.base/relational.exp,
17184 gdb.base/remote.exp, gdb.base/reread.exp,
17185 gdb.base/restore.exp, gdb.base/return2.exp,
17186 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17187 gdb.base/selftest.exp, gdb.base/setshow.exp,
17188 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17189 gdb.base/sigall.exp, gdb.base/signals.exp,
17190 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17191 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17192 gdb.base/step-test.exp, gdb.base/structs.c,
17193 gdb.base/structs.exp, gdb.base/structs2.exp,
17194 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17195 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17196 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17197 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17198 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17199 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17200 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17201 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17202 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17203 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17204 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17205 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17206 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17207 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17208 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17209 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17210 gdb.trace/circ.exp, gdb.trace/collection.exp,
17211 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17212 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17213 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17214 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17215 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17216 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17217 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17218 notices.
17219
dc96c6c7 172202001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17221
17222 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17223 first arg is int not float.
17224
dc96c6c7 172252001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17226
17227 * gdb.base/reread.exp: Unsupported for non-native targets;
17228 doesn't work for remote debugging.
17229
9b0c4aeb
FN
172302001-02-19 Fernando Nasser <fnasser@redhat.com>
17231
17232 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17233 * gdb.base/ending-run.exp: Properly handle the BSP state when
17234 stepping past the end of main.
9b0c4aeb 17235
02aa71d5
MC
172362001-02-19 John Moore <jmoore@redhat.com>
17237
17238 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17239 Converted HPUX fix for non-expected items following multiple
17240 step commands into general solution for all platforms.
17241
1fa449a4
MC
172422001-02-18 Michael Chastain <chastain@redhat.com>
17243
17244 * gdb.c++/classes.exp (do_tests): Change runto statements
17245 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17246 statements demangler agnostic.
17247 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17248 (gdb_virtfunc_restart): Likewise.
17249
b2f9ec70
MC
172502001-02-14 Michael Chastain <chastain@redhat.com>
17251
17252 * gdb.c++/inherit.exp (do_tests): Change runto statements
17253 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17254 statements demangler agnostic.
17255
cf74b8ca
AC
17256Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17257
17258 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17259 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17260 before calling common_routine 15 times'' tests.
cf74b8ca 17261
99f78f56
MC
172622001-02-11 Michael Chastain <chastain@redhat.com>
17263
17264 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17265 Helps the test script figure out which demangler is in use.
17266 (dm_type_foo_ref): Ditto.
17267 (dm_type_int_star): Ditto.
17268 (dm_type_long_star): Ditto.
17269 (dm_type_unsigned_int): Ditto.
17270 (dm_type_void): Ditto.
17271 (dm_type_void_star): Ditto.
99707966 17272 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17273 Probe the gdb demangler and set variables to accommodate
17274 formatting differences.
17275 (info_func_regexp): New function. Same as info_func, but
17276 matches against a regexp.
17277 (info_func): Match against a literal string.
17278 (print_addr_2): New function. Match against a literal string,
17279 which can be different from the input to gdb.
17280 (print_addr): Simply call print_addr_2 with the same argument twice.
17281 (test_lookup_operator_functions): Use demangler formatting variables.
17282 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17283 the tests in the same order as the C++ class declaration.
17284 (test_paddr_operator_functions): Ditto.
17285 (test_paddr_overloaded_functions): Ditto.
17286 (test_paddr_hairy_functions): Use demangler formatting variables.
17287 Add reference to gdb/19 for related tests.
17288 (do_tests): Call probe_demangler.
17289
1de8f023
KB
172902001-01-30 Kevin Buettner <kevinb@redhat.com>
17291
17292 * gdb.c++/templates.cc (printf): Remove unused function definition.
17293
ca3f91ed
MS
172942001-01-26 Felix Lee <flee@redhat.com>
17295
17296 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17297
172982001-01-25 matthew green <mrg@redhat.com>
17299
17300 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17301 up sid.
17302 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17303
173042001-01-25 matthew green <mrg@redhat.com>
17305
17306 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17307 Deprecate $sid_spawn_id.
ca3f91ed
MS
17308 (sid_exit): Remove code necessary only for `spawn.'
17309
173102001-01-25 matthew green <mrg@redhat.com>
17311
17312 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17313
fb18ec4a
MC
173142001-01-28 Michael Chastain <chastain@redhat.com>
17315
17316 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17317 to call when tests fail. It takes gdb out of the overloaded
17318 function choice menu back to the main prompt, so that the test
17319 program stays synchronized.
17320 (set_bp_overloaded): New proc to collect all the common
17321 code for setting a breakpoint on an overloaded name. Calls
17322 take_gdb_out_of_choice_menu when needed.
17323 (menu_overload1arg): New variable to collect the repeated
17324 instances of the expected menu for an overloaded name. Change
17325 the regular expression to handle changes in g++ type encoding:
17326 "void" can be either "void" or "", and "unsigned int" can be
17327 either "unsigned int" or "unsigned".
17328 (continue_to_bp_overloaded): Change regular expressions to handle
17329 changes in g++ type encoding.
17330 (no proc): Call take_gdb_out_of_choice_menu when needed.
17331 Remove redundant calls to "info break". Accept either "canceled"
17332 or "cancelled". Change regular expressions in "info break"
17333 calls to handle changes in g++ type encoding. Give all tests
17334 unique strings.
17335
9c646a6e
BE
173362001-01-17 Ben Elliston <bje@redhat.com>
17337
17338 * config/sid.exp: New file.
17339
9549d9c1
AC
17340Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17341
17342 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17343
dc96c6c7 173442000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17345
17346 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17347 Add a RE to accept a non-ascii char if one is ever presented.
17348
b4df4f68
FN
173492000-12-20 Fernando Nasser <fnasser@redhat.com>
17350
297dd0fd 17351 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17352
dc96c6c7 173532000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17354
d63a86f8 17355 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17356 in regexp. One '\' does not suffice on Linux.
17357
4a7bddb6
MC
173582000-12-09 Michael Chastain <chastain@redhat.com>
17359
17360 * gdb.base/break.exp (test_clear_command): Use a marker function
17361 rather than 'main' for the test function. Also move this
17362 test to an execution point where the marker function names are
17363 guaranteed to be bound to functions. (Executing tests after a
17364 'finish' from main runs into name conflicts with local names
17365 in __libc_start_main).
17366
dc96c6c7 173672000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17368
17369 * gdb.base/finish.exp: New test for gdb's "finish" command.
17370 * gdb.base/return2.exp: New test for gdb's "return" command.
17371 * gdb.base/return2.c: New source file for above.
17372
dc96c6c7 173732000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17374
17375 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17376 * gdb.base/miscexprs.exp: Ditto.
17377 * gdb.base/pointers.exp: Ditto.
17378 * gdb.c++/derivation.exp: Ditto.
17379 * gdb.c++/local.exp: Ditto.
17380 * gdb.c++/namespace.exp: Ditto.
17381 * gdb.c++/overload.exp: Ditto.
17382 * gdb.c++/ref-types.exp: Ditto.
17383
dc96c6c7 173842000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17385
17386 * gdb.base/constvars.exp: Test result of "up" command.
17387 * gdb.base/miscexprs.exp: Ditto.
17388 * gdb.base/pointers.exp: Ditto.
17389 * gdb.base/scope.exp: Ditto.
17390 * gdb.c++/derivation.exp: Ditto.
17391 * gdb.c++/local.exp: Ditto.
17392 * gdb.c++/namespace.exp: Ditto.
17393 * gdb.c++/overload.exp: Ditto.
17394 * gdb.c++/ref-types.exp: Ditto.
17395
44097287
FN
173962000-11-22 Michael Chastain <chastain@redhat.com>
17397
17398 * mips_pro.exp: Accept either "middle -> top -> main" or
17399 "middle -> main" in the backtrace, because gcc can optimize
17400 tail calls to jumps. Remove setup_xfail for the hppa case.
17401 Add a comment with the original warning messages from PR 3016,
17402 which was filed in 1993, to preserve them for posterity.
17403
9d2e1bab
ND
174042000-11-17 Nick Duffek <nsd@redhat.com>
17405
17406 * lib/gdb.exp (gdb_test): Override timeout with board info.
17407
1aca8eb7
ND
174082000-11-17 Nick Duffek <nsd@redhat.com>
17409
17410 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17411 the second kill and detach messages.
17412
93076499
ND
174132000-11-17 Nick Duffek <nsd@redhat.com>
17414
17415 * configure.in: Add AC_EXEEXT.
17416 * configure: Regenerate.
17417 * Makefile.in (just-check): Export EXEEXT.
17418 * lib/gdb.exp ($EXEEXT): Import from environment.
17419 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17420 expect "maint dump-me" on Cygwin.
17421 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17422 $EXEEXT.
17423
30e87cd3
ND
174242000-11-17 Nick Duffek <nsd@redhat.com>
17425
17426 * gdb.base/break.exp: Test backtrace and finish from called
17427 function on all platforms, not just HP-UX.
17428
dc96c6c7 174292000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17430
17431 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17432 code from gdb_target_monitor, so it can be used independantly
17433 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17434
dc96c6c7 174352000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17436
17437 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17438 * gdb.base/corefile.exp: Expect the message "Program is being
17439 debugged already" when we send the "corefile" command, since
17440 the preceeding gdb_load may have connected gdb to a remote target.
17441 * gdb.base/display.exp: Disable hardware watchpoints if new
17442 board info variable "no_hardware_watchpoints" is true.
17443 Replace single-letter commands with more readable ones.
17444 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17445 if new board info variable "no_hardware_watchpoints" is true.
17446 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17447 to see if stdio (printf) testing is possible.
17448 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17449 board info variable "no_hardware_watchpoints" is true. Use new
17450 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17451
39124dea
FN
174522000-11-13 Fernando Nasser <fnasser@redhat.com>
17453
17454 From Orjan Friberg <orjanf@axis.com>:
17455 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17456 in array print pattern match.
17457
a9e2e984
FN
174582000-11-09 Fernando Nasser <fnasser@redhat.com>
17459
17460 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17461 spelling "cancelled" to U.S. spelling "canceled" to match changes
17462 made to gdb.
17463 * gdb.c++/ovldbreak.exp: Ditto.
17464
c7db355b
PS
174652000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17466
17467 * gdb.base/callfuncs.c (main): Moved to end of file, call
17468 t_double_values to initialize the FPU before inferior calls are made.
17469 * gdb.base/callfuncs.exp: Test for register preservation after calling
17470 inferior functions. Add tests for continuining, finishing and
17471 returning from a stop in a call dummy.
17472
dc96c6c7 174732000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17474
17475 * gdb.base/commands.exp: Break up long lines, and re-indent.
17476
dc96c6c7 174772000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17478
17479 * config/gdbserver.exp: Rewritten from the ground up, to make it
17480 compatible with the current dejagnu tree, and to make it work with
17481 the new "gdbserver" in libremote.
17482
dc96c6c7 174832000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17484
17485 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17486 * gdb.base/varargs.exp: Skip entire test if no printf support.
17487 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17488 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17489
dc96c6c7 174902000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17491
17492 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17493 no floating point support.
17494 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17495 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17496 * gdb.base/call-rt-st.exp: Ditto.
17497 * gdb.base/call-strs.exp: Ditto.
17498
bac5fc66
JG
174992000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17500
17501 * gdb.base/sizeof.c: include <stdio.h>.
17502
17503 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17504 'finish', otherwise uncaptured gdb_prompt would potentially
17505 throw remaining test points out of sync.
bac5fc66 17506
b22a6027
SB
175072000-07-26 Scott Bambrough <scottb@netwinder.org>
17508
17509 * gdb.base/recurse.exp: Run tests for all targets.
17510 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17511 gnu-oldld case on ARM.
17512 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17513 for ARM targets.
d63a86f8 17514
d8231941
AG
17515Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17516
17517 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17518 * gdb.java/configure: Rebuild.
17519
8caabe69
AG
17520Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17521
17522 * gdb.java/jv-exp.exp: New file.
17523
9d273ca3
AG
17524Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17525
17526 * configure: Rebuilt.
17527 * configure.in (configdirs): Add gdb.java.
17528 * gdb.java/jmisc.java: New file.
17529 * gdb.java/jmisc.exp: New file.
17530 * gdb.java/Makefile.in: New file.
17531 * gdb.java/configure: Rebuilt.
17532 * gdb.java/configure.in: New file.
17533 * lib/java.exp: New file.
17534
4f823a66
AC
17535Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17536
17537 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17538 underflow.
4f823a66 17539
2391e11d
AC
17540Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17541
17542 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17543 and the compilers sizes.
2391e11d 17544
54602222
ND
175452000-07-09 Nick Duffek <nsd@redhat.com>
17546
17547 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17548 (use_methods): New function.
17549 (main): Call use_methods().
17550 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17551 (do_tests): Call test_method_param_class.
17552
2bec0572
ND
175532000-07-09 Nick Duffek <nsd@redhat.com>
17554
17555 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17556 spelling.
17557 (test_enums): New procedure. Move enum tests from end of script
17558 to here. Set breakpoint on function name instead of line number.
17559 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17560 (enums2): New marker function.
17561 (enums1): New function.
17562 (main): Call enums1(). Move enum tests to enums1().
17563
78492fde
AC
17564Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17565
17566 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17567 compile/link program. Update line numbers.
78492fde
AC
17568 * gdb.asm/d10v.inc: Define ``startup''.
17569 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17570
49a2cef8
AC
17571Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17572
17573 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17574
3e6c8688
EZ
175752000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17576
17577 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17578 of 'help maint print' command.
3e6c8688 17579
9ff5cbe9
AC
17580Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17581
17582 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17583 they use gdb_expect_list.
9ff5cbe9 17584
17c579bd
AC
17585Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17586
17587 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17588 memory-read-packet-size'' instead of ``set endian big'' to test
17589 long commands.
17c579bd 17590
e6d71bf3
DB
175912000-06-03 Daniel Berlin <dan@cgsoftware.com>
17592
17593 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17594 g++, and stop skipping them.
e6d71bf3
DB
17595
17596 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17597 work under g++.
17598
d63a86f8 17599 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17600 initialization.
17601
dc96c6c7 176022000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17603
17604 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17605 the regular expression: accept an (almost) arbitrary sequence of
17606 "frames-invalid" and "breakpoints-invalid" messages both before
17607 and after the "starting" message.
17608
dc96c6c7 176092000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17610
17611 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17612
dc96c6c7 176132000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17614
17615 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17616 Relax the regular expression a little, make it pass on Solaris 8.
17617
8216cda9
KB
176182000-05-12 Kevin Buettner <kevinb@redhat.com>
17619
17620 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17621 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17622 Instead, it is permissible for gdb to stop on the line of the
17623 call itself.
17624
1a570b2f
MS
176252000-05-12 Michael Snyder <msnyder@.cygnus.com>
17626
17627 * gdb.base/break.exp (bp on small function, optimized file):
17628 Add a second pass pattern. The behavior differs here between stabs
17629 and dwarf for one-line functions. Stabs preserves two line symbols
17630 (one before the prologue and one after) with the same line number,
17631 but dwarf regards these as duplicates and discards one of them.
17632 Therefore the address after the prologue (where the breakpoint is)
17633 has no exactly matching line symbol, and GDB reports the breakpoint
17634 as if it were in the middle of a line rather than at the beginning.
17635
dc96c6c7 176362000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17637
d63a86f8 17638 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17639 rather than "send_gdb" (for consistancy).
17640
7d418785
AC
17641Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17642
17643 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17644 * gdb.c++/templates.cc: Properly check for GCC version number.
17645 * lib/compiler.cc: Likewise
17646
dc96c6c7 176472000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17648
d63a86f8 17649 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17650 gdb may not stop at the first line of main, due to code motion.
17651
dc96c6c7 176522000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17653
17654 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17655 This test depends on parsing the printf output from the target.
17656 Since the sparclet stub doesn't do stdio, this will never work.
17657 * gdb.base/call-rt-st.exp: ditto.
17658 * gdb.base/call-strs: ditto.
17659
dc96c6c7 176602000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17661
17662 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17663
17664 * gdb.base/ending-run.exp: After connecting to a remote target,
17665 but before running, the target will appear to be in a random
17666 location. Specify both a file and a line for breakpoints.
17667 Also, the function that calls main may be called 'init'
17668 rather than 'start'.
17669
a5a51225
EZ
176702000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17671
17672 * gdb.base/help.exp: Update output for add-symbol-file command.
17673
7930cc7c
FN
176742000-04-10 Fernando Nasser <fnasser@cygnus.com>
17675
17676 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17677 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17678
23e37ab1
C
176792000-04-07 J.T. Conklin <jtc@redback.com>
17680
e93c542c
C
17681 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17682
23e37ab1
C
17683 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17684
591b8fa3
PDM
17685Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17686
17687 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17688 values that can be represented exactly.
591b8fa3
PDM
17689 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17690 above change, and to not check against the directory part of the source
17691 file name.
17692 (step into print_long_arg_list): Likewise.
17693 (print print_small_structs from print_long_arg_list): Likewise.
17694 (print print_long_arg_list): Likewise.
17695
7a495180
EZ
176962000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17697
30b53638 17698 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17699
beb998c6
AC
17700Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17701
17702 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17703
1c689132
DB
177042000-03-25 Daniel Berlin <dan@cgsoftware.com>
17705
17706 * gdb.base/commands.exp (deprecated_command_test): Add test for
17707 deprecate with no arguments.
17708
c1790a9d
JL
177092000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17710
17711 * gdb.base/break.exp: Add new test for setting breakpoints on
17712 optimized code so we can test breakpoints work even when function
17713 prologues may be optimized away
17714
003ba290
FN
177152000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17716
17717 From David Whedon <dwhedon@gordian.com>
a9c64011 17718 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17719
6837a0a2
DB
177202000-03-22 Daniel Berlin <dan@cgsoftware.com>
17721
17722 * gdb.base/help.exp: Added test for new apropos command.
17723
b9593231
KB
177242000-03-21 Kevin Buettner <kevinb@redhat.com>
17725
17726 * gdb.base/pointers.c (usevar): New function.
17727 (main): Make sure that global variables v_int_pointer2, rptr,
17728 and y are all referenced someplace in the program by calling
17729 usevar() on them. [Some linkers delete symbols which are
17730 never referenced. The space remains, but there's no way to
17731 get a (symbolic) handle on the variable from the debugger.]
17732
751a959b
EZ
177332000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17734
17735 * gdb.base/printcmds.c: Add typedeffed arrays.
17736
17737 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17738 procedure to test arrays that are typedef'd.
751a959b 17739
73a93a32
JI
177402000-03-13 James Ingham <jingham@leda.cygnus.com>
17741
17742 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17743 the library directories.
73a93a32 17744
fb40c209
AC
17745Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17746
17747 * configure.in (configdirs): Add sub directory gdb.mi.
17748 * configure: Re-generate.
17749
17750 * gdb.mi: New directory.
d63a86f8 17751
ee4dd2c9
AC
177522000-02-25 Scott Bambrough <scottb@netwinder.org>
17753
17754 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17755 a long long value as a double on ARM platforms.
ee4dd2c9 17756
70f0cc22
JB
177572000-02-16 Jim Blandy <jimb@redhat.com>
17758
17759 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17760 default source file is set properly before running this test.
17761
853819b8
EZ
177622000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17763
17764 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17765 gdbtk/library directory, not in gdbtcl2.
853819b8 17766
dfcd3bfb
JM
177672000-02-04 Jim Blandy <jimb@redhat.com>
17768
17769 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17770 backslash from regexp pattern.
17771
17772 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17773 procedure. Use it to run all the "continue to bp overloaded"
17774 tests. Note that this changes the names of the tests slightly.
17775 If the breakpoint hit message includes a hex PC value, because
17776 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17777 from the real source code, still consider that a pass.
17778
17779 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17780 XFAIL here if the breakpoint message contains a hex address. Note
17781 similar change on 1999-11-02.
17782
17783 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17784
17785 * gdb.base/ptype.exp: Establish a default source file before
17786 calling get_debug_format.
17787
177882000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17789
17790 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17791
8b93c638
JM
177922000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17793
17794 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17795 of successive stepi commands -- while in the prologue we should see
17796 the function entry bracket.
17797
177982000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17799
17800 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17801 reach __change_mode() when stepping through the end of main().
17802
c5394b80
JM
178032000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17804
17805 * gdb.base/default.exp: Fix expected pattern.
17806 * gdb.base/help.exp: Same.
17807
0d06e24b
JM
178082000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17809
17810 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17811 Don't use xfail's because that affects only the following test.
d63a86f8 17812
0d06e24b 17813 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17814 solaris or linux.
0d06e24b
JM
17815
17816 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17817
dc96c6c7 178182000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17819
d63a86f8 17820 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17821 "A syntax error" rather than "A parse error". Accept both.
17822
178232000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17824
17825 * gdb.base/default.exp: Remove OS dependent string from "target
17826 remote" test.
17827 * gdb.base/help.exp: Same for "help target remote" test.
17828
c3f6f71d
JM
178292000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17830
17831 From Jim Kingdon <kingdon@redhat.com>:
17832
17833 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17834 prompt (cleanup rather than necessity, but still might keep output
17835 from spilling to next test).
c3f6f71d
JM
17836
178372000-01-02 Fred Fish <fnf@cygnus.com>
17838
17839 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17840 AIX, which defines them in <sys/types.h>.
17841
ed9a39eb 178421999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17843
ed9a39eb 17844 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17845 float" test.
ed9a39eb
JM
17846
178471999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17848
ed9a39eb 17849 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17850
17851 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17852 outermost frame disallowed".
17853
178541999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17855
17856 * gdb.base/setvar.exp: New tests for setting the value of a struct
17857 with a constant list.
17858
178591999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17860
17861 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17862 require the user to type a cast before setting the value of a struct.
17863
de57eccd
JM
178641999-12-06 Jim Blandy <jimb@cygnus.com>
17865
17866 * gdb.base/default.exp: Expect the new 'info float' command on
17867 all i386 platforms.
17868
17869 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17870 LinuxThreads libraries that don't support debugging.
17871
c2d11a7d
JM
17872Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17873
17874 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17875 Change the buffer type to ``unsigned char'' to simplify size
17876 arithmetic.
c2d11a7d
JM
17877
17878 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17879 stub only handles 400-1 byte packets. Verify that the download
17880 worked.
c2d11a7d
JM
17881
178821999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17883
17884 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17885 tests, using UNRESOLVED for the untested cases. Also, does not wait
17886 for a timeout if the prompt was received before a recognizable pattern.
17887
178881999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17889
17890 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17891
178921999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17893
17894 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17895 watchpoints.
c2d11a7d
JM
17896
178971999-11-24 Jason Merrill <jason@casey.cygnus.com>
17898
17899 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17900
17901 * gdb.c++/local.exp: Be more flexible in recognizing local class
17902 name mangling. Don't allow horribly truncated method names.
17903 * gdb.c++/derivation.exp: Expect protected inheritance.
17904 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17905 * gdb.c++/virtfunc.exp: Likewise.
17906 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17907 when printing a nested enum.
17908
179091999-11-22 Jim Blandy <jimb@cygnus.com>
17910
17911 * gdb.base/step-test.exp: Properly await GDB's response to setting
17912 a breakpoint on the call to large_struct_by_value.
17913
17914 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17915 just because we have debug info for the `start' function.
17916
179171999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17918
17919 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17920 "Unknown signal" messages, which indicate (on LinuxThreads) that
17921 GDB doesn't know how to debug threads on this system. This is
17922 better than hanging while philosopher 0 dumps chatter into gdb.log.
17923
179241999-11-18 Tom Tromey <tromey@cygnus.com>
17925
17926 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17927
179281999-11-18 Fred Fish <fnf@cygnus.com>
17929
17930 * gdb.base/coremaker2.c: Add sample program for generating
17931 cores that is more self contained than coremaker.c. Eventually
17932 I'll add more code to this and tie it into the testsuite.
17933
4ce44c66
JM
179341999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17935
17936 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17937
179381999-11-10 Jimmy Guo <guo@cup.hp.com>
17939
17940 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17941 from $srcdir/lib/.
4ce44c66 17942 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17943 and gdb.c++/.
4ce44c66
JM
17944
17945 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17946
d63a86f8 17947 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17948 'continue with watch' test point.
17949
179501999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17951
17952 Merged from p2linux-990323-branch:
d63a86f8 17953
4ce44c66
JM
17954 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17955
11cf8741
JM
17956Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17957
17958 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17959 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17960
17961Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17962
17963 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17964 gdb_expect_list.
11cf8741
JM
17965
17966Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17967
17968 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17969
179701999-11-03 Mark Salter <msalter@cygnus.com>
17971
17972 * gdb.base/break.exp: Fix "stub continue" pattern.
17973
179741999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17975
17976 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17977
179781999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17979
17980 * gdb.base/display.exp ("finish"): Add timeout clause.
17981
17982 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17983 plain prompt clause, so this doesn't have to time out in order to
17984 fail.
17985
17986 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 17987 breakpoint hit messages include an address.
11cf8741
JM
17988
17989 * gdb.base/display.exp: Don't forget to escape parens in regular
17990 expressions. Unix regexp notatation sucks.
17991
179921999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17993
17994 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 17995 order for 'signalled' message.
11cf8741 17996
5c44784c
JM
179971999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17998
17999 From Jimmy Guo <guo@cup.hp.com>:
18000 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18001 * gdb.base/annota1.c: Add code for tests to work with.
18002
180031999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18004
18005 * gdb.base/remote.exp: New test for remote downloading settings.
18006 * gdb.base/remote.c: New file with large .data.
18007
917317f4
JM
180081999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18009
18010 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18011 for LinuxThreads support, merged from the Code Fusion branch.
18012
18013Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18014
18015 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18016 containing exp_continue into a while within an expect. Don't
18017 attempt a start more than three times. Check return value from
18018 gdb_load.
d63a86f8 18019
2df3850c
JM
18020Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18021
18022 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18023 a pass case.
2df3850c 18024
2acceee2
JM
180251999-10-01 Kevin Buettner <kevinb@cygnus.com>
18026
18027 * gdb.base/break.c (main): Added a statement that we can step
18028 off of.
18029 * gdb.base/break.exp: Added tests for setting a breakpoint
18030 at an offset and stepping onto a breakpoint.
18031
180321999-10-01 Fred Fish <fnf@cygnus.com>
18033
d63a86f8 18034 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18035 gdb output.
18036
c2c6d25f
JM
180371999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18038
18039 * gdb.base/break.exp: Code locations are in hex, don't forget!
18040 (For HP-UX.)
18041
180421999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18043
18044 * condbreak.exp: Use break.c as test program.
18045 * condbreak.c: Remove, redundant with break.c.
18046
180471999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18048
18049 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18050 Z-packets if the target needs it.
c2c6d25f
JM
18051
180521999-09-13 James Ingham <jingham@leda.cygnus.com>
18053
18054 * gdb.c++/overload.exp: Added tests for listing overloaded
18055 functions with function pointers in the arg, explicitly calling
18056 out the version you want.
18057
cff3e48b
JM
180581999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18059
18060 * long_long.exp: Add variations of test cases that work for
18061 targets with 16-bit ints and 32-bit doubles.
18062
d4f3574e
SS
180631999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18064
18065 * break.c (main): Compare a possibly-uninitialized argc with an
18066 unlikely value that fits in 16 bits.
18067
180681999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18069
18070 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18071 0xfeeb, don't want negative numbers if ints are 16 bits.
18072
18073 * lib/gdb.exp (skip_cplus_tests): New proc.
18074 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18075 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18076 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18077 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18078 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18079 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18080 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18081 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18082
18083 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18084
18085Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18086
18087 * gdb.base/corefile.exp (up): Allow a parameter to appear
18088 in the frame that we're going up to.
18089
18090 From Jim Blandy <jimb@cygnus.com>:
18091
18092 * gdb.base/default.exp (info float): Expect some output now.
18093
18094 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18095 returning floating-point values to fail on the x86.
18096 * gdb.base/callfwmall.exp (do_function_calls): Same.
18097
18098 * gdb.base/list.exp (test_listsize): Correct expectations for
18099 listing line 1 with listsize 2. Also, listing a single line
18100 works now, as does listing three lines. [Kevin's note: There
18101 were a number of other cases fixed too where the expectations
18102 differed...]
18103
181041999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18105
18106 * gdb.base/selftest.exp: Add case for when version prints as
18107 constant string instead of char pointer.
18108
104c1213
JM
181091999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18110
18111 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18112 stepping out of main.
104c1213
JM
18113
18114 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18115 G++ used.
18116
18117 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18118 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18119
18120 * gdb.c++/ovldbreak.exp: Update match string in test that
18121 includes a warning of multiple breakpoints.
18122
181231999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18124
18125 * gdb.base/display.exp: Improve precision of step-after-finish
18126 added yesterday.
18127
18128 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18129 test.
104c1213
JM
18130
18131 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18132 configs when using G++, not just hppa*.
18133
181341999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18135
18136 * gdb.base/async.c: New file.
18137 * gdb.base/async.exp: New file.
18138
18139Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18140
18141 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18142 PA64.
18143
53a5351d
JM
18144Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18145
104c1213
JM
18146 * gdb.base/display.exp: "finish" can leave us mid-line on many
18147 targets, deal with it. Add a small constant to main, instead of
18148 1000 since main+1000 may not be a valid address in the target.
18149
53a5351d
JM
18150 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18151 on hpux11.
18152
18153 * gdb.base/attach.exp: Handle another hpux11 error message variant
18154 when attaching to a process that does not exist.
18155
181561999-08-19 J.T. Conklin <jtc@redback.com>
18157
18158 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18159 characters in 'continue to 1241' test.
53a5351d
JM
18160
181611999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18162
18163 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18164 stop in print_long_arg_list, define and use a whitespace
18165 variable in print_small_structs test, add an XFAIL for Solaris.
18166 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18167 interested enough to fix.
18168
7be570e7
JM
181691999-08-13 Keith Seitz <keiths@cygnus.com>
18170
18171 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18172 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18173 proc knows about targets other than the natives.
18174 (test_assign): Use "gdb_run_cmd" to "run" the target.
18175 Check that we've actually hit the breakpoint at main.
18176 When we attempt to assign a value to a local variable, check
18177 that the variable is in the current scope, i.e., don't use
18178 a test with an empty result.
18179
18180Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18181
18182 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18183 command.
7be570e7
JM
18184
181851999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18186
18187 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18188 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18189 gdb.compat, gdb.threads-hp.
18190 gdb.hp/configure, gdb.hp/configure.in: New files.
18191 gdb.hp/Makefile.in: Recurse into new subdirs.
18192 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18193 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18194 in object files.
18195 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18196
96baa820
JM
181971999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18198
18199 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18200 funky printf, remove a bogus p/a test.
96baa820
JM
18201
182021999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18203
18204 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18205 connected to the target. This is necessary when running not
18206 natively.
96baa820
JM
18207
182081999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18209
18210 * gdb.base/step-test.exp: Removed some extraneous messages.
18211
18212 * gdb.base/long_long.exp: Don't run memory examination tests
18213 on little-endian targets (they will need a different set of
18214 results to match).
18215
182161999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18217
18218 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18219 until somebody decides to fix GDB.
18220
18221 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18222 constant as "ULL".
96baa820
JM
18223 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18224 matches for a couple x/2 commands.
18225
a0b3c4fd
JM
182261999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18227
18228 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18229 by merging in ref-types2 tests.
18230 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18231
18232 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18233 * gdb.c++/Makefile.in: Add standard actions.
18234 (EXECUTABLES): Rename from PROGS, update list.
18235 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18236 from gdb.hp.
18237 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18238 foo and bar locals.
18239 * gdb.c++/anon-union.exp: Fix tests to match.
18240 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18241 expect matches to handle output variations.
18242 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18243 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18244 output, add HP alternatives for new and delete prints.
a0b3c4fd 18245 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18246 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18247 * gdb.c++/demangle.exp: Use $style when reporting failure.
18248 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18249 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18250 match alternatives.
18251 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18252 compilers.
a0b3c4fd
JM
18253 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18254 * gdb.c++/method.exp: Add match alternatives.
18255 * gdb.c++/misc.cc: Add bool types.
18256 * gdb.c++/misc.exp: Add tests for bool types.
18257 * gdb.c++/overload.exp: Add xfails.
18258 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18259 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18260 add some more template parameter tests (only for HP currently).
18261 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18262 * gdb.c++/virtfunc.cc: Add return type and value for main.
18263 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18264 match alternatives.
d63a86f8 18265
a0b3c4fd
JM
182661999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18267
18268 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18269
182701999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18271
18272 * gdb.base/signals.exp: Don't expect getting a backtrace from
18273 within a signal handler to fail on Linux.
18274
182751999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18276
18277 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18278 * lib/gdb.exp: Remove some gratuitious semicolons.
18279 (delete_breakpoints): Increase timeout.
18280 (gdb_expect): Add -notransfer option.
18281 (gdb_test): Use -notransfer option.
18282 (get_compiler_info): Add f77 case.
18283 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18284 case.
a0b3c4fd
JM
18285 (gdb_preprocess): Call get_compiler.
18286
18287 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18288 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18289 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18290 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18291 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18292 third arg to gdb_test.
a0b3c4fd
JM
18293 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18294 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18295 HP-UX xfails, add others.
a0b3c4fd
JM
18296 * gdb.base/completion.exp: Reflect name change of self-test.
18297 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18298 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18299 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18300 HP failure number.
a0b3c4fd
JM
18301 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18302 useless HP-UX 10.30 references.
18303 * gdb.base/maint.exp: Loosen matches.
18304 * gdb.base/pointers.c (main): Declare more_code.
18305 * gdb.base/pointers.exp: Match on output of a `next'.
18306 * gdb.base/structs.c: Add prototypes.
18307 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18308 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18309
183101999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18311
18312 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18313 command.
a0b3c4fd
JM
18314
183151999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18316
18317 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18318 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18319
18320 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18321 debug info. Deal with lack of signal hanlder info in stack.
18322
a9c64011 18323 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18324 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18325
5a2468f5
JM
183261999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18327
18328 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18329 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18330
adf40b2e
JM
18331Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18332
18333 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18334 a1-selftest.exp.
adf40b2e
JM
18335 * gdb.base/configure: Re-generate.
18336
183371999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18338
18339 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18340 in trying to run first and name is too long.
18341
18342 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18343 pointers2.c and pointers2.exp, respectively.
18344 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18345 doschk happier.
18346
43e526b9
JM
183471999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18348
18349 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18350 callfuncs2.c and callfuncs2.exp.
18351
18352 * gdb.base/list.exp: Remove mistaken xfails.
18353 * gdb.base/list0.h: Add optional prototypes.
18354
9846de1b
JM
18355Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18356
a9c64011 18357 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18358 calling malloc.
a9c64011
AS
18359 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18360 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18361 use.
9846de1b
JM
18362
183631999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18364
18365 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18366 * gdb.base/annota2.cc, annota2.exp: Move from here.
18367 * gdb.c++/annota2.cc, annota2.exp: To here.
18368 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18369
43ff13b4
JM
18370Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18371
18372 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18373 a consistent format.
43ff13b4 18374
085dd6e6
JM
183751999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18376
18377 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18378 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18379 HP compilers, also set the globals $true and $false.
18380
18381 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18382 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18383 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18384 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18385 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18386 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18387 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18388 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18389 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18390 whatis.c} Add C++ compatible function definitions and return
18391 types, add includes for library functions.
085dd6e6
JM
18392 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18393 * gdb.base/step-test.c (myglob): Rename from glob.
18394 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18395 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18396 files, move here from gdb.hp.
085dd6e6 18397 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18398 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18399 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18400 Adjust line numbers in regexps.
085dd6e6
JM
18401
18402 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18403 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18404 instead of 0/1.
18405
18406 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18407 foll-vfork.exp: New files, move here from gdb.hp.
18408 * gdb.base/page.exp: New file, test of pagination command.
18409
18410 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18411 recursion test.
18412 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18413
18414 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18415 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18416
18417 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18418 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18419 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18420 watchpoint test.
085dd6e6
JM
18421 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18422 them work.
18423 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18424 expressions properly.
18425 * gdb.base/corefile.exp: Loosen the match slightly.
18426 * gdb.base/default.exp: Allow "Error accessing memory" message
18427 also.
18428 * gdb.base/display.exp: Skip over x/0 j if PA64.
18429 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18430 * gdb.base/interrupt.exp: Ditto.
18431 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18432 in use.
18433 * gdb.base/list.exp: Add xfails for HP-UX.
18434 * gdb.base/long_long.exp: Refine some of the numeric matches.
18435 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18436 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18437 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18438 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18439 * gdb.base/ptype.exp: Succeed on more varieties of output.
18440 * gdb.base/scope.exp: Add xfails for HP-UX.
18441 * gdb.base/sect-cmd.exp: Add more cases.
18442 * gdb.base/setvar.exp: Add xfails for HP-UX.
18443 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18444 * gdb.base/signals.exp: Match on void symbolically.
18445 * gdb.base/step-test.exp: Add case for PA64.
18446 * gdb.base/term.exp: Add exit and restart.
18447 * gdb.base/twice.exp: Clean up after self.
18448 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18449 * gdb.base/whatis.exp: Allow more ways to pass tests.
18450
18451 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18452 no longer useful.
085dd6e6
JM
18453
18454Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18455
18456 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18457 list of patterns.
085dd6e6 18458 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18459 print_double_array(double_array)", "continuing to breakpoint
18460 1018", "print print_double_array(array_d)" and "continuing to
18461 1034" tests.
d63a86f8 18462
085dd6e6
JM
184631999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18464
a9c64011 18465 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18466
184671999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18468
18469 * config/mt-*: Remove, these haven't been used since 1996.
18470
184711999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18472
18473 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18474 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18475 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18476
9e0b60a8
JM
184771999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18478
18479 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18480 simpler match case for the ptype of the big class.
18481
184821999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18483
18484 * gdb.exp: Fix test for gdb_prompt existence.
18485
184861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18487
18488 * gdb.exp (gdb_test): Add fail after calls to perror.
18489
184901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18491
18492 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18493
184941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18495
18496 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18497
0f71a2f6
JM
18498Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18499
18500 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18501 malloc() is linked in.
0f71a2f6
JM
18502
185031999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18504
18505 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18506 step at end.
18507
18508 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18509
185101999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18511
18512 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18513
cce74817
JM
18514Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18515
18516 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18517 * gdb.base/mips_pro.exp: Likewise.
18518
185191999-06-02 Keith Seitz <keiths@cygnus.com>
18520
18521 * gdb.c++/templates.cc: Change all "new" operators to throw
18522 an exception.
18523 * gdb.c++/cplusfuncs.cc: Likewise.
18524
18525 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18526
18527Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18528
18529 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18530 * gdb.base/ending-run.exp: When stepping out of main, accept a
18531 step into an arbitrary assembler file.
cce74817 18532
392a587b
JM
185331999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18534
d63a86f8 18535 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18536 "breakpoint-invalid" to be printed.
d63a86f8 18537 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18538 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18539 * gdb.base/annota2.cc: Initialize a.x to 0.
18540
9e086581
JM
185411999-05-17 Keith Seitz <keiths@cygnus.com>
18542
18543 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18544 when "skip_float_tests" set.
18545 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18546 "print print_ten_doubles", and "step into print_long_arg_list".
18547 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18548 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18549 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18550 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18551 "skip_float_tests" is set.
18552 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18553 when "skip_float_tests" set.
d63a86f8 18554
cd0fc7c3
SS
185551999-05-06 Keith Seitz <keiths@cygnus.com>
18556
18557 * gdb.base/annota2.cc: Include stdio.h.
18558
18559Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18560
18561 * gdb.base/crossload.exp: Remove, this has been disabled ever
18562 since BFD stopped including all targets, and cross-GDB gets
18563 plenty of testing anyway.
18564 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18565 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18566 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18567 * gdb.base/README: Remove, was doc for this.
18568 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18569 needed.
cd0fc7c3 18570
b83266a0
SS
185711999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18572
18573 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18574 output.
18575
18576 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18577 * gdb.base/annota2.exp: New file. More annotation tests.
18578 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18579 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18580
185811999-04-23 Angela Marie Thomas <angela@cygnus.com>
18582
18583 * config/cfdbug.exp: New file.
18584
7a292a7a
SS
185851999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18586
18587 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18588 Marcus Daniel's and Dale Hawkins's demangler crashes.
18589
18590 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18591 test_lucid_style_demangling, test_arm_style_demangling,
18592 test_hp_style_demangling): Try Tom Tromey's core-dumping
18593 identifier under each demangling style.
7a292a7a
SS
18594
185951999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18596
18597 * gdb.c++/demangle.exp: Include the current demangling style
18598 in all test names.
18599 (current_demangling_style): New global variable.
18600 (set_demangling_style, test_demangling_core, test_demangling,
18601 test_demangling_exact): New functions.
18602 (test_gnu_style_demangling, test_lucid_style_demangling,
18603 test_arm_style_demangling, test_hp_style_demangling): Use those,
18604 instead of calling gdb_test and gdb_test_exact directly.
18605 (catch_demangling_errors): New function, which reports errors
18606 signalled by the demangling test functions in an orderly way.
18607 (do_tests): Use catch_demangling_errors.
18608
186091999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18610
18611 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18612 grouping in expressions, not {}.
7a292a7a
SS
18613
18614 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18615 initialized yet.
7a292a7a
SS
18616
186171999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18618
18619 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18620 are listed.
18621
186221999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18623
18624 * gdb.stabs/weird.exp: Test for CC being defined before
18625 looking at its value.
18626
186271999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18628
18629 * gdb.base/call-ar-st.exp: Remove stray '#'.
18630 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18631 "short int" and "long int".
18632 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18633 change, to mollify finicky HP compiler.
7a292a7a
SS
18634 * gdb.hp/reg-test.exp (testfile): Fix file name.
18635 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18636
7a292a7a
SS
18637 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18638 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18639 alternate form of enum ptype.
18640
c906108c
SS
186411999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18642
7a292a7a
SS
18643 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18644 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18645 passing skip_hp_tests, so as not to waste time on guaranteed
18646 failure.
7a292a7a 18647
c906108c
SS
18648 * gdb.c++/overload.cc: Pass string instead of char addr, always
18649 init ccpfoo.
18650 * gdb.c++/templates.cc: Fix syntax error.
18651
7a292a7a
SS
18652Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18653
18654 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18655 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18656 command.
18657
186581999-03-18 James Ingham <jingham@cygnus.com>
18659
18660 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18661
18662 * gdb.c++/method.exp: It was testing an uninitialized int on the
18663 stack and assuming it was positive.
18664
18665 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18666
18667 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18668 keep it from killing the rest of the tests.
7a292a7a
SS
18669 Use gdb_continue_to_end.
18670
18671 * gdb.base/sigall.exp: use gdb_continue_to_end.
18672
18673 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18674
18675 * gdb.base/display.exp: use runto_main, not run.
18676
d63a86f8
RM
18677 * gdb.base/default.exp: Check for the current error message in the
18678 r abbreviation test.
7a292a7a
SS
18679 Add strongarm to the targets that know info float.
18680
d63a86f8 18681 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18682 run which doesn't work with monitors.
18683
18684 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18685
18686 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18687
18688 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18689 program. Traps the case (in Cygmon) when the program never really
18690 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18691 more places, so I used my name. Sorry Mark...
18692
18693 * config/monitor.exp (gdb_target_monitor): added another
18694 target_info parameter: remotebinarydownload. This will set the
18695 remotebinarydownload flag if this is causing some boards trouble.
18696
186971999-03-18 Mark Salter <msalter@cygnus.com>
18698
18699 * lib/gdb.exp (continue_to_exit): New function.
18700
18701 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18702 * gdb.base/ending-run.exp: Ditto.
18703 * gdb.base/step-test.exp: Ditto.
18704
187051999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18706
18707 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18708 (suggested by Art Haas <ahaas@neosoft.com>).
18709
187101999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18711
889bf7c5 18712 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18713
18714Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18715
18716 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18717 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18718
187191999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18720
18721 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18722 a call to strlen; sometimes we do have sources.
18723
187241999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18725
18726 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18727 character, so GDB won't print garbage after its end.
d63a86f8 18728
c906108c
SS
18729 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18730 breakpoint there instead. Sometimes GCC emits memcpy to handle
18731 the large structures being passed by value, so we step into that
18732 instead of sum_array_print, which obscures what we're really testing.
18733 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18734 the bizarre steps into memcpy, so do that here. Add check for
18735 stepping into function calls that pass large structures by value.
18736 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18737 Remove all references to specific line numbers.
18738 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18739 New type and function.
18740 (main): Call large_struct_by_value, passing it a large struct by value.
18741 * lib/gdb.exp (gdb_get_line_number): New function.
18742
18743 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18744 more portable.
18745
7a292a7a
SS
187461999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18747
c906108c
SS
18748 * lib/gdb.exp: Doc fixes.
18749
7a292a7a
SS
187501999-03-05 Nick Clifton <nickc@cygnus.com>
18751
d63a86f8 18752 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18753
187541999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18755
c906108c 18756 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18757 commands. They're not germane to this test, and they don't work
18758 that way on remote targets.
c906108c 18759
3fc11d3e
JM
187601999-03-01 James Ingham <jingham@cygnus.com>
18761
18762 * Changelog entries merged over from gdb development branch.
18763
3fc11d3e
JM
18764 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18765
18766 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18767 for outputting results of test run.
18768
2d4a1622 18769 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18770
18771 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18772
7a292a7a
SS
187731999-02-25 Felix Lee <flee@cygnus.com>
18774
18775 * lib/gdb.exp (debug_format): initialize
18776
c906108c
SS
187771999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18778
18779 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18780 * gdb.base/call-rt-st.c: Ditto.
18781
c906108c
SS
187821999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18783
18784 * gdb.threads/pthreads.exp (horiz): New variable.
18785 (test_startup): Fix regexps that capture thread numbers.
18786
187871999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18788
18789 * gdb.base/smoke.exp: Disambiguate two test case names (both
18790 called ``print'').
18791
18792Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18793
18794 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18795 compilation.
c906108c
SS
18796
187971999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18798
18799 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18800 actual output formatting.
18801 * gdb.base/smoke.exp: GDB removes leading 0's.
18802 * gdb.base/volatile.exp: Don't check type of remuneration;
18803 that variable is no longer defined in constvars.c.
18804 * gdb.base/step-test.c (main): Exit with explicit exit code.
18805 * gdb.base/step-test.exp: Remove two nexti checks--they are
18806 not portable.
18807
188081999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18809
18810 * gdb.base/help.exp ("help delete display"): Fix test to match
18811 gdb's output.
18812
18813 * gdb.base/long_long.c (known_types): Initialize values to zero.
18814 * gdb.base/long_long.exp: Step one more line
18815 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18816 leading zeros. Explicitly ask for hex formatting. Use
18817 unique test case names.
c906108c
SS
18818
18819Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18820
d63a86f8 18821 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18822
18823 * gdb.c++/method.exp: Add missing close brace.
18824
188251999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18826
18827 * gdb.base/maint.exp: Use 'set height 0' to disable page
18828 prompting, not 'set height 400'.
18829
18830 Fix a bunch of timeouts.
18831 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18832 four separate tests, so expect doesn't take forever to match a ton
18833 of text against a regexp with lots of .* forms.
18834 ("maint print psymbols", "maint print symbols"): Make some of
18835 these greps more selective, so that expect doesn't try to wade
18836 through huge piles of output and time out.
18837
18838 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18839
18840 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18841 tests: one which doesn't expect shlib events to be reported, and
18842 another which does, but is XFAIL for all platforms other than
18843 HP/UX.
c906108c
SS
18844
18845 * gdb.base/break.exp: Teach the test suite that the `catch
18846 fork', `catch vfork', and `catch exec' commands produce error
18847 messages on platforms that don't provide these features.
18848
18849Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18850
18851 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18852 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18853 (shortening names from solib_threshold.exp etc), won't run on
18854 anything but HP-UX for the foreseeable future.
c906108c 18855 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18856 reflect move.
c906108c
SS
18857
18858Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18859
18860 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18861 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18862
18863Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18864
18865 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18866 successfully re-sets breakpoints in shared libraries.
18867 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18868
18869Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18870
d63a86f8
RM
18871 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18872 and compiled w/o GCC.
c906108c
SS
18873
18874 * gdb.hp/watch-cmd.exp: ditto.
18875
18876 * gdb.hp/watch-hp.exp: ditto.
18877
18878 * gdb.hp/xdb1.exp: ditto.
18879
18880 * gdb.hp/xdb2.exp: ditto.
18881
18882 * gdb.hp/dbx.exp: ditto.
18883
18884Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18885
18886 * constvars.c: Remove C++-isms.
18887 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18888 with GCC.
c906108c
SS
18889
18890Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18891
18892 The following changes are part of the HP merge.
18893
18894 * gdb.base/break.exp: new tests to verify that catchpoints for
18895 fork, vfork, and exec don't trigger inappropriately.
18896
18897 * gdb.base/opaque.exp: compile one file at a time, then link.
18898
18899 * gdb.base/signals.exp: be more restrictive about which hppa
18900 systems receive a setup_xfail. new tests.
18901
18902 * gdb.base/solib_threshold.build: new file.
18903 * gdb.base/solib_threshold.exp: new file.
18904 * gdb.base/solib_threshold.link_opts: new file.
18905 * gdb.base/solib_threshold.mk: new file.
18906 * gdb.base/gen_solib_threshold.c: new file.
18907
18908 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18909 tests. New tests for enums inside classes.
18910
18911 * gdb.c++/compiler.cc: indicate support of template debugging.
18912
18913 * gdb.c++/demangle.exp: run hp style demangling tests.
18914
18915 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18916 tests.
18917
18918 * gdb.c++/misc.cc: changes to support new tests.
18919
18920 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18921 to support new tests.
18922
18923 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18924 gcc, then skip these tests.
18925
18926Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18927
18928 The following files are part of the HP merge; some had longer
18929 names at HP, but have been renamed to be no more than 14
18930 characters in length.
18931
18932 * gdb.hp/ambiguous.cc: new file.
18933 * gdb.hp/ambiguous.exp: new file.
18934 * gdb.hp/attach.exp: new file.
18935 * gdb.hp/attach2.exp: new file.
18936 * gdb.hp/classes-hp.exp: new file.
18937 * gdb.hp/ctti.exp: new file.
18938 * gdb.hp/ctti-add.cc: new file.
18939 * gdb.hp/ctti-add1.cc: new file.
18940 * gdb.hp/ctti-add2.cc: new file.
18941 * gdb.hp/ctti-add3.cc: new file.
18942 * gdb.hp/dbx.exp: new file.
18943 * gdb.hp/exception.cc: new file.
18944 * gdb.hp/exception.exp: new file.
18945 * gdb.hp/foll-exec.c: new file.
18946 * gdb.hp/foll-exec.exp: new file.
18947 * gdb.hp/foll-fork.c: new file.
18948 * gdb.hp/foll-fork.exp: new file.
18949 * gdb.hp/foll-vfork.c: new file.
18950 * gdb.hp/foll-vfork.exp: new file.
18951 * gdb.hp/inherit-hp.exp: new file.
18952 * gdb.hp/more-steps.exp: new file.
18953 * gdb.hp/namespace.cc: new file.
18954 * gdb.hp/namespace.exp: new file.
18955 * gdb.hp/optimize.exp: new file.
18956 * gdb.hp/pxdb.c: new file.
18957 * gdb.hp/pxdb.exp: new file.
18958 * gdb.hp/quicksort.exp: new file.
18959 * gdb.hp/reg-test.exp: new file.
18960 * gdb.hp/reg-test.s: new file.
18961 * gdb.hp/sized-enum.c: new file.
18962 * gdb.hp/sized-enum.exp: new file.
18963 * gdb.hp/start-stop.exp: new file.
18964 * gdb.hp/templ-hp.cc: new file.
18965 * gdb.hp/templ-hp.exp: new file.
18966 * gdb.hp/thr-lib.c: new file.
18967 * gdb.hp/thr-lib.exp: new file.
18968 * gdb.hp/thr-lib.h: new file.
18969 * gdb.hp/thr-liblib.c: new file.
18970 * gdb.hp/virtfun-hp.c: new file.
18971 * gdb.hp/virtfun-hp.exp: new file.
18972 * gdb.hp/watch-cmd.exp: new file.
18973 * gdb.hp/watch-hp.exp: new file.
18974 * gdb.hp/xdb1.exp: new file.
18975 * gdb.hp/xdb2.exp: new file.
18976 * gdb.hp/xdb3.exp: new file.
18977
18978Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18979
18980 The following files are part of the HP merge; some had longer
18981 names at HP, but have been renamed to be no more than 14
18982 characters in length.
18983
18984 * gdb.base/ss.h: new file.
18985 * gdb.base/call-ar-st.c: new file.
18986 * gdb.base/call-ar-st.exp: new file.
18987 * gdb.base/call-rt-st.c: new file.
18988 * gdb.base/call-rt-st-exp: new file.
18989 * gdb.base/call-strs.exp: new file.
18990 * gdb.base/ena-dis-br.exp: new file.
18991 * gdb.base/environ.exp: new file.
18992 * gdb.base/long_long.exp: new file.
18993 * gdb.base/sect-cmd.exp: new file.
18994 * gdb.base/shlib-cl2.exp: new file.
18995 * gdb.base/smoke.exp: new file.
18996 * gdb.base/so-impl-ld.c: new file.
18997 * gdb.base/so-impl-ld.exp: new file.
18998 * gdb.base/so-indr-cl.c: new file.
18999 * gdb.base/so-indr-cl.exp: new file.
19000 * gdb.base/varargs.exp: new file.
19001 * gdb.base/volatile.exp: new file.
19002 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19003 * gdb.base/display.exp: new file.
c906108c
SS
19004 * gdb.c++/derivation.exp: new file.
19005 * gdb.c++/local.exp: new file.
19006 * gdb.c++/member-ptr.exp: new file.
19007 * gdb.c++/overload.exp: new file.
19008 * gdb.c++/ovldbreak.exp: new file.
19009 * gdb.c++/ref-types.exp: new file.
19010 * gdb.c++/ref-types2.exp: new file.
19011 * gdb.c++/userdef.exp: new file.
d63a86f8 19012
c906108c
SS
19013Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19014
19015 * gdb.base/default.exp: Reflect wording change in remote.c.
19016
dc96c6c7 19017Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19018
19019 * gdb.base/help.exp: Update to reflect current text.
19020
19021Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19022
19023 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19024 they're stack variables and contain garbage.
19025 * gdb.c++/anon-union.exp: new file.
19026
19027 The following changes were made by David Taylor
889bf7c5
PA
19028 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19029 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19030 in changes by HP.
c906108c
SS
19031
19032 * gdb.base/bitops.exp: new file.
19033 * gdb.base/default.exp: change expected messages for catch and
19034 info catch tests to reflect HP merge changes.
19035 * gdb.base/enable-disable-break.exp
19036 * gdb.base/ending-run.c: new file.
19037 * gdb.base/long_long.c: new file.
19038 * gdb.base/maint.exp: new file.
19039 * gdb.base/pointers2.exp: new file.
19040 * gdb.base/shlib-call2.exp: new file.
19041 * gdb.base/solib.exp: new file.
19042 * gdb.base/step-test.c: new file.
19043 * gdb.c++/anon-union.cc: new file.
19044 * gdb.c++/local.cc: new file.
19045 * gdb.c++/member-pointer.cc: new file.
19046 * gdb.c++/method.cc: new file.
19047 * gdb.c++/ref-types.cc: new file.
19048 * gdb.c++/ref-types2.cc: new file.
19049 * gdb.c++/userdef.cc: new file.
d63a86f8 19050
c906108c
SS
19051 * gdb.base/scope.exp: compile one file at a time, then link.
19052 * gdb.base/langs.exp: ditto.
19053 * gdb.base/list.exp: ditto.
d63a86f8 19054
c906108c
SS
19055Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19056
19057 The following changes were made by David Taylor
889bf7c5
PA
19058 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19059 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19060 in changes by HP.
d63a86f8 19061
c906108c
SS
19062 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19063 skip tests. When compiling pass c++ flag to gdb_compile.
19064 * gdb.c++/
d63a86f8 19065
c906108c
SS
19066 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19067 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19068 (skip_hp_tests): new function.
19069 (gdb_preprocess): new function.
19070
19071 * configure.in (hpdir): decide whether to configure gdb.hp.
19072 * configure: regenerated.
19073
19074 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19075 to delete on clean.
19076 (EXECUTABLES): update to reflect new additions.
19077 * gdb.base/commands.exp: update message expected.
19078 * gdb.base/default.exp: add copyright notice.
19079 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19080 * gdb.base/help.exp: update messages to reflect current text.
19081 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19082 targets for recurse tests.
19083 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19084 skip this file.
19085
19086 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19087 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19088 compilation.
19089 * gdb.c++/misc.exp: ditto.
19090 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19091 run the tests. tell gdb_compile that it's a c++ compilation.
19092
19093 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19094
c906108c
SS
19095 * gdb.base/all-bin.exp: new file.
19096 * gdb.base/arithmet.exp: new file.
19097 * gdb.base/assign.exp: new file.
19098 * gdb.base/completion.exp: new file.
19099 * gdb.base/cond-expr.exp: new file.
19100 * gdb.base/condbreak.exp: new file.
19101 * gdb.base/define.exp: new file.
19102 * gdb.base/dollar.exp: new file.
19103 * gdb.base/environment.exp: new file.
19104 * gdb.base/eval-skip.exp: new file.
19105 * gdb.base/jump.exp: new file.
19106 * gdb.base/logical.exp: new file.
19107 * gdb.base/pointers.exp: new file.
19108 * gdb.base/relational.exp: new file.
19109 * gdb.base/section_command.exp: new file.
19110 * gdb.base/whatis-expr.exp: new file.
19111
19112 * gdb.base/all-types.c: new file.
19113 * gdb.base/call-array-struct.c: new file.
19114 * gdb.base/call-return-struct.c: new file.
19115 * gdb.base/call-strings.c: new file.
19116 * gdb.base/callfuncs2.c: new file.
19117 * gdb.base/condbreak.c: new file.
19118 * gdb.base/constvars.c: new file.
19119 * gdb.base/display.c: new file.
19120 * gdb.base/int-type.c: new file.
19121 * gdb.base/jump.c: new file.
19122 * gdb.base/miscexprs.c: new file.
19123 * gdb.base/pointers.c: new file.
19124 * gdb.base/pointers2.c: new file.
19125 * gdb.base/shmain.c: new file.
19126 * gdb.base/shr1.c: new file.
19127 * gdb.base/shr2.c: new file.
19128 * gdb.base/solib.c: new file.
19129 * gdb.base/solib1.c: new file.
19130 * gdb.base/solib2.c: new file.
19131 * gdb.base/varargs.c: new file.
19132 * gdb.c++/derivation.cc: new file.
19133 * gdb.c++/overload.cc: new file.
19134 * gdb.c++/ovldbreak.cc: new file.
19135 * gdb.hp/attach.c: new file.
19136 * gdb.hp/attach2.c: new file.
19137 * gdb.hp/average.c: new file.
19138 * gdb.hp/compiler.c: new file.
19139 * gdb.hp/compiler.cc: new file.
19140 * gdb.hp/execd-program.c: new file.
19141 * gdb.hp/follow-exec.c: new file.
19142 * gdb.hp/follow-fork.c: new file.
19143 * gdb.hp/follow-vfork-and-exec.c: new file.
19144 * gdb.hp/misc-hp.cc: new file.
19145 * gdb.hp/more-steps.c: new file.
19146 * gdb.hp/optimize.c: new file.
19147 * gdb.hp/quicksort.c: new file.
19148 * gdb.hp/run-hp.c: new file.
19149 * gdb.hp/start-stop.c: new file.
19150 * gdb.hp/sum.c: new file.
19151 * gdb.hp/templates-hp.cc: new file.
19152 * gdb.hp/thread-local-in-lib.c: new file.
19153 * gdb.hp/thread-local-in-lib.h: new file.
19154 * gdb.hp/thread-local-in-lib.lib.c: new file.
19155 * gdb.hp/vforked-program.c: new file.
19156 * gdb.hp/virtfunc-hp.cc: new file.
19157 * gdb.hp/watchpoint-hp.c: new file.
19158 * gdb.hp/xdb.c: new file.
19159 * gdb.hp/xdb0.c: new file.
19160 * gdb.hp/xdb0.h: new file.
19161 * gdb.hp/xdb1.c: new file.
19162
19163Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19164
19165 The following change was made by Edith Epstein
889bf7c5
PA
19166 <eepstein@cygnus.com> as part of a project to merge in changes
19167 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19168
19169 * gdb.c++/demangle.exp: changed the expected output for some
19170 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19171 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19172 T1<char>::~T1<char>(void)
c906108c 19173 becomes,
a9c64011
AS
19174 maint demangle __dt__11T1__pt__2_cFv
19175 T1<char>::~T1(void)
c906108c 19176
889bf7c5 19177 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19178
c906108c
SS
19179Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19180
19181 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19182 * gdb.trace/backtrace.exp: Likewise.
19183 * gdb.trace/circ.exp: Likewise.
19184 * gdb.trace/collection.exp: Likewise.
19185 * gdb.trace/deltrace.exp: Likewise.
19186 * gdb.trace/infotrace.exp: Likewise.
19187 * gdb.trace/limits.exp: Likewise.
19188 * gdb.trace/packetlen.exp: Likewise.
19189 * gdb.trace/passc-dyn.exp: Likewise.
19190 * gdb.trace/passcount.exp: Likewise.
19191 * gdb.trace/report.exp: Likewise.
19192 * gdb.trace/save-trace.exp: Likewise.
19193 * gdb.trace/tfind.exp: Likewise.
19194 * gdb.trace/tracecmd.exp: Likewise.
19195 * gdb.trace/while-dyn.exp: Likewise.
19196 * gdb.trace/while-stepping.exp: Likewise.
19197
191981998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19199
19200 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19201
19202Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19203
19204 From Brendan Kehoe:
19205 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19206 int return types.
19207
19208Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19209
19210 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19211 remote dos host testing right.
c906108c
SS
19212
19213Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19214
19215 * gdb.base/corefile.exp: remove some xfails.
19216
19217Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19218
19219 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19220 have different timestamps.
c906108c
SS
19221
19222Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19223
19224 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19225 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19226
19227Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19228
19229 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19230 delta.
c906108c
SS
19231
19232Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19233
19234 * gdb.base/default.exp: Add brace missing from previous delta.
19235
19236Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19237
19238 * gdb.base/default.exp: Support test for info float for all
19239 varieties of arm toolchain.
19240
dc96c6c7 19241Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19242
19243 * gdb.trace/*.exp: remove "remote_download" command.
19244
dc96c6c7 19245Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19246
19247 * gdb.trace/*.exp: remove -gdwarf from compile.
19248
19249Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19250
19251 * gdb.trace/configure.in(AC_INIT): typo
19252 * gdb.trace/configure: regenerated
19253
dc96c6c7 19254Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19255
19256 * config/m68k-emc.exp: New file.
19257 * lib/<emc-support.exp trace-support.exp}: New files.
19258 * configure.in: add new test directory gdb.trace.
19259 * gdb.trace/{configure configure.in Makefile.in}: New files.
19260 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19261 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19262 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19263 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19264 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19265 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19266 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19267
dc96c6c7 19268Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19269
19270 * gdb.c++/classes.exp: Change all regular expressions to match
19271 arbitrary combinations of newline/carriage-return, so that they
19272 will work equally well on Unix and Windows.
19273 * gdb.c++/inherit.exp: ditto.
19274 * gdb.c++/virtfunc.exp: ditto.
19275
192761998-08-11 Dawn Perchik <dawn@cygnus.com>
19277
19278 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19279
c2d11a7d
JM
19280Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19281
19282 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19283 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19284 to use a0-a3/d0-d3 as needed.
19285
19286Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19287
19288 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19289 * gdb.disasm/am33.exp: Corresponding changes.
19290
c906108c
SS
192911998-07-11 Felix Lee <flee@cygnus.com>
19292
19293 * gdb.base/callfuncs.exp: add cmp10 test.
19294 * gdb.base/callfuncs.c (cmp10): new function.
19295
19296Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19297
d63a86f8 19298 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19299 into two parts to get around a synchronization problem in expect.
19300
3fc11d3e
JM
19301Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19302
19303 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19304
19305 * configure.in: Add options for gdbtk testsuite.
19306
19307 * configure: Regenerate.
19308
19309 * gdb.gdbtk: New directory to hold gdbtk tests.
19310
c906108c
SS
19311Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19312
19313 * gdb.fortran/types.exp: Escape brackets in expect patterns
19314 for test_float_literal_types_accepted tests.
19315 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19316 before run test.
19317
c2d11a7d
JM
19318Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19319
19320 * am33.exp: Just compile, do not link the testcase.
19321 * am33.s: Add ".am33" pseudoop to force am33 mode.
19322
c906108c
SS
193231998-06-25 Felix Lee <flee@cygnus.com>
19324
19325 * gdb.base/setshow.exp: make sure $pc is sane.
19326
19327 * gdb.stabs/weird.exp: split expect patterns properly.
19328
c2d11a7d
JM
19329Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19330
19331 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19332 * gdb.disasm/am33.exp: Run it.
19333
dc96c6c7 19334Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19335
19336 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19337 match processing (and eliminate spurious timeouts when running).
19338
dc96c6c7 19339Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19340
19341 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19342 exception test, but conditionalize it on target [mach | gnu].
19343
dc96c6c7 19344Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19345
19346 * gdb.base/overlays.exp: fixup compile line for linker script.
19347
19348Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19349
19350 * gdb.fortran/types.exp: don't guess at float size.
19351
19352Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19353
19354 * gdb.base/exprs.exp: delete test that depends on int size.
19355
19356Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19357
19358 * config/sim.exp: Removed checks for target triplets.
19359 (gdb_target_sim): Use gdb,target_sim_options.
19360
19361Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19362
19363 * gdb.base/reread.exp: New file.
19364 * gdb.base/reread1.c: New file.
19365 * gdb.base/reread2.c: New file.
19366
19367Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19368
19369 * config/sim.exp: Use 'target sim -sparclite' when running
19370 SPARClite programs.
19371
19372Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19373
19374 * gdb.base/structs2.exp: New file.
19375 * gdb.base/structs2.c: New file.
19376
19377Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19378
19379 * gdb.asm/common.inc: New file.
19380 * gdb.asm/d10v.inc: New file.
19381 * asm-source.exp: Pass -I's to gas to find .inc files.
19382 Update line numbers in expected output.
19383 * asmsrc1.s: Rewrite.
19384 * asmsrc2.s: Rewrite.
19385 * configure.in: Create arch.inc symlink.
19386 * configure: Regenerate.
19387 * Makefile.in (distclean): Delete arch.inc.
19388
19389Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19390
19391 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19392 (t_enum_value2): ditto
19393 (t_enum_value3): ditto
19394 (main): ditto
c906108c
SS
19395Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19396
19397 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19398 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19399 change.
19400 Use gdb_test instead of send_gdb/gdb_expect sequences.
19401
19402Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19403
19404 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19405 not void.
19406
19407Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19408
19409 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19410 subroutines. Used to test gdbs ability to single step through PC
19411 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19412
19413Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19414
19415 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19416 more rigorous EGCS C++ error checking.
19417
19418Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19419
a9c64011
AS
19420 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19421 tests.
19422 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19423 function when asleep.
19424 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19425 for i*86 Linux and SVR4 signal handling problems.
19426 Remove linux xfail for `next to handler in signals_tests_1', fixed
19427 by recent infrun.c change.
19428 Limit backtrace to 10 frames to avoid timeout problems with infinite
19429 stack backtraces.
19430 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19431 target.[ch] change.
c906108c
SS
19432
19433Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19434
19435 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19436 for a newline from gdb before continuing.
19437 (default_gdb_exit): Just look for y or n.
19438 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19439 it does, fail the rests of the tests in the file.
19440
19441Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19442
19443 * config/cygmon.exp: New file.
19444
19445Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19446
19447 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19448 main" test on remote targets.
c906108c
SS
19449
19450 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19451 run test on remote targets.
19452
19453Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19454
19455 * gdb.asm: New directory.
19456 * configure.in: Configure it.
19457 * configure: Regenerate.
19458 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19459 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19460
19461Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19462
19463 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19464
dc96c6c7 19465Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19466
a9c64011
AS
19467 * gdb.base/overlays (several files): Merge the two overlay
19468 managers into one. Change variables (foox, barx, bazx, grbxx)
19469 back into ints but force them to load in their proper sections.
c906108c
SS
19470
19471Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19472
19473 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19474 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19475 (D10VCopy): Handle memory regions crossing 16k boundaries.
19476 (D10VCopy): Transfer data in 32 bit chunks.
19477
19478Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19479
19480 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19481 correct.
c906108c
SS
19482
19483 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19484 map. Include space for printf in .text segment.
c906108c
SS
19485
19486 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19487 updated d10v memory VMA/LMA map.
c906108c 19488 (D10VCopy): Call D10VTranslate.
d63a86f8 19489
c906108c
SS
19490Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19491
19492 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19493
19494 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19495 that it won't be put into the .sdata - small data -
19496 section. Update reference.
c906108c
SS
19497 * gdb.base/baz.c (bazx, baz): Ditto.
19498 * gdb.base/foo.c (foox, foo): Ditto.
19499 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19500
19501 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19502 to be arrays.
d63a86f8 19503
dc96c6c7 19504Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19505
a9c64011
AS
19506 * gdb.base/overlays.exp: fix up and get working again.
19507 Add tests for backtraces from an overlay function.
d63a86f8 19508
c906108c
SS
19509Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19510
19511 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19512 "calling function with watchpoint enabled".
19513
19514Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19515
19516 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19517 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19518 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19519 pending review of whether it is useful or not.
19520
19521Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19522
19523 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19524
19525Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19526
19527 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19528 * config/dve.exp: New file to support Densan boards.
19529
19530Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19531
19532 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19533 reads and BSD.
c906108c
SS
19534
19535Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19536
19537 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19538 response.
19539
19540 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19541
19542Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19543
19544 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19545 test.
c906108c
SS
19546
19547 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19548 target_sizeof_long and target_bigendian_p.
c906108c 19549 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19550 to targets word size and endianess.
d63a86f8 19551
c906108c
SS
19552Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19553
19554 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19555 output.
c906108c
SS
19556
19557Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19558
19559 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19560 Update test of set args help to match source change.
c906108c
SS
19561
19562Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19563
19564 * gdb.base/default.exp: Expect help system output to be in
19565 alphabetical order.
19566 * gdb.base/help.exp: Ditto.
19567
19568Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19569
19570 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19571 "i*86-pc-linux-gnu*".
19572 * gdb.base/interrupt.exp: Ditto.
19573 * gdb.base/corefile.exp: Ditto.
19574
19575 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19576 define vxworks when building the testcase.
c906108c
SS
19577
19578 * gdb.base/ptype.exp: Fix testnames to be unique.
19579 * gdb.base/radix.exp: Ditto.
19580 * gdb.base/term.exp: Ditto.
19581 * gdb.base/whatis.exp: Ditto.
19582 * gdb.c++/classes.exp: Ditto.
19583
19584Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19585
19586 * gdb.base/callfuncs.exp: Fix indentation.
19587
19588 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19589 suppress_flag has been set.
19590 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19591 target feature.
19592
19593Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19594
19595 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19596 the testcase.
19597
19598 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19599 set_debug_traps() and breakpoint().
c906108c
SS
19600 * gdb.c++/misc.cc (main): Ditto.
19601 * gdb.c++/templates.cc (main): Ditto.
19602 * gdb.c++/virtfunc.cc (main): Ditto.
19603
19604Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19605
19606 * lib/gdb.exp(gdb_step_for_stub): New function.
19607 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19608 exists, reload the executable and do a "continue" instead of
19609 doing a jump.
19610 (runto_main): Use gdb_step_for_stub.
d63a86f8 19611
c906108c 19612 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19613 tests to have unique names.
c906108c
SS
19614 * gdb.base/callfuncs.exp: Ditto.
19615 * gdb.base/commands.exp: Ditto.
19616 * gdb.base/default.exp: Ditto.
19617 * gdb.base/help.exp: Ditto.
19618 * gdb.base/list.exp: Ditto.
19619 * gdb.base/opaque.exp: Ditto.
19620 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19621 similar tests.
d63a86f8 19622
c906108c
SS
19623 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19624 * gdb.c++/cplusfuncs.cc: Ditto.
19625 * gdb.c++/virtfunc.cc: Ditto.
19626
19627 * config/monitor.exp: Keep track of the last file we saw, rather
19628 than trying to get the info from gdb.
19629
19630 * gdb.fortran/types.exp: Move comment to previous line.
19631
19632Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19633
19634 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19635 target mode.
c906108c
SS
19636
19637Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19638
19639 From Bob Manson:
19640 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19641 string from GDB when it connects.
c906108c
SS
19642
19643 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19644
19645Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19646
19647 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19648 if we can't get a debug format from GDB (we may be testing an
19649 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19650
19651 * gdb.stabs/weird.exp: Fix quoting.
19652
19653 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19654
19655Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19656
19657 * config/arm-ice.exp: New file.
19658
19659Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19660
19661 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19662 until it has been modified to work with the new testsuite.
c906108c 19663
99707966 19664 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19665 testcase won't compile, cause all of the testcases in the file to
19666 fail instead.
c906108c
SS
19667
19668 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19669 (gdb_clear_suppressed): New procedure.
19670 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19671 it contains a positive value.
19672
19673Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19674
19675 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19676
19677 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19678
19679Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19680
19681 * lib/gdb.exp (setup_xfail_format): New function.
19682 (get_debug_format): New function to get debug format.
19683 (debug_format): New global variable to hold last value set
19684 by get_debug_format.
19685 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19686 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19687 * gdb.c++/ptype.exp: Ditto.
19688 * gdb.c++/classes.exp: Ditto.
19689 * gdb.c++/cplusfuncs.exp: Ditto.
19690 * gdb.c++/inherit.exp: Ditto.
19691 * gdb.c++/templates.exp: Ditto.
19692 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19693
c906108c
SS
19694Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19695
19696 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19697 host doesn't have a currently-open connection.
19698
19699 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19700 any gdb stub target. Handle cases where gdb doesn't respond when
19701 interrupted in a sane fashion.
c906108c
SS
19702
19703 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19704 same thing in a totally different way.
c906108c
SS
19705
19706 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19707 setting "timeout".
c906108c 19708 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19709 default_gdb_init now.
c906108c
SS
19710
19711Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19712
19713 * gdb.base/printcmds.exp: Fix "check for floating addition"
19714 regexp to accept results within approx +/- .01 of exact value.
19715 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19716
19717Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19718
19719 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19720 properly.
c906108c
SS
19721 (gdb_expect): Add optional timeout parameter, and add timeout
19722 value to various calls.
19723 (gdb_suppress_tests): Only give one warning message per group.
19724
19725Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19726
19727 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19728 global variables. Handle getting a value for $timeout more
19729 gracefully.
c906108c
SS
19730
19731Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19732
19733 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19734 initialize.
c906108c 19735 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19736 by a target configuration file.
c906108c
SS
19737 (gdb_expect): Pass the timeout to remote_expect.
19738
19739 * config/monitor.exp(gdb_load): Fix typo in regexp.
19740
19741Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19742
19743 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19744
19745Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19746
19747 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19748 here. Call gdb_target_exec before rebooting the target, to make
19749 sure the connection to the target is closed.
c906108c
SS
19750 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19751 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19752 Also detect "Timeout reading from remote" error.
19753
19754 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19755 gdb_target_monitor. Don't call gdb_file_cmd here; let
19756 gdb_target_monitor do it.
c906108c
SS
19757
19758 * gdb.disasm/hppa.exp: Don't use exec_output.
19759
19760Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19761
19762 * gdb.base/list.exp: If we're debugging a non-native target,
19763 try to set the pc register to point to the start of the
19764 program before doing the first list command.
19765
19766 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19767 test_calls after restarting.
c906108c
SS
19768
19769 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19770 reloading.
c906108c
SS
19771
19772 * gdb.base/watchpoint.exp: Fix typo.
19773
19774 * gdb.base/setshow.exp: Check for use_gdb_stub.
19775
19776 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19777 stub case.
c906108c
SS
19778 * gdb.base/langs.exp: Ditto.
19779
19780 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19781 gdb_load_offset. If we weren't given a file to load, figure out
19782 what the current file is and use it.
c906108c
SS
19783
19784 * config/i386-bozo.exp: New file.
19785
19786Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19787
19788 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19789 feature.
19790
19791 * config/proelf.exp: New entry.
19792
19793Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19794
19795 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19796 of regexps.
19797
19798 * gdb.base/watchpoint.exp: Don't run the test_stepping
19799 tests if gdb can't call functions on the target.
19800
19801 * gdb.base/setshow.exp: Don't run the set prompt tests if
19802 the board has gdb_prompt set.
19803
19804Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19805
19806 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19807 * gdb.base/commands.exp: Likewise.
19808 * gdb.base/setshow.exp: Likewise.
19809
19810Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19811
19812 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19813 feature.
19814
19815 * config/i960.exp: New file.
19816
19817Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19818
19819 * gdb.base/funcargs.exp: Check for gdb,short_int target
19820 feature instead of looking for explicit target triplets.
19821
dc96c6c7 19822Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19823
d63a86f8 19824 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19825 "p 123DEADBEEF", to check parse_number.
19826 * top.c: change "to enable to enable" to "to enable" in a couple
19827 of help strings.
19828
19829Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19830
19831 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19832 on the mn10300.
d63a86f8 19833
c906108c
SS
19834Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19835
19836 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19837 where the test executable is run with explicit args.
19838 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19839
19840Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19841
19842 * gdb.base/run.c: Use FAKEARGV to build test executable that
19843 does not require a command line arg, since most simulators
19844 don't currently support passing such an arg into the simulated
19845 program.
19846 * gdb.base/commands.exp: Change tests to insert the proper
19847 value as the arg to the first recursive factorial call. Change
19848 compilation line to define FAKEARGV at compile time.
19849
19850Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19851
19852 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19853 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19854 function with watchpoint enabled" test.
19855
19856Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19857
19858 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19859 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19860
19861 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19862 "Tests restarted" messages.
c906108c
SS
19863
19864Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19865
19866 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19867
dc96c6c7 19868Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19869
19870 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19871 for INFO SYMBOL; add help tests for OVERLAY commands.
19872 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19873 add tests for OVERLAY commands
19874 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19875 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19876 * gdb.base/sigall.c: add usestubs code frag
19877 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19878
c906108c
SS
19879Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19880
19881 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19882 failures.
19883 (gdb_stop_suppressing_tests): Note that tests have restarted.
19884
19885Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19886
19887 * config/h8300.exp: New file.
19888
19889Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19890
19891 * gdb.base/setshow.exp: Check for the existence of a
19892 feature, not its value.
19893
19894Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19895
19896 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19897
19898 * gdb.base/scope.exp: It's now init0(), not init().
19899
19900 * gdb.base/scope0.c: For now, change init() to be init0().
19901
19902 * config/monitor.exp: Use gdb_serial in preference to serial
19903 or netport.
19904
19905 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19906 and it's not already set.
c906108c
SS
19907
19908Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19909
19910 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19911 isn't using a stub and if it supports argument passing.
c906108c
SS
19912
19913Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19914
19915 * config/udi.exp(gdb_start): Make sure UDICONF is set
19916 properly before starting gdb.
19917
19918Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19919
19920 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19921 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19922 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19923
19924Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19925
19926 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19927 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19928
19929 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19930
19931 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19932
19933 * config/monitor.exp: Make sure we disconnect from the target.
19934 Also, try a reboot/reload cycle instead of failing if the
19935 load fails.
19936
19937Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19938
19939 * gdb.base/default.exp: Don't set match_max.
19940 * gdb.base/help.exp: Ditto.
19941 * gdb.base/list.exp: Ditto.
19942 * gdb.base/signals.exp: Ditto.
19943
19944 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19945 set, use remote_ld to download the testcase instead of
19946 the GDB loader.
19947
19948Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19949
19950 * config/vr5000.exp: New file.
19951
19952 * config/monitor.exp(gdb_target_monitor): Add pattern for
19953 "Ending remote" to detect errors in connecting.
19954
19955 * gdb.base/setshow.exp: Add .* within auto language test.
19956
19957 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19958 target feature.
19959
19960 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19961 and reboot the board if necessary.
c906108c
SS
19962
19963 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19964 a set of tests. Remove print.* from the patterns being checked.
19965
19966Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19967
19968 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19969 refer to gdb_spawn_id.
19970
19971 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19972 longer used.
19973 * config/sparclet.exp: Ditto.
19974 * config/sparclet-old.exp: Ditto.
19975 * config/slite.exp: Ditto.
19976 * config/sim.exp: Ditto.
19977 * gdb.base/funcargs.exp: Ditto.
19978
19979 * lib/gdb.exp:Remove references to gdb_spawn_id.
19980 (gdb_expect): Move to remote.exp.
19981
19982Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19983
19984 * config/monitor.exp: Detect the "Couldn't establish connection"
19985 message from GDB.
19986
19987Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19988
19989 * gdb.base/bitfields.exp: Use runto instead of explicit
19990 gdb_run_cmd/gdb_expect sequences.
19991
19992 * gdb.base/break.exp(text_next_with_recursion): Add match for
19993 gdb_expect call.
19994
19995 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19996 We also need to handle the "A program is being debugged already"
19997 prompt from gdb. Use gdb_test to set the baud rate.
19998
19999 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20000 to 20000. Really. I mean it.
20001
20002Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20003
20004 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20005 fails. If suppress_flag is set, skip perror message about not
20006 being able to send to GDB.
c906108c 20007 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20008 GDB.
c906108c
SS
20009 (gdb_expect): If suppress_flag is set, always fail immediately.
20010 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20011 (gdb_init): Call gdb_stop_suppressing_tests.
20012 (default_gdb_exit): Ditto.
20013 (default_gdb_start): Ditto.
20014
20015 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20016 gdb_stop_suppressing_tests as appropriate.
c906108c 20017 * gdb.base/break.exp: Ditto.
889bf7c5 20018 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20019 * gdb.base/commands.exp: Ditto.
20020 * gdb.base/exprs.exp: Ditto.
889bf7c5 20021 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20022 * gdb.base/list.exp: Ditto.
20023 * gdb.base/recurse.exp: Ditto.
889bf7c5 20024 * gdb.base/scope.exp: Ditto.
c906108c
SS
20025 * gdb.base/structs.exp: Ditto.
20026 * gdb.c++/inherit.exp: Ditto.
20027
20028Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20029
20030 * config/vr4300.exp: New file.
20031
99707966 20032 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20033
99707966 20034 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20035
20036Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20037
20038 * lib/gdb.exp(gdb_init): New function.
20039
20040 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20041 for each individual variable set.
c906108c
SS
20042
20043 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20044 name.
20045
20046 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20047
20048 * gdb.base/scope.exp: Use gdb_test.
20049
20050 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20051 aborting; the testsuite driver will do that for us (see
20052 gdb_finish). Also, use gdb_test in a few more places.
20053
20054Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20055
20056 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20057
20058Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20059
20060 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20061 and "add_tests" are not at the same address.
20062
20063Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20064
20065 * gdb.base/ptype.exp: Use gdb_test.
20066
20067Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20068
20069 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20070 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20071 left in. No longer expect them to fail.
20072
20073 * gdb.stabs/*.mt; Deleted, no longer used.
20074 * gdb.stabs/configure.in: Remove references to target makefile
20075 frags.
20076 * gdb.stabs/configure: Rebuilt.
20077
20078 * gdb.disasm/*.mt: Deleted, no longer used.
20079 * gdb.disasm/configure.in: Remove references to target makefile
20080 frags. Use "sh3.s" as the unique filename for this directory.
20081 * gdb.disasm/configure: Rebuilt.
20082
20083 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20084 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20085 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20086
20087Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20088
20089 * config/udi.exp: Use mondfe,name instead of remote_host.
20090
20091Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20092
20093 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20094 a function with a watchpoint enabled on the mn10200.
20095
20096 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20097 before trying to create it!
20098
20099Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20100
20101 * config/vx.exp: Use hostname instead of netport.
20102
20103 * config/vxworks.exp: New file.
20104
20105 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20106
20107 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20108 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20109 occurs.
20110
20111 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20112 $gdb_spawn_id directly.
20113 (gdb_run_cmd): Try _start as well as start. Use the target feature
20114 gdb,start_symbol as the symbol to start from when jumping.
20115
20116Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20117
20118 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20119 redundant) test.
20120
20121 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20122 it doesn't lose for 16bit integer systems.
20123
20124Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20125
20126 * gdb.fortran/types.exp: If the target doesn't support "double"
20127 data types, then expect "real" types to only be 4 bytes.
20128
20129 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20130 call tests if the target doesn't support inferior function calls.
20131
20132 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20133 in printf tests.
20134
20135Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20136
20137 * gdb.base/help.exp: Disable "help set", "help show", and
20138 "help support". Simplify regexp for "help stack".
20139
20140 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20141 to 60 seconds. Temporarily set match_max to 15000 around the
20142 "info copying" test.
20143
20144 * gdb.base/nodebug.exp: Don't try to do an inferior function
20145 call if the target doesn't support them.
20146 * gdb.base/printcmds.exp: Likewise.
20147 * gdb.base/setvar.exp: Likewise.
20148 * gdb.base/structs.exp: Likewise.
20149 * gdb.c++/templates.exp: Likewise.
20150 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20151
20152 * gdb.base/recurse.exp: Enable for the mn10200.
20153
20154 * configure.in: Do configure gdb.stabs directory for *-*-elf
20155 targets.
20156 * configure: Rebuilt.
20157
20158 * gdb.base/break.exp: Check for gdb,noresults before testing
20159 exit status and/or results from the target.
20160 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20161 * lib/gdb.exp: Remove old (now bogus) initialization of
20162 noinferior, noargs, noresults and nosignals.
20163
20164Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20165
20166 * config/sh.exp: New file.
20167
20168 * config/slite.exp: Try to connect multiple times to the board
20169 before rebooting. Only send a "monitor run" if need_monitor_run
20170 is set.
20171
20172 * gdb.base/break.exp: Don't do the "stub continue" test if
20173 the target has gdb_stub set.
20174
20175 * gdb.base/callfuncs.exp: Increase the timeout.
20176
20177 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20178 if the target has gdb,noinferiorio set.
20179
20180 * gdb.base/list.exp: Increase match_max to 10000 characters.
20181
20182 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20183
20184 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20185 target.
20186
20187 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20188
20189Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20190
20191 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20192 trying to delete the copy of gdb. Catch the file delete so we
20193 don't die if the delete fails; also, the file should be copied to
20194 the host, not to the build.
c906108c
SS
20195
20196Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20197
20198 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20199 parenthesis in case it contains multiple regexps separated
c906108c
SS
20200 with |.
20201
20202 * gdb.base/watchpoint.exp: Use gdb_test.
20203 * gdb.base/default.exp: Ditto.
20204
20205Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20206
99707966 20207 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20208
c906108c
SS
20209 * gdb.base/scope.exp: Use gdb_test.
20210 * gdb.c++/classes.exp: Ditto.
20211 * gdb.c++/inherit.exp: Ditto.
20212
20213Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20214
20215 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20216 remote_exec instead.
20217 * gdb.base/corefile.exp: Don't be ridiculous.
20218 * gdb.base/*.c: Add missing stub invocations.
20219
20220Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20221
20222 * config/slite.exp: Miscellaneous fixes.
20223
20224 * lib/gdb.exp: Fix runto.
20225
20226 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20227 the target.
20228
20229 * gdb.base/watchpoint.exp: Fix regexp.
20230
20231 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20232 close and wait commands, as the descriptor may now be
20233 invalid. Always call "remote_close host".
20234
20235Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20236
20237 Major rewrite for testsuite revision.
d63a86f8 20238
c906108c
SS
20239 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20240 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20241 instead of relying on spawn_id to always contain a valid
20242 spawn id.
20243 (get_compiler_info): New procedure to build the ${binfile}.ci
20244 file, instead of replicating this in N different places.
20245 (gdb_compile): New procedure.
d63a86f8 20246
c906108c 20247 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20248 appropriate arguments) instead of compile. Use gdb_test in a lot
20249 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20250 at the start of a testcase, as this is no longer done magically.
20251
20252 config/*-gdb.exp: Rename without the -gdb suffix.
20253
20254 config/mips.exp: Use remote_close instead of exit_remote_shell.
20255 config/monitor.exp: Use target_info instead of looking at
20256 baud, timeout, etc.
20257 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20258
20259Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20260
20261 * gdb.c++/templates.exp (test_ptype_of_templates),
20262 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20263 Update expect patterns for destructors and assignment operators
20264 to match corresponding c-typeprint.c changes.
20265 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20266 to destructor breakpoint test, GDB should be able to set the
20267 destructor breakpoint without specifying arguments.
20268
20269Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20270
20271 * gdb.threads/pthreads.exp: Change result for failure to compile due
20272 to lack of pthreads runtime support from an error to simply an
20273 unsupported test, per dejagnu standards.
20274
20275Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20276
20277 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20278 where GDB exits to reduce pattern match time.
20279 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20280
20281 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20282
dc96c6c7 20283Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20284
20285 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20286 * gdb.base/default.exp: ditto.
20287 * gdb.base/nodebug.exp: ditto.
20288 * gdb.base/printcmds.exp: ditto.
20289 * gdb.base/ptype.exp: ditto.
20290 * gdb.base/setvar.exp: ditto.
20291 * gdb.base/structs.exp: ditto.
20292 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20293
20294Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20295
20296 * configure, */configure: Rebuild with autoconf 2.12.
20297
20298Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20299
20300 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20301 use new i*86-pc-linux*-gnu quads.
20302 * gdb.base/corefile.exp: Ditto.
20303 * gdb.base/signals.exp: Ditto.
20304 * gdb.base/sigall.exp: Ditto.
20305 * gdb.base/interrupt.exp: Ditto.
20306
20307 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20308 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20309 RedHat 4.0.
d63a86f8 20310
c906108c 20311 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20312 linux. This allows the test case to at least compile on latest
20313 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20314
20315Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20316
20317 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20318 directory to search gdb directory. Accept and step over conditional
20319 stack alignment code. Consume $prompt in failure cases.
20320 Reset timeout to $oldtimeout instead of some arbitrary value.
20321 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20322 timeout problems with infinite stack backtraces.
20323 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20324 Accept function parameters for linkfunc member.
20325
20326Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20327
20328 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20329 (CXXFLAGS): Remove, unreferenced.
20330 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20331 previous -B options and also add -B option to pick up cross compiled
20332 runtime.
c906108c
SS
20333 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20334 doing cross compiles.
20335 (target_alias): Declare global.
20336 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20337 to verify that gcc exists in build tree, and if so set CC to that
20338 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20339
c906108c
SS
20340Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20341
20342 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20343 ptype test for anonymous union. Fixup testcase to match
20344 current gcc debug output.
20345
20346Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20347
20348 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20349 force argument to an unsigned long type.
20350
20351Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20352
20353 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20354 tests and anonymous union print/ptype tests.
c906108c
SS
20355 * gdb.base/list.exp (test_forward-search): Increase timeout by
20356 5 minutes for the "search extremely long line" case.
20357 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20358 completely optional and that the pass/fail messages use the command as
20359 the message if that third arg is a null string.
20360 (gdb_test_exact): Arrange that a null string pattern means match a
20361 null string output rather than any output, which might include random
889bf7c5 20362 errors.
c906108c
SS
20363 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20364 backtrace test.
20365 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20366 always failing and failure is now exposed by gdb.exp changes.
20367
20368Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20369
20370 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20371 weren't being noted.
20372
20373Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20374
20375 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20376 * gdb.stabs/weird.exp: Remove v_comb xfails.
20377
dc96c6c7 20378Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20379
20380 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20381 list.exp scope.exp watchpoint.exp]
c906108c 20382 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20383
dc96c6c7 20384Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20385
20386 * config/monitor.exp: Increase download timeout to 1000 seconds.
20387
dc96c6c7 20388Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20389
20390 * config/m32r.exp: Increase timeout to 120 seconds.
20391
20392Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20393
20394 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20395 and accept older ordering as obsolescent gcc or gdb.
20396 * gdb.c++/templates.exp: Ditto.
20397 * gdb.c++/virtfunc.exp: Ditto.
20398
20399Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20400
20401 * gdb.base/coremaker.c: Add code to mmap some data so we
20402 can check that it ends up in the core file.
20403 * gdb.base/corefile.exp: Add test to read mmapped data
20404 from core file.
20405
dc96c6c7 20406Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20407
20408 * config/m32r.exp: New file.
20409
20410Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20411
20412 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20413 that cflags can contains -gstabs, and work correctly for other tests.
20414
dc96c6c7 20415Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20416
20417 * gdb.base/setshow.exp: New file, tests show and set.
20418 * gdb.base/setshow.c: New file, tests show and set.
20419 * gdb.base/help.exp: Add test for help set|show annotate.
20420 * gdb.base/default.exp: Add test for set|show annotate.
20421
20422Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20423
20424 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20425 errors unique.
20426 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20427 explicitly.
20428
20429Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20430
20431 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20432 and width commands. This is done elsewhere.
20433 * (gdb_start): Don't call gdb_start_sim here. That's already
20434 done in gdb_load. This fixes lots of failures in default.exp.
20435
20436Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20437
20438 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20439 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20440 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20441 in the same we we treat other failures (since it may be an expected
889bf7c5 20442 condition), rather than as an error.
c906108c
SS
20443 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20444 old test format.
20445
20446Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20447
20448 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20449 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20450 twice. Nuke the duplicates.
c906108c 20451 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20452 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20453 Remove config.h along with other config files.
20454
20455Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20456
20457 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20458 "p func1 ()" and note that rests of tests are skipped.
20459 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20460 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20461 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20462 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20463 affected by the previous run test.
20464 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20465 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20466 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20467 "pass int powerset tuple" and "pass modeless int powerset tuple".
20468 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20469 "real write 4" and "real write 8".
20470 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20471 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20472 "print \$i after tuple assign 2", and
20473 "print vs2 after tuple assign 2".
20474 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20475 meaningful error message and return -1 so the caller can
20476 suppress further tests and avoid a cascade of errors.
d63a86f8 20477
c906108c
SS
20478Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20479
20480 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20481 format for printing version.
20482 * gdb.base/default.exp: Ditto.
20483 * gdb.base/interrupt.exp: Fix problem with cascade of
20484 errors if child process dies while calling a function.
d63a86f8 20485
c906108c
SS
20486Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20487
20488 * Makefile.in (VPATH): Add
20489 * Makefile.in (Makefile, config.status): Fix rules so things get
20490 remade when necessary.
20491
20492Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20493
20494 * Makefile.in (just-check): Add path to sibling expect dir
20495 to environment variable specified by RPATH_ENVVAR.
20496
20497Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20498
20499 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20500 (just-check): Add shared library paths for libstdc++, tk,
20501 tcl, bfd, and opcodes to the environment variable specified
20502 in RPATH_ENVVAR.
20503 * configure.in: Add support to recognize --enable-shared flag
20504 and generate correct value for RPATH_ENVVAR.
20505 * configure: Regenerated with autoconf.
20506
20507Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20508
20509 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20510 include all osf versions.
c906108c
SS
20511 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20512 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20513 when target is linux. When failing to build pthreads test
20514 executable, give more meaningful message.
20515 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20516 arg for pthread_create.
d63a86f8 20517
c906108c
SS
20518Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20519
20520 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20521 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20522 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20523 and -lpthreads (everybody else).
c906108c
SS
20524 (test_startup): Fail gracefully if threads are not supported.
20525 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20526 "p/c array_index("abcdef",2)" when not gcc compiled.
20527 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20528 "print func2::coremaker_local" when not gcc compiled.
20529 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20530 "ptype on opaque struct tagname (statically)",
20531 "ptype on opaque struct tagname (dynamically) 1", and
20532 "ptype on opaque struct tagname (dynamically) 2"
20533 for not compiled with gcc.
20534 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20535 backtrace when compiled with gcc.
d63a86f8 20536 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20537 than always return success.
20538
20539Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20540
20541 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20542
20543Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20544
20545 * gdb.base/structs.exp: Undo last change.
20546
20547Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20548
20549 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20550 encapsulate all the steps/nexts done during self test, starting
20551 at main, and makes them less sensitive to optimization issues.
20552 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20553 signal handler" test.
20554 * gdb.threads/pthreads.exp: Only run this for native configs.
20555 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20556 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20557 tests.
20558 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20559 for "runto test_calls(void)" test.
d63a86f8 20560
c906108c
SS
20561Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20562
20563 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20564 and don't expect address info in breakpoint confirmations.
20565
20566Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20567
20568 * gdb.base/list.exp (test_forward_search): Increase timeout
20569 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20570 and then reset to old value when done. Increase expect input
c906108c
SS
20571 buffer to 10000.
20572
20573Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20574
20575 * gdb.base/list.exp (test_forward_search): Fix to handle very
20576 long source line without overflowing expect's input buffer.
20577
20578Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20579
20580 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20581 "buffer_full".
20582
20583 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20584 "buffer_full".
20585
20586 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20587 "buffer_full".
20588
20589 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20590 "buffer_full".
20591
20592Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20593
20594 * configure.in (configdirs): Add gdb.threads.
20595 * configure: Regenerated with autoconf.
20596 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20597 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20598 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20599
c906108c
SS
20600Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20601
20602 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20603
20604Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20605
20606 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20607 each signal's status in the output of "handle all print".
20608 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20609 the \r\n sequence that immediately precedes the gdb prompt.
20610 * gdb.base/a1-selftest.exp: Save original timeout and restore
20611 after test.
20612
20613Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20614
20615 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20616 symbol.
20617
20618Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20619
20620 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20621
20622Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20623
20624 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20625 timeout by 60 seconds.
20626
20627Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20628
20629 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20630 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20631 error return.
20632
20633Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20634
20635 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20636 gdb initialization, also report how long dejagnu waited. Restore
20637 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20638 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20639
20640Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20641
20642 * lib/gdb.exp: Report timeout value for verbosity level 2.
20643 * config/gdbserver.exp: Ditto.
20644 * config/hppro.exp: Ditto.
20645 * config/mips-gdb.exp: Ditto.
20646 * config/monitor.exp: Ditto.
20647 * config/netware.exp: Ditto.
20648 * config/sim-gdb.exp: Ditto.
20649 * config/slite-gdb.exp: Ditto.
20650 * config/udi-gdb.exp: Ditto.
20651 * config/unix-gdb.exp: Ditto.
20652 * config/vx-gdb.exp: Ditto.
20653 * gdb.base/a1-selftest.exp: Ditto.
20654 * gdb.base/a2-run.exp: Ditto.
20655 * gdb.base/break.exp: Ditto.
20656 * gdb.base/corefile.exp: Ditto.
20657 * gdb.base/list.exp: Ditto.
20658 * gdb.base/recurse.exp: Ditto.
20659 * gdb.base/scope.exp: Ditto.
20660 * gdb.base/signals.exp: Ditto.
20661
20662Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20663
20664 * gdb.threads/Makefile.in (docdir): Removed.
20665
20666Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20667
20668 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20669 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20670 @srcdir@.
d63a86f8 20671 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20672 autoconf 2.5 or higher.
20673 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20674
20675Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20676
20677 * configure: Regenerated.
20678 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20679 avoid name clashes with SunOS headers.
20680
20681Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20682
20683 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20684
20685Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20686
20687 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20688 prototype information ends up in the compiler info file.
20689
20690Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20691
20692 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20693 attempting to regenerate it. Eliminate use of a temporary file
20694 and just generate the info file directly. Source it immediately,
20695 for consistency of use.
20696 * gdb.base/corefile.exp: Ditto
20697 * gdb.base/exprs.exp: Ditto.
20698 * gdb.base/funcargs.exp: Ditto.
20699 * gdb.base/langs.exp: Ditto.
20700 * gdb.base/list.exp: Ditto.
20701 * gdb.base/mips_pro.exp: Ditto.
20702 * gdb.base/nodebug.exp: Ditto.
20703 * gdb.base/opaque.exp: Ditto.
20704 * gdb.base/ptype.exp: Ditto.
20705 * gdb.base/scope.exp: Ditto.
20706 * gdb.base/setvar.exp: Ditto.
20707 * gdb.base/signals.exp: Ditto.
20708 * gdb.base/whatis.exp: Ditto.
20709 * gdb.c++/templates.exp: Ditto.
20710 * gdb.c++/virtfunc.exp: Ditto.
20711 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20712 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20713
20714Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20715
20716 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20717 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20718 Increase timeout, a lot of single stepping might be needed if the
20719 target has no hardware watchpoints.
20720
20721Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20722
20723 * gdb.base/break.exp: Ignore compiler warnings when compiling
20724 break.c.
20725 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20726 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20727 from remote-sim.
20728 * gdb.base/exprs.exp: Add h8300 xfails.
20729 * gdb.base/funcargs.exp: Likewise.
20730 * gdb.base/nodebug.exp: Likewise.
20731 * gdb.base/printcmds.exp: Likewise.
20732 * gdb.base/ptype.exp: Likewise.
20733 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20734 h8300 xfails.
d63a86f8 20735 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20736 on the h8300.
20737 * gdb.base/funcargs.c: Explicitly make last constant argument to
20738 call_after_alloca_subr an unsigned long type.
20739 * gdb.base/return.c: Include stdio.h.
20740
20741Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20742
20743 * config/abug.exp: New file for the older Motorola Bug monitor
20744 that runs on the mvme13x series VME boards.
20745 * config/monitor.exp: Use the new config array for target settings
20746 if they exist.
20747
20748Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20749
20750 * sim-gdb.exp: Make the SH simulator allocate less space when
20751 it is targeted.
20752
20753Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20754
20755 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20756 test.
20757
20758Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20759
20760 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20761 "rs6000-*-*" for "list function in include file" when gcc compiled.
20762 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20763 for "p ctable1[120]".
20764 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20765 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20766 Remove setup_xfail for "rs6000-*-*" for
20767 "print 'scope0.c'::filelocal before run".
20768 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20769 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20770 since some compilers don't allow both options to be given
20771 on the same command line. Create object file and move it.
d63a86f8 20772
c906108c
SS
20773Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20774
20775 * gdb.base/corefile.exp: Always regenerate the core file, since
20776 we always regenerate the coremaker program. Detect special case
20777 where registers cannot be read from core file.
d63a86f8 20778
c906108c
SS
20779Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20780
20781 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20782 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20783 * gdb.c++/templates.exp: Only match on basename of file since
20784 some formats like xcoff don't encode directory information.
20785 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20786 and rs6000 AIX xcoff targets.
20787 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20788 * configure: Regenerate.
20789 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20790 here, rather than in distclean.
d63a86f8 20791
c906108c
SS
20792Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20793
20794 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20795 defined, and use it to compile the test case with -O2. The
20796 native compilation still uses no optimization.
20797 * gdb.base/mips_pro.c: Remove inline assembly code since
20798 it is compiled PIC by default, which results in assembler
20799 warnings that make the testsuite think the compilation
20800 was unsuccessful.
20801
20802Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20803
20804 * gdb.c++/misc.exp: Add note to message for
20805 "print s.a for foo struct" that this is a known gcc 2.7.2
20806 and earlier bug.
20807
20808Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20809
20810 * gdb.base/break.exp: Fix pattern for matching "Delete all
20811 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20812 setup_xfail for deleting all breakpoints test. Fix various
20813 timeout messages to include "(timeout)".
20814 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20815 for "p t_float_values2(3.14159,float_val2)".
20816 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20817 for "continue to call2g" when gcc compiled.
20818 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20819 "up to foo in langs.exp", "show language at foo in langs.exp",
20820 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20821 and "show language at fsub in langs.exp".
20822 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20823 "list line 1 in include file", "list message for lines past EOF",
20824 "list function in include file", "list list0.h:foo", and
20825 "list filename:function; nonexistant function".
20826 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20827 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20828 and "ptype t_char_array" to be for native cc only.
d63a86f8 20829
c906108c
SS
20830Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20831
d63a86f8 20832 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20833 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20834 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20835
20836Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20837
20838 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20839 "bt in signals.exp". This problem only appears when running
20840 the testsuite, and then only intermittently.
20841
20842Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20843
20844 * gdb.base/return.exp (return_tests): Differentiate between
20845 two tests of continuing.
20846
20847Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20848
20849 * */Makefile.in (maintainer-clean): Remove config.log.
20850 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20851 * gdb.c++/Makefile.in (PROGS): Add inherit.
20852 (clean): Remove *.ci.
20853
20854Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20855
20856 * gdb.c++/misc.cc: Add test code from Mike Stump.
20857 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20858
20859Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20860
20861 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20862 to "alpha-*-osf2*" and add comment.
20863 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20864 setup_xfail for "step over execarg initialization" and
20865 "step over corearg initialization".
c906108c
SS
20866 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20867 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20868 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20869 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20870 "print func2::coremaker_local", and "backtrace in corefile.exp".
20871 * gdb.base/signals.exp: Build and source signals.ci.
20872 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20873 to be for gcc only.
20874 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20875
c906108c
SS
20876Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20877
20878 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20879 Feb 3 procfs.c change.
20880
20881Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20882
20883 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20884
20885Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20886
20887 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20888 from dejagnu's apparent default of 10 seconds, which gives random
20889 results when running the tests over NFS on moderately loaded systems.
20890 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20891
20892Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20893
20894 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20895 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20896 result reports.
c906108c
SS
20897
20898Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20899
20900 * configure.in (CY_AC_PATH_TCLH): Remove.
20901 * configure: Regenerate.
20902
20903Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20904
20905 * gdb.c++/Makefile.in (clean): Add missing '{'.
20906
20907Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20908
20909 * lib/gdb.exp: Provide a default value for noinferior.
20910
20911 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20912 Load libgloss.exp.
20913
20914Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20915
20916 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20917 the executable, not the .o to run the tests from.
20918
20919Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20920
20921 * gdb.base/break.exp: Don't test for program exit or exit status
20922 if $noresults if nonzero.
20923 * gdb.base/langs.exp: Likewise.
20924 * gdb.base/watchpoint.exp: Likewise.
20925
20926 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20927 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20928 trying to compile the testcase.
20929
20930Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20931
20932 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20933 * gdb.base/signals.exp (continue to handler): Likewise.
20934
20935Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20936
20937 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20938
20939 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20940
20941Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20942
20943 * gdb.base/corefile.exp: Recognize "not found" as failure
20944 when trying to determine if a core file was generated.
20945 If no core file was generate the first time, try again without
20946 the ulimit -c to work around braindamaged shells.
20947
20948Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20949
20950 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20951 [] tests with "test" and enclose string in quotes.
20952 * gdb.stabs/configure: Rebuild
d63a86f8 20953
c906108c
SS
20954Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20955
20956 Changes in sync with expect:
20957 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20958 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20959 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20960 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20961 argument to AC_REQUIRE.
20962 * configure: Regenerated.
20963
20964Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20965
20966 * gdb.base/corefile.exp: When generating a core, discard any
20967 error messages about ulimit not found and the "core dumped"
20968 message from the shell that runs the coredumper.
20969
20970Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20971
20972 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20973
20974 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20975 which sed script to run. Expect failure for v_comb test
20976 on PA targets too.
d63a86f8 20977
c906108c
SS
20978Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20979
20980 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20981 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
20982
20983Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20984
20985 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20986 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 20987 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
20988 * lib/gdb.exp (default_gdb_start): Fix typo.
20989 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20990 messages to not include the full program name that caused
20991 the core dump since some systems (such as solaris) apparently
20992 truncate this path to about 80 characters.
20993 When generating a core file first try increasing the core file
20994 size limit to unlimited since some systems may default it to
20995 zero, and it is harmless to try it. Move the test for failing
20996 to generate a core file to where it will actually get executed.
20997 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20998 new gdb result from g++ debug info improvements and make old
20999 pattern obsolescent. Also account for size_t differences
21000 (may be int or long).
21001 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21002 initialization before function call is placed in the delay slot
21003 and thus appears to be skipped over by commands such as "next".
21004
21005Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21006
21007 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21008
21009Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21010
21011 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21012 input source file; fix code to compile test to deal with this
21013 convention.
21014 * gdb.c++/*.exp: Likewise.
21015
21016Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21017
21018 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21019 "bt in signals.exp".
21020
21021Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21022
21023 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21024 "step over execarg initialization" and
889bf7c5 21025 "step over corearg initialization".
c906108c
SS
21026
21027Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21028
21029 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21030 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21031
21032Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21033
21034 From Rob Savoye (rob@poseidon.cygnus.com)
21035 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21036 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21037 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21038 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21039 configure.in}: Major reworking for autoconfig.
c906108c
SS
21040 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21041 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21042 New files.
c906108c
SS
21043 * config/unix-gdb.exp: Make GDB global.
21044 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21045 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21046 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21047 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21048 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21049 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21050 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21051 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21052 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21053 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21054 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21055 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21056 to returns as necessary, arrange for test to compile own testcase
21057 executable.
c906108c 21058 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21059
c906108c
SS
21060Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21061
21062 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21063 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21064 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21065 "backtrace through signal handler".
21066
21067Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21068
21069 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21070 continuing from a job control stop signal.
21071 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21072
21073Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21074
21075 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21076 * gdb.base/corefile.exp: Likewise.
21077 * gdb.base/funcargs.exp: Likewise.
21078
21079Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21080
21081 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21082 * config/monitor.exp: Add support for setting baud rate.
21083
21084Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21085
21086 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21087 i*86-*-linux* xfails for "backtrace through signal handler".
21088 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21089 "print func2::coremaker_local".
21090 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21091 alpha-dec-osf2* xfail for
c906108c
SS
21092 "delete all breakpoints when none".
21093
21094Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21095
21096 * gdb.base/break.exp: Change test that deletes all breakpoints
21097 when no user breakpoints are installed. A post 4.15 change
21098 causes gdb to no longer prompt in this case.
21099
21100Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21101
21102 * gdb.base/return.exp (return_tests): Change xfail for test
21103 "correct value returned double test" to stop xfailing at
21104 Solaris 2.5. Apparently the bug has been fixed.
21105
21106Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21107
21108 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21109 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21110
21111Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21112
21113 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21114 * gdb.disasm/hppa.s: Corresponding changes.
21115
21116Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21117
21118 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21119 makefile fragment.
21120 * config/mt-hpux: Deleted.
21121
21122Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21123
d63a86f8 21124 * Many files: When warning about suppressed tests due to a
c906108c
SS
21125 nonexistant test binary, avoid incrementing the warning count.
21126
21127Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21128
21129 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21130
c906108c
SS
21131Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21132
21133 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21134 "sparc-*-solaris2*".
21135
21136Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21137
21138 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21139 Add global and local variables and initialize them.
21140 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21141 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21142 extracts the file name and terminating signal from the core file.
21143 * TODO: Remove note about tests for correct mapping of corefile.
21144 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21145 from optimizing it away.
21146 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21147 handles common blocks.
21148
21149Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21150
21151 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21152 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21153
21154Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21155
21156 * Makefile.in (maintainer-clean): New target, synonym for
21157 realclean.
21158 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21159 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21160 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21161 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21162 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21163 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21164
21165Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21166
21167 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21168 xfails when not gcc compiled for "print foo::funclocal".
21169 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21170 "print foo::funclocal at foo",
21171 "print 'scope1.c'::foo::funclocal at foo",
21172 "print foo::funclocal_bss at foo",
21173 "print 'scope1.c'::foo::funclocal_bss at foo",
21174 "print foo::funclocal_ro at foo",
21175 "print 'scope1.c'::foo::funclocal_ro at foo",
21176 "print bar::funclocal at foo" and
21177 "print 'scope1.c'::bar::funclocal at foo".
21178 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21179 gcc compiled for "print foo::funclocal at bar".
21180 Expand all messages to ensure that they identify that
21181 the test is at bar().
21182 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21183 gcc compiled for:
21184 "ptype on opaque struct pointer (statically)",
21185 "ptype on opaque struct tagname (statically)",
21186 "ptype on opaque struct pointer (dynamically) 1",
21187 "ptype on opaque struct tagname (dynamically) 1",
21188 "ptype on opaque struct pointer (dynamically) 2" and
21189 "ptype on opaque struct tagname (dynamically) 2
21190 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21191 gcc compiled for:
21192 "p datalocal"
21193 "whatis datalocal",
21194 "ptype datalocal",
21195 "p bsslocal",
21196 "whatis bsslocal", and
21197 "ptype bsslocal".
21198 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21199 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21200 when not gcc compiled.
21201 * gdb.base/funcargs.exp (float_and_integral_args): Add
21202 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21203 compiled.
21204 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21205 "backtrace from call6a" when not gcc compiled.
21206 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21207 "backtrace from call7a" when not gcc compiled.
21208 * gdb.base/callfuncs.exp (do_function_calls):
21209 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21210 "p t_char_array_values(char_array_val2,char_array_val1)",
21211 "p t_char_array_values(char_array_val1,char_array_val2)",
21212 "p t_char_array_values("carray 1","carray 2")",
21213 "p t_char_array_values("carray 1",char_array_val2)",
21214 "p t_char_array_values(char_array_val1,"carray 2")",
21215 "p sum_args(1,{2})",
21216 "p sum_args(2,{2,3})",
21217 "p sum_args(3,{2,3,4})",
21218 "p sum_args(4,{2,3,4,5})"
21219 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21220 "backtrace in corefile.exp" when not gcc compiled.
21221
21222Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21223
21224 * gdb.base/signals.exp: Rewrite `handle all print' test as
21225 a procedure. Accept blanks or TABs as whitespace, increase
21226 timeout and expect input buffer size for the large output
21227 from the command. Remove "i*86-*-bsdi2.0" xfail.
21228
21229Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21230
21231 * gdb.base/setvar.exp: Add new testcases for truncation when
21232 assigning invalid values to bitfields.
21233
21234Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21235
d63a86f8 21236 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21237 mips-sgi-irix* xfail for
21238 "call inferior func with struct - returns char *"
21239 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21240 accepted in the result.
c906108c
SS
21241
21242Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21243
21244 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21245 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21246 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21247 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21248 that accidentally got checked in.
21249
21250Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21251
d63a86f8 21252 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21253 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21254 compiled test.
21255 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21256 Add mips-sgi-irix5* xfail for not gcc compiled.
21257 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21258 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21259 "p top", "whatis top", "p middle", and "whatis middle".
21260 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21261 "whatis signed char" for not gcc compiled.
21262 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21263 "set variable signed char=-1 (-1)" and
21264 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21265 * gdb.base/funcargs.exp (float_and_integral_args):
21266 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21267 Add mips-sgi-irix* xfail when not gcc compiled for
21268 "continue to call2b".
21269 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21270 "continue to call2g".
21271 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21272 "backtrace from call6a"
21273 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21274 "backtrace from call7k".
21275 Add mips-sgi-irix5* xfail when not gcc compiled for
21276 "backtrace from call7a".
21277 (localvars_after_alloca): Fix gdb_test cmds for
21278 "print * after runto ...".
21279 Remove rs6000-*-* xfails for
21280 "print i after runto localvars_after_alloca" and
21281 "print l after runto localvars_after_alloca"
21282 for all compilers.
21283 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21284 when not compiled with gcc, for:
c906108c
SS
21285 "print signed char == (minus)",
21286 "print signed char != (minus)",
21287 "print signed char < (minus)",
21288 "print signed char > (minus)".
21289 * gdb.base/callfuncs.exp (do_function_calls):
21290 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21291 "call inferior func with struct - returns char *".
d63a86f8 21292 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21293 "correct value returned double test" to include Solaris 2.4.
21294 * gdb.base/funcargs.exp (float_and_integral_args):
21295 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21296
c906108c
SS
21297Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21298
21299 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21300 enumeration bitfields if compiling with GNU C.
21301 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21302 to empty' prompt.
21303
21304Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21305
21306 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21307 test for PRO targets.
21308
21309 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21310 breakpoints in the inferior at any given time by making
21311 two groups of breakpoints for call2*, call6* and call7*
21312 tests.
21313
21314Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21315
21316 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21317 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21318 from optimizing it away.
21319 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21320 "call inferior func with struct".
21321
21322Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21323
21324 * configure.in: Only configure gdb.chill for particular targets.
21325
21326Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21327
21328 * gdb.base/Makefile.in: Add action to .c.o transformation
21329 rule that generates a .ci file for each .o file and remove
21330 explicit .c.o rules except for callfuncs.o.
21331 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21332 generates a .ci file for each .o file and remove explicit
21333 .cc.o rules.
21334 (clean): Remove *.tmp *.ci files.
21335 (EXECUTABLES): Remove templ-info.exp.
21336 * gdb.base/compiler.c: New file.
21337 * gdb.c++/compiler.cc: New file
21338 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21339 Change rs6000-*-* xfail for
21340 "print 'scope0.c'::filelocal_ro" and
21341 "print 'scope1.c'::filelocal" and
21342 "print 'scope1.c'::filelocal_bss" and
21343 "print 'scope1.c'::filelocal_ro" and
21344 "print 'scope1.c'::foo::funclocal" and
21345 "print 'scope1.c'::foo::funclocal_ro" and
21346 "print 'scope1.c'::bar::funclocal" and
21347 "print 'scope0.c'::filelocal_ro" and
21348 "print 'scope1.c'::filelocal at foo" and
21349 "print 'scope1.c'::filelocal_bss at foo" and
21350 "print 'scope1.c'::filelocal_ro at foo" and
21351 "print 'scope1.c'::foo::funclocal at foo" and
21352 "print 'scope1.c'::foo::funclocal_bss at foo" and
21353 "print 'scope1.c'::foo::funclocal_ro at foo" and
21354 "print 'scope1.c'::bar::funclocal at foo" and
21355 "print 'scope0.c'::filelocal_ro" and
21356 "print 'scope1.c'::filelocal" and
21357 "print 'scope1.c'::filelocal_bss" and
21358 "print 'scope1.c'::filelocal_ro" and
21359 "print 'scope1.c'::foo::funclocal" and
21360 "print 'scope1.c'::foo::funclocal_bss" and
21361 "print 'scope1.c'::foo::funclocal_ro" and
21362 "print 'scope1.c'::bar::funclocal" and
21363 "print 'scope1.c'::bar::funclocal_bss"
21364 to only be xfail'd when not compiled with gcc.
d63a86f8 21365 Add rs6000-*-* xfail for
c906108c
SS
21366 "print 'scope0.c'::filelocal_bss before run"
21367 when compiled with gcc.
21368 (test_at_main): Add rs6000-*-* xfail for
21369 "print filelocal_ro in test_at_main"
21370 when compiled with gcc.
21371 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21372 Add rs6000-*-aix* xfail for
c906108c
SS
21373 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21374 "ptype t_char_array", not compiled with gcc.
21375 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21376 xfail for "list foo (in include file)" when gcc compiled.
21377 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21378 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21379 "run to call0a" if not compiled with gcc.
21380 (unsigned_integral_args): Add rs6000-*-* xfail for
21381 "run to call1a" if not compiled with gcc.
21382 (float_and_integral_args): Add rs6000-*-* xfail for
21383 "run to call2a" if not compiled with gcc and for
21384 "continue to call2b" for any compiler.
21385 Add rs6000-*-* xfail to
21386 "print f1 after run to call2a" for gcc compiled.
21387 (discard_and_shuffle): Add rs6000-*-* xfail for
21388 "run to call6a".
21389 (shuffle_round_robin): Add rs6000-*-* xfail for
21390 "backtrace from call7a" if not compiled with gcc.
21391 Add rs6000-*-* xfail for
21392 "backtrace from call7b" if compiled with gcc.
21393 (call_after_alloca): Add rs6000-*-* xfail for
21394 "print c in call_after_alloca" and
21395 "print s in call_after_alloca" and
21396 "backtrace from call_after_alloca_subr"
21397 if not compiled with gcc.
21398 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21399 "print c in localvars_in_indirect_call" and
21400 "print c in localvars_in_indirect_call" and
21401 "backtrace in indirectly called function" and
21402 "stepping into indirectly called function"
21403 if not compiled with gcc.
21404 (localvars_after_alloca): Add rs6000-*-* xfail for
21405 "print c after runto localvars_after_alloca" and
21406 "print s after runto localvars_after_alloca" and
21407 "print i after runto localvars_after_alloca" and
21408 "print l after runto localvars_after_alloca"
21409 for all compilers.
21410 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21411 than whatis-info.exp.
21412 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21413 than opaque-info.exp.
21414 Setup rs6000-*-* xfail for
d63a86f8 21415 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21416 "ptype on opaque struct pointer (dynamically)" when
21417 not compiled with gcc.
21418 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21419 rather than callf-info.exp.
21420 (do_function_calls): Add clear_xfail for rs6000-*-* for
21421 "p t_float_values2(3.14159,float_val2)". Seems to work
21422 fine there, both with xlc and gcc. Need to find out what
21423 it is doing right and fix other platforms.
21424 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21425 "call inferior func with struct - returns int",
21426 "call inferior func with struct - returns long",
21427 "call inferior func with struct - returns float",
21428 "call inferior func with struct - returns double",
21429 "call inferior func with struct - returns char *",
21430 but only if not gcc compiled (presumes xlc compiled).
21431 Change rs6000-*-* xfails for
21432 "call inferior func with struct - returns char" and
21433 " call inferior func with struct - returns short" to only
21434 xfail if not using gcc.
21435 (clean mostlyclean): Remove *.ci and *.tmp files.
21436 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21437 than templ-info.exp.
21438 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21439 Add rs6000-*-* xfail for "up to foo in langs.exp"
21440 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21441 when not gcc compiled.
d63a86f8 21442
c906108c
SS
21443Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21444
21445 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21446 * gdb.base/corefile.exp: Likewise.
21447 * gdb.base/list.exp: Likewise.
21448 * gdb.base/scope.exp: Likewise.
21449 * gdb.base/siganls.exp: Likewise.
21450
21451 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21452 compiler output.
21453 * gdb.base/whatis.exp: Likewise.
21454
21455Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21456
21457 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21458 failure (opcode table has been fixed to match reality).
21459
21460Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21461
21462 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21463 "call inferior func with struct - returns char",
21464 "call inferior func with struct - returns short"
21465
21466 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21467 "print 'scope0.c'::filelocal at main",
21468 "print 'scope0.c'::filelocal_bss in test_at_main",
21469 "print 'scope0.c'::filelocal at foo",
21470 "print 'scope0.c'::filelocal_bss in test_at_foo",
21471 "print 'scope0.c'::filelocal at bar",
21472 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21473
c906108c
SS
21474 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21475 in source file 1". This bug seems to have been fixed with both
21476 gcc and native cc (was native assembler bug?).
21477
21478Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21479
21480 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21481 "backtrace through signal handler" to "i*86-*-sysv4*".
21482 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21483 continue" case. Add "known SVR4 bug" to fail message.
21484 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21485 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21486 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21487 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21488 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21489 "up to foo in langs.exp", "show language at foo in
21490 langs.exp", "up to cppsub_ in langs.exp", "show
21491 language at cppsub_ in langs.exp", "up to fsub in
21492 langs.exp", and "show language at fsub in langs.exp".
21493 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21494 "bactrace in corefile.exp".
21495 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21496 "call inferior function with struct - returns float" and
21497 "call inferior function with struct - returns double".
d63a86f8 21498
c906108c
SS
21499Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21500
21501 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21502 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21503 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21504 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21505
21506Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21507
21508 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21509 (or overriden) "CHILL" macro rather then bare "gcc".
21510 Also look for ../../gcc/xgcc since that is what we will
21511 actually need, not "Makefile". Remove following assignment
21512 of CHILL to CHILL_FOR_TARGET because that results in
21513 recursive definition.
21514
21515Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21516
21517 * gdb.base/corefile.exp: Change xfail for backtrace in
21518 corefile.exp from linuxaout to all linux.
21519 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21520 cases where we miss the breakpoint at the signal handler
21521 for some reason. Setup xfail for linuxoldld/linuxaout and
21522 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21523 hitting SIGURG breakpoint.
21524 * gdb.base/signals.exp: Setup xfail for "next" acting like
21525 continue to add linuxoldld. Setup xfail for all linux for
21526 "next to handler in signals_tests_1", "backtrace in
21527 signals_tests_1", "continue to func1", "pass SIGUSR1",
21528 and continue to handler".
21529
21530Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21531
21532 * Update all FSF addresses except those in COPYING* files.
21533
21534Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21535
21536 * gdb.base/a2-run.exp: Change messages to be more explicit about
21537 the status of args, and quote binfile in results.
21538
21539Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21540
21541 * gdb.base/callfuncs.exp: Add tests for passing structs to
21542 inferior functions and return various types.
21543 * gdb.base/callfuncs.c: Add functions to receive a struct
21544 and return a member of the struct, in various types.
21545
21546Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21547
21548 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21549
21550Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21551
21552 * config/vxworks29k.exp: New file, sources vxworks.exp.
21553
21554Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21555
21556 * config/gdbremote.exp: New file. Testing framework using
21557 gdbserver.
21558
21559Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21560
21561 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21562 "call function when asleep" and "send end of file".
21563 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21564 for "backtrace in corefile.exp".
21565 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21566 for "backtrace through signal handler".
21567 * gdb.base/corefile.exp: Make sure we actually generate a core file
21568 before trying the core tests. Some systems allow the user to suppress
21569 generation of core files and default to that (linux for example).
21570 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21571 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21572
21573Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21574
21575 * gdb.threads: New directory with some crude multi-threaded
21576 gdb tests (step.exp and step2.exp).
21577 * config/mt-lynx (STEP_EXECUTABLE): Define.
21578 (THREADFLAGS): Define.
21579
21580Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21581
21582 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21583
21584 * gdb.base/signals.exp: Disable whole file for lynx until
21585 further notice.
21586
21587 * gdb.base/signals.exp: xfail test where "next" acts like
21588 "continue" for lynx.
21589
21590 * gdb.base/interrupt.exp: xfail test for calling function while
21591 inferior is asleep for lynx.
21592
21593 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21594 than one cr-lf after each command.
21595
21596Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21597
21598 * configure.in: Reinstate setting of stabsdirs variable, fix
21599 typo in setting up configdirs for native builds.
21600
21601 * gdb.base/return.exp: Fix typo in return double test.
21602 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21603 compiler from optimizing them away.
21604
21605Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21606
21607 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21608 sequences to be echo'd by gdb when using gdb_test.
21609 * gdb.chill/chexp.exp: Likewise.
21610 * gdb.fortran/exprs.exp: Likewise
21611
21612Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21613
21614 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21615 after the inferior gdb has started.
21616
21617 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21618 after each command.
21619 * gdb.base/funcargs.exp: Likewise.
21620 * gdb.base/gdbvars.exp: Likewise.
21621 * gdb.base/interrupt.exp: Likewise.
21622 * gdb.base/list.exp: Likewise.
21623 * gdb.base/watchpoint.exp: Likewise.
21624 * gdb.c++/demangle.exp: Likewise.
21625 * gdb.c++/inherit.exp: Likewise.
21626 * gdb.chill/chexp.exp: Likewise.
21627 * gdb.fortran/exprs.exp: Likewise.
21628
21629 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21630 test if we can't handle IO to/from the inferior.
21631
21632 * gdb.c++/misc.exp: Always check for a program already being
21633 started after sending a "run" command to gdb.
21634
21635 * gdb.base/twice.exp: Start with a fresh gdb.
21636
21637 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21638 only depend on gdb's expression code, not the chill runtime.
21639
21640 * gdb.base/return.c: Put return values into variables so we
21641 can have gdb print them rather than depending on the program
21642 to print them.
21643 * gdb.base/return.exp: Corresponding changes.
21644
21645 * lib/gdb.exp: Provide default value for noinferiorio.
21646 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21647 the inferior.
21648
21649 * gdb.base/break.exp: Always check for a program already being
21650 started after sending a "run" command to gdb.
21651 (text_next_with_recursion): Don't check the output from the
21652 program's printf statement. Instead just make sure the program
21653 exited.
21654
21655 * gdb.base/commands.exp: Protect tests which need arguments with
21656 $noargs conditionals.
21657
21658Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21659
21660 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21661 of structure member arrays to match gdb/valops.c:value_addr change.
21662
21663Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21664
21665 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21666 cases.
21667
21668Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21669
21670 * configure.in (configdirs): Remove gdb.chill from default list
21671 of subdirs and then add it back in only if doing a native build.
21672 The current chill compiler does not yet work in any cross build.
21673 * Revert all signal changes from Jul 6.
21674 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21675 for sh-hms targets, allowing these tests to link, with no other
21676 changes. Testing is suppressed by setting "nosignals" in site.exp.
21677
21678Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21679
21680 * configure.in (signaldirs): Define and add to configdirs for all
21681 targets except some specific ones that are known to not support signals.
21682 Also clean up formatting.
21683 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21684 (signals, sigall): Remove rules to build.
21685 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21686 Moved to new gdb.signals directory.
21687 * gdb.signals: New test directory.
21688 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21689 signals.c signals.exp}: New or moved files.
21690
21691Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21692
21693 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21694
21695Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21696
21697 * gdb.base/return.exp: Xfail `return double' test failure
21698 on at least Solaris 2.3 and handle future/past versions on
21699 a case by case basis as appropriate. Also update message
21700 to include i*86 failures.
21701
21702Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21703
21704 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21705
21706 * lib/gdb.exp: Fix comment which erroneously identified
21707 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21708 gdb_file_cmd not gdb_load).
21709 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21710
21711 * gdb.base/setvar.exp: Make test names consistent between pass and
21712 fail cases. Use gdb_test more.
21713
21714Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21715
21716 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21717
21718Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21719
21720 * gdb.base/help.exp: Fix expected help string for `show commands'.
21721
21722Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21723
21724 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21725
21726 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21727 of a text section.
21728
21729Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21730
21731 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21732 that loop eventually terminates. Fix Connection refused logic so
21733 that testsuite will expire nicely.
21734
21735Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21736
21737 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21738 config/rom68k.exp: New tcl glue for the appropriate monitors.
21739 These all just end up calling monitor.exp.
21740 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21741 refused' by retrying. Cleanup some timeout issues.
21742 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21743 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21744 callers don't have to set/restore global timeout variable.
21745
21746 * The following set of changes centralizes management of the global
21747 timeout variable. This way, it can be set in one target dependent
21748 place instead of dozens of places scattered throughout the test suite.
21749 If you need to lengthen a timeout, then you should either set timeout
21750 in one of the config/{target}.exp files, or multiply it by a factor.
21751 Setting it to an absolute value is always going to lose for some
21752 targets.
21753 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21754 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21755 * gdb.base/funcargs.exp: Don't set timeout.
21756 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21757 * gdb.base/printcmds.exp (test_print_string_constants
21758 test_print_array_constants): Don't set timeout.
21759 * gdb.base/ptype.exp: Don't set timeout.
21760 * gdb.base/recurse.exp: Don't set timeout.
21761 * gdb.base/return.exp: Don't set timeout.
21762 * gdb.base/watchpoint.exp: Don't set timeout.
21763 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21764 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21765
21766Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21767
21768 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21769
21770Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21771
21772 * lib/gdb.exp: Disable chill tests for irix5.
21773
21774Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21775
21776 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21777 each test pass or fail.
21778
21779Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21780
21781 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21782 xlc not gcc.
21783
21784Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21785
21786 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21787
21788Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21789
21790 * config/est.exp: Fix copyright and comments. Remove dead code.
21791 Use targetname, serialport and baud variables instead of fixed
21792 constants.
21793 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21794 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21795
21796Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21797
21798 * gdb.base/watchpoint.exp: Don't run
21799 test_watchpoint_triggered_in_syscall for sunos.
21800
21801Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21802
21803 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21804 they don't seem to exist. Do include stdio.h.
21805
21806Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21807
21808 * gdb.base/a1-selftest.exp: Add alpha xfail.
21809
21810Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21811
21812 * gdb.base/watchpoint.c (main): Prompt before calling read().
21813 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21814 Revise accordingly. Remove cruft about sending "123" several
21815 times, until it gets noticed. Clean up the "print buf[0]" stuff
21816 so that it passes or fails, and waits for prompts in the usual way.
21817
21818Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21819
21820 * gdb.base/recurse.exp: Fix comment.
21821
21822 * TODO: Remove item about printing variables in nodebug.exp. Add
21823 item about enabling tests which are only run on some targets.
21824
21825 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21826 fail, make test names unique, use new gdb_test convention
21827 regarding pattern, use gdb_test more, etc.).
21828
21829 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21830 fail, make test names unique, etc.).
21831
21832Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21833
21834 * gdb.base/nodebug.c: Change return type of top and middle to
21835 short.
21836 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21837 are fixed by the recent mdebugread.c changes. Allow `short ()'
21838 as type for top and middle.
21839
21840Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21841
21842 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21843 nearly as I can tell, the whole thing was an accident in Stu's
21844 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21845 to replace a send/expect pair with gdb_test, but ended up only
21846 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21847 of 30 Mar 1995 took care of it, but left this vestigial comment
21848 which I am now nuking.
21849
21850Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21851
21852 * gdb.base/break.exp: Look for different line number for
21853 breakpoint at main depending on usestubs.
21854
21855Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21856
21857 * gdb.base/list.exp: Adjust some alternate expect patterns to
21858 match recent list0.c change. Add alternate expect pattern for
21859 output from `list default lines around main' for optimizing
21860 compilers.
21861
21862Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21863
21864 * lib/gdb.exp: If nosignals is not set, set it to 0.
21865
21866Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21867
21868 * config/slite-gdb.exp: Responds to load symbol table prompt.
21869 * gdb.base/break.exp: Adjust line number, fix rerun.
21870 * gdb.base/langs0.c: Add #ifdef usestubs.
21871
21872Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21873
21874 * gdb.base/list.exp: Adjust line contents after adding new lines in
21875 list0.c. Also fix a syntax error.
21876
21877 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21878 * gdb.base/break.exp: ditto.
21879 * gdb.base/list.exp: ditto.
21880 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21881 * gdb.base/run.c: ditto.
21882 * gdb.base/list0.c: ditto.
21883 * gdb.base/funcargs.c: ditto.
21884
21885Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21886
21887 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21888 $targetname, $serialport and $baud instead of hardwired variables.
21889 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21890 target doesn't support signals.
21891
21892Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21893
21894 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21895
21896Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21897
21898 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21899 Don't rely on the value of an auto variable before it has been
21900 initialized. Use gdb_test more.
21901
21902Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21903
21904 * lib/gdb.exp (default_gdb_version): A version number must start
21905 with a digit, but other than that contains all characters up to
21906 the first whitespace character.
21907
21908Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21909
21910 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21911
21912Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21913
21914 * gdb.c++/*.exp: Warn if executable does not exist. The original
21915 reason for skipping the warning was that configure.in sometimes
21916 intentionally skipped building the executables but the tcl code
21917 had no way of knowing. That (a) was always bogus with respect to
21918 error handling, (b) is no longer true (right now there is no way
21919 to skip C++ tests).
21920
21921 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21922
21923Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21924
21925 * gdb.base/list.exp: Add expect patterns for output from
21926 SunPRO compiled executables.
21927 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21928 types.
21929
21930Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21931
21932 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21933 number (we are already testing that the correct source line text
21934 gets printed).
21935
21936 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21937 that is what is intended, but something needed to be done to get
21938 sunos4 native working again.
21939
21940 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21941
21942 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21943 apparently went with a (very) old xfail.
21944
21945Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21946
21947 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21948 runto_main is a proc in gdb.exp that will do 'step' for target use
21949 stubs.
21950 * gdb.base/exprs.exp: ditto.
21951 * gdb.base/interrupt.exp: ditto.
21952 * gdb.base/opaque.exp: ditto.
21953 * gdb.base/printcmds.exp: ditto.
21954 * gdb.base/ptype.exp: ditto.
21955 * gdb.base/scope.exp: ditto.
21956 * gdb.base/setvar.exp: ditto.
21957 * gdb.base/signals.exp: ditto.
21958 * gdb.base/twice.exp: ditto.
21959 * gdb.c++/classes.exp: ditto.
21960 * gdb.c++/inherit.exp: ditto.
21961 * gdb.c++/templates.exp: ditto.
21962 * gdb.base/break.exp: no run and hit main for stubs. Change line
21963 numbers for breakpoints and info breakpoint.
21964 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21965 breakpoint().
21966 * gdb.base/callfuncs.c: ditto.
21967 * gdb.base/exprs: ditto.
21968 * gdb.base/interrupt.c: ditto.
21969 * gdb.base/opaque0.c: ditto.
21970 * gdb.base/printcmds.c: ditto.
21971 * gdb.base/ptype.c: ditto.
21972 * gdb.base/scope0.c: ditto.
21973 * gdb.base/setvar.c: ditto.
21974 * gdb.base/signals.c: ditto.
21975 * gdb.base/twice.c: ditto.
21976 * gdb.c++/misc.cc: ditto.
21977 * gdb.c++/templates.cc: ditto.
21978
21979Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21980
21981 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21982
21983 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21984 somewhere between `read' and `main.c'. I'm pretty sure the
21985 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21986 and it isn't particularly useful.
21987
21988 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21989
21990Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21991
21992 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21993
21994Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21995
21996 * config/mt-slite: add LIBS and -nostdlib.
21997 * config/slite-gdb.exp: add this new file to support sparclite target.
21998
21999Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22000
22001 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22002
22003 * gdb.base/a2-run.exp: Change argument to istarget from
22004 "*-*-vxworks" to "*-*-vxworks*".
22005 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22006
22007Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22008
22009 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22010 will not runto main but do a 'step' to step out of breakpoint().
22011 * config/mt-slite: add -Dusestubs.
22012
22013Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22014
22015 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22016 instead of just @.
22017
22018 * gdb.base/signals.exp: Add test for "handle all print".
22019 * TODO: Remove "handle all print". Also remove item about
22020 checking copyright date (I don't like the idea of a spurious FAIL
22021 based on when we run the tests).
22022
22023 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22024 for SunOS4 (reason for failure not investigated). Remove
22025 redundant test for $binfile.
22026
22027 * gdb.base/nodebug.c (array_index): Call malloc.
22028
22029 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22030
22031Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22032
22033 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22034 conventions and slightly simplify the matching regexp.
22035
22036Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22037
22038 * gdb.base/break.exp: Update gdb_test invocation to use new
22039 convention.
22040
22041 * lib/gdb.exp: If noargs is not set, set it to 0.
22042
22043 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22044 tests unique.
22045
22046 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22047
22048Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22049
22050 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22051 one argument of type "<non-float parameter>".
22052
22053Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22054
22055 * config/rom68k.exp: New file to support Motorola IDP board.
22056 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22057 * gdb.base/break.c: Change things around so that this program
22058 doesn't depend upon args. This is necessary to make remote
22059 targets work (in general, they can't take args).
22060 * gdb.base/break.exp: Don't try to send args to program. Don't
22061 expect output. Also, replace lots of code with gdb_test.
22062
22063Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22064
22065 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22066 printing of '\'' (which is what the comment says we are testing,
22067 even though we were not), not '''.
22068 (test_integer_literals_rejected): Test that printing ''' is an error.
22069
22070 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22071 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22072 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22073 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22074 Use gdb_test not test_print_accept.
22075 * lib/gdb.exp: Remove test_print_accept.
22076
22077 * gdb.base/signals.exp (signal_tests_1): Make pass message
22078 consistent with fail message.
22079
22080 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22081 unsigned char; the bug (PR 1821) is fixed.
22082
22083 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22084
22085 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22086 successful tests--makes xfailing them work right.
22087
22088Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22089
22090 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22091 only \r\n, not .*. The test can pass .* as the last thing in
22092 $pattern if that is what it wants. In addition to providing this
22093 flexibility, this change should speed up pattern matching in cases
22094 where the pattern already ended with .* (there were a number of
22095 them). This change also helps catch bad patterns--in the old
22096 scheme the typo "char \*" instead of "char \\*" would pass. Now
22097 it is caught.
22098 * Many .exp files: Update callers.
22099
22100 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22101 clearer and does not spuriously match multiple ('s. Likewise for
22102 ) and *.
22103
22104 * gdb.base/nodebug.exp: Test ability to call a function and pass
22105 it a string (even with no debugging info).
22106
22107 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22108 "p '\'", which is the same as "p ''" once tcl gets done with
22109 quoting, to "p '\\'", which I suspect is what is intended (one
22110 backslash gets sent to GDB).
22111
22112 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22113
22114Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22115
22116 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22117 1817) was fixed literally years ago.
22118
22119Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22120
22121 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22122 test, it causes stepping out of call_after_alloca_subr with
22123 optimizing compilers.
22124 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22125 fails.
22126
22127 * gdb.c++/templates.exp: Source templ-info.exp only if
22128 the templates executable exists.
22129
22130 * gdb.c++/misc.cc (class Contains_static_instance,
22131 class Contains_nested_static_instance),
22132 gdb.c++/classes.exp (test_static_members): Test printing of
22133 a class that contains a static instance of the class.
22134
22135Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22136
22137 * gdb.base/langs2.c (cppsub_): Don't prototype.
22138 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22139 only, I believe).
22140
22141Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22142
22143 * lib/gdb.exp (skip_chill_tests): New procedure.
22144
22145 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22146
22147Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22148
22149 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22150 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22151
22152Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22153
22154 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22155
22156 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22157 disassemble 8, not 16, instructions for part 4.
22158
22159 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22160 support the latter anymore.
22161
22162 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22163 -DNO_PROTOTYPES.
22164 * gdb.base/callfuncs.c: Control use of prototypes based on
22165 NO_PROTOTYPES, not __STDC__.
22166 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22167 t_float_values2 tests if prototypes in use.
22168
22169 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22170 t_double_values): When checking differences against DELTA, check
22171 that difference is within the range (-DELTA,DELTA), not just
22172 (-infinity,DELTA).
22173
22174Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22175
22176 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22177 'file' command firts, then 'target', then 'load', this is due to gdb
22178 target set up.
22179 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22180
22181Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22182
22183 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22184 FP load/store variants.
22185 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22186
22187Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22188
22189 * gdb.base/term.exp: Do not give a warning if not native, it is
22190 not an abnormal condition.
22191
22192Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22193
22194 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22195 t_char_array".
22196
22197Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22198
22199 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22200 are getting the version number.
22201
22202 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22203 if not native, it is not an abnormal condition.
22204
22205Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22206
22207 * lib/gdb.exp: Just use "file exists", rather than undocumented
22208 dejagnu procedure "findfile".
22209
22210Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22211
22212 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22213 (LDFLAGS): Set to -Xlinker -Ur.
22214
22215 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22216 Removed, these values are set by lib/gdb.exp.
22217
22218 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22219
22220Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22221
22222 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22223 of replicating gdb startup code.
22224
22225 * config/mt-vxworks (LDFLAGS): Set to -r.
22226 (CFLAGS_FOR_TARGET): Removed.
22227
22228 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22229 (gdb) and gdb for vxworks uses (vxgdb).
22230
22231 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22232 executable is not in the tree and host != target, use sed and
22233 program_transform_name to determine the gdb name used by the
22234 target.
22235
22236 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22237 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22238
22239Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22240
22241 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22242 floats, chars, and shorts where there are ANSI-style function
22243 definitions.
22244
22245 * gdb.base/langs.exp, gdb.base/langs*: New test.
22246 * gdb.base/Makefile.in: Build it.
22247 * TODO: Remove item about checking that C names don't get C++
22248 demangling applied; this test tests it.
22249
22250Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22251
22252 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22253 went with the const70 xfail. The xfail went away a year ago.
22254
22255 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22256
22257 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22258 for hp300.
22259
22260 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22261
22262 * gdb.base/a1-selftest.exp: Don't run on hp300.
22263
22264Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22265
22266 * Makefile.in (site.exp): Set host_alias and target_alias as well
22267 as host_triplet and target_triplet.
22268
22269Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22270
22271 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22272
22273 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22274 places as other ecoff systems).
22275
22276 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22277 ultrix.
22278
22279Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22280
22281 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22282 remove them.
22283 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22284 variable and "variable" in addition to "data variable".
22285 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22286
22287 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22288 2.
22289 * gdb.base/list1.c (long_line): Add additional statement at start
22290 of function.
22291 * gdb.base/list.exp (test_forward_search): Update line number to
22292 reflect new statement.
22293
22294Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22295
22296 * gdb.base/signals.exp: Reinitialize searched source directories
22297 after gdb_start call.
22298
22299Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22300
22301 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22302 * gdb.stabs/Makefile.in: Likewise.
22303
22304 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22305 change. Instead split the tests into smaller pieces.
22306 * gdb.disasm/hppa.s: Corresponding changes.
22307
22308Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22309
22310 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22311 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22312
22313 * gdb.base/funcargs.exp: Modify many tests so that every test
22314 either passes or fails. Make some test names unique.
22315
22316Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22317
22318 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22319 Call stty to set interrupt character.
22320
22321 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22322 for HP assembler versus GNU assembler based on actual behavior of
22323 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22324
22325 * TODO: Suggest a few more stepping tests.
22326
22327Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22328
22329 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22330 restart GDB for h8300 after a continue.
22331 (return): Add pattern to match a29k-udi behavior.
22332 * gdb.base/nodebug.exp: Remove obsolete comment.
22333 * gdb.base/regs.exp: New file, testing of register displays.
22334 * gdb.base/return.exp: Fix typo in reference to $objdir.
22335 * gdb.base/whatis.exp: Always start with a fresh GDB.
22336
22337Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22338
22339 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22340 higher, these tests generate a lot of output.
22341
22342Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22343
22344 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22345 code following the catch silently ignored some errors; without the
22346 catch they should be thrown like any other tcl error. Also, the
22347 catch used "" instead of {} which meant all the callers who wanted
22348 to include one of the characters "[]$ had to quote it an extra time.
22349 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22350 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22351 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22352 Remove extra quoting.
22353
22354Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22355
22356 * gdb.base/commands.exp: Make test names unique; every test either
22357 passes or fails. Update some comments.
22358
22359 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22360
22361Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22362
22363 The following fixes a FAIL caused by the fact that the alpha stabs
22364 configuration didn't use the ".if alpha" code in weird.def.
22365 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22366 bit pointer, so the 32 bit version works even on the alpha.
22367 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22368 Remove the stuff which allowed us to have separate versions for
22369 alpha and everything else.
22370
22371 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22372 regexp which "info func operator\[\](" is supposed to match. Fix
22373 string to send to GDB. Note that GDB still doesn't work right. Add a
22374 new test for "info func .perator\[\](" which GDB does handle correctly.
22375
22376 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22377
22378Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22379
22380 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22381 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22382 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22383 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22384 it makes the tests harder to understand and confuses test-o-matic.
22385 The preferred style is that each test provides a PASS or a FAIL,
22386 and has a unique message (e.g. "continue #54" not just "continue")
22387 which is the same for the pass and the fail.
22388 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22389 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22390 to lib/gdb.exp.
22391 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22392 prt_accept which was basically the same thing. Likewise for
22393 test_print_reject and prt_reject.
22394 * lib/gdb.exp (test_print_reject): Add some more error message
22395 patterns to match from the former printcmds.exp (prt_reject).
22396 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22397 One defect of the passcount stuff is that some of it failed to
22398 report XPASS where appropriate.
22399 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22400 stuff before and after arg in expected pattern.
22401 (test_paddr_operator_functions): Re-do test without print_addr_of;
22402 this is the only test which seems to want extra stuff there.
22403
22404Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22405
22406 * gdb.base/nodebug.exp: Update new tests to reflect improved
22407 wording of gdb output.
22408
22409 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22410 and "ptype" work on variables in files compiled without -g.
22411 Replaces commented out "maint print msymbol" tests.
22412
22413Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22414
22415 * gdb.base/setvar.c (dummy): Call malloc.
22416
22417 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22418 losing with the irix4 sed.
22419
22420 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22421 ALRM" on irix4.
22422
22423Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22424
22425 * TODO: Remove items about corefile.exp testing new exec-file and
22426 backtrace; both are now done. Add items about printing enums.
22427
22428Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22429
22430 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22431 "get signal $thissig" test fails.
22432
22433 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22434
22435Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22436
22437 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22438 compiler warning with dec alpha compiler.
22439
22440 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22441 extra \n from gdb_test call (this explains why the prompt test
22442 that I removed yesterday was there).
22443 (user_defined_command_test): Remove extra \n and prompt test.
22444
22445 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22446 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22447 doesn't exist.
22448 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22449 Also remove alpha workaround, which turns out to be because
22450 SIGABRT == SIGLOST.
22451
22452 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22453
22454 * gdb.base/help.exp: Don't test "help show".
22455
22456Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22457
22458 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22459 "set print address" is on.
22460 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22461 pass prompt to gdb_test; gdb_test already looks for the prompt.
22462
22463 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22464
22465 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22466 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22467 was to make sure that gdb can read a core file. But (a) the "read
22468 the corefile" part didn't make it to a1-selftest.exp, we just
22469 delete the corefile after creating it, and (b) we test reading
22470 corefiles in corefile.exp anyway. Also, this test left around a
22471 xgdb process on Solaris.
22472
22473 * gdb.base/corefile.exp: Also test backtrace.
22474
22475Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22476
22477 * gdb.base/commands.exp: Test a simple user defined command with
22478 arguments and if/while statements; verify the full user command is
22479 printed by "show user".
22480
22481 * gdb.base/commands.exp: Test if/while commands as part of a
22482 breakpoint command list; verify they appear in breakpoint
22483 information.
22484
22485Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22486
22487 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22488 than by dividing by zero.
22489
22490Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22491
22492 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22493 performing an inferior call with watchpoints enabled.
22494 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22495 call.
22496
22497Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22498
22499 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22500 of "file" command.
22501
22502 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22503 Add additional pattern for when "int operator int(void);" appears
22504 in a different order.
22505
22506Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22507
22508 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22509
22510 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22511 and "signal" with ".*".
22512
22513Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22514
22515 * TODO: Add note about "handle all nostop".
22516
22517 * gdb.base/{sigall.c, sigall.exp}: New test.
22518 * gdb.base/Makefile.in: Add it.
22519
22520Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22521
22522 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22523 when invoking GDB, suppresses any windowing interface.
22524
22525Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22526
22527 * config/sim-gdb: New file, simulator testing support.
22528
22529Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22530
22531 * gdb.base/interrupt.exp: Test calling func1 twice.
22532
22533Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22534
22535 * gdb.base/list.exp (test_forward_search): Set timeout higher
22536 when we'll be getting lots of output from gdb.
22537
22538 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22539 "init_malloc" to after the expect statement. Run it if that
22540 regexp is taken, but also for two others which happen if source
22541 cannot be found.
22542
22543Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22544
22545 * gdb.base/printcmds.exp: New test, for printing register before
22546 program is running.
22547
22548Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22549
22550 * gdb.base/list.exp: Correct some alternate expect patterns
22551 to reflect changes in list1.c.
22552
22553Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22554
22555 * TODO: Add item regarding large frames.
22556
22557 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22558
22559 * TODO: Remove item about enabling return.exp; it
22560 is enabled. Suggest a few more "return" tests.
22561
22562Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22563
22564 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22565 anonymous unions.
22566
22567Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22568
22569 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22570 and pr-5646.o, so "make" is the same as "make all", not "make
22571 pr-4975.o".
22572
22573Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22574
22575 * gdb.base/list.exp: Adjust expectations to reflect changes in
22576 list1.c.
22577 (test_forward_search): New test proc.
22578 * gdb.base/list1.c (long_line): New function, has long source line.
22579
22580Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22581
22582 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22583 additional line of code that was added.
22584
22585Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22586
22587 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22588 tests so as not to overflow expect's input buffers.
22589 * gdb.disasm/hppa.exp: Corresponding changes.
22590
22591Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22592
22593 Beginnings of template debugging tests.
22594 * gdb.c++/templ-info.cc: New file to test for template
22595 debugging capability of the compiler.
22596 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22597 templ-info.cc.
22598 * gdb.c++/templates.cc: Add explicit template instantiations
22599 to enable compiling with -fno-implicit-templates. Add destructor
22600 and 'value' method to T5 class for template tests.
22601 * gdb.c++/templates.exp: Add testcases for printing of template
22602 types, setting breakpoints on template methods and calling a
d63a86f8 22603 template method.
c906108c
SS
22604
22605Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22606
22607 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22608 branch target since some assemblers (gas-2.5) may emit a
22609 relocation for the branch instead of resolving it in the
22610 assembler.
22611
22612Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22613
22614 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22615 through signal handler.
22616
22617Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22618
22619 * configure.in (*-*-netware): Use config/mt-netware.
22620
22621 * config/mt-netware: New file.
22622 * config/mt-i386-netware: Removed, separate configs for different
22623 netware architectures are no longer needed now that we have
22624 --with-headers.
22625
22626Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22627
22628 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22629 by the recent changes to use ANSI C arithmetic conversions.
22630
22631Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22632
22633 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22634 bug involving using inferior_pid to figure out whether to select a
22635 frame.
22636
22637Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22638
22639 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22640 match the current disassembler output.
22641
22642Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22643
22644 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22645 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22646 types, expect "int" as type of integer values (for now).
22647
22648Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22649
22650 * gdb.base/commands.exp: New tests for if/while commands.
22651
22652Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22653
22654 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22655 by .*, since hex values have different syntax in Chill mode.
22656
22657Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22658
22659 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22660 linefeed from expect pattern for repeated types with indices > 9.
22661
22662Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22663
22664 First part of Fortran test suite.
22665 * gdb.fortran: New directory.
22666 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22667
22668Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22669
22670 * gdb.base/default.exp: Update expect pattern for load command
22671 without arguments.
22672
22673Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22674
22675 * configure.in: Change i386 to i[345]86.
22676 * gdb.base/configure.in: Likewise.
22677 * gdb.c++/configure.in: Likewise.
22678 * gdb.chill/configure.in: Likewise.
22679
22680Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22681
22682 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22683 patterns, since that is not a valid context for comments.
22684
22685Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22686
22687 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22688 repeated types and repeated types with indices > 9.
22689
22690Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22691
22692 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22693 2417; old bug has been fixed.
22694
22695Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22696
22697 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22698 send the newline ourselves instead of assuming gdb_test will do
22699 so when passed an empty input string.
22700
22701 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22702 stabs testcode.
22703
22704Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22705
22706 * lib/gdb.exp (gdb_test): Don't send anything if the first
22707 argument is an empty string. This makes cases where we want to
22708 match output that is already in expect's buffers (for example,
22709 matching a breakpoint after gdb_run_cmd has been called) work
22710 reliably.
22711
22712Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22713
22714 * config/netware.exp: New file.
22715
22716Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22717
22718 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22719 the -B and -L prefixes so we can find the debugging stub.
22720
22721 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22722 there and we are using the gcc from the tree.
22723
22724 * gdb.base/types.c: Removed.
22725
22726 * gdb.base/configure.in: Look for makefile fragments in ../config.
22727 Recognize i386-*-netware.
22728 * gdb.c++/configure.in: Likewise.
22729
22730Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22731
22732 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22733 the correct TCL syntax.
22734
22735Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22736
22737 * gdb.base/opaque.exp: use runto instead of messing around with
22738 breakpoints. Simplify by using gdb_test.
22739
22740 * gdb.base/bitfields.exp: restart between tests on netware targets
22741 because breakpoints aren't relocated after target death. Run
22742 processes to completion.
22743
22744 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22745
22746Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22747
22748 * Makefile.in: Remove extra tabs that confuse some versions
22749 of "make". Use the newly built gdb to test with by default,
22750 rather than the first one in the tester's search path.
22751
22752Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22753
22754 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22755
22756 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22757 condition help.
22758
22759Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22760
22761 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22762
22763 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22764 running.
22765 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22766 * gdb.base/funcargs.exp: Likewise.
22767
22768 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22769 * gdb.base/funcargs.exp: Likewise.
22770
22771 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22772 message is "".
22773
22774Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22775
22776 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22777 return,signals,twice}.exp: Handle non-existant binaries
22778 consistantly.
22779
22780 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22781 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22782 might testing a cross development system.
22783
22784Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22785
22786 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22787 runtest script is relative to ${srcdir}, not ${rootdir}.
22788
22789Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22790
22791 * gdb.base/signals.exp: Allow for optionality of breakpoint
22792 address.
22793
22794Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22795
22796 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22797
22798Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22799
22800 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22801 for size_t definition.
22802 * gdb.c++/templates.cc: Likewise
22803
22804 * config/mt-i386-netware: New file.
22805
22806 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22807 defined.
22808
22809 * gdb.base/Makefile.in: Added support for systems that name core
22810 files by appending "core" to the program name.
22811 * gdb.base/a1-selftest.exp: Likewise.
22812
22813Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22814
22815 * gdb.base/return.exp: Add comment and message for `return double'
22816 test failure on Sparc Solaris.
22817
22818Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22819
22820 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22821
22822Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22823
22824 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22825 from optimizing them away.
22826 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22827 patterns to include default constructors and assignment operators,
22828 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22829 character in the output of the virtual base pointer.
22830
22831Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22832
22833 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22834 expression match in print_addr_of to avoid unintented matches.
22835 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22836 versions up to 2.5.8.
22837
22838Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22839
22840 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22841 included file to run under newer versions of expect.
22842 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22843 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22844 Remove xfail for the virtual table of BDDHookV.
22845
22846Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22847
22848 * lib/gdb.exp (string_to_regexp): Set a default result.
22849 (default_gdb_start): Fix misleading message.
22850
22851Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22852
22853 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22854 Remove all CC, etc definitions.
22855 * config/mt-hpux: New file.
22856 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22857 (CFLAGS, LDFLAGS): Define.
22858 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22859
22860 * Makefile.in (site.exp): Don't insert host_os, etc.
22861 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22862 (distclean): Check existence of subdir.
22863 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22864 * gdb.base/Makefile.in: General cleanup and simplification.
22865 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22866 to build executables. Use default rule to build .o files.
22867 (EXPECT, RUNTEST, CC): Fix relative pathname.
22868 (site.exp): Don't insert host_os, etc.
22869 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22870 and/or SIGUSR1 defined.
22871 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22872 * gdb.c++/Makefile.in: General cleanup and simplification.
22873 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22874 (CFLAGS): Remove.
22875 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22876
22877Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22878
22879 * gdb.base/recurse.exp: Misc changes to get tests running again
22880 after Kung's changes to the watchpoint code.
22881 * gdb.base/watchpoint.exp: Likewise.
22882
22883Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22884
22885 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22886
22887Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22888
22889 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22890 * lib/gdb.exp (default_gdb_start): Define.
22891 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22892 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22893 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22894 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22895 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22896 Don't call gdb_target_udi in between tests.
22897
22898Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22899
22900 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22901 (which was basically just a local version of the same thing). In
22902 addition to avoiding duplication, gdb_test_exact is faster.
22903 * lib/gdb.exp (gdb_test_exact): Fix typo.
22904
22905 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22906 don't give an error.
22907
22908 * gdb.base/term.exp: Call delete_breakpoints before starting.
22909
22910 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22911 (t10): Add comment.
22912
22913Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22914
22915 Reorganization of the GDB Test Suite.
22916
22917 * gdb.base: New directory, contains all the basic tests.
22918 * gdb.c++: New directory, tests specific to C++.
22919 * gdb.chill: New directory, tests specific to Chill.
22920 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22921 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22922 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22923 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22924 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22925 t30-31 to chill).
22926 * */gdbme.*: Rename to match appropriate expect scripts.
22927 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22928 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22929 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22930 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22931 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22932 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22933 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22934 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22935 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22936 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22937 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22938 gdb.c++/virtfunc.cc: New names of C++ files.
22939 * gdb.chill/chillvars.ch: New name of Chill file.
22940 * gdb.base/configure.in, gdb.c++/configure.in,
22941 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22942 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22943 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22944 * configure.in (configdirs): Update to reflect directory changes.
22945 (target_abbrev): No longer define for any configuration.
22946 * Makefile.in: Cosmetic improvements to header comments.
22947
22948Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22949
22950 Various changes to gdb.t31:
22951
22952 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22953 * gdbme.ch: Make all key-words and predefineds be upper-case.
22954 * chillvars.exp: Expect key-words and predefinds in upper-case.
22955
22956 * chillvars.exp: Use gdb_test_exact many places.
22957 Change expected output for arrays (which now includes index labels).
22958
22959 * pr-5020.exp, gdme.ch (module PR_5020):
22960 New test, for PR-5020.
22961
22962Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22963
22964 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22965 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22966
22967Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22968
22969 * Makefile.in: Fix bit-rot in definitions of CHILL,
22970 CHILL_FOR_TARGET and Chill_LIB.
22971 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22972 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22973 CHILL, and CHILL_LIB.
22974
22975Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22976
22977 * Revert the previous changes. Please see Rob's directory
22978 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22979
22980Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22981
22982 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
22983 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22984 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22985 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
22986 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22987 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22988 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22989 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22990 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22991 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22992 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22993 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22994 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22995 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22996 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22997 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22998 changes from 94Q1.
22999
23000Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23001
23002 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23003 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23004 Rob's new testing fragments.
23005
23006Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23007
23008 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23009 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23010
23011Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23012
23013 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23014 version also, match on casted version strings, and match on
23015 gdb startup case where the line numbers might be messed up.
23016
23017Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23018
23019 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23020 (CFLAGS): Delete it from here.
c906108c
SS
23021
23022Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23023
23024 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23025
23026Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23027
23028 * Makefile.in (RUNTEST): Default to just "runtest".
23029
23030Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23031
23032 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23033 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23034 the code has been restructured.
23035
23036Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23037
23038 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23039 \n, not just one of each.
23040
23041 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23042 /bin/cc gives a warning if you do.
23043
23044Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23045
d63a86f8 23046 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23047 __t10ListS_link1ZUiRCUiPT0
23048
23049Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23050
23051 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23052 on local variables in recursive functions.
23053
23054 * gdb.t07/Makefile.in: Build the new test.
23055
23056Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23057
23058 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23059 directly. Instead compare the return values from actual calls.
23060
23061Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23062
23063 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23064
23065Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23066
23067 * From Peter Schauer with minor modifications.
a9c64011
AS
23068 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23069 stops in mid-line in the caller. Add xfail for returning a float
23070 value on X86 targets.
c906108c
SS
23071
23072Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23073
23074 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23075 to avoid expect lossage.
23076 (fmem_LRbug_tests): Likewise.
23077 * gdb.disasm/hppa.s: Corresponding changes.
23078
23079 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23080 conditions to work with latest dejagnu/expect.
23081
23082 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23083 expected to fail on the PA.
23084 (backtrace in call with trampolines): Explicitly require main
23085 to be frame #1 (no trampolines should show up in backtrace).
23086
23087 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23088 "continue -expect".
23089 * gdb.t06/break.exp: Likewise.
23090 * gdb.t07/watchpoint.exp: Likewise.
23091 * gdb.t13/bitfields.exp: Likewise.
23092 * gdb.t15/{funcargs,return}.exp: Likewise.
23093 * gdb.stabs/weird.exp: Likewise.
23094 * config/{mips,udi}-gdb.exp: Likewise.
23095
23096 * hppa.sed: Enclose comments within a sed command to avoid
23097 losing with the old OSF1 sed.
23098
23099Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23100
23101 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23102 sequent dynix.
23103 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23104 * gdb.t15/funcargs.exp: Conditionally step again to really
23105 finish from marker_call_with_trampolines. Handle the case where
23106 the first step from within call_with_trampolines already steps
23107 us back to main.
23108 * gdb.t15/gdbme.c: Add comment to closing brace of
23109 call_with_trampolines for funcargs.exp.
23110
23111Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23112
d63a86f8 23113 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23114 Fix typo(s).
23115
23116Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23117
23118 * gdb.t07/gdbme.c: More code for watchpoint testing.
23119
23120 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23121 "Hardware watchpoint" throughout file.
23122 (test_watchpoint_triggered_in_syscall): New test.
23123 (test_complex_watchpoint): New test.
23124
23125Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23126
23127 * gdbme.c (call_with_trampolines): New function to try and step
23128 into. Tests trampoline problems on the PA.
23129
23130 * funcargs.exp (localvars_in_indirect_call): No longer expect
23131 stepping into indirect call to fail on PAs.
23132 (test_stepping_over_trampolines): New test.
23133
23134Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23135
23136 * TODO: Add suggestions for static member function tests, and
23137 completion tests.
23138
23139Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23140
23141 * TODO: Add suggestions for "p/a" tests.
23142
23143 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23144 (default_gdb_exit): Replace all the hair with sending "quit" to
23145 the process with a simple close.
23146
23147Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23148
23149 * TODO: Add suggestions for shared library tests.
23150
23151Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23152
23153 * TODO: Add suggestions for x/s tests.
23154
23155Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23156
23157 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23158 "enable once", and "enable breakpoints once" with ".*".
23159
23160Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23161
23162 * TODO: Add suggestions about structure passing tests.
23163
23164Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23165
23166 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23167 the primary1 test, use work around if __GNUC__ < 2.
23168 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23169 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23170 Test for bad output rather than waiting for timeout. Issue
23171 second continue only if first continue failed.
23172
23173Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23174
23175 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23176 operator[] test with gdb_test because the old code didn't seem to
23177 be getting the quoting right with the new dejagnu.
23178
23179Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23180
23181 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23182 one from the path.
23183 * Makefile.in: Use a fresh expect if there is one, use runtest
23184 from the src tree if there is one.
d63a86f8 23185
c906108c
SS
23186Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23187
23188 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23189 next over recursive call. Revise the tests from that point on
23190 (which had been skipped) to match GDB's actual (correct) output.
23191
23192 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23193 with next over a breakpoint whose condition is false.
23194
23195 * gdb.t00/help.exp: Comment out "help set print" tests just like
23196 (and for same reason as) "help set" test.
23197
23198Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23199
23200 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23201 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23202
23203Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23204
23205 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23206 necessary gdb_target_udi.
23207
23208 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23209
23210 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23211 1838 and 2417; they are fixed.
23212
23213 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23214 gdb.t03/ptype.exp (ptype structure, ptype union):
23215 Remove xfails; the test is looser than when the xfails were added.
23216
23217 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23218 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23219
23220 * gdb.t01/run.exp: Only run shell test if isnative.
23221
23222 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23223 since "run" automatically loads if necessary. Call gdb_target_udi
23224 after the "file" since "file" kills any execution target.
23225
23226 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23227 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23228 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23229 argument for UDI.
23230
23231Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23232
23233 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23234
23235 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23236
23237Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23238
23239 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23240 properly quoting regexps. This makes the second argument to
23241 demangle a fixed string, which matches the callers, instead of a
23242 shell-style pattern which is what the previous implementation
23243 used. Update some of the callers.
23244
23245Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23246
23247 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23248 (comib_nullified_tests): Fix typo.
23249 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23250 strings. No longer expected to fail.
23251
23252 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23253 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23254 strings. No longer expected to fail.
23255
23256 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23257 string. No longer expected to fail.
23258
23259Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23260
23261 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23262 No longer expected to fail.
23263
23264 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23265 string. No longer expected to fail.
23266
23267Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23268
23269 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23270 only in the names (I probably got most of them). I was even
23271 generous with some which differed in underscores in names, and
23272 probably missed a few, and I *still* was able to remove almost a
23273 third of the file with almost no impact on testsuite coverage.
23274
23275Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23276
23277 * gdb.t00/default.exp: Match udi_attach error message as well as
23278 the one from child_attach.
23279
23280 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23281
23282 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23283
23284 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23285 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23286
23287 * Move test with enums and partial symbols back to
23288 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23289 Reverts the change of 26 May 93. Per today's change to
23290 stabs.texinfo, the behavior that weird.exp was expecting was
23291 unreasonable; what is important is that the compiler+gdb get
23292 things right, which happens with a recent gcc. Also fix the test
23293 to deal with native compilers which put out the stab gdb can't
23294 deal with.
23295
23296Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23297
23298 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23299 in the names. The main thing these accomplish is to slow things down.
23300 Many more such duplicates surely remain.
23301
23302 * gdb.t00/help.exp: Comment out "help support" test just like
23303 (and for same reason as) "help set" test.
23304
23305Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23306
23307 * gdb.t06/break.exp: Remove setup_xfails for
23308 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23309 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23310 about known bug in gcc to include up through 2.5.8.
23311 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23312 well as "_vb$".
23313 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23314 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23315 with latest gcc and gdb.
23316 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23317 well as "_vb$".
23318
23319Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23320
23321 * configure.in (hppa*-*-*): Also configure and build stabs-only
23322 tests.
23323
23324Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23325
23326 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23327 * gdb.t10/configure.in (hppa*-*-*): Use it.
23328
23329Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23330
23331 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23332
23333Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23334
23335 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23336 versions prior to 1.13.5.
23337
23338Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23339
23340 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23341 the prompt is at the start of a line.
23342
23343Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23344
23345 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23346 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23347 in the copr tests now.
23348 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23349 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23350 expected to fail.
23351
23352Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23353
23354 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23355 gdb.t31/chillvars.exp, lib/gdb.exp:
23356 Tweak to run under either version of expect.
23357 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23358 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23359 * gdb.t11/list.exp: Remove extraneous whitespace.
23360
23361Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23362
23363 * gdb.t16/printcmds.exp (test_print_strings): Accept
23364 "(unsigned char *) " before the string.
23365
23366 * TODO: Add notes about printing of fancy types and GDB expressions.
23367
23368Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23369
23370 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23371 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23372 if doing mips-idt-ecoff.
c906108c
SS
23373
23374Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23375
23376 * Most .exp files: Tweak to run under either version of expect.
23377
23378Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23379
23380 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23381 xfails; I'm not sure why they are failing, but not because of PR 1806.
23382
23383Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23384
23385 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23386 defined in lib/gdb.exp.
23387
23388Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23389
23390 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23391 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23392 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23393 have to be typeless.
23394
23395Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23396
23397 * TODO: Add suggestion for copyright year test.
23398
23399Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23400
23401 * configure.in (*-*-lynxos*): Add stabs tests.
23402
23403Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23404
23405 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23406 so insert a tab before any assembler directive in column zero.
23407
23408 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23409 stores.
23410 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23411 stores.
23412 (fpu_short_memory_tests): Likewise.
23413
23414Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23415
23416 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23417 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23418 .stabs directives in comments.
23419
23420Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23421
23422 * TODO: New file, describing tests we could write.
23423 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23424
23425Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23426
23427 * gdb.t06/signals.exp: Add kludge to force re-sync.
23428
23429 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23430 to xgdb instead of gdb, get out of gdb.
23431
23432Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23433
23434 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23435 for info.
23436
23437Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23438
23439 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23440 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23441 * gdb.stabs/hppa.sed: New sed script for the PA.
23442
23443Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23444
23445 * gdb.stabs: Re-write weird.def and configuration to use sed
23446 instead of cpp. sed is portable and POSIX; cpp is neither.
23447
23448Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23449
23450 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23451
23452Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23453
23454 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23455
23456Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23457
23458 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23459 "_vb$".
23460 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23461 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23462
23463Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23464
23465 * lib/gdb.exp: Comment out code which depends on non-existent
23466 `transform' procedure.
23467
23468Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23469
23470 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23471 * lib/gdb.exp: Transform tool name.
23472 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23473 1.1's new error handling system.
23474
23475Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23476
23477 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23478
23479Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23480
23481 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23482 They made pattern matching so slow that timeouts happened on
23483 heavily loaded systems. Now any output from "show print" which
23484 gets us back to the GDB prompt is a PASS.
23485
23486Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23487
23488 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23489
23490Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23491
23492 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23493
23494 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23495 It is not from PR 3220.
23496
23497Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23498
23499 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23500 just started failing because they depended on the order the
23501 subcommands are presented, or exact docstring text. This kind of
23502 test is a pain and has minimal benefit.
23503
23504Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23505
23506 * gdb.t09/corefile.exp: At end of test, use "core" command with
23507 no arguments.
23508
23509Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23510
23511 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23512 17}/Makefile.in: Make it possible to run the testsuite with Sun
23513 make and CC = cross gcc by adding explicit build rules for .o
23514 files.
23515
23516Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23517
23518 * gdb.t15/funcargs.exp: Don't put comments on same line as
23519 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23520
c906108c
SS
23521Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23522
23523 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23524
23525Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23526
23527 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23528 * gdb.t20/inherit.exp: remove three dumplicate entries.
23529
23530Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23531
23532 * gdb.t06/break.exp: For "next over recursive call", fail on any
23533 incorrect output, not just on "factorial (value=2)".
23534
23535Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23536
23537 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23538 working now. Add an xfail if accesing a bss variable causes
23539 a memory error if the target is not yet run.
23540
23541Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23542
23543 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23544 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23545 name of __st* demangling (2 strings). Did Kung really get the
23546 more than 95 others right without testing them?
23547
23548Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23549
23550 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23551
23552Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23553
23554 * configure.in (configdirs): Add gdb.disasm
23555 * gdb.disasm: New directory for GDB disassembler tests.
23556 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23557
23558Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23559
23560 * gdb.t00/help.exp: Don't test "help set".
23561
23562 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23563 from within expect statements. None of these happen anymore and
23564 they cause regressions to be silently unnoticed.
23565
23566 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23567 messages) about known failures with gcc cygnus-2.4.5-930417.
23568
23569 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23570 comp-info.exp so it gets built if it doesn't exist.
23571
23572 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23573 it is no longer used.
23574 * gdb.t13/comp-info.c: Removed.
23575
23576Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23577
23578 * gdb.t06/signals.exp: Add xfail for sun3.
23579
23580Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23581
23582 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23583 relevant because ^C doesn't get sent but failure can be reproduced
23584 interactively).
23585
23586Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23587
23588 * gdb.stabs/alpha.mt: New configuration file for alpha.
23589 * gdb.stabs/configure.in: Use it.
23590 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23591 sharing with alpha.mt, redefine long to word via preprocessor.
23592 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23593 for alpha.
23594 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23595 native cc.
23596 * gdb.t00/teststrategy.exp: Change expect string so that we
23597 consume the `(xgdb)' from the command echo and from the gdb prompt.
23598 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23599 gdb currently compares all values as long, so this failure probably
23600 applies to any configuration where LONGEST is bigger than a target int.
23601 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23602 with gcc.
23603 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23604 to handle opaque pointers, gcc is.
23605 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23606 as first argument. Include <sys/types.h> and change all operator
23607 new definitions to use size_t.
23608 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23609 now that we use size_t.
23610
23611Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23612
a9c64011 23613 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23614 a long or float array cast all array members to the same type.
a9c64011 23615 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23616 with 64 bit longs.
a9c64011 23617 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23618 on alpha.
a9c64011 23619 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23620
23621Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23622
23623 * gdb.t24 (demangle.exp): Constructors of templates have names like
23624 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23625 section 14.6 of the ARM.
23626
23627 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23628 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23629 accomplish little and slow down the testsuite.
23630
23631 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23632 Accept spaces various places.
23633
23634Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23635
23636 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23637 with watchpoint enabled.
23638
23639 * Makefile.in: Remove definition of CC and remove the second
23640 definition of CXX (the "CXX = gcc" one remains). These definitions
23641 were causing backquotes to be expanded within backquotes, which
23642 doesn't work.
23643
23644Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23645
23646 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23647
23648Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23649
a9c64011
AS
23650 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23651 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23652 by mips cc and contains no stabs entries.
23653
23654Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23655
23656 * config/vx-gdb.exp: Use fake device to load files rather than
23657 NFS.
23658 * lib/gdb.exp: New proc to do "file" command.
23659 * config/unix-gdb.exp: Use new "file" proc.
23660
23661Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23662
23663 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23664 Rework board rebooting slightly.
23665 (gdb_exit): Don't exit from the remote shell; there isn't one.
23666 * gdb.stabs/weird.exp: If a program is being debugged already,
23667 kill it.
23668 * gdb.t04/setvar.exp: Stop and restart gdb.
23669 * gdb.t05/expr.exp: Likewise.
23670 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23671 restart gdb and reload the program.
23672 * gdb.t08/opaque.exp: Likewise.
23673 * gdb.t12/scope.exp: Likewise.
23674 * gdb.t13/bitfields.exp: Likewise.
23675 * gdb.t15/funcargs.exp: Likewise.
23676 * gdb.t20/classes.exp: Likewise.
23677 * gdb.t03/ptype.exp: Increase timeout.
23678 * gdb.t16/printcmds.exp (test_print_string_constants,
23679 test_print_array_constants): Likewise.
23680 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23681 * gdb.t20/classes.exp (do_tests): Likewise.
23682 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23683
23684Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23685
23686 * gdb.stabs: Renamed *wierd* to *weird*.
23687
23688Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23689
23690 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23691 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23692
23693Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23694
23695 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23696 (do_tests): Remove xfail for whatis on one_var and two_var.
23697
23698Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23699
23700 * Makefile.in: Made cross building work better by adding
23701 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23702
23703Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23704
23705 * gdb.t15/{return.c,return.exp,Makefile.in}:
23706 New test, currently commented out.
23707
23708Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23709
23710 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23711 still running and removes the leftover named socket so GDb can do
23712 clean restarts.
23713
23714Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23715
23716 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23717 console, not GDB.
23718 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23719 cross testing works better with "make check"
23720 * config/unix-gdb: Use default procedures for exit and version.
23721 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23722 with the newest VxWorks.
23723
23724Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23725
23726 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23727 old form.
23728
23729 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23730 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23731
23732 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23733
23734 * config/unix-gdb.exp: Remove this version of gdb_exit
23735 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23736 Rob says he'll look at it when he gets back to testing boards.
23737
23738Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23739
23740 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23741 an expected fail for certain ptype commands.
23742
23743 * gdb.t20/classes.exp: Update expected results of "ptype class
23744 Base1" to account for the constructor that now appears in the type.
23745
23746Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23747
23748 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23749 disappeared from list.
23750 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23751 "alldone" proc with call to cleanup and exit.
23752 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23753 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23754 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23755 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23756 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23757 "alldone" proc with simple returns that suppress remaining
23758 tests. The alldone proc went away many months ago.
23759
23760Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23761
23762 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23763
23764 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23765
23766Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23767
23768 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23769 as vax gdb will display them.
23770
23771Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23772
23773 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23774 optimizers.
23775
23776 * scope.exp: Change "bad value for localval" messages so each one
23777 is unique.
23778
23779 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23780 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23781
23782 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23783
23784Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23785
23786 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23787 doesn't exist (due to optimization).
23788
23789Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23790
23791 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23792 contains \r because the filename is long.
23793
23794 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23795 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23796
23797Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23798
23799 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23800 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23801 Ultrix.
23802 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23803 int tests.
23804 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23805
23806Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23807
23808 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23809
23810 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23811 to match does not match the passing case but still matches the
c906108c
SS
23812 failing case.
23813
23814Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23815
23816 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23817
23818Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23819
23820 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23821 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23822 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23823 Remove various versions of gdb_exit.
23824 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23825 gdb_exit.
23826 * config/unix-gdb.exp: gdb_exit remains here, and should override
23827 the generic version, since it's doing a lot of wierd stuff that
23828 the other versions aren't. FIXME, fold it in, or abandon this
23829 version.
23830
23831Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23832
23833 * gdb.t24/demangle.exp: Add tests for PR 3220.
23834
23835Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23836
23837 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23838
23839Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23840
23841 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23842 "i386-*-*". Works for i486 as well.
23843
23844 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23845 bug, and expand domain of xfail to all SVR4 systems, since the
23846 actual problem is likely to be in generic SVR4 /proc support.
23847
23848Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23849
23850 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23851
23852Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23853
23854 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23855 xfails for other systems. Match a missing 'Continuing.' as an
23856 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23857
23858 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23859 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23860 Only issue warning for missing executables if -all option is used.
23861
23862 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23863 file if -all option is used. It's like an unpredictable XFAIL.
23864
23865Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23866
23867 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23868 for dynamically linked binaries.
23869
23870 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23871
23872Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23873
23874 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23875 to state that this is a known bug in old versions of g++.
23876
23877Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23878
23879 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23880 while waiting for `Continuing'.
23881
23882Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23883
23884 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23885 in text, data, and bss.
23886 * gdb.t10/nodebug.c: Add local and global test variables for
23887 initialized and uninitialized data.
23888
23889Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23890
23891 * config/unix-gdb.exp (gdb_exit): Add "wait".
23892
23893Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23894
23895 * gdb.t06/signals.exp: xfail the continue from the handler for all
23896 targets.
23897
23898 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23899 function with watchpoints enabled, the i386 call dummy starts with
23900 a call.
23901
23902 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23903 386 bsd names its corefiles.
23904
23905Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23906
23907 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23908 compilers don't grok it.
23909 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23910 with small octal ints rather than character constants, which
23911 are signed and might not fit if first promoted to int.
23912
23913Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23914
23915 * gdb.t09/Makefile.in (clean): Remove corefile.
23916
23917Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23918
23919 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23920
23921Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23922 and Jim Kingdon (kingdon@cygnus.com)
23923
23924 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23925 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23926 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23927
23928Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23929
23930 * gdb.t17/interrupt.exp: Add xfail for hppa.
23931
23932Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23933
23934 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23935 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23936 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23937 to determine signed-ness of bitfields and use the result to setup
23938 the xfail.
23939 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23940 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23941 call line is reached if necessary.
23942
23943Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23944
23945 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23946
23947Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23948
23949 * gdb.t06/break.exp: Also test `clear' command.
23950
23951Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23952
23953 * gdb.t00/teststrategy.exp: Remove extra quote.
23954
23955 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23956 watchpoint enabled to be for all non-68k machines.
23957
23958 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23959
23960Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23961
23962 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23963 targets use aout.mt instead of ecoff.mt as gas understands
23964 standard aout format.
23965
23966Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23967
23968 * lib/gdb.exp (runto): Don't insist that function we are running to
23969 was compiled with -g.
23970
23971 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23972
23973 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23974 to get back into the read system call.
23975 Accept leading newline in case where we woke it up.
23976
23977Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23978
23979 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23980 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23981 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23982 enable ecoff configuration.
23983
23984Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23985
23986 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23987
23988Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23989
23990 * gdb.t16/printcmds.exp: Add another printf test.
23991
23992Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23993
23994 * configure.in: If configured -with-stabs on any target, add
23995 stabsdirs to configdirs.
23996
23997Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23998
23999 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24000 fun" so pattern does not match the command itself.
24001
24002Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24005
24006Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24007
24008 * gdb.t17/interrupt.exp: Test for more things.
24009
24010Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24011
24012 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24013 compiler arranges the code and line numbers.
24014
24015 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24016
24017Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24018
24019 * gdb.t00/help.exp: Increase expect input buffer size.
24020
24021Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24022
24023 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24024
24025 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24026
24027 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24028
24029 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24030 [0-9]*, not just [0-9].
24031
24032Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24033
24034 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24035
24036 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24037
24038Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24039
24040 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24041
24042Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24043
24044 * gdb.t06/signals.c: Add xfails for sun3.
24045
24046 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24047
24048 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24049 test_stepping tests.
24050
24051Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24052
24053 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24054
24055 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24056
24057 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24058 rather than actually putting it through cpp twice.
24059
24060 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24061
24062Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24063
24064 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24065 no longer needed.
24066
24067Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24068
24069 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24070
24071 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24072 C++ features prints as "struct", make it a pass, not an xfail.
24073
24074Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24075
24076 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24077 Don't require VA to print as "class" rather than "struct".
24078
24079Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24080
24081 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24082
24083Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24084
24085 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24086
24087Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24088
24089 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24090 order.
24091
24092Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24093
24094 * gdb.t16/printcmds.exp: Add printf tests.
24095
24096 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24097
24098 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24099
24100Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24101
24102 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24103 pass counts, to counteract any existing or future setup_xfails.
24104
24105Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24106
24107 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24108 {BEGIN,END}_COMMON for common block instead of STAB.
24109 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24110
24111 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24112 intp_var should be N_GSYM not N_LSYM.
24113 wierd-aout.S: Use a label for the value of the N_SO.
24114 wierd.def: Remove all backslashes.
24115 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24116
24117Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24118
24119 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24120 get the expected next to inheritance3.
24121
24122Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24123
24124 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24125 now that gcc-2.4 gets it right.
24126
24127Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24128
24129 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24130
24131 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24132 generating comp-info.exp which works for cross-compilation.
24133
24134Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24135
24136 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24137 "*-*-sysv4.*".
24138
24139Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24140
24141 * gdb.t01/run.exp: Start with a fresh gdb.
24142 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24143 SVR4.x.
24144
24145Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24146
24147 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24148 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24149 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24150 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24151 things to remove.
24152
24153Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24154
24155 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24156 test cases from bug reports.
24157
24158Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24159
24160 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24161 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24162 avoid spurious xfails.
24163 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24164 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24165 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24166
24167Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24168
24169 * gdb.t00/teststrategy.exp: Rework to provide more useful
24170 description of each test, fix problem with systems that define
24171 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24172 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24173 results for "next over recursive call" so timeouts aren't taken
24174 by error.
24175
24176Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24177
24178 * gdb.t12/scope.exp: Test printing of variables before run.
24179
24180 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24181 printed in wrong order due to sorting.
24182
24183Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24184
24185 * gdb.t00/teststrategy.exp: Fix expected results for printing
24186 user entered string constant. Is array of char, prints with no
24187 address.
24188
24189 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24190 commands.
24191 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24192 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24193 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24194 of struct of char arrays.
24195 * gdb.t00/radix.exp: New tests for radix commands.
24196
24197Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24198
24199 * gdb.t16/printcmd.exp: Print a variable before running program
24200 (with xfail for AIX).
24201
24202Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24203
24204 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24205
24206 * gdb.t16/printcmd.exp: Don't print variables before running program.
24207
24208 * gdb.t06/break.exp: Don't require envp argument to main.
24209
24210 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24211
24212 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24213 Add xfails for rs6000.
24214
24215 * gdb.t02/whatis.exp: Change other tests not to re-test something
24216 we already tested.
24217
24218 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24219 each type used has a variable of that type.
24220
24221Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24222
24223 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24224
24225Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24226
24227 * configure.in: change srctrigger to be a file, not a directory
24228
24229Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24230
24231 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24232
24233 * gdb.t11/list.exp: Fixed a couple of typos.
24234
24235Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24236
24237 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24238 is fixed and PR is closed.
24239 * gdb.t16 (gdbme.c): Add simple test string variable.
24240 * gdb.t16 (printcmds.exp): Add tests with simple test string
24241 variable, primarily for boundaries on "set print elements".
24242
24243Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24244
24245 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24246 Make leading 0's optional and don't expect a tab in the middle
24247 of the number.
24248
24249 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24250
24251 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24252 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24253 don't end command passed to gdb_test with newline.
24254
24255 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24256 signed keyword away, don't expect signed bitfields to be signed.
24257
24258 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24259 printing with only as many 1's as are in the field as well as printing
24260 with 32 1's (see comment).
24261
24262Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24263
24264 * gdb.t00/default.exp: Start with a fresh gdb.
24265 * configure.in (configdirs): Remove gdb.t31 until the chill
24266 compiler works again. It no longer is able to find chillrt0
24267 since it isn't in libchill.a anymore.
24268 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24269 wierd.o, make more modular.
24270 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24271 spurious newlines that caused problems.
24272
24273Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24274
24275 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24276 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24277 gdb.stabs/wierd.{exp,def}: Many new tests.
24278
24279 * gdb.t00/default.exp: update info line for new message.
24280
24281 * gdb.t02/{whatis.exp,gdbme.c}:
24282 Test that "char *" doesn't print as "caddr_t".
24283
24284Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24285
24286 * gdb.t00/help.exp: Use .* in place of some help messages which
24287 just changed.
24288 gdb.t00/default.exp: Update "info frame" test for new message.
24289 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24290 Remove some xfails
24291
24292Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24293
24294 * gdb.t03/{gdbme.c,ptype.exp}:
24295 Add tests for typedef'd struct and union without tags.
24296 Also check "whatis" on a variable of a typedef'd enum without a tag.
24297
24298 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24299 PRMS 1823; the bug still exists but isn't reproduced by this test
24300 anymore), and remove rs6000 XFAIL (the bug is fixed).
24301
24302 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24303 duplicated from whatis.exp. For those that are left, accept
24304 "long", "long int", or "int" for long variables (whatis.exp already
24305 has an XFAIL for "int", so no need to fail it here).
24306
24307 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24308 Deal with GCC's names for types now that GDB uses the compiler's names.
24309
24310 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24311 setup_xfail's for sunos4. If we #defined the signed keyword away,
24312 don't expect GDB to know that char it is signed.
24313
24314 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24315
24316Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24317
24318 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24319 should work on any system, regardless of debugging format.
24320 * gdb.t21/demangle.exp: Move to gdb.t24.
24321 * gdb.t24/demangle.exp: Move from gdb.t21.
24322 * gdb.t24/{Makefile.in, configure.in}: New files.
24323
24324Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24325
24326 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24327 * gdb.stabs: New directory.
24328
24329Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24330
24331 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24332 not just "Quit anyway?".
24333
24334Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24335
24336 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24337 that all setup_xfails are immediately followed by clear_xfails.
24338
24339Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24340
24341 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24342 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24343 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24344 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24345 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24346 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24347 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24348 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24349 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24350 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24351 gdb.t31/chillvars.exp, lib/gdb.exp:
24352 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24353 bug-gdb@prep.ai.mit.edu.
24354
24355Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24356
24357 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24358 with 0.0, not integer 0.
24359
24360Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24361
24362 * gdb.t06/break.exp: Update for "Kill the program" message change.
24363
24364Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24365
24366 * Makefile.in (GDBFLAGS): Set to -nx.
24367 * Makefile.in (site.exp): Use GDBFLAGS.
24368
24369Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24370
24371 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24372 Makefiles.
24373 (check): depend on just-check.
24374 (just-check): added so that tests can be run without a noop
24375 build pass.
24376
24377Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24378
24379 Switch to using configure's configdirs.
24380 * Makefile.in (Makefile): add configure.in dependency.
24381 (SUBDIRS): removed redundant assignment.
24382 * configure.in: switch subdirs assignment to configdirs.
24383 * gdb.t*/configure.in: new files.
24384
24385Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24386
24387 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24388 works.
24389
24390Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24391
24392 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24393 in explicit rules. Apparently this is not supported by some makes.
24394
24395Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24396
24397 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24398
24399Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24400
24401 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24402 disappeared.
24403
24404Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24405
24406 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24407
24408Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24409
24410 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24411 watchpoint problem that is now fixed.
24412 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24413 uninitialized convenience variables.
24414 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24415 structures.
24416
24417Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24418
24419 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24420 which causes expect to get out of sync with gdb on long output
24421 from help set.
24422 * gdb.t09/corefile.exp: Make expected pattern for core file
24423 failing signal and frame output format less sun specific.
24424
24425Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24426
24427 * gdb.t31/chillvars.exp: Add and remove initial dummy
24428 breakpoint, so that symbol table is forced in.
24429 (Needed at least on Sunos4, though it seems not SVR4.)
24430 * gdb.t31/chillvars.exp: Update for changed output format.
24431
24432Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24433
a9c64011 24434 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24435
24436Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24437
24438 * Makefile.in: Added --srcdir when invoking runtest, removed the
24439 need for a local config file. (optional now)
24440
24441Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24442
24443 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24444 failure count used to force early termination. Add some more
24445 expected failures for gnu style demangling.
24446
24447Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24448
24449 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24450 pmi variable from gdb.t20/gdbme to get optimized away.
24451 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24452 Check for written corefile upon timeout _and_ eof.
24453
24454Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24455
24456 * config/unix-gdb.exp: Add missing return 0.
24457
24458Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24459
24460 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24461 test termination.
24462
24463Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24464
24465 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24466 disappeared.
24467
24468Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24469
24470 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24471 time as i860 support works.
24472
d63a86f8 24473 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24474 "backtrace 100\r" rather than just "backtrace\r", to match last
24475 change.
24476
24477Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24478
24479 * config/udi-gdb.exp (gdb_exit): Remove close command.
24480 (gdb_target_udi): New procedure to set the UDI target.
24481 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24482 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24483 Added waits for prompts after several question responses. Added
24484 some more responses used by a29k-amd-udi-gdb.
24485 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24486 pass different arguments, restart UDI connection after program
24487 completion.
24488 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24489 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24490 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24491 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24492 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24493 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24494 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24495 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24496 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24497 after program completion.
24498 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24499 compiled with a SELECT_VECS setting.
24500 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24501 infinite recursion.
24502
24503 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24504 Added checks for COFF results, and made them expected failures for
24505 all targets. It would be better to make them expected failures
24506 for COFF targets only.
24507
24508Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24509
24510 * Makefile.in: add null dvi target, don't bother to recurse
24511 through test directories for info and install-info; rename
24512 $(datadir) to be dejagnu instead of deja-gnu
24513
24514Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24515
24516 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24517 compiler to coredump.
24518 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24519 code.
24520
24521Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24522
24523 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24524 coredump.
24525 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24526 code.
24527
24528Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24529
24530 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24531 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24532 which in a shell. Deletes xgdb when done.
24533 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24534 Tests the return from the "set height" or "set width" commands.
24535 Added a few return codes where needed.
24536
24537Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24538
24539 * Makefile.in (SUBDIRS): Add gdb.t17.
24540 * configure.in (subdirs): Add gdb.t17.
24541 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24542 files to test gdb's calling of functions in the inferior with
24543 the correct arguments and gdb's ability to retrieve any
24544 result returned.
24545
24546Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24547
24548 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24549 may be called after gdb goes away. Previous versions of expect
24550 needed these to avoid file descriptor leaks, but they cause
24551 errors with the current revision of expect.
24552 * gdb.t00/gdbvars.exp: Use -re on expected output after
24553 setting sevenbit-strings.
24554 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24555 to set sevenbit-strings consistent across tests.
24556 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24557 set sevenbit-strings consistent across tests.
24558
24559Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24560
24561 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24562 expected output to match current "expect" expectations.
24563
24564Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24565
24566 * gdb.t00/default.exp: Change expected output for default "source"
24567 command, to match new gdb behavior which requires a filename to
24568 source.
24569
24570Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24571
24572 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24573 expected fail for i486-*-* that misses the marker2 function.
24574 * gdb.t10/crossload.exp (bfddefault): Allow successful
24575 recognition of a format to pass even if no symbols are found.
24576 Explicitly catch failures where the format is not recognized
24577 or is ambiguous, and add the reason to the fail message.
24578 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24579 the cause is and invalid target and add reason to failure message.
24580 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24581 elf32-i386, elf32-sparc, and elf32-i860.
24582 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24583 Set up expected failure for 'filename'::variable scope resolution,
24584 which is now apparently broken on all targets.
24585 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24586 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24587 gdb.t23/templates.exp: Change failure for missing binfile into
24588 just a warning.
24589 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24590 references.
24591
24592Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24593
24594 * gdb.t00/default.exp: Add expected output for default "source"
24595 command, to match new gdb behavior.
24596 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24597
24598Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24599
24600 * config/*-gdb.exp: returns an error, rather than exiting on
24601 internal errors.
24602
24603Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24604
24605 * gdb.t03/gdbme.c: Add pointer to struct variable.
24606 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24607 referencing struct members.
24608
24609Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24610
24611 * configure.in (mips-idt-ecoff): New target.
24612 * config/mips-gdb.exp: New file for remote board using MIPS remote
24613 debugging protocol.
24614
24615 * Redid configuration scheme. Removed gdb.t*/configure.in.
24616 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24617 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24618 distclean targets. Built executables via .o files. Adjusted
24619 tests to account for source files in $(srcdir) rather than
24620 $(objdir).
24621 * lib/gdb.exp (runto): Don't expect () after the function name,
24622 because it may have arguments.
24623
24624Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24625
24626 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24627 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24628 expected failures for mips-idt-* and mips-sgi-*.
24629 * gdb.t00/default.exp (attach): Kill process if requested.
24630 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24631 that does not read core files.
24632 * gdb.t01/run.exp: Removed checks for exit status code.
24633 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24634 it is linked in.
24635 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24636 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24637 appropriate, rather than doing it by hand.
24638 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24639 execution.
24640 * gdb.t10/crossload.exp: Kill existing program if needed.
24641 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24642 appropriate, rather than doing it by hand. Always increase
24643 timeout for this test, not just for VxWorks.
24644
24645Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24646
24647 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24648 of Chill STRUCT types and STRUCT values.
24649 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24650 than "char".
24651 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24652 struct2): New struct definitions and initializations to test
c906108c
SS
24653 simple Chill STRUCT types.
24654
24655Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24656
24657 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24658 the null byte at the end of strings.
24659 * gdb.t00/default.exp: Make show version insensitive to copyright
24660 date.
24661 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24662 to avoid dependencies on target char signedness.
24663 * gdb.t16/printcmds.exp: Update expected results for explicitly
24664 unsigned char.
24665 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24666 now work.
24667 * gdb.t21/demangle.exp: Add many more patterns for template
24668 demangling, most of them being expected failures.
24669 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24670 string we are matching for, to match on the whole string.
24671 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24672 and fix a whole bunch that had incorrect expected output but were
24673 passing anyway because of the bug in "proc demangle".
24674 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24675 type.
24676 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24677
24678Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24679
a9c64011
AS
24680 * gdb/testsuite: made modifications to testcases, etc., to allow
24681 them to work properly given the reorganization of deja-gnu and the
24682 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24683
24684Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24685
24686 * gdb/testsuite: Initial creation of gdb/testsuite.
24687 Migrated dejagnu testcases and support files for testing nm to
24688 gdb/testsuite from deja-gnu. These files were moved "as is"
24689 with no modifications. This migration is part of a major overhaul
24690 of dejagnu. The modifications to these testcases, etc., which
24691 will allow them to work with the new version of dejagnu will be
24692 made in a future update.
48efe704 24693
8d8cb839 24694 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24695\f
8d8cb839
EZ
24696;; Local Variables:
24697;; mode: change-log
24698;; left-margin: 8
24699;; fill-column: 74
24700;; version-control: never
24701;; End:
902f2ccb
MC
24702
24703 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24704 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24705 Copying and distribution of this file, with or without modification,
24706 are permitted provided the copyright notice and this notice are preserved.