]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
97d146f8
JK
12011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4 debug info.
5
facde0e5 62011-07-06 Matt Rice <ratmice@gmail.com>
7
8 * gdb.python/python.exp: Update filename paths.
9 * gdb.python/py-symtab.exp: Ditto.
10
438640d1
MP
112011-07-06 Marek Polacek <mpolacek@redhat.com>
12
13 * gdb.python/py-evthreads.exp: Add missing `$'.
14
33a365df
MF
152011-07-06 Jie Zhang <jie.zhang@analog.com>
16
17 * config/bfin.exp: New file.
18 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
19 * gdb.asm/bfin.inc: New file.
20
8f7ae686
MP
212011-07-06 Marek Polacek <mpolacek@redhat.com>
22
23 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
24 the whole output.
25
eb2a6f42
TT
262011-07-05 Tom Tromey <tromey@redhat.com>
27
28 * gdb.java/jprint.java (jprint.hi): New field.
29 * gdb.java/jprint.exp: Print string.
30
177b42fe
TJB
312011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
32
33 * gdb.base/call-sc.c: Fix typos.
34 * gdb.base/ifelse.exp: Likewise.
35 * gdb.base/structs.c: Likewise.
36
3b2a0cf2
JB
372011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38
39 * gdb.base/jit-so.exp: New test.
40 * gdb.base/jit-dlmain.c: New file.
41 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
42
46fc714c
JK
432011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
46 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
47 * gdb.cp/pr9167.exp (p b): Likewise.
48 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
49 (test value of P in inner_m, test type of Z in inner_m): Call
50 setup_xfail for gcc <= 4.5.
46fc714c 51
418c7cf7
JK
522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
53
54 * gdb.cp/paren-type.cc: New files.
55 * gdb.cp/paren-type.exp: New files.
56
3d50dd94
JK
572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
58
59 Stop on first linespec terminator instead of eating what we can.
60 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
61 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
62 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
63 (break C::f()): ... this one.
64 (break C::operator()()): New test.
65 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
66 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
67 test.
68
dcf9f4ab
JK
692011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 Fall back linespec to minimal symbols.
72 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
73 error message.
74 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
75 * gdb.cp/minsym-fallback-main.cc: New file.
76 * gdb.cp/minsym-fallback.cc: New file.
77 * gdb.cp/minsym-fallback.exp: New file.
78 * gdb.cp/minsym-fallback.h: New file.
79
3f542ed1
JK
802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
81
82 * gdb.cp/no-dmgl-verbose.cc: New file.
83 * gdb.cp/no-dmgl-verbose.exp: New file.
84
852011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
86
87 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
88 __GI_.
89 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
90 (f): New function.
91 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
92 (complete p 'func<short>(): ... here.
93 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
94 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
95 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
96 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
97 Make them KFAIL gcc/49546.
98
00eb2c4a
JB
992011-07-01 Joel Brobecker <brobecker@adacore.com>
100
101 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
102
85a20c42
JK
1032011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
104
105 Test GCC PR debug/49546.
106 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
107 (test type of F in k3_m, test value of F in k3_m): New.
108 * gdb.cp/temargs.cc (struct S3, struct K3): New.
109 (main): New variable k3. Call k3.k3_m.
110
d2d43431
JB
1112011-07-01 Jean-Charles Delay <delay@adacore.com>
112
113 * gdb.ada/packed_array.exp: Fix expected outout.
114
54ae186f
JB
1152011-07-01 Jean-Charles Delay <delay@adacore.com>
116
117 * gdb.ada/packed_array.exp: fixed expected output.
118
8f17729f
JB
1192011-07-01 Joel Brobecker <brobecker@adacore.com>
120
121 * gdb.ada/same_enum: New testcase.
122
f5aa6869
JB
1232011-07-01 Joel Brobecker <brobecker@adacore.com>
124
125 * gdb.ada/ptr_typedef: New testcase.
126
828292f2
JB
1272011-07-01 Joel Brobecker <brobecker@adacore.com>
128
129 * gdb.ada/arrayptr.exp: Add ptype test.
130
18920c42
JB
1312011-07-01 Joel Brobecker <brobecker@adacore.com>
132
133 * gdb.ada/char_enum: New testcase.
134
3536d9e3 1352011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
136
137 * gdb.base/dump.exp (capture_pointer_with_type): New.
138 Get value from address instead of name.
139 Start GDB once, and do `dump' and `restore'
140 tests together.
141
db863c42
MF
1422011-06-30 Jie Zhang <jie.zhang@analog.com>
143 Mike Frysinger <vapier@gentoo.org>
144
145 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
146 helper functions for getting/setting remotetimeout variable.
147 * lib/gdb.exp (gdb_load): If the target is remote, set
148 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
149 with $loadtimeout. Set $load_ok to 0 before doing the load.
150 Instead of returning, immediately, set $load_ok to 0. Call
151 set_remotetimeout with $oldremotetimeout, and then return if
152 $load_ok is 1.
153
e9e642a8
AB
1542011-06-30 Andrew Burgess <aburgess@broadcom.com>
155
156 * gdb.python/py-template.exp: Don't run this test if the target
157 does not support c++ tests.
158
32019081
JK
1592011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
160
161 Fix non-only rename list for Fortran modules import.
162 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
163 tests.
164 * gdb.fortran/module.f90 (module moduse): New.
165 (program module): use moduse, test var_x, var_y and var_z.
166
0ecee54c
TT
1672011-06-29 Tom Tromey <tromey@redhat.com>
168
169 PR testsuite/12040:
170 * gdb.fortran/array-element.exp: Use f90, not f77.
171 * gdb.fortran/complex.exp: Use f90, not f77.
172 * gdb.fortran/derived-type.exp: Use f90, not f77.
173 * gdb.fortran/library-module.exp: Use f90, not f77.
174 * gdb.fortran/logical.exp: Use f90, not f77.
175 * gdb.fortran/module.exp: Use f90, not f77.
176 * gdb.fortran/multi-dim.exp: Use f90, not f77.
177 * gdb.fortran/subarray.exp: Use f90, not f77.
178
3b2b8fea
TT
1792011-06-29 Tom Tromey <tromey@redhat.com>
180
181 * gdb.fortran/charset.exp: New file.
182 * gdb.fortran/charset.f90: New file.
183
42159ca5
TT
1842011-06-29 Tom Tromey <tromey@redhat.com>
185
186 PR testsuite/12040:
187 * lib/future.exp: New file, mostly extracted from ada.exp.
188 Rewrote compatibility code to use rename.
189 (gdb_find_gfortran): New proc.
190 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
191 gfortran patch.
192 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
193 Move to future.exp.
194 * lib/gdb.exp: Always load future.exp.
195
af69a5ce
YQ
1962011-06-28 Yao Qi <yao@codesourcery.com>
197
198 * gdb.cp/exception.cc: Don't include iostream.
199 (bar): Remove print statement.
200 (catcher): New.
201 (main): Remove print statements. Call function catcher.
202 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
203 Set breakpoint on catcher, and check the value of parameter.
204
ab5c6a72
YQ
2052011-06-23 Yao Qi <yao@codesourcery.com>
206
207 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
208 1.2 is disabled. KFAIL for uclinux.
209
9497469f
MP
2102011-06-23 Marek Polacek <mpolacek@redhat.com>
211
212 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
213 mi_gdb_test.
214
b9132588
MP
2152011-06-23 Marek Polacek <mpolacek@redhat.com>
216
5d197ed0 217 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 218
e55595ca
MP
2192011-06-23 Marek Polacek <mpolacek@redhat.com>
220
5d197ed0
MP
221 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
222
2232011-06-23 Marek Polacek <mpolacek@redhat.com>
224
225 * gdb.mi/mi2-basics.exp: Fix races. Honour the
226 `test_exec_and_symbol_mi_operatons' return value.
227 (test_mi_interpreter_selection): Use mi_gdb_test instead of
228 gdb_test_multiple.
229 (test_exec_and_symbol_mi_operatons): Likewise.
230 (test_path_specification): Likewise.
e55595ca 231
be777e08
YQ
2322011-06-23 Yao Qi <yao@codesourcery.com>
233
234 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
235 supported.
236 * lib/gdb.exp (support_displaced_stepping): New.
237
615556d6
YQ
2382011-06-23 Yao Qi <yao@codesourcery.com>
239
240 * gdb.threads/execl.exp: Skip on remote target.
241
833b0ca7
MP
2422011-06-21 Marek Polacek <mpolacek@redhat.com>
243
5d197ed0 244 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
245 mi_gdb_test.
246
1ee4023a
MP
2472011-06-20 Marek Polacek <mpolacek@redhat.com>
248
5d197ed0 249 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 250
d0b1d624
MP
2512011-06-20 Marek Polacek <mpolacek@redhat.com>
252
5d197ed0 253 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
254 mi_gdb_test.
255
79aa92c1
MP
2562011-06-20 Marek Polacek <mpolacek@redhat.com>
257
5d197ed0 258 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 259
5ce5db06
YQ
2602011-06-14 Yao Qi <yao@codesourcery.com>
261
262 gdb/testsuite/
263 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
264
533a737e
JK
2652011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
266
267 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
268
d0e53741
TT
2692011-06-10 Tom Tromey <tromey@redhat.com>
270
271 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
272 Add tests for pointer-to-member-function.
273 * gdb.cp/temargs.cc (S::somefunc): New function.
274 (K2): New class.
275 (main): Instantiate K2; call method.
276
b5916bbd
JB
2772011-06-08 Joel Brobecker <brobecker@adacore.com>
278
279 * gdb.python/py-inferior.c (f2): Make str an array rather
280 than a pointer.
281 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
282
5be4dfca
JK
2832011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 * gdb.base/async-shell.c: New file.
286 * gdb.base/async-shell.exp: New file.
287
9f47e254
PA
2882011-06-06 Pedro Alves <pedro@codesourcery.com>
289
290 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
291
64b9b334
JB
2922011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
293
294 From Stephen Kitt <steve@sk2.org>
295 * gdb.base/help.exp: Adjust following some spelling corrections
296 in GDB.
297
dbc0f131
YQ
2982011-06-01 Yao Qi <yao@codesourcery.com>
299
300 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
301
fd336a18
KS
3022010-05-31 Keith Seitz <keiths@redhat.com>
303
304 PR c++/12750
305 * gdb.cp/static-method.cc: New file.
306 * gdb.cp/static-method.exp: New file.
307
fa8b9902
KS
3082010-05-31 Keith Seitz <keiths@redhat.com>
309
310 PR symtab/12704
311 * gdb.cp/anon-ns.cc: New file.
312 * gdb.cp/anon-ns.exp: New file.
313
0a5b1e09
PA
3142011-05-31 Pedro Alves <pedro@codesourcery.com>
315
316 * gdb.arch/i386-dr3-watch.c: New file.
317 * gdb.arch/i386-dr3-watch.exp: New file.
318
0578b8d1
YQ
3192011-05-30 Yao Qi <yao@codesourcery.com>
320
321 * gdb.base/callfuncs.c (t_structs_fc): New.
322 (t_structs_dc, t_structs_ldc): New.
323 (t_double_many_args):
324 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
325 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
326 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
327 * gdb.base/callfuncs.exp: Call new functions.
328
6680506e
YQ
3292011-05-30 Yao Qi <yao@codesourcery.com>
330
ff4d2c60
YQ
331 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
332 Call rerun_and_prepare for each test to isolate effects.
333
3342011-05-30 Yao Qi <yao@codesourcery.com>
335
336 * gdb.base/varargs.c (find_max_float_real): New.
337 (find_max_double_real, find_max_long_double_real): New.
338 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
339 * lib/gdb.exp (setup_kfail_for_target): New.
340
e43ec454
YQ
3412011-05-30 Yao Qi <yao@codesourcery.com>
342
343 * gdb.base/funcargs.c (callca, callcb, callcc): New.
344 (callcd, callce, callcf, callc1a, callc1b): New.
345 (callc2a, callc2b): New.
346 * gdb.base/funcargs.exp (complex_args): New.
347 (complex_integral_args, complex_float_integral_args): New.
348 * lib/gdb.exp (support_complex_tests): New. Determine
349 whether to run test cases on _Complex types.
350
432b4d03
JK
3512011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.threads/leader-exit.c: New file.
354 * gdb.threads/leader-exit.exp: New file.
355
6caf069d
MP
3562011-05-27 Marek Polacek <mpolacek@redhat.com>
357
9497469f 358 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 359
97fce28b
MP
3602011-05-27 Marek Polacek <mpolacek@redhat.com>
361
362 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
363 remove the `supported' variable.
364 * gdb.mi/mi-nonstop.exp: Likewise.
365 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
366 * gdb.mi/mi-nsintrall.exp: Likewise.
367 * gdb.mi/mi-nsmoribund.exp: Likewise.
368 * gdb.mi/mi-nsthrexec.exp: Likewise.
369
9da8c2a0
PA
3702011-05-26 Pedro Alves <pedro@codesourcery.com>
371
372 * gdb.reverse/finish-reverse-bkpt.exp: New test.
373
2c03e5be
PA
3742011-05-26 Pedro Alves <pedro@codesourcery.com>
375
376 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
377
2e21250d
KS
3782011-05-24 Keith Seitz <keiths@redhat.com>
379
380 PR breakpoint/12803
381 * gdb.cp/cmpd-minsyms.cc (a): New method.
382 (b): New method.
383 (c): New method.
384 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
385
cdac0397
PA
3862011-05-24 Pedro Alves <pedro@codesourcery.com>
387
388 * gdb.base/commands.exp (watchpoint_command_test): Check that the
389 watchpoint's command list didn't execute when the watchpoint went
390 out of scope.
391
ee5683ab
PM
3922011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
393
394 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
395 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
396 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
397 * gdb.arch/i386-gnu-cfi.exp: Likewise.
398 * gdb.arch/i386-permbkpt.exp: Likewise.
399 * gdb.arch/i386-prologue.exp: Likewise.
400 * gdb.arch/i386-size-overlap.exp: Likewise.
401 * gdb.arch/i386-size.exp: Likewise.
402 * gdb.arch/i386-unwind.exp: Likewise.
403 * gdb.reverse/i386-precsave.exp: Likewise.
404 * gdb.reverse/i386-reverse.exp: Likewise.
405 * gdb.reverse/i386-sse-reverse.exp: Likewise.
406 * gdb.reverse/i387-env-reverse.exp: Likewise.
407 * gdb.reverse/i387-stack-reverse.exp: Likewise.
408
c91c8c16
PA
4092011-05-24 Pedro Alves <pedro@codesourcery.com>
410
411 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
412 file doesn't error, using MI.
413
c50491a7
TT
4142011-05-23 Tom Tromey <tromey@redhat.com>
415
416 * gdb.base/charset.exp (string_display): Add tests to assign to
417 arrays.
418 * gdb.base/charset.c (short_array, int_array, long_array): New.
419
4a07b7da
PA
4202011-05-20 Pedro Alves <pedro@codesourcery.com>
421
422 Cope with async mode.
423
4a07b7da
PA
424 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
425 into gdb_test + mi_expect_stop.
426
b275f2d2
PA
4272011-05-20 Pedro Alves <pedro@codesourcery.com>
428
429 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
430 (callme): Remove printf call.
431
eec52c44
PM
4322011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
433
434 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
435 quote pattern to avoid problems with Cygwin/mingw expect versions.
436 * gdb.base/default.exp (show convenience): Use double
437 quote pattern for regular expressions.
438
b3c8eb43
JK
4392011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
440
441 Fix -readnow for -gdwarf-4 unused type units.
442 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
443 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
444
ed731959
JK
4452011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 * gdb.base/kill-after-signal.c: New file.
448 * gdb.base/kill-after-signal.exp: New file.
449
3b48433d
PA
4502011-05-16 Pedro Alves <pedro@codesourcery.com>
451
452 * gdb.ada/start.exp: Call untested with the correct test filename.
453 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
454 test filename. Make the test's binary unique.
455 * gdb.arch/i386-signal.exp: Call untested with the correct test
456 filename.
457 * gdb.arch/i386-size-overlap.exp: Ditto.
458 * gdb.arch/Makefile.in (EXECUTABLES): Update.
459 * gdb.base/gcore-buffer-overflow.exp: Ditto.
460 * gdb.cp/call-c.exp: Ditto.
461 * gdb.mi/mi-reverse.exp: Call untested with the correct test
462 filename. Make the test's binary unique.
463 * gdb.mi/Makefile.in (EXECUTABLES): Update.
464 * gdb.python/py-mi.exp: Ditto.
465 * gdb.python/Makefile.in (EXECUTABLES): Update.
466 * gdb.reverse/i386-precsave.exp: Ditto.
467 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
468 test filename.
469 * gdb.reverse/i387-stack-reverse.exp: Ditto.
470 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
471 unique.
472 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
473 test filename.
474 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
475 * gdb.trace/tfile.exp: Ditto.
476
ba4a8bdd
YQ
4772011-05-14 Yao Qi <yao@codesourcery.com>
478
479 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
480 type.
481
dbaefcf7
DE
4822011-05-13 Doug Evans <dje@google.com>
483
484 * gdb.python/py-objfile-script.exp: New file.
485 * gdb.python/py-objfile-script.c: New file.
486 * gdb.python/py-objfile-script-gdb.py: New file.
487 * testsuite/gdb.python/py-section-script.exp: Test
488 "info auto-load-scripts".
489
9930639c
TT
4902011-05-13 Tom Tromey <tromey@redhat.com>
491
492 * gdb.dwarf2/clztest.exp: New file.
493 * gdb.dwarf2/clztest.c: New file.
494 * gdb.dwarf2/clztest.S: New file.
495
05272e11
DE
4962011-05-13 Doug Evans <dje@google.com>
497
cc63ef9b
DE
498 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
499 String16 tests.
05272e11 500
6edba76f
TT
5012011-05-13 Tom Tromey <tromey@redhat.com>
502
503 * lib/gdb.exp (is_x86_like_target): New proc.
504 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
505 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
506 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
507 -nostdlib to compiler.
508 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
509 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
510 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
511 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
512 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
513
028d0ed5
TJB
5142011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
515
516 * gdb.python/py-function.exp: Test setting a value from a function
517 which executes a command.
518
8a9b8146
TT
5192011-05-12 Tom Tromey <tromey@redhat.com>
520
521 * gdb.dwarf2/typeddwarf.S: New file.
522 * gdb.dwarf2/typeddwarf.c: New file.
523 * gdb.dwarf2/typeddwarf.exp: New file.
524
10483e8e
MP
5252011-05-12 Marek Polacek <mpolacek@redhat.com>
526
527 * gdb.mi/mi-basics.exp: Fix races. Honour the
528 `test_exec_and_symbol_mi_operatons' return value.
529 (test_mi_interpreter_selection): Use mi_gdb_test instead of
530 gdb_test_multiple.
531 (test_exec_and_symbol_mi_operatons): Likewise.
532 (test_path_specification): Likewise.
533
faf067f1
JK
5342011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
535
536 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
537 (gdb_touch_execfile): Remove catch wrappers. New variable time.
538 Replace `file copy' and `file rename' by `file mtime'. Twice.
539
7ff911a3
JK
5402011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
541
542 * gdb.base/readline-ask.c: New file.
543 * gdb.base/readline-ask.exp: New file.
544 * gdb.base/readline-ask.inputrc: New file.
545
a536c6d7
UW
5462011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
547
548 * gdb.cell/bt.exp: Delete breakpoints before running to signal
549 to avoid race condition.
550 * gdb.cell/coremaker.c: Use small stack size.
551 * gdb.cell/ea-standalone.exp: Use file name without path as
552 argument to c_to.
553 * gdb.cell/fork.exp: Allow other output when continuing to end.
554
d472a426
JK
5552011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
556
557 * gdb.threads/corethreads.c: New file.
558 * gdb.threads/corethreads.exp: New file.
559
5602011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
561
562 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
563 Try to compile the test using -Wl,-z,norelro first.
564 (load_core): New variable libthread_db_seen, initialize it.
565 (zeroed-threads cannot be listed): Protect it by XFAIL on
566 !$libthread_db_seen.
567
8be455d7
JK
5682011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
569
570 PR 12573
571 * gdb.dwarf2/dw2-skip-prologue.S: New file.
572 * gdb.dwarf2/dw2-skip-prologue.c: New file.
573 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
574
1976171a
JK
5752011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
576
577 * gdb.cp/psymtab-parameter.cc: New file.
578 * gdb.cp/psymtab-parameter.exp: New file.
579
7db6f30f
JK
5802011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 Fix a race.
583 * gdb.cp/static-print-quit.exp (print c): Split to ...
584 (print c - <return>, print c - q <return>, print c - to quit):
585 ... these. Make the testfile untested on gdb-7.1.
586
85161e9e 5872011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
588
589 * lib/gdb.exp (exec_target_file, exec_symbol_file,
590 gdb_rename_execfile, gdb_touch_execfile): New.
591 * gdb.base/reread.exp: Use new procs to handle multiple
592 exec files.
593
0c51be18
YQ
5942011-05-05 Yao Qi <yao@codesourcery.com>
595
596 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
597 (test_adr_32bit, test_pop_pc): New.
598 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
599 (test_adr_32bit, test_pop_pc): New.
600
4d393d60
JM
6012011-05-04 Joseph Myers <joseph@codesourcery.com>
602
603 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
604 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
605 targets.
606 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
607 handle targets.
608
8ffd0459
JK
6092011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 * gdb.base/completion.exp (complete help info wat): Rename to ...
612 (complete 'help info wat'): ... here.
613 Remove all `-re ".*' and `-re "^.*' redundant regexes.
614 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
615
8e28d804
PA
6162011-05-04 Pedro Alves <pedro@codesourcery.com>
617
618 * gdb.base/completion.exp: Use gdb_test_multiple instead of
619 gdb_test and explicit $gdb_prompt/timeout matches.
620
3eb2ef34
YQ
6212011-05-04 Yao Qi <yao@codesourcery.com>
622
623 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
624 and __thumb2__.
625
aaaf81a3
MP
6262011-05-03 Marek Polacek <mpolacek@redhat.com>
627
628 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
629 in place of `gdb_test "delete breakpoints"'. This eliminates two
630 testcases.
631
c4cbc0df
PA
6322011-05-02 Pedro Alves <pedro@codesourcery.com>
633
634 PR testsuite/12649
635 Fix races.
636
637 * gdb.base/completion.exp: Remove all sleep calls. Remove
638 unnecessary regexs. Don't explicitly expect anything after the
639 prompt. Eat the prompt if necessary.
640
b4cbb4a3
EBM
6412011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
642
643 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
644 accept to show the caller line again as well as the line after.
645
d65aec65
PM
6462011-04-29 Phil Muldoon <pmuldoon@redhat.com>
647
648 PR mi/12531
649
650 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
651 compile target.
652 * gdb.python/py-prettyprint.exp: Add C++ object for
653 CPLUS_FAKE_CHILD test.
654
30852783
UW
6552011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
656
657 * gdb.base/signest.exp: New file.
658 * gdb.base/signest.c: Likewise.
659
c7b1f0d9
JK
6602011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
661
662 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
663 thread and breakpoint notifications.
664
559a7a62
JK
6652011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 * gdb.base/fortran-sym-case.c: New file.
668 * gdb.base/fortran-sym-case.exp: New file.
669 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
670 * gdb.dwarf2/dw2-case-insensitive.c: New file.
671 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
672
8344e389
JK
6732011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
676 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
677 false #1', `if true else false #2' and `if true else false #3'.
678
2484c66b
UW
6792011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
680
681 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
682 while delivering signal.
683
8d3788bd
VP
6842011-04-27 Vladimir Prus <vladimir@codesourcery.com>
685
686 MI breakpoint notifications.
687
688 * testsuite/gdb.mi/mi-cli.exp: Adust.
689 * testsuite/gdb.mi/mi2-cli.exp: Adust.
690 * testsuite/gdb.mi/mi-watch.exp: Adust.
691 * testsuite/gdb.mi/mi2-watch.exp: Adust.
692 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
693 notifications.
694
3e03848b
JK
6952011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
696
697 * gdb.base/gdbindex-stabs-dwarf.c: New file.
698 * gdb.base/gdbindex-stabs.c: New file.
699 * gdb.base/gdbindex-stabs.exp: New file.
700
918c9108
YQ
7012011-04-25 Yao Qi <yao@codesourcery.com>
702
703 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
704 with /*...*/.
705 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
706
90556b8c
JK
7072011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
708
709 * gdb.python/py-value.exp (test_objfiles): Name the first test
710 `py-value in file.filename'.
711
03f2bd59
JK
7122011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
713
714 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
715 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
716 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
717 !gdbserver_reconnect_p..
718 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
719
7b08b9eb
JK
7202011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
721
722 * gdb.cp/cpcompletion.exp (complete class methods)
723 (complete class methods beginning with F): Move them above runto. New
724 comment about the runto delimiter.
725
b78974c3
PA
7262011-04-20 Pedro Alves <pedro@codesourcery.com>
727
728 * gdb.base/maint.exp: Test that "maint print registers" works
729 without a running program.
730
20429c40 7312011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 732
20429c40
MP
733 * gdb.base/setshow.exp: Fix racy tests.
734 ($old_gdb_prompt): New variable.
735
7a9dd1b2
TT
7362011-04-19 Tom Tromey <tromey@redhat.com>
737
738 * gdb.mi/mi-nsmoribund.exp:
739 * gdb.hp/gdb.objdbg/objdbg01.exp:
740 * gdb.base/structs.exp (test_struct_returns):
741 * gdb.base/call-sc.exp (test_scalar_returns):
742 * gdb.base/bigcore.exp: Remove duplicate words.
743
02835898
JK
7442011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
745
746 * gdb.base/break-interp-lib.c (v, vptr): New variables.
747 * gdb.base/break-interp.exp (test_attach): New comment.
748
254f582e
JK
7492011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
750
751 * gdb.threads/gcore-thread.exp ($core0file): New variable.
752 (clear __stack_user.next, clear stack_used.next)
753 (save a zeroed-threads corefile): New test.
754 Call core_load for $core0file.
755 (zeroed-threads cannot be listed): New test.
756
4fe85f5c
JK
7572011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
760 filename.
761 ($srcfile): Preserve the original value.
762 ($testfile): Match it the .exp filename.
763 ($corefile): New variable. Substitute it around.
764 Use clean_restart.
765 ($prev_timeout): Remove.
766 (load_core): Move core loading into this proc.
767 Fix restore of $timeout if load_core fails.
768
63524580
JK
7692011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 * gdb.base/eu-strip-infcall.c: New file.
772 * gdb.base/eu-strip-infcall.exp: New file.
773
90359a16
JK
7742011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
775
776 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
777 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
778
626e7282
JK
7792011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
780
781 Fix Python access to inlined frames.
782 * gdb.python/py-frame-inline.c: New file.
783 * gdb.python/py-frame-inline.exp: New file.
784
3363d018
EBM
7852011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
786
787 * gdb.base/gdb1090.exp: Change breakpoint location to read the
788 content of 's24' correctly (avoiding "optimized out").
789 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
790
28781456
JK
7912011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
792
793 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
794
4a4106ca
TJB
7952011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
796
797 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
798 expect a colon in watch -location output.
799
d26ccb4f
JK
8002011-04-13 Marek Polacek <mpolacek@redhat.com>
801
802 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
803 New testcase `expect response to define backtrace'. Also remove
804 redundant `default' block.
805
e1ab1f9c
JK
8062011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
807
808 * gdb.python/py-prettyprint.c (struct hint_error): New.
809 (main): New variable hint_error.
810 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
811 "print hint_error".
812 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
813 (register_pretty_printers): Register it.
814
0c2e6019
TT
8152011-04-04 Tom Tromey <tromey@redhat.com>
816
817 * gdb.cp/maint.exp (test_help): Update.
818 (test_namespace): Likewise.
819
af57139d
JB
8202011-04-01 Joel Brobecker <brobecker@adacore.com>
821
822 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
823 * gdb.ada/arrayptr.exp: Add new tests.
824
956a9fb9
JB
8252011-04-01 Joel Brobecker <brobecker@adacore.com>
826
827 * gdb.ada/mi_catch_ex: New testcase.
828
d0c4d642
PA
8292011-04-01 Pedro Alves <pedro@codesourcery.com>
830
831 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
832 base::overload(void) method without specifying "const".
833
18819fa6
UW
8342011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
835
836 * gdb.arch/thumb-singlestep.S: New file.
837 * gdb.arch/thumb-singlestep.exp: Likewise.
838
a4c8e806
TT
8392011-03-31 Tom Tromey <tromey@redhat.com>
840
841 * gdb.python/py-prettyprint.py (exception_flag): New global.
842 (NoStringContainerPrinter._iterator.next): Check it.
843 * gdb.python/py-prettyprint.c (main): New variable nstype2.
844 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
845
53832f31
TT
8462011-03-29 Tom Tromey <tromey@redhat.com>
847
848 * gdb.cp/anon-struct.cc: New file.
849 * gdb.cp/anon-struct.exp: New file.
850
e4620230
JK
8512011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
852
853 Test STT_GNU_IFUNC support.
854 * gdb.base/gnu-ifunc-lib.c: New file.
855 * gdb.base/gnu-ifunc.c: New file.
856 * gdb.base/gnu-ifunc.exp: New file.
857
d0fb5eae
JK
8582011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
859
860 Support a ring of related breakpoints.
861 * gdb.base/watchpoint-delete.c: New file.
862 * gdb.base/watchpoint-delete.exp: New file.
863
20106cfb
JK
8642011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
865
866 * gdb.ada/arrayparam.exp (print first after function call): Use
867 explicit package name. Add a comment
868 (print lasta after function call): Rename ...
869 (print last after function call): ... it and use explicit package
870 name.
871 (print length after function call): Use explicit package name.
872 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
873 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
874 (multiple matches for symbol i): Rename ...
875 (multiple matches for symbol integervar): ... it.
876 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
877 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
878
e7ab5e63
AB
8792011-03-25 Andrew Burgess <aburgess@broadcom.com>
880
881 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
882 environment variable to make grep output more predictable. Move
883 all the environment setup into gdb_init so it's done once per test
884 case rather than each time we start gdb.
885
9ef07c8c
TT
8862011-03-24 Tom Tromey <tromey@redhat.com>
887
888 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
889 test.
890
dd90784c
JK
8912011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
892
893 * gdb.dwarf2/dw2-entry-value-main.c: New file.
894 * gdb.dwarf2/dw2-entry-value.S: New file.
895 * gdb.dwarf2/dw2-entry-value.exp: New file.
896
05775840
PM
8972011-03-22 Phil Muldoon <pmuldoon@redhat.com>
898
899 PR python/12183
900
901 * gdb.python/py-function.exp: Add GdbError tests.
902
8661b11b
PA
9032011-03-18 Pedro Alves <pedro@codesourcery.com>
904
905 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
906 (reglocal_test_func, statlocal_test_func): New functions.
907 (globals_test_func): Call new functions.
908 * gdb.trace/unavailable.exp (gdb_collect_args_test)
909 (gdb_collect_locals_test): New procedure.
910 (gdb_trace_collection_test): Call new procedures.
911
0fdb4f18
PA
9122011-03-18 Pedro Alves <pedro@codesourcery.com>
913
914 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
915 (test_register, test_register_unavailable): New procedures.
916 (gdb_unavailable_registers_test): New procedure.
917 (gdb_trace_collection_test): Call it.
918
99c3dc11
PM
9192011-03-18 Phil Muldoon <pmuldoon@redhat.com>
920
921 PR python/12149
922
923 * gdb.python/python.exp: Add gdb.write tests.
924
29703da4
PM
9252010-03-17 Phil Muldoon <pmuldoon@redhat.com>
926
927 * gdb.python/Makefile.in: Add py-objfile.
928 * gdb.python/py-objfile.exp: New file.
929 * gdb.python/py-objfile.c: New file.
930 * gdb.python/py-block.exp: Add is_valid tests.
931 * gdb.python/py-inferior.exp: Ditto.
932 * gdb.python/py-infthread.exp: Ditto.
933 * gdb.python/py-symbol.exp: Ditto.
934 * gdb.python/py-symtab.exp: Ditto.
935
598997c8
KS
9362011-03-16 Keith Seitz <keiths@redhat.com>
937
938 PR c++/12273
939 * gdb.cp/cmpd-minsyms.exp: New test.
940 * gdb.cp/cmpd-minsyms.cc: New file.
941
942 PR c++/11734
943 * gdb.cp/ovsrch.exp: New test.
944 * gdb.cp/ovsrch.h: New file.
945 * gdb.cp/ovsrch1.cc: New file.
946 * gdb.cp/ovsrch2.cc: New file.
947 * gdb.cp/ovsrch3.cc: New file.
948 * gdb.cp/ovsrch4.cc: New file.
949
c91513d8
PP
9502011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
951
952 PR gdb/12528
953 * gdb.base/Makefile.in: Adjust EXECUTABLES.
954 * gdb.base/break-on-linker-gcd-function.exp: New test.
955 * gdb.base/break-on-linker-gcd-function.cc: New file.
956
7470fc63
AT
9572011-03-15 Andreas Tobler <andreast@fgznet.ch>
958
959 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
960
959e7469
PM
9612011-03-15 Phil Muldoon <pmuldoon@redhat.com>
962
963 * lib/gdb.exp (gdb_unload): Add another termination case.
964
9373cf26
JK
9652011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
966
967 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
968 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
969 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
970 Provide a stub byte there.
971 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
972 DW_AT_entry_pc.
973 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
974
24e9cda0
UW
9752011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
976
977 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
978 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
979 "generic ABI, auto".
980 (altivec_abi_tests): Accept vectors returned by reference.
981
7371cf6d
PM
9822010-03-14 Phil Muldoon <pmuldoon@redhat.com>
983
984 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
985
ce77046a
UW
9862011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
987
988 * gdb.python/py-section-script.exp: Skip test if no Python support.
989
176400c3
UW
9902011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
991
992 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
993
ecec24e6
PM
9942011-03-10 Phil Muldoon <pmuldoon@redhat.com>
995
996 * gdb.python/py-parameter.exp: Update tests to the new Python
997 parameter API. Add "no documentation" test. Add deprecated API
998 backward compatibility test.
999
5dbdd470
TT
10002011-03-09 Tom Tromey <tromey@redhat.com>
1001
1002 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1003 gdb_continue_to_end.
1004
b66e66ee
MK
10052011-03-09 Mark Kettenis <kettenis@gnu.org>
1006
1007 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1008 tabs.
1009
eceb0c5f
TT
10102011-03-09 Tom Tromey <tromey@redhat.com>
1011
1012 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1013 parentheses.
1014 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1015 $command.
1016 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1017 argument to gdb_continue_to_end.
1018 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1019 argument to gdb_continue_to_end.
1020 * gdb.cp/annota3.exp: Fix regex.
1021 * gdb.cp/annota2.exp: Fix regex.
1022 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1023 gdb_continue_to_end.
1024 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1025 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1026 gdb_continue_to_end.
1027
63154eca
PA
10282011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1029
1030 * gdb.server/ext-run.exp
1031 (load new file without any gdbserver inferior): New test.
1032
967d1f9b
TT
10332011-03-07 Tom Tromey <tromey@redhat.com>
1034
1035 * Makefile.in (TAGS): Rewrite.
1036
d68dcbb9
JK
10372011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1040 initial commands echo. New match for `Found trace'. Anchor all the
1041 other matches. Anchor and match for `No trace frame found' the final
1042 match.
1043
6bf58e63
TT
10442011-03-07 Tom Tromey <tromey@redhat.com>
1045
1046 * Makefile.in (TAGS): New target.
1047
fda326dd
TT
10482011-03-07 Tom Tromey <tromey@redhat.com>
1049
1050 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1051 change.
1052 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1053 change.
1054 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1055 exit message change.
1056 (skip_altivec_tests): Update for exit message change.
1057 (skip_vsx_tests): Likewise.
1058 (gdb_continue_to_end): Likewise. Add 'command' argument.
1059 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1060 * gdb.threads/tls.exp: Update for exit message change.
1061 * gdb.threads/thread-unwindonsignal.exp: Use
1062 gdb_continue_to_end.
1063 * gdb.threads/step.exp (step_it): Update for exit message change.
1064 (continue_all): Likewise.
1065 * gdb.threads/print-threads.exp (test_all_threads): Update for
1066 exit message change.
1067 * gdb.threads/interrupted-hand-call.exp: Use
1068 gdb_continue_to_end.
1069 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1070 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1071 gdb_continue_to_end.
1072 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1073 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1074 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1075 * gdb.cp/method.exp: Update for exit message change.
1076 * gdb.cp/mb-templates.exp: Update for exit message change.
1077 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1078 * gdb.cp/annota3.exp: Update for exit message change.
1079 * gdb.cp/annota2.exp: Update for exit message change.
1080 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1081 * gdb.base/term.exp: Update for exit message change.
1082 * gdb.base/step-test.exp (test_i): Update for exit message change.
1083 * gdb.base/sigstep.exp (advance): Update for exit message change.
1084 (advancei): Likewise.
1085 * gdb.base/siginfo.exp: Update for exit message change.
1086 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1087 * gdb.base/reread.exp: Use gdb_continue_to_end.
1088 * gdb.base/langs.exp: Use gdb_continue_to_end.
1089 * gdb.base/interrupt.exp: Update for exit message change.
1090 * gdb.base/gdb1555.exp: Update for exit message change.
1091 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1092 * gdb.base/ending-run.exp: Update for exit message change.
1093 * gdb.base/chng-syms.exp: Update for exit message change.
1094 * gdb.base/checkpoint.exp: Update for exit message change.
1095 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1096 gdb_continue_to_end.
1097 (test_catch_syscall_with_wrong_args): Likewise.
1098 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1099 * gdb.base/break-interp.exp (test_ld): Update for exit message
1100 change.
1101 * gdb.base/bang.exp: Update for exit message change.
1102 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1103 (do_call_attach_tests): Likewise.
1104 * gdb.base/a2-run.exp: Update for exit message change.
1105 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1106 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1107 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1108
dd19bd70
JK
11092011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1110
1111 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1112
30e62689
TT
11132011-03-03 Tom Tromey <tromey@redhat.com>
1114
1115 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1116 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1117 * gdb.hp/gdb.aCC/configure.ac: Remove.
1118 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1119 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1120 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1121 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1122 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1123 * gdb.hp/gdb.compat/configure.ac: Remove.
1124 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1125 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1126 * gdb.hp/gdb.defects/configure.ac: Remove.
1127 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1128 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1129 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1130 * gdb.hp/configure.ac: Remove.
1131 * gdb.hp/configure: Remove.
1132 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1133 substitution.
1134 (Makefile): Remove rule.
1135 * gdb.cell/configure.ac: Remove.
1136 * gdb.cell/configure: Remove.
1137 * gdb.stabs/Makefile.in (Makefile): Remove.
1138 (distclean): Don't remove config.status or config.log.
1139 * gdb.stabs/configure (Makefile): Remove.
1140 * gdb.stabs/configure.ac: Remove.
1141 * configure: Rebuild.
1142 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1143 Remove stabs- and cell-specific logic. Test for existence of
1144 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1145 subdirectories, gdb.cell, and and gdb.stabs.
1146 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1147
c171f854
JB
11482011-03-03 Joel Brobecker <brobecker@adacore.com>
1149
1150 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1151 end of buffer.
1152
9a5193cb
JB
11532011-03-02 Joel Brobecker <brobecker@adacore.com>
1154
1155 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1156 gdb_test when running a test where we expected no output back.
1157
9bb4c1bb
MS
11582011-02-28 Michael Snyder <msnyder@vmware.com>
1159
1160 * gdb.cp/overload.cc: Change initializer value to integer.
1161
3bd0f5ef
MS
11622011-02-27 Michael Snyder <msnyder@vmware.com>
1163
1164 * gdb.multi/base.exp: Add test for remove-inferiors.
1165
2279eaad
JB
11662011-02-26 Joel Brobecker <brobecker@adacore.com>
1167
1168 * gdb.python/py-frame.exp: Simplify the initialization phase
1169 using prepare_for_testing.
1170
c82c0b55
MS
11712011-02-25 Michael Snyder <msnyder@vmware.com>
1172
1173 * gdb.multi/base.exp: Add tests for info inferiors with args.
1174
1d94651b
JK
11752011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1176
1177 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1178 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1179 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1180 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1181 asmfile3. Comment the STABS (#3) file compilation. Compile
1182 everything through assembler. Provide KFAIL for symtab/12497.
1183 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1184 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1185 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1186 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1187
3bd0f5ef
MS
11882011-02-24 Michael Snyder <msnyder@vmware.com>
1189
1190 * gdb.base/break.exp: Add tests for delete breakpoints using
1191 convenience variables and value history references.
1192
12c1418e
MS
11932011-02-24 Michael Snyder <msnyder@vmware.com>
1194
1195 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1196 left behind in previous check-in.
1197
e5a67952
MS
11982011-02-23 Michael Snyder <msnyder@vmware.com>
1199
1200 * gdb.base/break.exp: Add tests for "info break" with arguments.
1201 * gdb.trace/infotrace.exp: Update patterns for error and help.
1202 * gdb.base/completion.exp: Update pattern.
1203 * gdb.base/ena-dis-br.exp: Update pattern.
1204 * gdb.base/help.exp: Update patterns.
1205
12062011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1207
1208 * gdb.base/memattr.exp: New test.
1209 * gdb.base/memattr.c: Test load for memattr.exp.
1210
6e6fbe60
DE
12112011-02-22 Doug Evans <dje@google.com>
1212
1213 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1214
1d41d745
MS
12152011-02-22 Michael Snyder <msnyder@vmware.com>
1216
1217 * Makefile.in: Make more clean.
1218 * gdb.ada/Makefile.in: Ditto.
1219 * gdb.arch/Makefile.in: Ditto.
1220 * gdb.asm/Makefile.in: Ditto.
1221 * gdb.base/Makefile.in: Ditto.
1222 * gdb.cp/Makefile.in: Ditto.
1223 * gdb.dwarf2/Makefile.in: Ditto.
1224 * gdb.java/Makefile.in: Ditto.
1225 * gdb.mi/Makefile.in: Ditto.
1226 * gdb.modula2/Makefile.in: Ditto.
1227 * gdb.python/Makefile.in: Ditto.
1228 * gdb.server/Makefile.in: Ditto.
1229 * gdb.stabs/Makefile.in: Ditto.
1230 * gdb.threads/Makefile.in: Ditto.
1231 * gdb.trace/Makefile.in: Ditto.
1232
79ba84ca
MS
12332011-02-22 Michael Snyder <msnyder@vmware.com>
1234
1235 * gdb.threads/thread-find.exp: Add tests for bad input to
1236 info threads.
1237
b9b35694
JB
12382011-02-22 Joel Brobecker <brobecker@adacore.com>
1239
1240 * gdb.python/py-breakpoint.exp: Fix the expected output of
1241 one of the "maint info breakpoints" tests to accept the output
1242 generated on platforms that do not have hardware watchpoints.
1243
8bfb830f
JB
12442011-02-22 Joel Brobecker <brobecker@adacore.com>
1245
1246 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1247 clean_restart. Be a little stricter in the expected output
1248 for one of the tests. Fix a typo in one of the comments.
1249
c45f3c54
JB
12502011-02-22 Joel Brobecker <brobecker@adacore.com>
1251
1252 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1253 Delete variable binfile, no longer use. Add or modify test
1254 comments to make them unique.
1255
b97c863c
MS
12562011-02-21 Michael Snyder <msnyder@vmware.com>
1257
1258 * Makefile.in: Update for make clean.
1259 * gdb.ada/Makefile.in: Ditto.
1260 * gdb.arch/Makefile.in: Ditto.
1261 * gdb.asm/Makefile.in: Ditto.
1262 * gdb.base/Makefile.in: Ditto.
1263 * gdb.cp/Makefile.in: Ditto.
1264 * gdb.dwarf2/Makefile.in: Ditto.
1265 * gdb.java/Makefile.in: Ditto.
1266 * gdb.mi/Makefile.in: Ditto.
1267 * gdb.modula2/Makefile.in: Ditto.
1268 * gdb.python/Makefile.in: Ditto.
1269 * gdb.server/Makefile.in: Ditto.
1270 * gdb.stabs/Makefile.in: Ditto.
1271 * gdb.threads/Makefile.in: Ditto.
1272 * gdb.trace/Makefile.in: Ditto.
1273
aea5b279
MS
12742011-02-21 Michael Snyder <msnyder@vmware.com>
1275
1276 * gdb.threads/thread-find.exp: Update patterns for changes in
1277 output of "info threads" command.
1278
e3039479
UW
12792011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1280 Ulrich Weigand <uweigand@de.ibm.com>
1281
1282 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1283 (skip_hw_watchpoint_tests): Likewise.
1284 (skip_hw_watchpoint_multi_tests): Likewise.
1285
b800ec70
UW
12862011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1287
1288 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1289 (skip_hw_watchpoint_tests): Likewise.
1290 (skip_hw_watchpoint_multi_tests): Likewise.
1291 (skip_hw_watchpoint_access_tests): Likewise.
1292
1293 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1294 * gdb.base/pr11022.exp: Likewise.
1295 * gdb.base/watch-read.exp: Likewise.
1296 * gdb.base/watch_thread_num.exp: Likewise.
1297 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1298 * gdb.base/watchpoint-hw.exp: Likewise.
1299 * gdb.base/watchpoint.exp: Likewise.
1300 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1301 * gdb.threads/watchthreads-reorder.exp: Likewise.
1302 * gdb.threads/watchthreads.exp: Likewise.
1303 * gdb.threads/watchthreads2.exp: Likewise.
1304
91033e37
JB
13052011-02-21 Joel Brobecker <brobecker@adacore.com>
1306
1307 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1308 the debugger is unable to find the array bounds.
1309
eeaafae2
JK
13102011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1311
1312 * gdb.cp/typedef-operator.exp: New file.
1313 * gdb.cp/typedef-operator.cc: New file.
1314
e338d953
MS
13152011-02-17 Michael Snyder <msnyder@vmware.com>
1316
1317 * gdb.threads/thread-find.exp: Fix regular expressions.
1318
e67ad678
JB
13192011-02-17 Joel Brobecker <brobecker@adacore.com>
1320
1321 * gdb.ada/packed_array: Expand testcase to test printing of
1322 unconstrained packed array.
1323
93084bca
JB
13242011-02-17 Joel Brobecker <brobecker@adacore.com>
1325
1326 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1327
a0c78a73
PA
13282011-02-16 Pedro Alves <pedro@codesourcery.com>
1329
f65d5553 1330 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1331 (main): Initialize it before collecting, and and clear it
1332 afterwards.
f65d5553
PA
1333 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1334 collecting with '{type} addr', where the addr expression is not an
1335 rvalue.
a0c78a73 1336
3dfcbbd2
KW
13372011-02-16 Ken Werner <ken.werner@de.ibm.com>
1338
1339 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1340 a bool variable. Expect correct OpenCL names for vector types. Use the
1341 uc3 variable name instead of referring to the uchar3 built-in type.
1342 Escape the asterisk at the half pointer test.
1343
08807d5a
PA
13442011-02-16 Pedro Alves <pedro@codesourcery.com>
1345
f65d5553 1346 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1347 (main): Initialize it before collecting, and and clear it
1348 afterwards.
f65d5553
PA
1349 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1350 collecting overlapping memory ranges.
08807d5a 1351
60f98dde
MS
13522011-02-15 Michael Snyder <msnyder@vmware.com>
1353
1354 * gdb.base/default.exp: Add tests for thread commands.
1355 * gdb.base/help.exp: Add tests for thread commands.
1356 * gdb.threads/thread-find.exp: New test for thread find command.
1357
648cd113
KW
13582011-02-15 Ken Werner <ken.werner@de.ibm.com>
1359
1360 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1361
494e194e
YQ
13622011-02-15 Yao Qi <yao@codesourcery.com>
1363
1364 PR tdep/12352
1365 * gdb.arch/arm-disp-step.S : New test for str instruction.
1366 * gdb.arch/arm-disp-step.exp : Likewise.
1367
d9492458
TJB
13682011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1369
1370 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1371 "vector_register2_vr" test strings. Test the extended floating
1372 point registers (F32~F63).
1373 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1374 IBM XL C compiler. Make the test program use a register provided
1375 by the compiler for the lxvd2x instruction.
1376
8af8e3bc
PA
13772011-02-14 Pedro Alves <pedro@codesourcery.com>
1378
1379 * gdb.trace/unavailable.cc (class Base, class Middle, class
1380 Derived): New types.
1381 (derived_unavail, derived_partial, derived_whole): New globals.
1382 (virtual_partial): New global.
1383 (virtualp): Point at virtual_partial.
1384 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1385 related to unavailable vptr.
1386
1b28d0b3
PA
13872011-02-14 Pedro Alves <pedro@codesourcery.com>
1388
1389 * gdb.trace/unavailable.cc (a, b, c): New globals.
1390 (main): Set and clear them.
1391 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1392 `a' and `c', and check that `b' isn't collected, although `a' and
1393 `c' are.
1394
ec0a52e1
PA
13952011-02-14 Pedro Alves <pedro@codesourcery.com>
1396
1397 * gdb.trace/unavailable.cc (struct Virtual): New.
1398 (virtualp): New global pointer.
1399 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1400 printing a pointer to an object whose type has a vtable, with
1401 print object on.
1402
24e6bcee
PA
14032011-02-14 Pedro Alves <pedro@codesourcery.com>
1404
1405 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1406 value repeat handles unavailableness.
1407
39d37385
PA
14082011-02-14 Pedro Alves <pedro@codesourcery.com>
1409
1410 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1411 tests for building arrays from unavailable values, subscripting
1412 non-memory rvalue unvailable arrays, and accessing fields or
1413 baseclasses of non-lazy unavailable values,
1414 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1415 struct types.
1416 (g_smallstruct, g_smallstruct_b): New globals.
1417
06d72e16
PA
14182011-02-14 Pedro Alves <pedro@codesourcery.com>
1419
1420 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1421
bc9a5551
JK
14222011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1423
1424 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1425 * gdb.cp/overload-const.exp: New file.
1426 * gdb.cp/overload-const.cc: New file.
1427
54fcddd0
UW
14282011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1429
1430 * gdb.opencl/callfuncs.cl: New file.
1431 * gdb.opencl/callfuncs.exp: New test.
1432 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1433
d6dafb7c
UW
14342011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1435
1436 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1437 when computing result.
1438 * gdb.arch/altivec-abi.exp: Update expected results.
1439
a449c2d8
TJB
14402011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1441
1442 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1443 * gdb.base/jit.exp: Likewise.
1444 * gdb.base/pie-execl.exp: Likewise.
1445 * gdb.base/solib-nodir.exp: Likewise.
1446 * gdb.base/solib-overlap.exp: Likewise.
1447
764880b7
PA
14482011-02-07 Pedro Alves <pedro@codesourcery.com>
1449
1450 * gdb.trace/collection.c (global_pieces): New.
1451 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1452 New procedure.
1453 (gdb_trace_collection_test): Call it.
1454
505500db
SW
14552011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1456
1457 * gdb.python/py-evthreads.c: New file.
1458 * gdb.python/py-evthreads.exp: New file.
1459 * gdb.python/py-events.py: New file.
1460 * gdb.python/py-events.exp: New file.
1461 * gdb.python/py-events.c: New file.
1462
385203ed
DD
14632011-02-04 David Daney <ddaney@caviumnetworks.com>
1464
1465 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1466
9011945e
AB
14672011-02-03 Andrew Burgess <aburgess@broadcom.com>
1468
1469 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1470 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1471 boundary between two compilation units.
1472
580688f3
PA
14732011-02-02 Pedro Alves <pedro@codesourcery.com>
1474
1475 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1476 (Virtual): New structs.
1477 (virtual_o, virtual_middle_b): New globals.
1478 * gdb.cp/virtbase.exp: New tests.
1479
d3f0f853
PP
14802011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1481
1482 * gdb.base/jit.exp: New file.
1483 * gdb.base/jit-main.c: New file.
1484 * gdb.base/jit-solib.c: New file.
1485
b2030fb5
UW
14862011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1487
1488 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1489 proceed to initial kernel entry point.
1490 * gdb.opencl/datatypes.exp: Likewise.
1491 * gdb.opencl/operators.exp: Likewise.
1492 * gdb.opencl/vec_comps.exp: Likewise.
1493
2db19d1e
SW
14942011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1495
1496 * gdb.cp/nsnested.cc: New.
1497 * gdb.cp/nsnested.exp: New.
1498 * gdb.cp/nsnoimports.exp: New.
1499 * gdb.cp/nsnoimports.cc: New.
1500
6b0c4c1f
JB
15012011-01-31 Joel Brobecker <brobecker@adacore.com>
1502
1503 * gdb.base/interact.exp: Add extra tests that verify that
1504 the value of the interactive-mode setting does not change
1505 after the script is sourced.
1506
80b23b6a
JK
15072011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 * gdb.cp/noparam.exp: New file.
1510 * gdb.cp/noparam.cc: New file.
1511
ffd5ec24
PA
15122011-01-28 Pedro Alves <pedro@codesourcery.com>
1513
1514 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1515 there's no stack or registers.
1516
a81766d8
TT
15172011-01-26 Tom Tromey <tromey@redhat.com>
1518
1519 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1520 space before string output. Add test for "set print pretty off"
1521 case.
1522
585fdaa1
PA
15232011-01-25 Pedro Alves <pedro@codesourcery.com>
1524
1525 * gdb.base/frame-args.exp: Adjust.
1526 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1527 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1528 * gdb.dwarf2/pieces.exp: Adjust.
1529 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1530 * gdb.opt/inline-locals.exp: Adjust.
1531 * gdb.threads/fork-child-threads.exp: Adjust.
1532
d468832a
KW
15332011-01-25 Ken Werner <ken.werner@de.ibm.com>
1534
1535 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1536 OpenCL kernel function. Add a comment as marker. Add address space
1537 qualifiers for the remaining program scope variables.
1538 * gdb.opencl/datatypes.cl: Likewise.
1539 * gdb.opencl/operators.cl: Likewise.
1540 * gdb.opencl/vec_comps.cl: Likewise.
1541 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1542 Add breakpoint at the marker comment.
1543 * gdb.opencl/datatypes.exp: Likewise.
1544 * gdb.opencl/operators.exp: Likewise.
1545 * gdb.opencl/vec_comps.exp: Likewise.
1546
490f124f
PA
15472011-01-24 Pedro Alves <pedro@codesourcery.com>
1548
1549 * gdb.base/printcmds.c (some_struct): New struct and instance.
1550 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1551 procedure.
1552 <global scope>: Call it.
1553
6da78614
KW
15542011-01-21 Ken Werner <ken.werner@de.ibm.com>
1555
1556 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1557 argument to the gdb_compile_opencl_hostapp call.
1558
ec64c9aa
YQ
15592011-01-19 Yao Qi <yao@codesourcery.com>
1560
1561 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1562 positve list.
1563
810cfdbb
YQ
15642011-01-19 Yao Qi <yao@codesourcery.com>
1565
1566 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1567 canonical form.
1568 Remove "xscale-*-*"
1569 * gdb.xml/tdesc-regs.exp: Likewise.
1570 * gdb.python/py-section-script.exp: Replace ARM target triplet
1571 with canonical form.
1572 Match arm*-*-symbianelf*.
1573 * gdb.base/dup-sect.exp: Likewise.
1574 * lib/dwarf.exp: New.
1575 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1576 dwarf2_support.
1577 * gdb.dwarf2/dup-psym.exp: Likewise.
1578 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1579 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1580 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1581 * gdb.dwarf2/dw2-basic.exp: Likewise.
1582 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1583 * gdb.dwarf2/dw2-const.exp: Likewise.
1584 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1585 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1586 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1587 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1588 * gdb.dwarf2/dw2-filename.exp: Likewise.
1589 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1590 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1591 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1592 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1593 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1594 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1595 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1596 * gdb.dwarf2/dw2-producer.exp: Likewise.
1597 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1598 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1599 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1600 * gdb.dwarf2/dw2-strp.exp: Likewise.
1601 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1602 * gdb.dwarf2/implptr.exp: Likewise.
1603 * gdb.dwarf2/mac-fileno.exp: Likewise.
1604 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1605 * gdb.dwarf2/pieces.exp: Likewise.
1606 * gdb.dwarf2/pr11465.exp: Likewise.
1607 * gdb.dwarf2/valop.exp: Likewise.
1608 * gdb.dwarf2/watch-notconst.exp: Likewise.
1609 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1610
4694da01
TT
16112011-01-19 Tom Tromey <tromey@redhat.com>
1612
1613 * gdb.python/py-infthread.exp: Add thread tests.
1614
b075872c
JB
16152011-01-14 Joel Brobecker <brobecker@adacore.com>
1616
1617 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1618
2c3e6e24
JB
16192011-01-14 Joel Brobecker <brobecker@adacore.com>
1620
1621 * gdb.ada/widewide: New testcase.
1622
de8fa76c
JB
16232011-01-13 Joel Brobecker <brobecker@adacore.com>
1624
1625 * gdb.base/interact.exp: New testcase.
1626
1b05df00
TT
16272011-01-12 Tom Tromey <tromey@redhat.com>
1628
1629 * gdb.mi/gdb2549.exp: Update for error message changes.
1630 * gdb.mi/mi-cli.exp: Likewise.
1631 * gdb.mi/mi-disassemble.exp: Likewise.
1632 * gdb.mi/mi-pthreads.exp: Likewise.
1633 * gdb.mi/mi-regs.exp: Likewise.
1634 * gdb.mi/mi-stack.exp: Likewise.
1635 * gdb.mi/mi-var-block.exp: Likewise.
1636 * gdb.mi/mi-var-cmd.exp: Likewise.
1637 * gdb.mi/mi2-cli.exp: Likewise.
1638 * gdb.mi/mi2-disassemble.exp: Likewise.
1639 * gdb.mi/mi2-pthreads.exp: Likewise.
1640 * gdb.mi/mi2-regs.exp: Likewise.
1641 * gdb.mi/mi2-stack.exp: Likewise.
1642 * gdb.mi/mi2-var-block.exp: Likewise.
1643 * gdb.mi/mi2-var-cmd.exp: Likewise.
1644
c2ff108b
JK
16452011-01-12 Andrew Burgess <aburgess@broadcom.com>
1646 Jan Kratochvil <jan.kratochvil@redhat.com>
1647
1648 PR fortran/11104 and DWARF unbound arrays detection.
1649 * gdb.fortran/multi-dim.exp: New file.
1650 * gdb.fortran/multi-dim.f90: New file.
1651
b716877b
AB
16522011-01-12 Andrew Burgess <aburgess@broadcom.com>
1653
1654 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1655 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1656 add new tests for opcode dumping.
1657
6c162d5e
TT
16582011-01-11 Tom Tromey <tromey@redhat.com>
1659
1660 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1661
77b06cd7
TJB
16622010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1663
1664 Convert hardware watchpoints to use breakpoint_ops.
1665 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1666 type is not supported.
1667 * gdb.base/foll-fork.exp: Likewise.
1668 * gdb.base/foll-vfork.exp: Likewise.
1669
f39a75d0
PM
16702011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1671
1672 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1673 Use load_lib gdb-python.exp.
1674 * gdb.python/python.exp: Ditto.
1675 * gdb.python/py-function.exp: Ditto.
1676
fc529d80
AS
16772011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1678
1679 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1680
fb03cb59
JK
16812011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1682
1683 * configure: Regenerate.
1684
d8e22779
TT
16852011-01-06 Tom Tromey <tromey@redhat.com>
1686
1687 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1688
09050809
JB
16892011-01-06 Joel Brobecker <brobecker@adacore.com>
1690
fc529d80
AS
1691 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1692 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1693 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1694 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1695 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1696 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1697 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1698 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1699 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1700 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1701 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1702 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1703 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1704 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1705 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1706 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1707 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1708 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1709 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1710 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1711 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1712 gdb.ada/uninitialized_vars.exp,
1713 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1714 Simplify by using clean_restart.
09050809 1715
8ed5dd9e
JB
17162011-01-06 Joel Brobecker <brobecker@adacore.com>
1717
1718 Add marker to be used as anchor for inserting breakpoints.
1719 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1720 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1721 Likewise.
1722
1723 Remove uses of gdb_start_cmd.
1724 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1725 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1726
1727 Do not run testcase if testing with GDBserver.
1728 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1729 if testing with GDBserver.
1730
368a124f
JB
17312011-01-06 Joel Brobecker <brobecker@adacore.com>
1732
1733 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1734 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1735 copyright header.
1736
44944448
JB
17372011-01-05 Joel Brobecker <brobecker@adacore.com>
1738
1739 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1740 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1741 testsuite/gdb.fortran/complex.f,
1742 testsuite/gdb.fortran/derived-type.f90,
1743 testsuite/gdb.fortran/library-module-lib.f90,
1744 testsuite/gdb.fortran/library-module-main.f90,
1745 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1746 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1747 Copyright year update.
1748
31886ea6
JB
17492011-01-05 Joel Brobecker <brobecker@adacore.com>
1750
1751 * gdb.base/langs1.f: Add copyright header.
1752
ebedcab5
JK
17532011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 * gdb.base/morestack.exp: New file.
1756 * gdb.base/morestack.c: New file.
1757
de1eb2f9
JK
17582011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1759
1760 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1761
9e87a409
JB
17622010-12-29 Joel Brobecker <brobecker@adacore.com>
1763
1764 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1765 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1766
720d1a40
JB
17672010-12-29 Joel Brobecker <brobecker@adacore.com>
1768
1769 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1770
a283af87
AS
17712010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1772
5d3d9cba
AS
1773 * gdb.threads/tls.exp: Fix typo.
1774
a283af87
AS
1775 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1776 * gdb.threads/execl.exp: Update.
1777
2a20745c
YQ
17782010-12-23 Yao Qi <yao@codesourcery.com>
1779
1780 * gdb.arch/arm-disp-step.exp: New.
1781 * gdb.arch/arm-disp-step.S: New.
1782
a7658b96
TT
17832010-12-21 Tom Tromey <tromey@redhat.com>
1784
1785 * gdb.threads/execl.exp: Update.
1786 * gdb.threads/linux-dp.exp: Update.
1787 * gdb.threads/manythreads.exp: Update.
1788 * gdb.threads/tls.exp: Update.
1789
5b79abe7
TT
17902010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1791
1792 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1793 (NextOverThrowDerivates) <resumebpt>: New.
1794 (resumebpt_test): New.
1795 (main): Call resumebpt_test.
1796 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1797
0914bcdb
SS
17982010-12-12 Stan Shebs <stan@codesourcery.com>
1799
1800 * gdb.trace/tsv.exp: Test print command on trace state variables.
1801
305aeedc
TT
18022010-12-09 Tom Tromey <tromey@redhat.com>
1803
1804 * gdb.base/interp.exp: Add regression test.
1805
186c406b
TT
18062010-12-09 Tom Tromey <tromey@redhat.com>
1807
1808 * gdb.java/jnpe.java: New file.
1809 * gdb.java/jnpe.exp: New file.
1810 * gdb.cp/nextoverthrow.exp: New file.
1811 * gdb.cp/nextoverthrow.cc: New file.
1812
aae1c79a
DE
18132010-12-07 Doug Evans <dje@google.com>
1814
1815 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1816 of data-directory.
1817 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1818 updated.
1819 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1820
60f98dde 18212010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1822
1823 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1824 * gdb.base/call-sc.exp: Ditto.
1825 * gdb.base/finish.exp: Ditto.
1826 * gdb.base/return.exp: Ditto.
1827 * gdb.base/return2.exp: Ditto.
1828
5fa290c1
DE
18292010-11-30 Doug Evans <dje@google.com>
1830
1831 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1832 (gdb_expect_list): Fix spelling errors in comments.
1833 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1834 send_gdb/gdb_expect_list where applicable.
1835 * gdb.base/call-ar-st.exp: Ditto.
1836 * gdb.base/funcargs.exp: Ditto.
1837 * gdb.base/gcore.exp: Ditto.
1838 * gdb.base/page.exp: Ditto.
1839 * gdb.base/sigaltstack.exp: Ditto.
1840 * gdb.base/siginfo.exp: Ditto.
1841 * gdb.base/sigstep.exp: Ditto.
1842 * gdb.base/trace-commands.exp: Ditto.
1843
4e04c971
DE
18442010-11-29 Doug Evans <dje@google.com>
1845
1846 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1847 printer-name;subprinter-name.
1848
8cf6f0b1
TT
18492010-11-29 Tom Tromey <tromey@redhat.com>
1850
1851 * gdb.dwarf2/implptr.exp: New file.
1852 * gdb.dwarf2/implptr.c: New file.
1853 * gdb.dwarf2/implptr.S: New file.
1854
94b6973e
PM
18552010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1856
fc529d80 1857 PR python/12199
94b6973e
PM
1858
1859 * gdb.python/py-breakpoint.exp: Test the delete method.
1860
8358c15c
JK
18612010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1862
1863 Fix step_resume_breakpoint unsaved during an infcall.
1864 * gdb.base/step-resume-infcall.exp: New file.
1865 * gdb.base/step-resume-infcall.c: New file.
1866
f6df29bc
TJB
18672010-11-24 Edjunior Machado <emachado@br.ibm.com>
1868
1869 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1870
f2b5a5cf
TJB
18712010-11-24 Edjunior Machado <emachado@br.ibm.com>
1872
1873 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1874 on ppc64's symbols; "finish" and "return" commands must accept to
1875 show the caller line again as well as the line after.
1876 * gdb.asm/powerpc64.inc: New file.
1877
6b0ecdc2
DE
18782010-11-23 Doug Evans <dje@google.com>
1879
1880 * lib/gdb.exp (gdb_test_sequence): New function.
1881 (gdb_expect_list): Add verbose -log call for each pattern.
1882 * gdb.base/signals.exp (test_handle_all_print): Call it.
1883 Reduce timeout increment from 6 minutes to 1 minute.
1884 * gdb.server/ext-run.exp: Call it.
1885
ea976c60
PM
18862010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1887
f2b5a5cf 1888 PR python/12212
ea976c60
PM
1889
1890 * gdb.python/python.exp: Check that selected_thread raises an
1891 error when no inferior is loaded.
1892
c0efa795
JK
18932010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1894
1895 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1896 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1897
ec3aa567
JK
18982010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1899
1900 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1901 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1902
d8249011
DE
19032010-11-18 Doug Evans <dje@google.com>
1904
1905 * gdb.server/ext-run.exp: Fix intermittent failures.
1906
d4eba7d1
NF
19072010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1908
1909 * gdb.stabs/gdb11479.exp: Use runto_main.
1910
b04c2f88
NF
19112010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1912
1913 * gdb.base/break-entry.exp: Skip if using a stub.
1914
ae9d7ce4
NF
19152010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1916
1917 * gdb.python/py-inferior.exp: Pack values in target endianness.
1918
621c8364
TT
19192010-11-12 Tom Tromey <tromey@redhat.com>
1920
1921 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1922 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1923 MemoryError.
1924 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1925 type.
1926 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1927 MemoryError.
1928 (test_subscript_regression): Update exception type.
1929
84f4c1fe
PM
19302010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1931
1932 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1933 breakpoint tests.
1934
a1442452
PA
19352010-11-09 Pedro Alves <pedro@codesourcery.com>
1936
1937 * gdb.base/watchpoint.exp: Test "watch -location" with an
1938 innacessible location.
1939
efd11a33
JK
19402010-11-09 Edjunior Machado <emachado@br.ibm.com>
1941 Luis Machado <luisgpm@br.ibm.com>
1942
1943 * gdb.base/maint.exp: Expect "." prefix.
1944 * gdb.base/nodebug.exp: Expect "." Likewise.
1945 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1946 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1947 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1948 POWER server processors.
1949
aa00efb5
JK
19502010-11-08 Edjunior Machado <emachado@br.ibm.com>
1951 Luis Machado <luisgpm@br.ibm.com>
1952
1953 * gdb.base/break-entry.exp: convert entry point for
1954 ppc64 and expect leading `.' on ppc64's symbols
1955
99e7ae30
DE
19562010-11-05 Doug Evans <dje@google.com>
1957
1958 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1959 * gdb.python/py-param.exp: Delete, contents moved to ...
1960 * gdb.python/py-parameter.exp: ... here. New file.
1961 Add test for gdb.parameter ("directories").
99e7ae30 1962
f4b8a18d
KW
19632010-11-05 Ken Werner <ken.werner@de.ibm.com>
1964
1965 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1966 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1967 * configure: Regenerate.
1968 * gdb.opencl/Makefile.in: New File.
1969 * gdb.opencl/datatypes.exp: Likewise.
1970 * gdb.opencl/datatypes.cl: Likewise.
1971 * gdb.opencl/operators.exp: Likewise.
1972 * gdb.opencl/operators.cl: Likewise.
1973 * gdb.opencl/vec_comps.exp: Likewise.
1974 * gdb.opencl/vec_comps.cl: Likewise.
1975 * gdb.opencl/convs_casts.exp: Likewise.
1976 * gdb.opencl/convs_casts.cl: Likewise.
1977 * lib/opencl.exp: Likewise.
1978 * lib/opencl_hostapp.c: Likewise.
1979 * lib/opencl_kernel.cl: Likewise.
1980 * lib/cl_util.c: Likewise.
1981 * lib/cl_util.c: Likewise.
1982 * gdb.base/default.exp (set language): Add "opencl" to the list of
1983 languages.
1984
a9d5ef47
SW
19852010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1986
1987 * gdb.cp/overload.exp: Added test for inheritance overload.
1988 * gdb.cp/overload.cc: Ditto.
1989 * gdb.cp/oranking.exp: Removed releveant kfails.
1990
03eb1c79
JK
19912010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1992 Joel Brobecker <brobecker@adacore.com>
1993
1994 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1995 check test_compiler_info.
1996
dbc98a8b
KW
19972010-11-03 Ken Werner <ken.werner@de.ibm.com>
1998
1999 * gdb.base/gnu_vector.exp: Adjust expect messages.
2000
120bd360
KW
20012010-11-03 Ken Werner <ken.werner@de.ibm.com>
2002
2003 * gdb.base/gnu_vector.exp: Add unary operator tests.
2004
c37f7098
KW
20052010-11-03 Ken Werner <ken.werner@de.ibm.com>
2006
2007 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2008
7b51bc51
DE
20092010-11-02 Doug Evans <dje@google.com>
2010
2011 * gdb.python/py-pp-maint.c: New file.
2012 * gdb.python/py-pp-maint.exp: New file.
2013 * gdb.python/py-pp-maint.py: New file.
2014
50c97f38
TT
20152010-11-02 Tom Tromey <tromey@redhat.com>
2016
2017 * gdb.base/default.exp: Remove "scheme" from language list.
2018
a289b8f6
JK
20192010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 Revert:
2022 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2023 * gdb.threads/sigstep-threads.exp: New file.
2024 * gdb.threads/sigstep-threads.c: New file.
2025
cd017491
MS
20262010-10-20 Michael Snyder <msnyder@vmware.com>
2027
2028 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2029
8e6a5956
UW
20302010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2031
2032 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2033 Skip test completely if gdb,no_hardware_watchpoints.
2034
2c04da0d
UW
20352010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2036
2037 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2038 strict, but do not check for any particular function name within libc.
2039
79afc5ef
SW
20402010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2041
2042 * gdb.cp/smartp.exp: New test.
2043 * gdb.cp/smartp.cc : New test.
2044
026ffab7
SW
20452010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2046
2047 * gdb.cp/converts.exp: Test pointer to bool conversion.
2048 Test pointer to long conversion.
2049 * gdb.cp/oranking.exp: Removed relevant kfail.
2050
3a772aa4
TT
20512010-10-18 Tom Tromey <tromey@redhat.com>
2052
2053 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2054 argument to lazy_string.
2055 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2056 (pp_ls.to_string): Use it.
2057 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2058 Add "estring2" local.
2059
5fc3827b
JK
20602010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2061
2062 Fix s390x compatibility.
2063 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2064 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2065
8aeb23f3
JK
20662010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2067
2068 * gdb.threads/sigstep-threads.exp: New file.
2069 * gdb.threads/sigstep-threads.c: New file.
2070
c1e56572
JK
20712010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2072
2073 * gdb.base/pie-execl.exp: New file.
2074 * gdb.base/pie-execl.c: New file.
2075
92163a10
JK
20762010-10-13 Doug Evans <dje@google.com>
2077 Jan Kratochvil <jan.kratochvil@redhat.com>
2078
2079 PR exp/12117
2080 * gdb.cp/ptype-cv-cp.cc: New file.
2081 * gdb.cp/ptype-cv-cp.exp: New file.
2082
7062b0a0
SW
20832010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2084
2085 * gdb.cp/converts.cc: New test program.
2086 * gdb.cp/converts.exp: New test.
2087 * gdb.cp/overload.exp: Added test for void* vs int*.
2088 * gdb.cp/overload.exp: Ditto.
2089 * gdb.cp/oranking.exp: Removed related kfail.
2090
0e3509db
DE
20912010-10-13 Doug Evans <dje@google.com>
2092
2093 * lib/gdb-python.exp (gdb_check_python_config): New function.
2094 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2095 * gdb.python/lib-types.cc: New file.
2096 * gdb.python/lib-types.exp: New file.
2097
8dc78533
JK
20982010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 * gdb.python/py-error.exp: New file.
2101 * gdb.python/py-error.py: New file.
2102
93c17e06
JK
21032010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2106 gdb_test_multiple.
2107
d8b34041
JK
21082010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2109
2110 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2111 * gdb.base/prelink.exp: Likewise.
2112 * gdb.base/solib-nodir.exp: Likewise.
2113 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2114 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2115 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2116
e0cc584e
UW
21172010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2118
2119 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2120 for the "info files" test to avoid timeouts on slow machines.
2121
cfc353b1
JK
21222010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2125 (main): Make openlib dummy call.
2126
d3d7896d
JK
21272010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2130 * break-interp.exp (reach): Move the core body ...
2131 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2132 (test_ld): Provide always real argument, even to the linker. Replace
2133 dl_main by _dl_debug_state.
2134
5e533c94
JK
21352010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 Fix results of prelinked PIEs on ppc*.
2138 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2139 Accept also DISPLACEMENT "PRESENT".
2140 (main): Replace "ZERO" displacements by "PRESENT".
2141
33540610
SW
21422010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2143
2144 * gdb.cp/oranking.exp: New test.
2145 * gdb.cp/oranking.cc: New test program.
2146
3bdf2bbd
KW
21472010-10-08 Ken Werner <ken.werner@de.ibm.com>
2148
2149 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2150 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2151
2f608a3a
KW
21522010-10-06 Ken Werner <ken.werner@de.ibm.com>
2153
2154 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2155 lush, lynx) New constant.
2156 * gdb.base/constvars.exp: Test const array types.
2157 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2158
aa2e2d8d
DE
21592010-10-06 Doug Evans <dje@google.com>
2160
2161 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2162 of syscall staging area.
2163
2844d6b5
KW
21642010-10-06 Ken Werner <ken.werner@de.ibm.com>
2165
2166 * gdb.base/gnu_vector.c: Add variable c4.
2167 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2168 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2169
7d8ac8bb
MR
21702010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2171
2172 * gdb.arch/altivec-abi.exp: Fix a typo.
2173
84a02e58
MR
21742010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2175
2176 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2177 to match a thread ID.
2178
b18e6318
JK
21792010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 Fix s390x testcase compatibility.
2182 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2183
a2c09bd0
DE
21842010-10-01 Doug Evans <dje@google.com>
2185
2186 * lib/gdb-python.exp: New file.
2187 * gdb.python/py-block.exp: Use it.
2188 * gdb.python/py-breakpoint.exp: Ditto.
2189 * gdb.python/py-frame.exp: Ditto.
2190 * gdb.python/py-inferior.exp: Ditto.
2191 * gdb.python/py-param.exp: Ditto.
2192 * gdb.python/py-prettyprint.exp: Ditto.
2193 * gdb.python/py-shared.exp: Ditto.
2194 * gdb.python/py-symbol.exp: Ditto.
2195 * gdb.python/py-symtab.exp: Ditto.
2196 * gdb.python/py-type.exp: Ditto.
2197 * gdb.python/py-value.exp: Ditto.
2198 * gdb.python/python.exp: Ditto.
2199
38f12cfc
TT
22002010-09-30 Tom Tromey <tromey@redhat.com>
2201
2202 * gdb.base/anon.exp: New file.
2203 * gdb.base/anon.c: New file.
2204
9ae8282d
TT
22052010-09-30 Tom Tromey <tromey@redhat.com>
2206
2207 * gdb.base/completion.exp: Test completion through anonymous
2208 union.
2209 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2210
e9e07ba6
JK
22112010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2212
2213 Fix printing parameters of inlined functions.
2214 * gdb.dwarf2/dw2-inline-param.exp: New file.
2215 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2216 * gdb.dwarf2/dw2-inline-param.S: New file.
2217
cd2effb2
JK
22182010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 PR corefiles/12071.
2221 * gdb.base/corefile.exp (quit with a process, no question: load core)
2222 (quit with a core file): New tests.
2223
bceffbf3
JK
22242010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2225
2226 Fix GDB crash on inferior calls with self-referencing classes.
2227 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2228 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2229 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2230
1736ad11
JK
22312010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 Fix lost siginfo_t for inferior calls.
2234 * gdb.base/siginfo-infcall.exp: New file.
2235 * gdb.base/siginfo-infcall.c: New file.
2236
a176ad92
JB
22372010-09-22 Joel Brobecker <brobecker@adacore.com>
2238
2239 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2240
c2b0a229
JK
22412010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2242
2243 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2244 New test.
2245 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2246
e8ae22d1
JB
22472010-09-22 Joel Brobecker <brobecker@adacore.com>
2248
2249 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2250 type of our const type.
2251
ec322823
SW
22522010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2253
2254 * gdb.cp/pr12028.cc: New.
2255 * gdb.cp/pr12028.exp: New.
2256
72929c62
JB
22572010-09-22 Joel Brobecker <brobecker@adacore.com>
2258
2259 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2260
875b4ff5 22612010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2262 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2263
2264 PR mi/11407
2265 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2266 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2267 * gdb.mi/dw2-ref-missing-frame.S New File.
2268 * gdb.mi/dw2-ref-missing-frame.exp New File.
2269
7155d578
TT
22702010-09-14 Tom Tromey <tromey@redhat.com>
2271
2272 PR symtab/8399:
2273 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2274
515ed532
TT
22752010-09-14 Tom Tromey <tromey@redhat.com>
2276
2277 PR exp/11803:
2278 * gdb.threads/tls.exp: Use C++.
2279 (check_thread_local): Use K::another_thread_local.
2280 * gdb.threads/tls.c (class K): New.
2281 (another_thread_local): Now a member of K.
2282 (spin): Update. No longer K&R C.
2283
450ca57c
SW
22842010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2285
2286 * gdb.cp/koenig.cc: created class for testing member lookup.
2287 * gdb.cp/koenig.exp: Added test for member lookup.
2288
dbd492a3
JK
22892010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2290
2291 Fix false FAILs on sourcetree topdir directory containing "kill".
2292 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2293 source line matching regexp.
2294
8d4d924b
JK
22952010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 * gdb.python/python.exp (set height 0, collect help from uiout)
2298 (verify help to uiout): New tests.
2299
8e64f2a0
JK
23002010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2301
2302 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2303 is_lp64_target to check 64bit target.
2304
4569eed2
JK
23052010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2306
2307 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2308 (test_ld) <powerpc64-*>: New.
2309
5e1617b1
DJ
23102010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2311
2312 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2313
c767944b
DJ
23142010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2315
2316 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2317 (FunctionArg::method): New function.
2318 (empty, arg): New variables.
2319 (main): Call arg.method.
2320 * gdb.cp/templates.exp (test_template_args): New function.
2321 (do_tests): Call it.
2322
27d3a3fc
UW
23232010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2324
2325 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2326 of "next" to proceed over pthread_exit call.
2327
55b7ce7f
UW
23282010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2329
2330 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2331 "maint print statistics" output to prevent expect timeouts.
2332
809df446
JK
23332010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2334
2335 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2336 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2337 (test_float_rejected): ... here.
2338 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2339 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2340 (test_float_rejected): ... here.
2341 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2342 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2343 (test_float_rejected): ... here.
2344 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2345 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2346 (test_float_rejected): ... here.
2347
8464be76
DJ
23482010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2349
2350 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2351 before disabling hardware watchpoints.
2352 (test_inaccessible_watchpoint): Check that hardware watchpoints
2353 are used. Test for watchpoints on a constant address.
2354
14dba4b4
JK
23552010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2356
2357 * gdb.base/ui-redirect.exp: New file.
2358
3f3540e1 23592010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2360 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2361
2362 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2363
0f254bb7
DE
23642010-08-31 Doug Evans <dje@google.com>
2365
2366 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2367
03f17ccf
TT
23682010-08-30 Tom Tromey <tromey@redhat.com>
2369
2370 PR python/11792:
2371 * gdb.python/py-value.exp (test_subscript_regression): Add
2372 dynamic_type test.
2373
640617ad
DJ
23742010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2375
2376 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2377 instead of running to main. Do not test the main function.
2378 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2379 Add new main.
2380
2ed91d1b
PA
23812010-08-26 Pedro Alves <pedro@codesourcery.com>
2382
2383 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2384 one test.
2385
673bfd45
DE
23862010-08-24 Doug Evans <dje@google.com>
2387
2388 PR symtab/11942
2389 * gdb.dwarf2/dw4-sig-types.cc: New file.
2390 * gdb.dwarf2/dw4-sig-types.h: New file.
2391 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2392 * gdb.dwarf2/dw4-sig-types.exp: New file.
2393
f9ffd4bb
TT
23942010-08-23 Tom Tromey <tromey@redhat.com>
2395
2396 PR python/11145:
2397 * gdb.python/py-value.c (Base, Derived): New types.
2398 (base): New global.
2399 * gdb.python/py-value.exp (test_subscript_regression): Add
2400 dynamic_cast test.
2401
d839c8a4
TT
24022010-08-23 Tom Tromey <tromey@redhat.com>
2403
2404 PR python/10676:
2405 * gdb.python/py-type.exp (test_fields): Add tests for type
2406 equality.
2407
702c2711
TT
24082010-08-23 Tom Tromey <tromey@redhat.com>
2409
2410 PR python/11915:
2411 * gdb.python/py-type.exp (test_fields): Add tests for array.
2412
832bafd3
KS
24132010-08-23 Keith Seitz <keiths@redhat.com>
2414
2415 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2416 have any children. Create a new abbrev for it.
2417 Add missing terminal sequence to .debug_abbrev.
2418
c37bf528
KS
24192010-08-20 Keith Seitz <keiths@redhat.com>
2420
2421 PR symtab/11465:
2422 * gdb.dwarf2/pr11465.exp: New test.
2423 * gdb.dwarf2/pr11465.S: New file.
2424 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2425 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2426
4572cbac
TJB
24272010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2428
2429 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2430 registers. Update data sets with the new v2_double element in the
2431 VSX register union. Add vector_register3_vr data set for the AltiVec
2432 registers. Use gdb_test_no_output instead of send_gdb.
2433
e7fbb131
PA
24342010-08-19 Pedro Alves <pedro@codesourcery.com>
2435
2436 * gdb.python/py-shared.exp: New file, factored out from
2437 python.exp.
2438 * gdb.python/py-shared.c: New file.
2439 * gdb.python/py-shared-sl.c: New file.
2440 * gdb.python/python-1.c: New file.
2441 * gdb.python/python-sl.c: Delete.
2442 * gdb.python/python.c: Mention python-1.c.
2443 * gdb.python/python.exp: Move shared library tests to
2444 py-shared.exp.
2445 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2446 (MISCELLANEOUS): New.
2447 (clean mostlyclean): Also remove $MISCELLANEOUS.
2448
d30f5e1f
DE
24492010-08-19 Doug Evans <dje@google.com>
2450
2451 PR exp/11926
2452 * gdb.base/printcmds.exp (test_float_accepted): New function.
2453 Move existing float tests there. Add tests for floats with suffixes.
2454 (test_float_rejected): New function.
2455 * gdb.java/jv-print.exp (test_float_accepted): New function.
2456 (test_float_rejected): New function.
2457 * gdb.objc/print.exp: New file.
2458 * gdb.pascal/print.exp: New file.
2459 * lib/objc.exp: New file.
2460
7b3fd859
PM
24612010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2462
2463 * gdb.base/default.exp (info set): Avoid full buffer error and force
2464 reading up to final gdb prompt.
2465 (show): Likewise.
2466
c92817ce
TT
24672010-08-18 Tom Tromey <tromey@redhat.com>
2468
2469 PR symtab/11919:
2470 * gdb.base/completion.exp: Add test.
2471
f1208f9e
DE
24722010-08-18 Doug Evans <dje@google.com>
2473
2474 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2475 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2476 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2477 Simplify, early exit if runto_main fails.
2478 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2479 (set_lang_fortran): Moved to lib/fortran.exp.
2480 * gdb.fortran/types.exp: load_lib fortran.exp.
2481 (set_lang_fortran): Moved to lib/fortran.exp.
2482 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2483 * gdb.java/jprint.exp (set_lang_java): Ditto.
2484 * gdb.java/jv-exp.exp: load_lib java.exp.
2485 If set_lang_java fails, issue a warning instead of failure to be
2486 consistent with other set_lang_foo uses.
2487 (set_lang_java): Moved to lib/java.exp.
2488 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2489 If set_lang_java fails, issue a warning instead of failure to be
2490 consistent with other set_lang_foo uses.
2491 * gdb.pascal/types.exp: load_lib pascal.exp.
2492 (set_lang_pascal): Moved to lib/pascal.exp.
2493 * lib/fortran.exp: New file.
2494 * lib/java.exp (set_lang_java): New function.
2495 * lib/pascal.exp (set_lang_pascal): New function.
2496
2f06b485
YQ
24972010-08-18 Yao Qi <yao@codesourcery.com
2498
2499 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2500 func_nofb_start and func_loopfb_start, so that address of functions
2501 is equal to these labels on Thumb.
2502
96e25403
YQ
25032010-08-18 Yao Qi <yao@codesourcery.com>
2504
2505 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2506 to reflect latest c source file.
2507
36e6adc4
JK
25082010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2509
2510 * gdb.cp/infcall-dlopen.exp: New file.
2511 * gdb.cp/infcall-dlopen.cc: New file.
2512 * gdb.cp/infcall-dlopen-lib.cc: New file.
2513
f431efe5
PA
25142010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2515 Pedro Alves <pedro@codesourcery.com>
2516
2517 PR breakpoints/11371
2518
2519 * gdb.base/watch-cond-infcall.exp: New file.
2520 * gdb.base/watch-cond-infcall.c: New file.
2521
06a64a0b
TT
25222010-08-16 Tom Tromey <tromey@redhat.com>
2523
2524 * gdb.base/help.exp: Update.
2525 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2526 watchpoint.
2527 (test_watch_location): New proc.
2528 (test_watchpoint_in_big_blob): Delete watchpoint.
2529 * gdb.base/watchpoint.c (func5): New function.
2530 (main): Call it.
2531
70ebf4ed
DE
25322010-08-16 Doug Evans <dje@google.com>
2533
2534 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2535
ca5c20b6
PM
25362010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2537
2538 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2539 tests.
2540
7346b668
KW
25412010-08-11 Ken Werner <ken.werner@de.ibm.com>
2542
2543 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2544 * gdb.base/gnu_vector.c: New File.
2545 * gdb.base/gnu_vector.exp: Likewise.
2546
cb2e07a6
PM
25472010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2548
2549 * gdb.python/python.c: New File.
2550 * gdb.python/python-sl.c: New File.
2551 * gdb.python/python.exp: Test solib_address and decode_line
2552 * functions.
2553
5da1313b
JK
25542010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2555
2556 * gdb.python/python.exp (show height, set height 10)
2557 (verify pagination beforehand, verify pagination beforehand: q)
2558 (gdb.execute does not page, verify pagination afterwards)
2559 (verify pagination afterwards: q): New.
2560
49c3ccf7
DE
25612010-08-02 Doug Evans <dje@google.com>
2562
2563 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2564 because of an older gcc, change test2
2565 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2566 to unsupported.
2567
42c0c4f1
KH
25682010-07-30 Kazu Hirata <kazu@codesourcery.com>
2569
2570 * gdb.base/break-always.exp: Do not expect full paths to file
2571 names.
2572 * gdb.base/commands.exp: Likewise.
2573
d3765805
DE
25742010-07-30 Doug Evans <dje@google.com>
2575
c98ee71b
DE
2576 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2577 xfail them when run with older gccs.
2578
fd961404
DE
2579 * lib/gdb.exp (build_executable): Forward "c++" option to
2580 get_compiler_info.
2581
999adef4
DE
2582 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2583 "python print ttype.template_argument(1)" and
2584 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2585 if using gcc 4.4 or earlier.
2586
d3765805
DE
2587 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2588 attach-to-debugger handling.
2589
1276c759
JK
25902010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2591
2592 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2593 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2594 (main): Use copyreloc.
2595 * gdb.base/prelink.exp (split debug of executable)
2596 (.dynbss vs. .bss address shift): New tests.
2597
88caa9b9
PA
25982010-07-29 Pedro Alves <pedro@codesourcery.com>
2599
2600 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2601 in gdb_test_multiple.
2602
c6f2ac43
PA
26032010-07-29 Pedro Alves <pedro@codesourcery.com>
2604
2605 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2606 environment.
2607
326fd672
TT
26082010-07-28 Tom Tromey <tromey@redhat.com>
2609
2610 PR python/11060:
2611 * gdb.python/py-type.c (Temargs): New template.
2612 (temvar): New variable.
2613 * gdb.python/py-type.exp (test_template): New proc.
2614
3ce3b1ba
PA
26152010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2616
2617 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2618 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2619
34eaf542
TT
26202010-07-28 Tom Tromey <tromey@redhat.com>
2621
2622 PR c++/9946:
2623 * gdb.cp/temargs.exp: New file.
2624 * gdb.cp/temargs.cc: New file.
2625
d41b819e
JK
26262010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2627
2628 * gdb.base/help.exp (help disassemble): Update the content.
2629
26ab7092
JK
26302010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2631
2632 * gdb.threads/ia64-sigill.exp: New file.
2633 * gdb.threads/ia64-sigill.c: New file.
2634
5283e9e1
TT
26352010-07-27 Tom Tromey <tromey@redhat.com>
2636
2637 * gdb.opt/inline-cmds.c (ATTR): New define.
2638 (func1): Use it.
2639 (func2): Likewise.
2640 (func3): Likewise.
2641 (outer_inline1): Likewise.
2642 (outer_inline2): Likewise.
2643 * gdb.opt/inline-bt.c (ATTR): New define.
2644 (func1): Use it.
2645 (func2): Likewise.
2646 * gdb.opt/inline-locals.c (ATTR): New define.
2647 (func1): Use it.
2648 (func2): Likewise.
2649
e992ef73
TT
26502010-07-27 Tom Tromey <tromey@redhat.com>
2651
2652 * gdb.stabs/gdb11479.c (hack): New function.
2653 (test): Use it.
2654 (test2): Use it.
2655 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2656 (int32_search_buf, int64_search_buf): No longer static.
2657 (x): Remove.
2658 * gdb.base/relocate.c (hack): New function.
2659
5374244e
PM
26602010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2661
2662 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2663 * gdb.python/py-value.c (func1): New function.
2664 (func2): Likewise.
2665
a99aee83
CV
26662010-07-26 Corinna Vinschen <vinschen@redhat.com>
2667
2668 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2669 as not to clash with .data section.
2670
a04ba985
JG
26712010-07-26 Jerome Guitton <guitton@adacore.com>
2672
2673 * gdb.base/code_elim.exp: New file.
2674 * gdb.base/code_elim1.c: New file.
2675 * gdb.base/code_elim2.c: New file.
2676
23bd0f7c
PA
26772010-07-21 Pedro Alves <pedro@codesourcery.com>
2678
2679 PR symtab/11827
2680
2681 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2682 (some_volatile_enum): New variable.
2683 * gdb.base/printcmds.exp (test_print_enums): New.
2684 <top level>: Call it.
2685
883df6dd
SW
26862010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2687
2688 * gdb.cp/fpointer.cc: New test.
2689 * gdb.cp/fpointer.exp: New test.
2690
569b05a5
JK
26912010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 * gdb.base/solib-nodir.exp: New file.
2694 * lib/gdb.exp (runto): New case for a GDB internal error.
2695
51d7d803
JK
26962010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2697 Ulrich Weigand <uweigand@de.ibm.com>
2698 Tom Tromey <tromey@redhat.com>
2699
2700 * gdb.base/charset-malloc.c: New file.
2701 * gdb.base/charset.c (malloc_stub): New prototype.
2702 (main): Call it instead of malloc itself.
2703 * gdb.base/charset.exp: Use only prepare_for_testing.
2704 (binfile): Remove the variable.
2705
c0edd9ed
JK
27062010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2707
2708 Make core files the process_stratum.
2709 * gdb.base/corefile.exp (run: load core again)
2710 (run: sanity check we see the core file, run: with core)
2711 (run: core file is cleared, attach: load core again)
2712 (attach: sanity check we see the core file, attach: with core)
2713 (attach: core file is cleared): New tests.
2714 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2715
3cbaedff
KW
27162010-07-14 Ken Werner <ken.werner@de.ibm.com>
2717
2718 * gdb.arch/altivec-abi.exp: New tests.
2719
91158a56
TT
27202010-07-13 Tom Tromey <tromey@redhat.com>
2721
2722 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2723 (main): Use it.
2724 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2725
0f5238ed
TT
27262010-07-13 Tom Tromey <tromey@redhat.com>
2727
2728 * gdb.base/label.exp: New file.
2729 * gdb.base/label.c: New file.
2730
add265ae
L
27312010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2732 H.J. Lu <hongjiu.lu@intel.com>
2733
2734 * lib/gdb.exp (is_ilp32_target): New.
2735 (is_lp64_target): Likewise.
2736
2737 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2738 target.
2739 * gdb.arch/amd64-disp-step.exp: Likewise.
2740 * gdb.arch/amd64-dword.exp: Likewise.
2741 * gdb.arch/amd64-i386-address.exp: Likewise.
2742 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2743
add265ae
L
2744 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2745 target.
2746 * gdb.arch/i386-bp_permanent.exp: Likewise.
2747 * gdb.arch/i386-byte.exp: Likewise.
2748 * gdb.arch/i386-disp-step.exp: Likewise.
2749 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2750 * gdb.arch/i386-prologue.exp: Likewise.
2751 * gdb.arch/i386-size-overlap.exp: Likewise.
2752 * gdb.arch/i386-size.exp: Likewise.
2753 * gdb.arch/i386-sse.exp: Likewise.
2754 * gdb.arch/i386-unwind.exp: Likewise.
2755 * gdb.arch/i386-word.exp: Likewise.
2756
2757 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2758 test only when building 64-bit executables. Do not hard-code
2759 -m64 option.
2760
2dfb8c17
DE
27612010-07-07 Doug Evans <dje@google.com>
2762
2763 * lib/gdb.exp (gdb_test_list_exact): New function.
2764 * gdb.base/default.exp (show convenience): Call it, add tests for
2765 $_sdata = void, $_thread = 0.
2766
4e5799b6
JK
27672010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2768 Joel Brobecker <brobecker@adacore.com>
2769
2770 Fix re-run of PIE executable, PR shlibs/11776.
2771 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2772 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2773 and re-"run" of the inferior.
2774
1a219cc7
JK
27752010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2776 Joel Brobecker <brobecker@adacore.com>
2777
2778 Cope with missing /usr/sbin/prelink.
2779 * lib/prelink-support.exp (prelink_no):
2780 <result == 1 && $output is "no such file or directory">: New.
2781 (prelink_yes): Likewise. Return on failed prelink_no.
2782
5e3b36f8
JK
27832010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2784 Joel Brobecker <brobecker@adacore.com>
2785
2786 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2787 build_executable by build_executable_own_libs. Replace "prelink -R"
2788 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2789 change.
2790 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2791 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2792 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2793 Replace build_executable by build_executable_own_libs's function
2794 build_executable_own_libs.
2795 (prelinkNO): Create new stub to call prelink_no.
2796 (prelinkYES): Create new stub to call prelink_yes.
2797 (test_attach): Rename calls of copy to file_copy.
2798 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2799 (copy): Move to ...
2800 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2801 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2802 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2803 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2804 special flags by gdb_compile_shlib. Replace second gdb_compile by
2805 build_executable_own_libs. Replace "prelink -R" execution by a call of
2806 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2807 a second call of prelink_yes. Replace restart commands by
2808 clean_restart.
2809 (prelink): Rename to ...
2810 (seen displacement message): ... this test. Extend its expectation
2811 strictness.
2812
86e4bafc
JK
28132010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2814
2815 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2816 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2817 displacement message exactly once.
2818
3cd07d20
JK
28192010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2820 Joel Brobecker <brobecker@adacore.com>
2821
2822 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2823 its restore after the <$relink_args != ""> loop. new comment.
2824
0a1e94c7
JK
28252010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2826 Joel Brobecker <brobecker@adacore.com>
2827
2828 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2829 code for it. New variable relink_args.
2830 (prelinkYES): Call prelinkNO.
2831 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2832 in such case. Move the core code to ...
2833 (test_attach_gdb): ... a new function. Send GDB command "file".
2834 Extend expected "Attaching to " string.
2835
2f70bcfb
TT
28362010-07-02 Tom Tromey <tromey@redhat.com>
2837
2838 * gdb.base/bitops.exp: Remove extraneous "pass".
2839
a17ac5b0
TT
28402010-07-02 Ken Werner <ken.werner@de.ibm.com>
2841
2842 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2843
dc10affe
PA
28442010-07-01 Pedro Alves <pedro@codesourcery.com>
2845
d41c0fc8
PA
2846 * gdb.base/help.exp: Adjust expected output.
2847
28482010-07-01 Pedro Alves <pedro@codesourcery.com>
2849
2850 * gdb.base/help.exp: Adjust expected output.
dc10affe 2851
0a600c36
JK
28522010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2853
2854 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2855 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2856 c++/11702.
2857
37cc8bfe
JK
28582010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2859 Doug Evans <dje@google.com>
2860
2861 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2862 add .dynamic entry'.
2863
254e6b9e
DE
28642010-06-29 Doug Evans <dje@google.com>
2865
2866 Test PR c++/11702.
2867 * gdb.cp/m-static.exp: Add testcase.
2868 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2869
595939de 28702010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2871 Tom Tromey <tromey@redhat.com>
2872 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2873
2874 * gdb.python/py-inferior.c: New File.
2875 * gdb.python/py-infthread.c: New File.
2876 * gdb.python/py-inferior.exp: New File.
2877 * gdb.python/py-infthread.exp: New File.
2878
98751a41
JK
28792010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2880
2881 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2882 (ptype ::C::OtherFileClass typedefs): New.
2883 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2884 (C::OtherFileClass::cOtherFileClassVar2): New.
2885 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2886 cOtherFileClassVar2.
2887 (C::cOtherFileType2, C::cOtherFileVar2): New.
2888 (C::cOtherFileVar_use): use also cOtherFileVar2.
2889 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2890
41f62f39
JK
28912010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2894 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2895 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2896 (print ::C::cOtherFileVar)
2897 (whatis C::OtherFileClass::cOtherFileClassType)
2898 (whatis ::C::OtherFileClass::cOtherFileClassType)
2899 (print C::OtherFileClass::cOtherFileClassVar)
2900 (print ::cOtherFileClassVar)
2901 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2902 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2903 trailing content.
2904 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2905 (C::OtherFileClass::cOtherFileClassVar)
2906 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2907 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2908
af53d231
JK
29092010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 Test PR c++/11703 and PR gdb/1448.
2912 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2913 gdb/1448.
2914
9655fd1a
JK
29152010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2916
2917 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2918 (main) <rtti_data>: New.
2919 * gdb.cp/virtbase.exp (print rtti_data): New.
2920
824cc8dd
JK
29212010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2922 Joel Brobecker <brobecker@adacore.com>
2923
2924 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2925
6036c742
JK
29262010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2927
2928 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2929
de6a0421
DE
29302010-06-28 Doug Evans <dje@google.com>
2931
2932 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2933
b2dae948
DE
29342010-06-27 Doug Evans <dje@google.com>
2935
2936 * gdb.cp/m-static.exp: Update expected test output.
2937
0f3bb72e
PH
29382010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2939
889bf7c5
PA
2940 * gdb.gdb/selftest.exp: Adjust expected message for
2941 capturing start-up runtime.
0f3bb72e 2942
bc9f0842
TT
29432010-06-25 Tom Tromey <tromey@redhat.com>
2944
2945 PR python/10808:
2946 * gdb.python/python.exp: Add new tests.
2947
099ef718
SW
29482010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2949
2950 * gdb.cp/operator.cc: Created an import loop.
2951 * gdb.cp/operator.exp: Added testcase for import loop.
2952
5868a632
JK
29532010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 Test PR python/11407.
2956 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2957 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2958 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2959 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2960 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2961 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2962 binfile. Call gdb_compile with clean_restart twice.
2963 (func_nofb print, func_nofb backtrace, func_loopfb print)
2964 (func_loopfb backtrace): New.
2965
af76db58
JK
29662010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2969 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2970 by a hand made one.
2971 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2972 i?86 requirement. Remove variables srcfile and binfile. New variable
2973 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2974
f2c7657e
UW
29752010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2976
2977 * gdb.cell/dwarfaddr.exp: New file.
2978 * gdb.cell/dwarfaddr.S: New file.
2979
628fe4e4
JK
29802010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 Test PR 9436.
2983 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2984
f1421989
HZ
29852010-06-24 Hui Zhu <teawater@gmail.com>
2986
2987 * gdb.base/eval.exp: New file.
2988
d03285ec
UW
29892010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2990
2991 * gdb.cell/fork.exp: New file.
2992 * gdb.cell/fork.c: Likewise.
2993 * gdb.cell/fork-spu.c: Likewise.
2994
41b2c92d
PM
29952010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2996
2997 * lib/gdb.exp (banned_variables_traced): New global variable.
2998 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2999 (gdb_init): Use `trace add variable' instead of obsolete
3000 `trace variable'.
3001
d5bc977f
DE
30022010-06-21 Doug Evans <dje@google.com>
3003
3004 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3005
d2ed6730
UW
30062010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3007
3008 * gdb.arch/spu-ls.exp: New file.
3009 * gdb.arch/spu-ls.c: Likewise.
3010
6aed2dbc
SS
30112010-06-18 Stan Shebs <stan@codesourcery.com>
3012
3013 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3014
e0756905
UW
30152010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3016
3017 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3018 * gdb.base/watch-cond.exp: Likewise.
3019 * gdb.python/py-breakpoint.exp: Likewise.
3020
d8053d4d
PA
30212010-06-18 Pedro Alves <pedro@codesourcery.com>
3022
3023 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3024 clean_restart, make sure every test has a distinct message, and
3025 that messages don't include the executable' full path.
3026
81ce510c
DE
30272010-06-17 Doug Evans <dje@google.com>
3028
3029 * gdb.arch/i386-size.exp: Updated expected output for
3030 DISASSEMBLY_OMIT_FNAME.
3031
65d79d4b
SDJ
30322010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3033 Sergio Durigan Junior <sergiodj@redhat.com>
3034
3035 * gdb.base/watch-notconst.c: New file.
3036 * gdb.base/watch-notconst.S: New file.
3037 * gdb.base/watch-notconst2.c: New file.
3038 * gdb.base/watch-notconst2.S: New file.
3039 * gdb.base/watch-notconst.exp: New file.
3040 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3041 (func4): Add operations on `global_ptr_ptr'.
3042 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3043 routine to test watchpoints created with a constant expression.
3044 (test_inaccessible_watchpoint): Include tests for watchpoints
3045 created with a constant expression.
3046
df0f4836
KB
30472010-06-14 Kevin Buettner <kevinb@redhat.com>
3048
3049 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3050 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3051 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3052 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3053 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3054 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3055 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3056 of `_start'.
3057
b769def5
UW
30582010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3059
3060 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3061 not supported on the target.
3062 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3063 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3064 * gdb.mi/mi-nsintrall.exp: Likewise.
3065 * gdb.mi/mi-nsmoribund.exp: Likewise.
3066 * gdb.mi/mi-nsthrexec.exp: Likewise.
3067
d914c394
SS
30682010-06-11 Stan Shebs <stan@codesourcery.com>
3069
3070 * gdb.base/permissions.exp: New file.
3071
30722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
3073
3074 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3075 does not support ELF executable class.
3076
f3ce5b9c
UW
30772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3078
3079 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3080
8e46892c
JK
30812010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3082
3083 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3084 (runto): Catch "The target does not support running in non-stop mode.".
3085
6cc55c64
MS
30862010-06-11 Michael Snyder <msnyder@vmware.com>
3087
3088 * gdb.base/setshow.exp (set language asm): Don't use
3089 gdb_test_no_output, fails on some targets.
3090
caddefa4
UW
30912010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3092
3093 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3094 * gdb.cp/pr9167.exp: Likewise.
3095
468b1aa7
UW
30962010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3097
3098 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3099
5c3552dc
UW
31002010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3101
3102 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3103
02e6fe6a
UW
31042010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3105
3106 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3107
0e03807e
TT
31082010-06-11 Tom Tromey <tromey@redhat.com>
3109
3110 PR gdb/9977, PR exp/11636::
3111 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3112 (pieces_test_f6): Update expected output.
3113
2bdf28a0
JK
31142010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * gdb.base/moribund-step.exp: New.
3117
f6978de9
MS
31182010-06-08 Michael Snyder <msnyder@vmware.com>
3119
3120 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 3121 * gdb.ada/boolean_expr.exp:
f6978de9
MS
3122 * gdb.ada/frame_args.exp: Ditto.
3123 * gdb.ada/lang_switch.exp: Ditto.
3124 * gdb.ada/ptype_arith_binop.exp: Ditto.
3125 * gdb.ada/ref_param.exp: Ditto.
3126 * gdb.ada/type_coercion.exp:Ditto.
3127
3128 * gdb.asm/asm-source.exp: Ditto.
3129
3130 * gdb.base/attach.exp: Ditto.
3131 * gdb.base/bitfields2.exp: Ditto.
3132 * gdb.base/call-signal-resume.exp: Ditto.
3133 * gdb.base/callfuncs.exp: Ditto.
3134 * gdb.base/commands.exp: Ditto.
3135 * gdb.base/dbx.exp: Ditto.
3136 * gdb.base/default.exp: Ditto.
3137 * gdb.base/dump.exp: Ditto.
3138 * gdb.base/exprs.exp: Ditto.
3139 * gdb.base/freebpcmd.exp: Ditto.
3140 * gdb.base/interrupt.exp: Ditto.
3141 * gdb.base/list.exp: Ditto.
3142 * gdb.base/long_long.exp: Ditto.
3143 * gdb.base/maint.exp: Ditto.
3144 * gdb.base/ptype.exp: Ditto.
3145 * gdb.base/return.exp: Ditto.
3146 * gdb.base/setshow.exp: Ditto.
3147 * gdb.base/sigbpt.exp: Ditto.
3148 * gdb.base/sigrepeat.exp: Ditto.
3149
3150 * gdb.cp/classes.exp: Ditto.
3151
3152 * gdb.dwarf2/dw2-restore.exp: Ditto.
3153
3154 * gdb.gdb/selftest.exp: Ditto.
3155
3156 * gdb.multi/base.exp: Ditto.
3157 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3158
3159 * gdb.python/py-block.exp: Ditto.
3160 * gdb.python/py-prettyprint.exp: Ditto.
3161 * gdb.python/py-template.exp: Ditto.
3162
3163 * gdb.server/ext-attach.exp: Ditto.
3164 * gdb.server/ext-run.exp: Ditto.
3165 * gdb.server/server-mon.exp: Ditto.
3166
3167 * gdb.threads/fork-thread-pending.exp: Ditto.
3168 * gdb.threads/hand-call-in-threads.exp: Ditto.
3169 * gdb.threads/interrupted-hand-call.exp: Ditto.
3170 * gdb.threads/linux-dp.exp: Ditto.
3171 * gdb.threads/manythreads.exp: Ditto.
3172 * gdb.threads/print-threads.exp: Ditto.
3173 * gdb.threads/pthreads.exp: Ditto.
3174 * gdb.threads/schedlock.exp: Ditto.
3175 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3176 * gdb.threads/threadapply.exp: Ditto.
3177
de7ff789
MS
31782010-06-08 Michael Snyder <msnyder@vmware.com>
3179
889bf7c5 3180 * gdb.ada/exec_changed.exp:
de7ff789
MS
3181 Use ".*" instead of "" as wildcard regexp.
3182
3183 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3184 * gdb.base/call-ar-st.exp: Ditto.
3185 * gdb.base/checkpoint.exp: Ditto.
3186 * gdb.base/default.exp: Ditto.
3187 * gdb.base/dump.exp: Ditto.
3188 * gdb.base/ending-run.exp: Ditto.
3189 * gdb.base/fileio.exp: Ditto.
3190 * gdb.base/miscexprs.exp: Ditto.
3191 * gdb.base/pointers.exp: Ditto.
3192 * gdb.base/readline.exp: Ditto.
3193 * gdb.base/reread.exp: Ditto.
3194 * gdb.base/restore.exp: Ditto.
3195 * gdb.base/shlib-call.exp: Ditto.
3196 * gdb.base/valgrind-db-attach.exp: Ditto.
3197 * gdb.base/volatile.exp: Ditto.
3198 * gdb.base/watchpoints.exp: Ditto.
3199
3200 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3201
3202 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3203 * gdb.python/py-value.exp: Ditto.
3204
3205 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3206 * gdb.trace/circ.exp: Ditto.
3207 * gdb.trace/collection.exp: Ditto.
3208 * gdb.trace/packetlen.exp: Ditto.
3209 * gdb.trace/passc-dyn.exp: Ditto.
3210 * gdb.trace/report.exp: Ditto.
3211 * gdb.trace/tfile.exp: Ditto.
3212 * gdb.trace/tfind.exp: Ditto.
3213 * gdb.trace/while-dyn.exp: Ditto.
3214
3bebe2f2
JK
32152010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3216
3217 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3218
5c631832
JK
32192010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3220
3221 Test PR 10640.
3222 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3223
4c3376c8
SW
32242010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3225
3226 * gdb.cp/koenig.exp: Test for ADL operators.
3227 * gdb.cp/koenig.cc: Added ADL operators.
3228 * gdb.cp/operator.exp: New test.
3229 * gdb.cp/operator.cc: New test.
3230
dc226d5a
MS
32312010-06-04 Michael Snyder <msnyder@vmware.com>
3232
dfb88a23
MS
3233 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3234 * gdb.base/pending.exp: Ditto.
f7ae76b3 3235
dc226d5a
MS
3236 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3237
967cf477
DE
32382010-06-04 Doug Evans <dje@google.com>
3239
3240 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3241 disabled printers.
3242 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3243 (enable_lookup_function): New function.
3244
eb801841
TT
32452010-06-04 Tom Tromey <tromey@redhat.com>
3246
3247 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3248 of hash and id.
3249
38979823
JK
32502010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3253 newline.
3254 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3255 (empty verbose non-noisy clear, empty verbose noisy clear)
3256 (empty non-verbose noisy clear): Likewise.
3257
35ec993f
MS
32582010-06-03 Michael Snyder <msnyder@vmware.com>
3259
3260 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3261 * gdb.base/display.exp: Ditto.
3262 * gdb.base/find.exp: Ditto.
3263 * gdb.base/ifelse.exp: Ditto.
3264 * gdb.base/multi-forks.exp: Ditto.
3265 * gdb.base/recurse.exp: Ditto.
3266 * gdb.base/setshow.exp: Ditto.
3267 * gdb.base/value-double-free.exp: Ditto.
3268 * gdb.base/watch-vfork.exp: Ditto.
3269 * gdb.base/watch_thread_num.exp: Ditto.
3270 * gdb.base/watchpoint-solib.exp: Ditto.
3271 * gdb.base/watchpoint.exp: Ditto.
3272 * gdb.base/watchpoints.exp: Ditto.
3273
3274 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3275 * gdb.cp/overload.exp: Ditto.
3276 * gdb.cp/virtfunc.exp: Ditto.
3277
3278 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3279
889bf7c5 3280 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3281 Replace gdb_test with gdb_test_no_output.
3282
889bf7c5 3283 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3284 Replace gdb_test with gdb_test_no_output.
3285 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3286 * gdb.threads/watchthreads.exp: Ditto.
3287 * gdb.threads/watchthreads2.exp: Ditto.
3288
3289 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3290 * gdb.trace/tfind.exp: Ditto.
3291
c22decce
JB
32922010-06-03 Joel Brobecker <brobecker@adacore.com>
3293
3294 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3295 successful test if message is the empty string.
3296
fd5700c7
JK
32972010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3298
3299 * gdb.fortran/module.exp (stopped language detection): New test.
3300
f55ee35c
JK
33012010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3302
3303 Support DW_TAG_module as separate namespaces.
3304 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3305 gdb.fortran/library-module-lib.f90: New.
3306 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3307 (print i): Remove.
3308 (continue to breakpoint: i-is-1, print var_i value 1)
3309 (continue to breakpoint: i-is-2, print var_i value 2)
3310 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3311 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3312 (complete `modmany, complete `modmany`, complete `modmany`var)
3313 (show language, setting breakpoint at module): New tests.
3314 * gdb.fortran/module.f90 (module mod): Remove.
3315 (module mod1, module mod2, module modmany, subroutine sub1)
3316 (subroutine sub2, program module): New.
3317
b8e8282f
JK
33182010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3319
3320 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3321 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3322 * gdb.cp/anon-union.exp (pass): Rename to ...
3323 (print z 2): ... here.
b8e8282f 3324
019ebafc
MS
33252010-06-02 Michael Snyder <msnyder@vmware.com>
3326
e68d8fd4
MS
3327 * gdb.trace/actions.exp: Use gdb_test_no_output.
3328 * gdb.trace/circ.exp: Ditto.
3329 * gdb.trace/packetlen.exp: Ditto.
3330 * gdb.trace/save-trace.exp: Ditto.
3331 * gdb.trace/tracecmd.exp: Ditto.
3332 * gdb.trace/tsv.exp: Ditto.
3333
12b5d08a
MS
3334 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3335 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3336 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3337 * gdb.threads/manythreads.exp: Ditto.
3338 * gdb.threads/print-threads.exp: Ditto.
3339 * gdb.threads/pthreads.exp: Ditto.
3340 * gdb.threads/schedlock.exp: Ditto.
3341 * gdb.threads/staticthreads.exp: Ditto.
3342 * gdb.threads/thread-specific.exp: Ditto.
3343 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3344 * gdb.threads/threadapply.exp: Ditto.
3345 * gdb.threads/watchthreads.exp: Ditto.
3346 * gdb.threads/watchthreads2.exp: Ditto.
3347
89493308
MS
3348 * gdb.python/py-block.exp: Use gdb_test_no_output.
3349 * gdb.python/py-prettyprint.exp: Ditto.
3350 * gdb.python/py-template.exp: Ditto.
3351 * gdb.python/py-value.exp: Ditto.
3352
3353 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3354 * gdb.reverse/watch-reverse.exp: Ditto.
3355
3356 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3357 * gdb.server/ext-run.exp: Ditto.
3358
019ebafc
MS
3359 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3360 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3361 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3362 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3363 * gdb.dwarf2/dw2-producer.exp: Ditto.
3364 * gdb.dwarf2/mac-fileno.exp: Ditto.
3365
3366 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3367 * gdb.gdb/selftest.exp: Ditto.
3368
3369 * gdb.multi/base.exp: Use gdb_test_no_output.
3370
3371 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3372
3e0ca3a5
JK
33732010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3374
3375 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3376
9db70545
MS
33772010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3378
a8d52276
MS
3379 * gdb.cp/class2.exp: Use gdb_test_no_output.
3380 * gdb.cp/classes.exp: Ditto.
3381 * gdb.cp/extern-c.exp: Ditto.
3382 * gdb.cp/inherit.exp: Ditto.
3383 * gdb.cp/maint.exp: Ditto.
3384 * gdb.cp/mb-inline.exp: Ditto.
3385 * gdb.cp/mb-templates.exp: Ditto.
3386 * gdb.cp/method2.exp: Ditto.
3387 * gdb.cp/misc.exp: Ditto.
3388 * gdb.cp/ovldbreak.exp: Ditto.
3389 * gdb.cp/punctuator.exp: Ditto.
3390 * gdb.cp/templates.exp: Ditto.
3391 * gdb.cp/virtbase.exp: Ditto.
3392
889bf7c5 3393 * gdb.threads/attach-stopped.exp:
9db70545 3394 Replace uses of send_gdb / gdb_expect.
889bf7c5 3395 * gdb.threads/attachstop-mt.exp:
9db70545 3396 Replace uses of send_gdb / gdb_expect.
889bf7c5 3397 * gdb.threads/gcore-thread.exp:
9db70545 3398 Replace uses of send_gdb / gdb_expect.
889bf7c5 3399 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3400 Replace uses of send_gdb / gdb_expect.
3401 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3402 * gdb.threads/print-threads.exp:
9db70545
MS
3403 Replace uses of send_gdb / gdb_expect.
3404 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3405 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3406 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3407
3408 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3409 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3410 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3411 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3412 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3413 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3414 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3415 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3416 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3417 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3418 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3419
359cc68c
JK
34202010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3421
3422 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3423
7d3fe98e
SW
34242010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3425
3426 * gdb.cp/koenig.exp: Added new test case.
3427 * gdb.cp/koenig.cc: Ditto.
3428
27d3a1a2
MS
34292010-06-01 Michael Snyder <msnyder@vmware.com>
3430
3431 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3432 * gdb.base/arrayidx.exp: Ditto.
3433 * gdb.base/attach.exp: Ditto.
3434 * gdb.base/auxv.exp: Ditto.
3435 * gdb.base/bigcre.exp: Ditto.
3436 * gdb.base/break-always.exp: Ditto.
3437 * gdb.base/break-interp.exp: Ditto.
3438 * gdb.base/break.exp: Ditto.
3439 * gdb.base/breakpoint-shadow.exp: Ditto.
3440 * gdb.base/call-ar-st.exp: Ditto.
3441 * gdb.base/call-sc.exp: Ditto.
3442 * gdb.base/call-signal-resume.exp: Ditto.
3443 * gdb.base/callfuncs.exp: Ditto.
3444 * gdb.base/catch-syscall.exp: Ditto.
3445 * gdb.base/charset.exp: Ditto.
3446 * gdb.base/code-expr.exp: Ditto.
3447 * gdb.base/commands.exp: Ditto.
3448 * gdb.base/cond-expr.exp: Ditto.
3449 * gdb.base/condbreak.exp: Ditto.
3450 * gdb.base/cursal.exp: Ditto.
3451 * gdb.base/cvexpr.exp: Ditto.
3452 * gdb.base/default.exp: Ditto.
3453 * gdb.base/del.exp: Ditto.
3454 * gdb.base/detach.exp: Ditto.
3455 * gdb.base/display.exp: Ditto.
3456 * gdb.base/ena-dis-br.exp: Ditto.
3457 * gdb.base/eval-skip.exp: Ditto.
3458 * gdb.base/foll-fork.exp: Ditto.
3459 * gdb.base/foll-vfork.exp: Ditto.
3460 * gdb.base/frame-args.exp: Ditto.
3461 * gdb.base/funcargs.exp: Ditto.
3462 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3463 * gdb.base/gdbvars.exp: Ditto.
3464 * gdb.base/help.exp: Ditto.
3465 * gdb.base/ifelse.exp: Ditto.
3466 * gdb.base/included.exp: Ditto.
3467 * gdb.base/list.exp: Ditto.
3468 * gdb.base/macscp.exp: Ditto.
3469 * gdb.base/maint.exp: Ditto.
3470 * gdb.base/multi-fork.exp: Ditto.
3471 * gdb.base/overlays.exp: Ditto.
3472 * gdb.base/page.exp: Ditto.
3473 * gdb.base/pending.exp: Ditto.
3474 * gdb.base/pointers.exp: Ditto.
3475 * gdb.base/pr11022.exp: Ditto.
3476 * gdb.base/prelink.exp: Ditto.
3477 * gdb.base/printcmds.exp: Ditto.
3478 * gdb.base/psymtab.exp: Ditto.
3479 * gdb.base/randomize.exp: Ditto.
3480 * gdb.base/relational.exp: Ditto.
3481 * gdb.base/relocate.exp: Ditto.
3482 * gdb.base/remote.exp: Ditto.
3483 * gdb.base/sepdebug.exp: Ditto.
3484 * gdb.base/set-lang-auto.exp: Ditto.
3485 * gdb.base/setshow.exp: Ditto.
3486 * gdb.base/setvar.exp: Ditto.
3487 * gdb.base/signals.exp: Ditto.
3488 * gdb.base/signull.exp: Ditto.
3489 * gdb.base/sigstep.exp: Ditto.
3490 * gdb.base/sizeof.exp: Ditto.
3491 * gdb.base/solib-disc.exp: Ditto.
3492 * gdb.base/store.exp: Ditto.
3493 * gdb.base/structs.exp: Ditto.
3494 * gdb.base/structs2.exp: Ditto.
3495 * gdb.base/subst.exp: Ditto.
3496 * gdb.base/term.exp: Ditto.
3497 * gdb.base/trace-commands.exp: Ditto.
3498 * gdb.base/unwindonsignal.exp: Ditto.
3499 * gdb.base/valgrind-db-attach.exp: Ditto.
3500 * gdb.base/varargs.exp: Ditto.
3501 * gdb.base/watch-cond.exp: Ditto.
3502 * gdb.base/watch_thread_num.exp: Ditto.
3503 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3504 * gdb.base/watchpoint.exp: Ditto.
3505 * gdb.base/whatis-exp.exp: Ditto.
3506
f8d3bf8f
MS
35072010-06-01 Michael Snyder <msnyder@vmware.com>
3508
3509 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3510 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3511 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3512 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3513 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3514 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3515 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3516 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3517 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3518 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3519 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3520 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3521 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3522 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3523 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3524
3f9e0d32
JK
35252010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3528 trailing newline.
3529 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3530 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3531 (p *args): ... here and remove excessive trailing newline.
3532
f629457d
JB
35332010-05-31 Joel Brobecker <brobecker@adacore.com>
3534
3535 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3536
09eef106
JK
35372010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3538
3539 Accept the new Linux kernel "t (tracing stop)" string.
3540 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3541 Update comment.
3542 (state_wait) <T (tracing stop)>: New.
3543 (main): Update the state_wait expect string.
3544
94f31136
PA
35452010-05-28 Pedro Alves <pedro@codesourcery.com>
3546
3547 * limits.c, limits.exp: Delete files.
3548 * Makefile.in (clean mostlyclean): Adjust.
3549 * tracecmd.exp: Adjust.
3550
096554ab
JK
35512010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 * gdb.base/tui-layout.exp: New.
3554
27d3a1a2 35552010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3556
889bf7c5 3557 * gdb.reverse/break-precsave.exp:
bcd2dc50 3558 Replace uses of send_gdb / gdb_expect.
889bf7c5 3559 * gdb.reverse/break-reverse.exp:
bcd2dc50 3560 Replace uses of send_gdb / gdb_expect.
889bf7c5 3561 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3562 Replace uses of send_gdb / gdb_expect.
889bf7c5 3563 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3564 Replace uses of send_gdb / gdb_expect.
889bf7c5 3565 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3566 Replace uses of send_gdb / gdb_expect.
889bf7c5 3567 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3568 Replace uses of send_gdb / gdb_expect.
889bf7c5 3569 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3570 Replace uses of send_gdb / gdb_expect.
889bf7c5 3571 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3572 Replace uses of send_gdb / gdb_expect.
889bf7c5 3573 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3574 Replace uses of send_gdb / gdb_expect.
889bf7c5 3575 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3576 Replace uses of send_gdb / gdb_expect.
889bf7c5 3577 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3578 Replace uses of send_gdb / gdb_expect.
889bf7c5 3579 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3580 Replace uses of send_gdb / gdb_expect.
889bf7c5 3581 * gdb.reverse/machinestate.exp:
bcd2dc50 3582 Replace uses of send_gdb / gdb_expect.
889bf7c5 3583 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3584 Replace uses of send_gdb / gdb_expect.
889bf7c5 3585 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3586 Replace uses of send_gdb / gdb_expect.
889bf7c5 3587 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3588 Replace uses of send_gdb / gdb_expect.
889bf7c5 3589 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3590 Replace uses of send_gdb / gdb_expect.
889bf7c5 3591 * gdb.reverse/step-precsave.exp:
bcd2dc50 3592 Replace uses of send_gdb / gdb_expect.
889bf7c5 3593 * gdb.reverse/step-reverse.exp:
bcd2dc50 3594 Replace uses of send_gdb / gdb_expect.
889bf7c5 3595 * gdb.reverse/until-precsave.exp:
bcd2dc50 3596 Replace uses of send_gdb / gdb_expect.
889bf7c5 3597 * gdb.reverse/until-reverse.exp:
bcd2dc50 3598 Replace uses of send_gdb / gdb_expect.
889bf7c5 3599 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3600 Replace uses of send_gdb / gdb_expect.
889bf7c5 3601 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3602 Replace uses of send_gdb / gdb_expect.
3603
3def43e0
JK
36042010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3605
3606 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3607 excessive newline.
3608
27d3a1a2 36092010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3610
3611 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3612 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3613 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3614 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3615 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3616 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3617 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3618 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3619 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3620 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3621 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3622 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3623 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3624 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3625 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3626 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3627 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3628 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3629 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3630
27d3a1a2 36312010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3632
22454424
MS
3633 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3634 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3635
3636 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3637 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3638 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3639
889bf7c5 3640 * gdb.reverse/consecutive-reverse.exp:
22454424 3641 Replace uses of send_gdb / gdb_expect.
889bf7c5 3642 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3643 Replace uses of send_gdb / gdb_expect.
3644
3645 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3646 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3647 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3648 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3649 Replace uses of send_gdb / gdb_expect.
3650 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3651 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3652 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3653 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3654 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3655 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3656 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3657 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3658 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3659
36602010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3661
22454424 3662 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3663
22454424 3664 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3665
22454424
MS
3666 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3667 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3668 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3669 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3670 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3671 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3672 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3673 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3674 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3675
6e5f2c59
TT
36762010-05-25 Tom Tromey <tromey@redhat.com>
3677
3678 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3679
bbc8b958
TT
36802010-05-25 Tom Tromey <tromey@redhat.com>
3681
3682 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3683 argument order.
3684 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3685 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3686 order.
3687 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3688 order.
3689 * gdb.base/call-sc.exp (setup_kfails): Remove.
3690 (setup_compiler_kfails): Remove.
3691 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3692 argument order.
3693 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3694 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3695 (advancei): Fix setup_kfail argument order.
3696 * gdb.base/radix.exp: Fix setup_kfail argument order.
3697 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3698 order.
3699 * gdb.base/structs.exp (setup_kfails): Remove.
3700 (setup_compiler_kfails): Fix setup_kfail argument order.
3701 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3702 order.
3703 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3704 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3705 setup_kfail argument order.
3706 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3707
83d1babf
TT
37082010-05-25 Tom Tromey <tromey@redhat.com>
3709
3710 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3711
6acb16a2
MS
37122010-05-25 Michael Snyder <msnyder@vmware.com>
3713
3714 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3715 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3716 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3717 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3718 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3719 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3720 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3721 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3722 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3723 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3724 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3725 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3726 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3727 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3728 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3729 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3730 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3731 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3732 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3733 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3734 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3735 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3736 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3737 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3738 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3739 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3740 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3741 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3742 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3743 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3744 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3745 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3746 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3747 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3748 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3749 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3750 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3751 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3752 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3753 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3754 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3755 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3756 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3757 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3758 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3759 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3760 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3761 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3762
37632010-05-25 Doug Evans <dje@google.com>
3764
3765 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3766 gdb.string_to_argv.
ad3986f0 3767
d3b1e874
TT
37682010-05-21 Tom Tromey <tromey@redhat.com>
3769
3770 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3771 Call it.
3772 * gdb.dwarf2/pieces.S: Update.
3773 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3774
cb826367
TT
37752010-05-21 Tom Tromey <tromey@redhat.com>
3776
3777 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3778 Call it.
3779 * gdb.dwarf2/pieces.c (struct C): New.
3780 (f6): New function.
3781 * gdb.dwarf2/pieces.S: Replace.
3782
74de6778
TT
37832010-05-21 Tom Tromey <tromey@redhat.com>
3784
3785 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3786 Call it.
3787
afd74c5f
TT
37882010-05-21 Tom Tromey <tromey@redhat.com>
3789
3790 * gdb.dwarf2.pieces.exp: New file.
3791 * gdb.dwarf2.pieces.S: New file.
3792 * gdb.dwarf2.pieces.c: New file.
3793
a7b75dfd 37942010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3795 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3796
3797 * lib/gdb.exp (gdb_test_no_output): New function.
3798 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3799 when testing commands that should produce no output.
3800
c81c812a
JB
38012010-05-17 Joel Brobecker <brobecker@adacore.com>
3802
3803 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3804 parameter that we want to watch being a constant.
3805
0cce5bd9
JB
38062010-05-17 Joel Brobecker <brobecker@adacore.com>
3807
3808 * gdb.ada/cond_lang: New testcase.
3809
47050449
JB
38102010-05-17 Joel Brobecker <brobecker@adacore.com>
3811
3812 * lib/gdb.exp (banned_variables): New variable/constant.
3813 (gdb_init): Add write trace on variables listed in banned_variables.
3814 (gdb_finish): Remove write traces on variables listed in
3815 banned_variables.
3816
77c01586
JB
38172010-05-17 Joel Brobecker <brobecker@adacore.com>
3818
3819 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3820 * gdb.cp/koenig.exp: Likewise.
3821
88d4aea7
PM
38222010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3823
889bf7c5 3824 PR python/11482
88d4aea7
PM
3825
3826 * gdb.python/py-value.exp (test_value_hash): New function.
3827
f5a010c0
PM
38282010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3829
3830 PR exp/11530.
3831 * gdb.base/gdb11530.c: New file.
3832 * gdb.base/gdb11530.exp: New file.
3833
8ef4892f
JK
38342010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3835
3836 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3837 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3838
7322dca9
SW
38392010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3840
3841 * gdb.cp/koenig.exp: New test.
3842 * gdb.cp/koenig.cc: New test program.
3843
02e7ea18
JB
38442010-05-05 Joel Brobecker <brobecker@adacore.com>
3845
3846 Remove the use of prms_id and bug_id throughout the testsuite.
3847
e1c34c5d
PM
38482010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3849
3850 PR exp/11349.
3851 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3852 use a reference local variable.
3853
8e1d0c49
JK
38542010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3857 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3858 variable different_dir. Move debugfile into a full directory pathname
3859 under DIFFERENT_DIR.
3860 * lib/gdb.exp (separate_debug_filename): Remove.
3861 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3862 variable debug_dir and mkdir of it. Update function comments.
3863
e66408ed
PA
38642010-04-29 Pedro Alves <pedro@codesourcery.com>
3865
3866 PR gdb/11557
3867
3868 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3869 files.
3870
d7b32ed3
PM
38712010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3872
889bf7c5 3873 * gdb.python/py-param.exp: New File.
d7b32ed3 3874
6aecb9c2
JB
38752010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3876
3877 * gdb.base/default.exp: Fix "set language" test.
3878
bdf92a1c
PM
38792010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3880
3881 PR breakpoints/11531.
3882 * gdb.base/gdb11531.c: New file.
3883 * gdb.base/gdb11531.exp: New file.
3884
3f172e24
TT
38852010-04-26 Tom Tromey <tromey@redhat.com>
3886
3887 * gdb.base/completion.exp: Add tests for completion and deprecated
3888 commands.
3889
64af4c92
JK
38902010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3893 (print /x char_array): Escape curly brackets.
3894
492928e4
JK
38952010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3896
3897 Fix deadlock on looped list of loaded shared objects.
3898 * gdb.base/solib-corrupted.exp: New.
3899
66d09542
DE
39002010-04-23 Doug Evans <dje@google.com>
3901
3902 * gdb.python/py-section-script.c: New file.
3903 * gdb.python/py-section-script.exp: New file.
3904 * gdb.python/py-section-script.py: New file.
3905
8bd10a10
CM
39062010-04-20 Chris Moller <cmoller@redhat.com>
3907
3908 PR 10179
3909
3910 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3911 * gdb.base/pr10179-a.c:
3912 * gdb.base/pr10179-b.c:
3913 * gdb.base/pr10179.exp: New files.
3914
c0201579
JK
39152010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 Fix crashes on dangling display expressions.
3918 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3919 is SEP.
3920 (lib_flags): Remove the "debug" keyword.
3921 (libsepdebug): New variable for iterating new loop.
3922 (save_pf_prefix): New variable wrapping the loop.
3923 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3924 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3925
793b0ff8
PM
39262010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3927
3928 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3929
097f51f7
PM
39302010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3931
3932 PR stabs/11479.
3933 * gdb.stabs/gdb11479.exp: New file.
3934 * gdb.stabs/gdb11479.c: New file.
3935
9a22f0d0
PM
39362010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3937
3938 * gdb.base/charset.c (Strin16, String32): New variables.
3939 * gdb.base/charset.exp (gdb_test): Test correct display
3940 of 16 or 32 bit strings.
3941
39422010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3943
3944 PR 9167
3945 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3946 * gdb.cp/pr9167.cc: New file.
3947 * gdb.cp/pr9167.exp: New file.
3948
3949
6e354e5e
PM
39502010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3951
3952 PR pascal/11492.
3953 * gdb.pascal/gdb11492.pas: New file.
3954 * gdb.pascal/gdb11492.exp: New file.
3955
be942545
JB
39562010-04-20 Joel Brobecker <brobecker@adacore.com>
3957
1667e6e3 3958 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3959
0c3acc09
JB
39602010-04-20 Joel Brobecker <brobecker@adacore.com>
3961
3962 * gdb.ada/dyn_loc: New testcase.
3963
ec31cde5
CM
39642010-04-20 Chris Moller <cmoller@redhat.com>
3965
3966 PR 10867
889bf7c5 3967
ec31cde5
CM
3968 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3969 * gdb.cp/pr10687.cc: New file.
3970 * gdb.cp/pr10687.exp: New file.
3971
3972
ce4b0682
SDJ
39732010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3974 Sergio Durigan Junior <sergiodj@redhat.com>
3975
3976 * gdb.fortran/logical.exp: New testcase.
3977 * gdb.fortran/logical.f90: New file.
3978
3436961f
DE
39792010-04-19 Doug Evans <dje@google.com>
3980
3981 * gdb.base/help.exp (help source): Update expected output.
3982
4d836c09
JK
39832010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3984
3985 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3986 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3987 gdb_exit and return.
3988 (executable): New variable.
3989 (binfile): Use it.
3990
6149aea9
PA
39912010-04-19 Pedro Alves <pedro@codesourcery.com>
3992
3993 PR breakpoints/8554.
3994
3995 * gdb.trace/save-trace.exp: Adjust.
3996
ed41462c
L
39972010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 PR corefiles/11511
4000 * gdb.arch/system-gcore.exp: New.
4001 * gdb.arch/gcore.c: Likewise.
4002
3f7b2faa
DE
40032010-04-15 Doug Evans <dje@google.com>
4004
fa33c3cd
DE
4005 * gdb.python/py-progspace.c: New file.
4006 * gdb.python/py-progspace.exp: New file.
4007
3f7b2faa
DE
4008 * gdb.base/source.exp: Add tests for "source -s".
4009
79f283fe
PM
40102010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4011
4012 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4013 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4014 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4015 * gdb.python/py-mi.exp: New test for to_string returning None.
4016
fc8eb08a
PM
40172010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4018
4019 * gdb.python/py-breakpoint.c: Make result global.
4020
26e197f6
JK
40212010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4022
4023 Fix non-GNU make compatibility.
4024 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4025
adc36818
PM
40262010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4027
4028 * gdb.python/py-breakpoint.exp: New File.
4029 * gdb.python/py-breakpoint.C: Ditto.
4030
64e17368
SS
40312010-04-08 Stan Shebs <stan@codesourcery.com>
4032
4033 * gdb.trace/actions.exp: Clear default-collect.
4034 * gdb.trace/save-trace.exp: Clear default-collect.
4035
fff5cc64
PM
40362010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4037
4038 * gdb.python/py-value: Add null string variable.
4039 (test_lazy_string): Test zero length, NULL address lazy
4040 strings.
4041
a055a187
L
40422010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * gdb.arch/i386-avx.c: New.
4045 * gdb.arch/i386-avx.exp: Likewise.
4046
4047 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4048
96e39866
DE
40492010-04-06 Doug Evans <dje@google.com>
4050
4051 * gdb.base/source-test.gdb: New file.
4052 * gdb.base/source.exp: Test source -v.
4053
5984a431
UW
40542010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4055
4056 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4057
ec8a089a
PM
40582010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4059
4060 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4061 within one line, unless it is followed by a double quote.
4062 * gdb.stabs/hppa.sed: Idem.
4063 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4064 * gdb.stabs/weird.exp: Check for correct parsing of
4065 char and string constants.
ec8a089a
PM
4066 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4067 in .stabs to .stabx substitution.
4068
fce3c1f0
SS
40692010-04-05 Stan Shebs <stan@codesourcery.com>
4070
4071 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4072 constant global.
4073 * gdb.trace/tfile.exp: Try to print them.
4074
d77f58be
SS
40752010-04-04 Stan Shebs <stan@codesourcery.com>
4076
4077 * gdb.base/completion.exp: Update for new "info watchpoints".
4078 * gdb.base/default.exp: Ditto.
4079 * gdb.base/help.exp: Ditto.
4080 * gdb.base/watchpoint.exp: Ditto.
4081 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 4082
af54718e
SS
40832010-04-04 Stan Shebs <stan@codesourcery.com>
4084
4085 * gdb.trace/tfile.exp: Sharpen tfind test.
4086
74d1f91e
JK
40872010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4088
4089 * gdb.base/break-entry.exp: New.
4090
eb8e76db 40912010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 4092 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
4093
4094 * gdb.reverse/i386-sse-reverse.exp: New file.
4095 * gdb.reverse/i386-sse-reverse.c: New file.
4096
bf65cad8
PA
40972010-04-02 Pedro Alves <pedro@codesourcery.com>
4098
4099 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4100
fff87407
SS
41012010-04-01 Stan Shebs <stan@codesourcery.com>
4102
4103 * gdb.trace/actions.exp: Tweak expected output.
4104 * gdb.trace/while-stepping.exp: Tweak expected output.
4105
fe01d668
L
41062010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4109
86b17b60
PA
41102010-04-01 Pedro Alves <pedro@codesourcery.com>
4111
4112 * gdb.base/commands.exp: Adjust.
4113 * gdb.cp/extern-c.exp: Adjust.
4114
2c58c0a9
PA
41152010-04-01 Pedro Alves <pedro@codesourcery.com>
4116
4117 * gdb.trace/collection.c (local_test_func): Define a local struct,
4118 and instanciate it.
4119
0db9b91c
PA
41202010-04-01 Pedro Alves <pedro@codesourcery.com>
4121
4122 * gdb.trace/collection.exp (gdb_collect_args_test)
4123 (gdb_collect_argarray_test): XFAIL the tests that assume the
4124 argarray argument's elements are collected.
4125
8072405b
JK
41262010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4127
4128 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4129 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4130
8bf6485c
SS
41312010-03-31 Stan Shebs <stan@codesourcery.com>
4132
4133 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4134 and tracepoint conditionals.
4135 (gdb_verify_tracepoints): Delete unused return.
4136
fd7f724a
KS
41372010-03-26 Keith Seitz <keiths@redhat.com>
4138
4139 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4140 appear in the output before main.
4141 Remove KFAIL for gdb/2215 aka bz 9320.
4142
8d9e7719
DE
41432010-03-30 Doug Evans <dje@google.com>
4144
0906dd0b
DE
4145 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4146 by dejagnu.
4147 * gdb.arch/amd64-dword.exp: Ditto.
4148
8d9e7719
DE
4149 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4150 match.
4151 (break printf): Ditto.
4152
1da644f0
SW
41532010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4154
4155 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4156 gcc < 4.4.
4157 * gdb.cp/shadow.exp: Ditto.
4158
a8121990
PA
41592010-03-29 Pedro Alves <pedro@codesourcery.com>
4160
4161 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4162 "tstart" is silent.
4163
6e79d367
PA
41642010-03-29 Pedro Alves <pedro@codesourcery.com>
4165
4166 * gdb.trace/collection.exp (executable): New.
4167 (binfile): Use it.
4168 (fpreg, spreg, pcreg): New.
4169 (test_register): Use gdb_test_multiple. Pass /x to print.
4170 (prepare_for_trace_test): New.
4171 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4172 (gdb_collect_args_test, gdb_collect_argstruct_test)
4173 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4174 prepare_for_trace_test.
4175 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4176 fpreg, spreg and pcreg.
4177 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4178 prepare_for_trace_test.
4179 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4180 try to detect tracing support here. Don't set breakpoints at
4181 `begin' or `end' here.
4182 <global scope>: Use clean_restart. Run to main before checking
4183 for tracing support. Check for for tracing support here.
4184
09248348
JK
41852010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4186
4187 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4188 " as $displacement" to "seen displacement message".
4189
d350db38
PA
41902010-03-28 Pedro Alves <pedro@codesourcery.com>
4191
4192 * gdb.trace/while-dyn.exp (executable): New variable.
4193 (binfile): Use it.
4194 (test_while_stepping): New function. Move most tests here. Call
4195 it once for each of the while-stepping, stepping and ws aliases.
4196
907af001
UW
41972010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4198
4199 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4200 that do not provide the tagless_struct type name at all.
4201 (test_print_anon_union): Do not check value of uninitialized
4202 union member. Do not use cp_test_ptype_class, so we can accept
4203 "long" as well as "long int".
4204
610197fd
PA
42052010-03-26 Pedro Alves <pedro@codesourcery.com>
4206
4207 * gdb.trace/tfile.c (tohex, bin2hex): New.
4208 (write_error_trace_file): Hexify error description.
4209
6c28cbf2
SS
42102010-03-25 Stan Shebs <stan@codesourcery.com>
4211
4212 * gdb.trace/tfile.c: Generate an additional trace file, improve
4213 portability.
4214 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4215 files in a better way.
4216
e62b8c7e
KS
42172010-03-25 Keith Seitz <keiths@redhat.com>
4218
4219 * gdb.java/jprint.exp: XFAIL printing of static class members
4220 because of GCC debuginfo problem.
4221
82ccf5a5
JK
42222010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4223
4224 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4225
293e2f9e
DJ
42262010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4227
4228 * gdb.base/completion.exp: Allow long instead of long int.
4229 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4230 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4231 variable p.
4232 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4233 * gdb.base/pointers.exp: Allow long instead of long int.
4234 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4235 * gdb.base/step-line.exp: Allow a directory before the source file name.
4236
95a42b64
TT
42372010-03-24 Tom Tromey <tromey@redhat.com>
4238
4239 PR breakpoints/9352:
4240 * gdb.base/default.exp: Update.
4241 * gdb.base/commands.exp: Update.
4242 * gdb.cp/extern-c.exp: Test setting commands on multiple
4243 breakpoints at once.
4244
2390201f
DJ
42452010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4246
4247 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4248 if gdb,nosignals.
4249 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4250 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4251 exited".
4252
8c9a6790
SS
42532010-03-24 Stan Shebs <stan@codesourcery.com>
4254
4255 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4256
a6c727b2
DJ
42572010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4258
4259 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4260 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4261 argument. Handle "short" and "long".
4262 (Top level): Pass overprototyped output for old_fptr and xptr.
4263
4dfd5423
PA
42642010-03-23 Pedro Alves <pedro@codesourcery.com>
4265
4266 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4267 format strings and add casts to avoid compiler warnings.
4268
42692010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4270
4271 * lib/trace-support.exp (gdb_trace_setactions):
4272 Don't expect whitespace after ">" prompt.
4273 * gdb.trace/actions.exp: Adjust for output changes.
4274 * gdb.trace/while-stepping.exp: Likewise.
4275
c847d045
JK
42762010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4277
4278 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4279 and r157645).
4280
5f717f1d
JK
42812010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4282
4283 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4284 New.
4285
7d6d51d5
DJ
42862010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4287
4288 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4289 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4290
3b11a015
SS
42912010-03-19 Stan Shebs <stan@codesourcery.com>
4292
4293 * gdb.trace/ax.exp: New file.
4294
d7d158ed
DE
42952010-03-19 Doug Evans <dje@google.com>
4296
6bb85cd1
DE
4297 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4298 output from gcc.
4299
d7d158ed
DE
4300 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4301 named /usr/sbin/prelink<foo>.
4302
4daf5ac0
SS
43032010-03-18 Stan Shebs <stan@codesourcery.com>
4304
4305 * gdb.trace/circ.exp: Test circular-trace-buffer.
4306 * gdb.trace/tfile.exp: Update tstatus test.
4307
e8d05480
JB
43082010-03-18 Joel Brobecker <brobecker@adacore.com>
4309
4310 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4311 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4312
441b986a
UW
43132010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4314
4315 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4316
4247603b
PA
43172010-03-18 Pedro Alves <pedro@codesourcery.com>
4318
4319 * gdb.base/default.exp: Adjust the expected output of the finish
4320 and until commands when the inferior is not being run.
4321
13387711
SW
43222010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4323
4324 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4325 * gdb.cp/nsusing.exp: Ditto.
4326
6e31430b
TT
43272010-03-15 Tom Tromey <tromey@redhat.com>
4328
4329 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4330 * gdb.cp/userdef.cc (operator==): New function.
4331 (main): New locals mem1, mem2.
4332
e2d69cb5
JZ
43332010-03-15 Jie Zhang <jie@codesourcery.com>
4334
4335 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4336 Declare and use new loadtimeout variable.
4337
f572f0a9
DJ
43382010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4339
4340 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4341 Use gdb_load later.
4342
51f4c0b0
PA
43432010-03-14 Pedro Alves <pedro@codesourcery.com>
4344
4345 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4346 literal. Add missing endlines to prints to stderr.
4347
1c809c68
TT
43482010-03-12 Tom Tromey <tromey@redhat.com>
4349
4350 PR c++/9708:
4351 * gdb.cp/m-static.exp: Add regression test.
4352 * gdb.cp/m-static.cc (method): New method.
4353 (main): Call it.
4354
00ae8fef
SW
43552010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4356
4357 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4358 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4359
759f0f0b
PA
43602010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4361
21e24d21
PA
4362 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4363
43642010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4365
759f0f0b
PA
4366 * lib/gdb.exp (skip_stl_tests): New.
4367 (gdb_compile): Symbian needs -ldl.
4368 (shlib_target_file): New.
4369 (shlib_symbol_file): New.
4370 (gdb_load_shlibs): Use shlib_target_file.
4371 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4372 * gdb.cp/exception.exp: Use skip_stl_tests.
4373 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4374 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4375 * gdb.cp/mb-templates.exp: Ditto.
4376 * gdb.base/commands.exp: Relax regexes.
4377 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4378 shlib_target_file and shlib_symbol_file.
4379 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4380 sections.
4381 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4382 * gdb.base/solib-disc.exp: Use
4383 shlib_target_file and shlib_symbol_file.
4384 * gdb.base/unload.exp: Don't skip on symbian. Use
4385 shlib_target_file and shlib_symbol_file.
4386 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4387
6a8f2671 43882010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4389
6a8f2671
PA
4390 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4391 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4392 Issue a tfind end before looking for a tracepoint frame.
4393 * gdb.trace/tfind.exp: Adjust tstatus output.
4394 Adjust disassembly output.
4395 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4396
ccf26247
JK
43972010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4398
4399 * gdb.base/break-interp.exp: Create new displacement parameter value
4400 for the test_ld calls.
4401 (reach): New parameter displacement, verify its content. New push of
4402 pf_prefix "reach-$func:". Import global expect_out.
4403 (test_core): New parameter displacement, verify its content. New push
4404 of pf_prefix "core:". New command "set verbose on". Import global
4405 expect_out.
4406 (test_attach): New parameter displacement, verify its content. New
4407 push of pf_prefix "attach:". New command "set verbose on". Import
4408 global expect_out.
4409 (test_ld): New parameter displacement, pass it to the reach, test_core
4410 and test_attach calls and verify its content in the "ld.so exit" test.
4411 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4412 (prelink): Update expected text, use gdb_test.
4413
e469c7fb
DE
44142010-03-10 Doug Evans <dje@google.com>
4415
4416 * gdb.base/checkpoint.exp: Fix comment.
4417 Lengthen timeout while doing >600 checkpoints test.
4418 Rename duplicate "kill all one" test to keep test names unique.
4419
60e1c644
PA
44202010-03-10 Pedro Alves <pedro@codesourcery.com>
4421
4422 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4423
cec808ec
KS
44242010-03-08 Keith Seitz <keiths@redhat.com>
4425
889bf7c5
PA
4426 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4427 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4428 (dm_type_long): New function.
4429 (dm_type_unsigned_short): New function.
4430 (dm_type_unsigned_long): New function.
4431 (myint): New typedef.
4432 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4433 long, unsigned shor and long, operator char*, and typedef.
4434 (test_lookup_operator_functions): Add operator char* test.
4435 (test_paddr_operator_functions): Likewise.
4436 (test_paddr_overloaded_functions): Use probe values for
4437 short, long, and unsigned short and long.
4438 (test_paddr_hairy_functions): If the demangler probe detected
4439 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4440 demangler.
4441 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4442 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4443 and "print null_pmf".
4444 Add test "ptype a.*pmf".
4445 * gdb.cp/overload.exp: Allow optional "int" to appear with
4446 "short" and "long".
4447 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4448 long expect value for men_overload1arg.
4449 Allow "int" to appear with "short" and "long".
4450 When testing "info break", add argument for main (void).
4451 Also allow "int" to appear with "short" and "long".
4452 Ditto with "unsigned" and "long long".
cec808ec
KS
4453 * gdb.java/jmain.exp: Do not enclose methods names in single
4454 quotes.
4455 * gdb.java/jmisc.exp: Likewise.
4456 * gdb.java/jprint.exp: Likewise.
4457 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4458
4459 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4460 * gdb.cp/exception.exp (backtrace after first throw)
4461 (backtrace after second throw): Allow a namespace before __cxa_throw.
4462 (backtrace after first catch, backtrace after second catch): Allow
4463 a namespace before __cxa_begin_catch.
4464
4465 * gdb.cp/cpexprs.exp: New file.
4466 * gdb.cp/cpexprs.cc: New file.
4467
4468 From Daniel Jacobowitz <dan@codesourcery.com>
4469 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4470 to use string_to_regexp.
4471 (ctor, dtor): New functions. Use them to match constructor
4472 and destructor function types.
4473 (Top level): Use runto_main.
4474
f870a310
TT
44752010-03-05 Tom Tromey <tromey@redhat.com>
4476
4477 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4478 gdb.target_charset.
4479 (pp_ns.to_string): Likewise.
4480
0c199f28
KS
44812010-03-04 Keith Seitz <keiths@redhat.com>
4482
4483 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4484 can be quoted. Test that both the filename and function/line
4485 portions can be quoted at the same time.
4486
c7437ca6
PA
44872010-03-04 Pedro Alves <pedro@codesourcery.com>
4488
4489 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4490
b111b805
DE
44912010-03-03 Doug Evans <dje@google.com>
4492
24486cb7
DE
4493 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4494 libc contains libpthread.
4495
b111b805
DE
4496 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4497 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4498 of gdb_compile. Add another pattern to match android backtrace.
4499
a0e0ef55
TT
45002010-03-03 Tom Tromey <tromey@redhat.com>
4501
4502 PR gdb/11345:
4503 * gdb.base/printcmds.exp (test_printf): Add test.
4504
1ba53b71
L
45052010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 * gdb.arch/amd64-byte.exp: New.
4508 * gdb.arch/amd64-dword.exp: Likewise.
4509 * gdb.arch/amd64-pseudo.c: Likewise.
4510 * gdb.arch/amd64-word.exp: Likewise.
4511 * gdb.arch/i386-byte.exp: Likewise.
4512 * gdb.arch/i386-pseudo.c: Likewise.
4513 * gdb.arch/i386-word.exp: Likewise.
4514
f5dff777
DJ
45152010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4516
4517 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4518 types. Add structreg, bitfields, and flags registers.
4519 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4520 registers.
4521
90884b2b
L
45222010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4525 (load_description): Set architecture if defined.
4526
dc00d89f
PM
45272010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4528
4529 * gdb.python/py-frame.exp: Add read_var block tests.
4530 * gdb.python/py-frame.c (block): New function.
4531
0e095b7e
JK
45322010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4533 Daniel Jacobowitz <dan@codesourcery.com>
4534
4535 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4536
624f1a65
DM
45372010-02-25 David S. Miller <davem@davemloft.net>
4538
4539 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4540 fix logic for setting all_syscalls_numbers.
4541
f3e9a817
PM
45422010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4543
4544 * Makefile.in: Add py-block and py-symbol.
4545 * gdb.python/py-symbol.exp: New File.
4546 * gdb.python/py-symtab.exp: New File.
4547 * gdb.python/py-block.exp: New File.
4548 * gdb.python/py-symbol.c: New File.
4549 * gdb.python/py-block.c: New File.
4550
f6bbabf0
PM
45512010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4552
4553 PR python/11314
4554 * lib/gdb.exp (skip_python_tests): New function.
4555 * gdb.python/py-cmd.exp: Use skip_python_tests.
4556 * gdb.python/py-frame.exp: Likewise.
4557 * gdb.python/py-function.exp: Likewise.
4558 * gdb.python/py-prettyprint.exp: Likewise.
4559 * gdb.python/py-template.exp: Likewise.
4560 * gdb.python/py-type.exp: Likewise.
4561 * gdb.python/py-value.exp: Likewise.
4562
85d721b8
PA
45632010-02-22 Pedro Alves <pedro@codesourcery.com>
4564
4565 PR9605
4566
4567 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4568
48e32051
TT
45692010-02-19 Tom Tromey <tromey@redhat.com>
4570
4571 PR c++/8693, PR c++/9496:
4572 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4573 regression tests.
4574
ac9c0048
JK
45752010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4576
4577 Fix compatibility with m68k as.
4578 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4579 Use only /* comments */.
4580
57bb97a4
UW
45812010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4582
4583 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4584 * configure: Regenerate.
4585
7d1bf85c
DJ
45862010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4587
4588 * gdb.python/py-type.exp: Check for Python support.
4589
061b5285
PA
45902010-02-17 Pedro Alves <pedro@codesourcery.com>
4591
4592 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4593 `regsub' syntax available.
4594
f8a8bc2c
PA
45952010-02-17 Pedro Alves <pedro@codesourcery.com>
4596
4597 * gdb.base/shmain.c (main): Remove printf call.
4598 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4599 * gdb.base/unload.c (main): Make format of fprintf a string
4600 literal. Add missing endlines to prints to stderr.
4601 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4602
6f451e5e
TT
46032010-02-17 Tom Tromey <tromey@redhat.com>
4604
4605 * gdb.java/jprint.java (jprint.props): New field.
4606 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4607
12d79008
PA
46082010-02-17 Pedro Alves <pedro@codesourcery.com>
4609
ef801a0e 4610 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4611 available.
4612
d252f7e5
DJ
46132010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4614
4615 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4616 creation to support remote host testing.
4617
67bdab6c
DJ
46182010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4619
4620 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4621 Recognize "command not found".
4622
bb391223
DJ
46232010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4624
4625 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4626 single-stepping.
4627
70362913
DJ
46282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4629
4630 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4631 if arguments are not supported.
4632
493f3c00
DJ
46332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4634
4635 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4636 be const or non-const.
4637
8034c749
DJ
46382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4639
4640 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4641 mi_send_resuming_command to send -exec-continue.
4642
791dfb64
DJ
46432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4644
4645 * gdb.base/list.exp (test_list_filename_and_function): Add test
4646 with single quotes.
4647 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4648 matching.
4649 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4650 Add KFAIL'd tests for PR gdb/11289.
4651
7c5fe868
DJ
46522010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4653
4654 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4655
fdc498b8
DJ
46562010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4657
4658 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4659 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4660 a temporary directory.
4661
b519e2a6
DJ
46622010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4663
4664 * gdb.base/charset.exp: Use a single regular expression to match
4665 show host-charset and show target-charset output.
4666
74164c56
JK
46672010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4670 "Illegal process-id" expect string more exact.
4671 (attach to digits-starting nonsense is prohibited): New.
4672
701ed6dc
JK
46732010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4674
4675 * gdb.base/prelink.exp (set verbose on): New.
4676
889bf7c5 46772010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4678
4679 * mi-reverse.exp: New file. Test for reverse option to the
4680 following MI commands: exec-continue, exec-finish, exec-next,
4681 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4682
dadf0e9c
JB
46832010-02-09 Joel Brobecker <brobecker@adacore.com>
4684
4685 * gdb.ada/ptype_tagged_param: New testcase.
4686
714f19d5
TT
46872010-02-08 Tom Tromey <tromey@redhat.com>
4688
4689 PR c++/8017:
4690 * gdb.cp/overload.exp: Add tests.
4691 * gdb.cp/overload.cc (struct K): New.
4692 (namespace N): New.
4693 (main): Call new functions.
4694 (K::staticoverload): Define.
4695
889bf7c5 46962010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4697
4698 PR gdb/10728
4699 * gdb.cp/pr10728-x.h: New file.
4700 * gdb.cp/pr10728-x.cc: New file.
4701 * gdb.cp/pr10728-y.cc: New file.
4702 * gdb.cp/pr10728.exp: New file.
4703 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4704
889bf7c5 47052010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4706
4707 PR gdb/9067
4708 * gdb.cp/pr9067.exp: New
4709 * gdb.cp/pr9067.cc: New
4710 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4711
7b356089
JB
47122010-02-08 Joel Brobecker <brobecker@adacore.com>
4713
4714 * lib/gdb.exp (gdb_test_timeout): New global variable.
4715 Set it to timeout if not already set.
4716 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4717
1be00882
DE
47182010-02-05 Doug Evans <dje@google.com>
4719
4720 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4721 user.
4722
82856980
SW
47232010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4724
4725 PR c++/7935:
4726 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4727
1a334831
TT
47282010-02-04 Tom Tromey <tromey@redhat.com>
4729
4730 * gdb.cp/virtbase.exp: Make test case names unique.
4731
9c3c02fd
TT
47322010-02-02 Tom Tromey <tromey@redhat.com>
4733
4734 * gdb.cp/virtbase.exp: Add regression tests.
4735 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4736 (main): Instantiate RHC.
4737
0cc2414c
TT
47382010-02-02 Tom Tromey <tromey@redhat.com>
4739
4740 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4741 type-printing change.
4742
edf3d5f3
TT
47432010-02-02 Tom Tromey <tromey@redhat.com>
4744
4745 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4746 * gdb.cp/virtbase.cc: New file.
4747 * gdb.cp/virtbase.exp: New file.
4748 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4749
e4b7f41c
JK
47502010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4751
4752 PR libc/11214:
4753 * gdb.threads/current-lwp-dead.c: Include features.h.
4754 (HAS_NOMMU): New.
4755 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4756
b381ea14
JK
47572010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 * gdb.base/symbol-without-target_section.exp,
4760 gdb.base/symbol-without-target_section.c: New.
4761
c593ac0e
DJ
47622010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4763
4764 * gdb.base/bigcore.exp: Reset increased timeout.
4765 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4766
db25f29d
DJ
47672010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4768
4769 * gdb.base/gcore.exp (capture_command_output): Use
4770 gdb_test_multiple.
4771
f9d67f43
DJ
47722010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4773
4774 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4775 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4776 (Top level): Call it.
4777
177321bd
DJ
47782010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4779
4780 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4781
97f2ed50
DJ
47822010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4783
4784 * gdb.base/call-strs.exp, gdb.base/default.exp,
4785 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4786 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4787 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4788 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4789 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4790 * gdb.base/ending-run.exp: Correct restore of timeout.
4791 * gdb.base/page.exp: Remove unnecessary timeout setting.
4792
e4e2711a
JB
47932010-01-29 Joel Brobecker <brobecker@adacore.com>
4794
4795 * gdb.ada/rec_return: New testcase.
4796
ba581dc1
JB
47972010-01-29 Joel Brobecker <brobecker@adacore.com>
4798
4799 * gdb.ada/call_pn: New testcase.
4800
4ea95be9
DJ
48012010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4802
4803 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4804 (Top level): Use it to resume.
4805 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4806 the Thumb mode displaced stepping error as unsupported.
4807
df83a9bf
SW
48082010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4809
889bf7c5
PA
4810 * gdb.cp/nsusing.exp: Added more tests.
4811 * gdb.cp/nsrecurs.exp: Ditto.
4812 * gdb.cp/nsusing.cc: Added test functions.
4813 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4814
40b27cdc
JK
48152010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4816
4817 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4818 absolute directory pathnames in gdb.sum file.
4819
de958931
SW
48202010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4821
4822 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4823 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4824
708ead4e
TT
48252010-01-26 Tom Tromey <tromey@redhat.com>
4826
4827 PR exp/7643:
4828 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4829 setup_kfail.
4830
b14e635e
SW
48312010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4832
4833 * gdb.cp/nsrecurs.exp: New test.
4834 * gdb.cp/nsrecurs.cc: New test program.
4835 * gdb.cp/nsstress.exp: New test.
4836 * gdb.cp/nsstress.cc: New test program.
4837 * gdb.cp/nsdecl.exp: New test.
4838 * gdb.cp/nsdecl.cc: New test program.
4839
8540c487
SW
48402010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4841
4842 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4843 imported into file scope.
4844 Marked test as xfail.
4845 * gdb.cp/namespace-using.cc (marker5): New function.
4846 * gdb.cp/shadow.exp: New test.
4847 * gdb.cp/shadow.cc: New test program.
4848 * gdb.cp/nsimport.exp: New test.
4849 * gdb.cp/nsimport.cc: New test program.
4850
421d5d99
TT
48512010-01-25 Tom Tromey <tromey@redhat.com>
4852
4853 PR gdb/11049:
4854 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4855 with "set print null-stop on".
4856
691f8dc1
JK
48572010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4860 Adjust it for DISASSEMBLY_OMIT_FNAME.
4861
0b92b5bb
TT
48622010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4863
4864 PR symtab/11199:
4865 * gdb.dwarf2/member-ptr-forwardref.exp,
4866 gdb.dwarf2/member-ptr-forwardref.S: New.
4867
23787403
JK
48682010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4871 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4872 thread1_tid_mutex. Remove gdbstop_mutex handling.
4873 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4874 thread2_tid_mutex. Remove gdbstop_mutex handling.
4875 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4876 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4877 pthread_cond_wait conditionalizations by while loops.
4878
b966cb8a
TT
48792010-01-20 Tom Tromey <tromey@redhat.com>
4880
4881 PR backtrace/10770:
4882 * gdb.dwarf2/pr10770.exp: New file.
4883 * gdb.dwarf2/pr10770.c: New file.
4884 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4885
fcae584b
VP
48862010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4887
4888 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4889 that target was removed, and the test always runs native anyway.
4890
a0f49112
JK
48912010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4894 gdb.base/watchpoint-cond-gone-stripped.c: New.
4895
ceeb3d5a
TT
48962010-01-19 Tom Tromey <tromey@redhat.com>
4897
4898 PR c++/8000:
4899 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4900 existing tests.
4901 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4902 (main): Use AAA::SomeEnum.
4903
dd322c54
JK
49042010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4907 (test_ignore_count): Declare line_callme_body global.
4908 (run to breakpoint with ignore count): Use line_callme_body.
4909 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4910 (set line_main_hello, set line_main_return): Reindent.
4911 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4912 New.
4913 (continue to callee4): Use line_callee4_body.
4914 (check *stopped from CLI command): Use line_callee4_next.
4915 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4916 (set line_main_hello, set line_main_return): Reindent.
4917 (set line_callee4_head, set line_callee4_body): New.
4918 (continue to callee4): Use line_callee4_body.
4919
4e8f195d
TT
49202010-01-18 Tom Tromey <tromey@redhat.com>
4921
4922 PR c++/9680:
4923 * gdb.cp/casts.cc: Add new classes and variables.
4924 * gdb.cp/casts.exp: Test new operators.
4925
9e14a9ba
JB
49262010-01-18 Tom Tromey <tromey@redhat.com>
4927 Thiago Jung Bauermann <bauerman@br.ibm.com>
4928
4929 * gdb.python/source2.py: New file.
4930 * gdb.python/source1: New file.
4931 * gdb.python/python.exp: Test "source" command.
4932
00bf0b85
SS
49332010-01-15 Stan Shebs <stan@codesourcery.com>
4934
4935 * gdb.trace/tfile.c: New file.
4936 * gdb.trace/tfile.exp: New file.
889bf7c5 4937
55235ad7
JK
49382010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4939
4940 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4941
9f2982ff
JK
49422010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4943
4944 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4945
bbfba9ed
JK
49462010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4947
4948 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4949 (libfunc): New parameter action. Implement also selectable "sleep".
4950 * gdb.base/break-interp-main.c: Include assert.h.
4951 (libfunc): New parameter action.
4952 (main): New parameters argc and argv. Assert argc. Pass argv.
4953 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4954 (test_attach): New proc.
4955 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4956 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4957
61f0d762
JK
49582010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4959
4960 * gdb.base/break-interp.exp (test_core): New proc.
4961 (test_ld): Call it.
4962
06a6f270
JK
49632010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4964
4965 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4966 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4967 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4968 and gdb_compile_shlib. Use new -Wl compiler options.
4969 (dl bt, main bt): New tests.
4970
51bee8e9
JK
49712010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 Support PIEs with no symfile_objfile.
4974 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4975 (test_ld): New parameter trynosym.
4976 (test_ld <$trynosym>): New block.
4977
b8040f19
JK
49782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4979
4980 * gdb.base/break-interp.exp: New file.
4981
be759fcf
PM
49822010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4983
4984 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4985 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4986 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4987 test.
4988 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4989 * gdb.python/py-mi.exp: Add lazy string test.
4990
dc146f7c
VP
49912010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4992
4993 * lib/mi-support.exp (mi_check_thread_states): Handle
4994 core number in thread listing.
4995
b4ba55a1
JB
49962010-01-12 Joel Brobecker <brobecker@adacore.com>
4997
4998 * gdb.base/maint.exp: Adjust the expected output for the
4999 "maint print type" test. Use gdb_test_multiple instead of
5000 gdb_sent/gdb_expect.
5001
08e24bd4
DE
50022010-01-11 Doug Evans <dje@google.com>
5003
6496a609
DE
5004 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5005 from gdbserver_download. All callers updated.
5006
08e24bd4
DE
5007 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5008
b5cfddf5
JK
50092010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5010
5011 Implement binary numbers parsing.
5012 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5013 (test_integer_literals_rejected): New binary tests.
5014
3725885a
RW
50152010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5016
5017 * gdb.cell/configure: Regenerate.
5018
37aeb5df
JK
50192010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5020
5021 * gdb.base/corefile.exp: Move the core finding block out and call it as
5022 core_find, new variable $corefile, replace corefile by $corefile and
5023 [file tail $corefile] for usage vs. test names resp.
5024 * lib/gdb.exp (core_find): Move it as a new function here. New
5025 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5026 $destcore. Return "" on error.
5027
d521f563
JK
50282010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5029
5030 Workaround PR binutils/10802.
5031 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5032 (twice).
5033
28f24826
DJ
50342010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5035
5036 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5037
2de75e71
JB
50382010-01-08 Joel Brobecker <brobecker@adacore.com>
5039
5040 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5041 call, to avoid interruption.
5042
fe00719b 50432010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5044
5045 * gdb.stabs/weird.def (args93): New.
5046
d0ef5df8
DE
50472010-01-07 Doug Evans <dje@google.com>
5048
5049 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5050
3a08d52f
TT
50512010-01-07 Tom Tromey <tromey@redhat.com>
5052
5053 * gdb.base/source.exp: Use correct line number.
5054
7a697b8d
SS
50552010-01-05 Stan Shebs <stan@codesourcery.com>
5056
5057 * gdb.trace/tracecmd.exp: Test ftrace.
5058
7803799a
UW
50592010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5060
5061 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5062
c54eabfa
JK
50632010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5064
5065 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5066 "uint_for_mi_testing".
5067
02e7ef19
JB
50682010-01-01 Joel Brobecker <brobecker@adacore.com>
5069
5070 Test indented comment in file being sourced.
5071 * gdb.base/commands.exp: Test indented comment in file being sourced.
5072
abd775ce
JB
50732010-01-01 Joel Brobecker <brobecker@adacore.com>
5074
5075 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5076 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5077 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5078 notice.
5079
79b55b82
JB
50802010-01-01 Joel Brobecker <brobecker@adacore.com>
5081
5082 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5083 notice.
5084
8997583e
JK
50852010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5086
5087 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5088 missing $after_stopped and comma (,) expectation.
5089
6da95a67
SS
50902009-12-31 Stan Shebs <stan@codesourcery.com>
5091
5092 * gdb.trace/actions.exp: Test teval action.
889bf7c5 5093
218d2fc6
TJB
50942009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5095
5096 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5097 (top level): Call test_watchpoint_in_big_blob.
5098 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5099 watchpoints.
5100 (func3): Write to buf.
5101
236f1d4d
SS
51022009-12-29 Stan Shebs <stan@codesourcery.com>
5103
5104 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 5105
f61e138d
SS
51062009-12-28 Stan Shebs <stan@codesourcery.com>
5107
5108 * gdb.trace/tsv.exp: New file.
5109 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 5110
0219b378
DJ
51112009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5112
5113 * gdb.base/find.c (main): Reference search buffers.
5114 * gdb.base/included.c (main): Reference integer.
5115 * gdb.base/ptype.c (charfoo): Declare.
5116 (intfoo): Call charfoo.
5117 * gdb.base/scope0.c (useitp): New function.
5118 (usestatics): Use useitp.
5119 (useit): Add a type for val.
5120 * gdb.base/scope1.c (useit1): Take a pointer argument.
5121 (usestatics1): Update calls to useit1.
5122 * gdb.cp/call-c.cc: Declare foo.
5123 (main): Call foo.
5124 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5125 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5126 (main): Call C::ensureRefs and ensureOtherRefs.
5127 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5128 variables.
5129 (ensureOtherRefs): New function.
5130 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5131 * gdb.cp/templates.cc (main): Call t5i.value.
5132
3f78692f
JK
51332009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5134
5135 Fix compatibility with G++-4.5.
5136 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5137 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5138 (uncaught return): Remove.
5139
429374b8
JK
51402009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 Phil Muldoon <pmuldoon@redhat.com>
5142
5143 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5144 (bp_location13, bp_location14, bp_location17, bp_location18)
5145 (marker3_proto, marker4_proto): New variables.
5146 (breakpoint info): Update output.
5147 (run until breakpoint at marker3, run until breakpoint at marker4): New
5148 tests.
5149
859825b8
JK
51502009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5151
5152 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5153 Replace the printf call of Y by provided "y-set-1" label. New block
5154 for the second shared library.
5155 * gdb.base/unload.exp: Compile also the second library, call
5156 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5157 (single pending breakpoint info): Rename to ...
5158 (pending breakpoint info before run): ... this extended test.
5159 (libfile2, libname2, libsrcfile2, libsrc2)
5160 (lib_sl2): New variables.
5161 (exec_opts): Set also SHLIB_NAME2.
5162 (pending breakpoint info on first run at shrfunc1)
5163 (pending breakpoint info on second run at shrfunc1)
5164 (pending breakpoint info on second run at shrfunc2)
5165 (print y from libfile, print y from libfile2): New tests.
5166 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5167 * gdb.base/unloadshr2.c: New.
5168
e6a386cd
HZ
51692009-12-22 Hui Zhu <teawater@gmail.com>
5170
5171 * gdb.reverse/sigall-reverse.exp: Adjust.
5172
9e19b45e
VP
51732009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5174
5175 PR gdb/10884
5176
5177 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5178 (main): Call do_bitfield_tests.
aacf5b1e 5179 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5180
d53a7b30
JB
51812009-12-20 Joel Brobecker <brobecker@adacore.com>
5182
5183 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5184 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5185 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5186 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5187 gdb.modula2/unbounded1.c: Update copyright header.
5188
191ca0a1
CM
51892009-12-10 Chris Moller <moller@mollerware.com>
5190
5191 PR gdb/9399
5192 * gdb.cp/virtfunc2.exp: New tests
5193 * gdb.cp/virtfunc2.cc: New tests
5194 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5195
0fa6cf1b
MS
51962009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5197
5198 * gdb.reverse/i387-env-reverse.c: New file.
5199 * gdb.reverse/i387-env-reverse.exp: New file.
5200 * gdb.reverse/i387-stack-reverse.c: New file.
5201 * gdb.reverse/i387-stack-reverse.exp: New file.
5202
361ae042
PM
52032009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5204
5205 * gdb.python/py-type.exp (test_range): New test.
5206
bfd31e71
PM
52072009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5208
5209 PR python/10805
5210
5211 * gdb.python/py-type.exp: New file.
5212 * gdb.python/py-type.c: New file.
5213 * Makefile.in: Add py-type.
5214
57a1d736
TT
52152009-12-03 Tom Tromey <tromey@redhat.com>
5216
5217 * gdb.python/py-value.exp (test_parse_and_eval): New
5218 function.
5219
1f3b5d1b
PP
52202009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5221
5222 PR gdb/11022
5223
5224 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5225 * gdb.base/pr11022.c: New test.
5226
8b7dbdc9
JK
52272009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5228
5229 Fix spurious false FAILs.
5230 * gdb.base/structs.c (chartest): New.
5231 (main): Fill-in chartest.
5232 * gdb.base/structs.exp (anychar_re, first): New.
5233 (start_structs_test): Import global anychar_re and first.
5234 New gdb_test call "set print elements 300; ${testfile}"
5235 (start_structs_test <$first>): New block.
5236 (any): Import global anychar_re. New variable ac. Use ${ac}.
5237
6a53b2ec
JK
52382009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5239
5240 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5241
d7167b4c
JK
52422009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5243
5244 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5245 Force $srcfile file.
5246 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5247
b1798462
UW
52482009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5249
5250 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5251 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5252 * gdb.threads/watchthreads-reorder.exp: Likewise.
5253
b6199126
DJ
52542009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5255
5256 PR gdb/8704
5257
5258 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5259 "if", and "thread". Correct matching in the previous test.
5260
b22a0510
DJ
52612009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5262
5263 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5264
930636d2
MS
52652009-11-23 Michael Snyder <msnyder@vmware.com>
5266
5267 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5268 * gdb.reverse-watch-precsave.exp: Ditto.
5269
21a0512e
PP
52702009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5271
5272 * gdb.asm/asm-source.exp: Adjust.
5273 * gdb.base/help.exp: Adjust.
889bf7c5 5274
fc30d5e0
PA
52752009-11-22 Pedro Alves <pedro@codesourcery.com>
5276
5277 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5278 (do_syscall_tests_without_xml): Set data-directory to
5279 /the/path/to/nowhere.
5280
f6bc2008
PA
52812009-11-21 Pedro Alves <pedro@codesourcery.com>
5282
5283 * gdb.threads/local-watch-wrong-thread.c,
5284 gdb.threads/local-watch-wrong-thread.exp: New files.
5285
8c2fb5de
PA
52862009-11-21 Pedro Alves <pedro@codesourcery.com>
5287
5288 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5289 assume new `regsub' syntax available.
5290
ebec9a0f
PA
52912009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
a79d3c27
JK
5293 * gdb.base/watchpoint-hw-hit-once.exp,
5294 gdb.base/watchpoint-hw-hit-once.c: New.
5295
52962009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 * gdb.threads/watchthreads-reorder.exp,
5299 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5300
276a961b
MK
53012009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5302
5303 * gdb.xml/tdesc-regs.exp: Use for m68k.
5304
4867c1fb
PA
53052009-11-15 Pedro Alves <pedro@codesourcery.com>
5306
5307 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5308
f6838f81
DJ
53092009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5310
5311 * lib/gdb.exp (current_target_name): New procedure.
5312 (gdb_wrapper_target): New variable.
5313 (gdb_wrapper_init): Set gdb_wrapper_target.
5314 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5315 wrapper.
5316
4ac4dd3f
DJ
53172009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5318
5319 * gdb.base/remote.exp: Delete the slowest load test.
5320 Do not load with fixed packet sizes.
5321
a7881759
DJ
53222009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5323
5324 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5325
97a5b505
DJ
53262009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5327
5328 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5329 srcfile when setting a breakpoint.
5330
d3e1fc54
DJ
53312009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5332
5333 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5334 macros.
5335
7cbcbded
DJ
53362009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5337
5338 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5339 to be in memory.
5340 * gdb.base/display.c (force_mem): New.
5341 (do_loops): Use it. Add breakpoint comments.
5342 (do_vars): Add a breakpoint comment.
5343 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5344 line numbers.
5345
bdea3a92
NF
53462009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5347
5348 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5349 instead of a bare "run".
5350
269f82e5
PP
53512009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5352
5353 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5354
a69b7d9d
DJ
53552009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5356
5357 * lib/cell.exp (skip_cell_tests): Clean up test files before
5358 returning.
5359
b598bfda
DJ
53602009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5361
5362 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5363 and the breakpoint menu. Do not call perror if a prompt is seen.
5364 Consume the following GDB prompt.
5365 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5366 * gdb.cp/namespace.exp: Use gdb_test.
5367 * gdb.cp/templates.exp: Use gdb_test.
5368 (test_template_breakpoints): Use gdb_test_multiple.
5369
87728fa0
DJ
53702009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5371
5372 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5373 (marker4): Reference values.
5374
b67c692f
DJ
53752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5376
5377 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5378 is missing.
5379
f0df251a
DJ
53802009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5381
5382 * gdb.base/break.c (need_malloc): New.
5383 * gdb.base/constvars.c (main): Reference crass and crisp.
5384 * gdb.base/gdb1821.c (main): Reference bar.
5385 * gdb.cp/gdb1355.cc (main): Reference s1.
5386 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5387 (main): Call them.
5388 * gdb.cp/hang2.cc (dummy2): Define.
5389 * gdb.cp/hang3.cc (dummy3): Define.
5390 * gdb.cp/m-data.cc (main): Reference shadow.
5391
bdf7534a
NF
53922009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5393 Nathan Froyd <froydnj@codesourcery.com>
5394
5395 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5396 remote host.
5397
f24fce77
NF
53982009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5399
5400 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5401 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5402 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5403 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5404 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5405 * gdb.dwarf2/dw2-producer.exp: Likewise.
5406 * gdb.dwarf2/mac-fileno.exp: Likewise.
5407 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5408 py-prettyprint.py to the remote host.
5409 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5410
40f0318e
KS
54112009-11-11 Keith Seitz <keiths@redhat.com>
5412
5413 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5414 use it instead of "Foo".
5415 * gdb.cp/classes.exp (do_tests): Add a test to access
5416 a method through a typedef'd class name.
5417
f3d9f7fb
NF
54182009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5419
5420 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5421 exponents.
5422 * gdb.base/pointers.exp: Likewise.
5423 * gdb.cp/ref-types.exp: Likewise.
5424
a4216f37
KS
54252009-11-11 Keith Seitz <keiths@redhat.com>
5426
5427 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5428 new[] and delete[].
5429 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5430 "void".
5431 (probe_demangler): Remove all single-quoting of
5432 method and variable names.
5433 (info_func_regexp): Remove the word "void" from any
5434 occurrence of "(void)".
5435 (print_addr_2): Remove all single-quoting of
5436 method names.
5437 (print_addr_2_kfail): Likewise.
5438 (print_addr): Single-quote C function names before
5439 passing to print_addr_2.
5440 (test_paddr_operator_functions): Remove single-quoting
5441 for method names.
5442 Add tests for operator new[] and operator delete[].
5443
9b14d7aa
JK
54442009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5445
5446 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5447
85feb311
KS
54482009-11-09 Keith Seitz <keiths@redhat.com>
5449
5450 * gdb.cp/overload.exp: Add tests for resolving overloaded
5451 methods in expression parsing/evaluation.
5452
fa335448
DJ
54532009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5454
5455 * lib/gdb.exp (default_gdb_version): Use --version instead of
5456 --command.
5457
ec3c07fc
NS
54582009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5459
5460 * lib/gdb.exp (gdb_compile_test): New.
5461 (skip_ada_tests, skip_java_tests): New.
5462 (gdb_compile): Use gdb_compile_test for f77.
5463 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5464 * lib/java.exp (compile_java_from_source): Remove runtests check,
5465 use gdb_compile_test to record result.
5466 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5467 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5468 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5469 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5470 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5471 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5472 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5473 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5474 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5475 adjust gdb_compile invocations.
5476
b8b4e42b
JK
54772009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5478
5479 * Makefile.in (abs_builddir): New.
5480 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5481 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5482 `$(abs_builddir)/site.exp'.
5483
f8b7eaf3
DJ
54842009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5485
5486 * config/m68k-emc.exp, lib/emc-support.exp,
5487 gdb.trace/gdb_c_test.c: Delete.
5488 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5489 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5490 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5491 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5492 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5493 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5494 casing for m68k-*-elf.
5495
c4187697
NS
54962009-11-03 Pedro Alves <pedro@codesourcery.com>
5497
5498 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5499 * gdb.arch/i386-prologue.exp: Likewise.
5500 * gdb.arch/i386-unwind.exp: Likewise.
5501
db16b772
DJ
55022009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5503
5504 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5505
bcf71277
DJ
55062009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5507
5508 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5509
0105cee2
DJ
55102009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5511
5512 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5513
24ddea62
JK
55142009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5517
287ccc17
JK
55182009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5521 * gdb.base/sepdebug2.c: New file.
5522
08bca259 55232009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5524
5525 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5526 the modified warnings for catch syscall. Verify if GDB was compiled
5527 with support for lib expat, and choose which tests to run depending
5528 on this.
5529
5d4e2b76
VP
55302009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5531
5532 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5533 that composite commands are parsed OK. And also test
5534 that breakpoint commands do work.
5535
240e538a
MS
55362009-10-23 Michael Snyder <msnyder@vmware.com>
5537
5538 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5539 to allow for new disassembly style.
5540
9c419145
PP
55412009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5542
5543 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5544
02506ff1
MS
55452009-10-22 Michael Snyder <msnyder@vmware.com>
5546
5547 * gdb.reverse/break-precsave.exp: New test.
5548 * gdb.reverse/consecutive-precsave.exp: Ditto.
5549 * gdb.reverse/finish-precsave.exp: Ditto.
5550 * gdb.reverse/i386-precsave.exp: Ditto.
5551 * gdb.reverse/machinestate-precsave.exp: Ditto.
5552 * gdb.reverse/sigall-precsave.exp: Ditto.
5553 * gdb.reverse/solilb-precsave.exp: Ditto.
5554 * gdb.reverse/step-precsave.exp: Ditto.
5555 * gdb.reverse/until-precsave.exp: Ditto.
5556 * gdb.reverse/watch-precsave.exp: Ditto.
5557
4cf866a3
MS
55582009-10-22 Michael Snyder <msnyder@vmware.com>
5559
5560 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5561 for gdb_expect. Adjust one test's expect strings for the new
5562 format of disassemble.
5563 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5564 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5565 gdb_test_multiple.
5566 * gdb.reverse/step-reverse.exp: Delete 'return'.
5567 * gdb.reverse/until-reverse.exp: Delete blank lines.
5568 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5569
2b28d209
PP
55702009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5571
5572 * gdb.base/consecutive.exp: Adjust.
5573 * gdb.base/display.exp: Likewise.
5574 * gdb.base/pc-fp.exp: Likewise.
5575 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5576
33b9c32b
MS
55772009-10-19 Michael Snyder <msnyder@vmware.com>
5578
5579 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5580 * gdb.reverse/finish-reverse.c: Ditto.
5581 * gdb.reverse/sigall-reverse.c: Ditto.
5582 * gdb.reverse/solib-reverse.c: Ditto.
5583 * gdb.reverse/step-reverse.c: Ditto.
5584 * gdb.reverse/watch-reverse.c: Ditto.
5585
6c95b8df
PA
55862009-10-19 Pedro Alves <pedro@codesourcery.com>
5587 Stan Shebs <stan@codesourcery.com>
5588
5589 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5590 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5591 "Executing new program".
5592 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5593 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5594 left listed after having been killed.
5595 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5596 * gdb.base/maint.exp: Adjust test.
5597
5598 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5599 * gdb.multi/Makefile.in: New.
5600 * gdb.multi/base.exp: New.
5601 * gdb.multi/goodbye.c: New.
5602 * gdb.multi/hangout.c: New.
5603 * gdb.multi/hello.c: New.
5604 * gdb.multi/bkpt-multi-exec.c: New.
5605 * gdb.multi/bkpt-multi-exec.exp: New.
5606 * gdb.multi/crashme.c: New.
5607
279017b7
TG
56082009-10-13 Tristan Gingold <gingold@adacore.com>
5609
5610 * gdb.base/sepdebug.exp: Check debug info are found.
5611
0413d738
PA
56122009-10-08 Pedro Alves <pedro@codesourcery.com>
5613
5614 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5615 bits.
5616
c628eecc
JK
56172009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5618
5619 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5620
38af1bfe
JB
56212009-10-07 Joel Brobecker <brobecker@adacore.com>
5622
5623 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5624 of the comments.
5625
2b0adecd
PM
56262009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5627
5628 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5629 * gdb.base/annota3.exp: Idem.
5630 * gdb.base/maint.exp: Idem.
5631
8d417781
PM
56322009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5633
889bf7c5 5634 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5635 to default.
5636
bb61102d
PM
56372009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5638
889bf7c5 5639 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5640 mingw and cygwin targets.
5641
ace5c364
PM
56422009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5643 Pedro Alves <pedro@codesourcery.com>
5644
889bf7c5 5645 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5646 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5647
c2d494a0
PM
56482009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5649
e1b52ce2
PM
5650 * gdb.base/shr1.c: Use %p in format string.
5651 * gdb.base/unload.c: Avoid warning in fprintf.
5652 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5653
209f53f5
PM
56542009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5655
5656 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5657 long type.
5658 (test_unlink): Correct printf string.
5659 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5660 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5661
8172766a
JK
56622009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5663
5664 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5665 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5666 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5667
0f73703c
UW
56682009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5669
5670 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5671 * gdb.objc/nondebug.exp: Likewise.
5672
b32306ca
UW
56732009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5674
5675 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5676 target_info setting.
5677
5678 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5679 that detect new threads during "info threads".
5680
0057022f
UW
56812009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5682
5683 * gdb.threads/manythreads.c (main): Increase thread stack size
5684 to 2*PTHREAD_STACK_MIN.
5685 * gdb.threads/multi-create.c (main): Likewise.
5686 (create_function): Likewise.
5687
f29c0325
UW
56882009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5689
5690 * gdb.base/dump.exp: Pass difference of pointer types instead
5691 of integer types as offset to restore in intarr3.srec case.
5692
fcb34849
UW
56932009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5694
5695 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5696
d5142e3b
UW
56972009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5698
5699 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5700
087b74b2 57012009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5702
087b74b2
PM
5703 New test for two watchpoints, with disabling of
5704 the first inserted.
5705 * testsuite/gdb.base/watchpoints.c: New file.
5706 * testsuite/gdb.base/watchpoints.exp: New file.
5707
96c07c5b
TT
57082009-09-25 Tom Tromey <tromey@redhat.com>
5709
5710 * gdb.base/charset.exp: Test utf-16 strings with Python.
5711
b8899f2b
TT
57122009-09-25 Tom Tromey <tromey@redhat.com>
5713
5714 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5715 UCS-4.
5716 * gdb.base/charset.c (utf_32_string): Rename.
5717 (init_utf32): Rename.
5718 (main): Update.
5719
329719ec
TT
57202009-09-22 Tom Tromey <tromey@redhat.com>
5721
5722 * gdb.python/py-function.exp: Add regression tests.
5723
11ef0d76
KS
57242009-09-21 Keith Seitz <keiths@redhat.com>
5725
5726 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5727 with invalid operator.
5728
3fe8f3b3
KS
57292009-09-21 Keith Seitz <keiths@redhat.com>
5730
5731 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5732 and destructor using typedef name of class.
5733 * gdb.cp/classes.cc (class Base1): Add a destructor.
5734 (base1): New typedef.
5735 (use_methods): Instanitate an object of type base1.
5736 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5737 (do_tests): Call test_template_typedef.
5738 * gdb.cp/templates.cc (Baz::~Baz): New method.
5739 (intBazOne): New typedef.
5740 (main): Instantiate intBazOne.
5741
7a9fe101
PM
57422009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5743
5744 PR python/10633
5745
5746 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5747 Function.
5748 (run_lang_tests): Add print elements test.
5749
2e4d963f
PM
57502009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5751
5752 * gdb.python/py-value.exp (test_subscript_regression): New
5753 function. Test for invalid subscripts.
5754 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5755 (ptr_ref): New function.
5756
ec7e75e7
PP
57572009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5758
5759 * gdb.base/default.exp: Fix "show convenience".
5760
0cc7d26f
TT
57612009-09-15 Tom Tromey <tromey@redhat.com>
5762
5763 * lib/mi-support.exp (mi_create_varobj): Update.
5764 (mi_create_floating_varobj): Likewise.
5765 (mi_create_dynamic_varobj): New proc.
5766 (mi_varobj_update): Update.
5767 (mi_varobj_update_with_type_change): Likewise.
5768 (mi_varobj_update_kv_helper): New proc.
5769 (mi_varobj_update_dynamic_helper): Rewrite.
5770 (mi_varobj_update_dynamic): New proc.
5771 (mi_list_varobj_children): Update.
5772 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5773 * gdb.python/python-prettyprint.py (pp_outer): New class.
5774 (pp_nullstr): Likewise.
5775 (lookup_function): Register new printers.
5776 * gdb.python/python-prettyprint.c (struct substruct): New type.
5777 (struct outerstruct): Likewise.
5778 (substruct_test): New function.
5779 (struct nullstr): New type.
5780 (string_1, string_2): New globals.
5781 (main): Add new tests.
5782 * gdb.python/python-mi.exp: Added regression tests.
5783 * gdb.mi/mi2-var-display.exp: Update.
5784 * gdb.mi/mi2-var-cmd.exp: Update.
5785 * gdb.mi/mi2-var-child.exp: Update.
5786 * gdb.mi/mi2-var-block.exp: Update.
5787 * gdb.mi/mi-var-invalidate.exp: Update.
5788 * gdb.mi/mi-var-display.exp: Update.
5789 * gdb.mi/mi-var-cmd.exp: Update.
5790 * gdb.mi/mi-var-child.exp: Update.
5791 * gdb.mi/mi-var-block.exp: Update.
5792 * gdb.mi/mi-break.exp: Update.
5793 * gdb.mi/gdb701.exp: Update.
5794
a96d9b2e
SDJ
57952009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5796
5797 * Makefile.in: Inclusion of catch-syscall object.
5798 * gdb.base/catch-syscall.c: New file.
5799 * gdb.base/catch-syscall.exp: New file.
5800
b43b923a
MS
58012009-09-12 Michael Snyder <msnyder@vmware.com>
5802
5803 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5804 that can support reverse debuggnig.
5805
cec03d70
TT
58062009-09-11 Tom Tromey <tromey@redhat.com>
5807
5808 * gdb.dwarf2/valop.S: New file.
5809 * gdb.dwarf2/valop.exp: New file.
5810
e23bb3fc
MK
58112009-09-11 Mark Kettenis <kettenis@gnu.org>
5812
5813 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5814
37c3696d
DE
58152009-09-10 Doug Evans <dje@google.com>
5816
5817 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5818 Add $gdb_prompt to second breakpoint regexp.
5819
5172aecb
JB
58202009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5821
5822 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5823 names, add missing ones.
5824 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5825 * gdb.python/py-frame.c: Rename from python-frame.c.
5826 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5827 testfile name.
5828 * gdb.python/py-function.exp: Rename from python-function.exp.
5829 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5830 testfile name.
5831 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5832 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5833 Adjust testfile name.
5834 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5835 * gdb.python/py-template.cc: Rename from python-template.cc.
5836 * gdb.python/py-template.exp: Rename from python-template.exp.
5837 Adjust testfile name.
5838 * gdb.python/py-value.c: Rename from python-value.c.
5839 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5840 testfile name.
5841
b554e4bd
JK
58422009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5843
5844 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5845 $bpt2address.
5846 (Second breakpoint address is valid on ia64)
5847 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5848
9a68ae16
JM
58492009-09-03 Joseph Myers <joseph@codesourcery.com>
5850
5851 * gdb.base/ending-run.exp: Restrict regular expression matching
5852 line number to require closing brace following.
5853
146b9145
DE
58542009-09-03 Doug Evans <dje@google.com>
5855
5856 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5857
787d21e1
TT
58582009-09-02 Tom Tromey <tromey@redhat.com>
5859
5860 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5861
e7802207
TT
58622009-09-02 Tom Tromey <tromey@redhat.com>
5863
5864 * gdb.dwarf2/callframecfa.exp: New file.
5865 * gdb.dwarf2/callframecfa.S: New file.
5866
817aadd2
JK
58672009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5868
5869 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5870 gdb.base/solib-overlap-main.c: New.
5871
4a76eae5
DJ
58722009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5873
5874 PR gdb/10565
5875
5876 * gdb.base/bitfields.c (struct container, container): New.
5877 (main): Initialize it and call break5.
5878 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5879
d4b96c9a
JK
58802009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5881
5882 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5883 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5884
4e22772d
JK
58852009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5886
5887 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5888
2efab443
MS
58892009-08-26 Michael Snyder <msnyder@vmware.com>
5890
5891 * gdb.base/i386-reverse.c: New file.
5892 * gdb.base/i386-reverse.exp: New file.
5893 * gdb.base/Makefile.in: Add new files to be removed.
5894
07ab73a0
JM
58952009-08-26 Joseph Myers <joseph@codesourcery.com>
5896
5897 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5898 environment-pwd for remote host.
5899 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5900
676accff
KS
59012009-08-24 Keith Seitz <keiths@redhat.com>
5902
5903 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5904 Add two new C++ completer tests which limit the output to a
889bf7c5 5905 given class.
676accff 5906
f9f7ad22
MS
59072009-08-24 Michael Snyder <msnyder@vmware.com>
5908
5909 * gdb.base/del.exp: Fix typo in comment.
5910 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5911
81ecdfbb
RW
59122009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5913
5914 * configure: Regenerate.
5915 * gdb.hp/configure: Likewise.
5916 * gdb.hp/gdb.aCC/configure: Likewise.
5917 * gdb.hp/gdb.base-hp/configure: Likewise.
5918 * gdb.hp/gdb.compat/configure: Likewise.
5919 * gdb.hp/gdb.defects/configure: Likewise.
5920 * gdb.hp/gdb.objdbg/configure: Likewise.
5921 * gdb.stabs/configure: Likewise.
5922
cab0c772
UW
59232009-08-19 Doug Evans <dje@google.com>
5924
5925 * gdb.base/gdbvars.c: New file.
5926 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5927
b8fa0bfa
PA
59282009-08-14 Pedro Alves <pedro@codesourcery.com>
5929
5930 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5931 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5932
b84aa90a
PA
59332009-08-13 Pedro Alves <pedro@codesourcery.com>
5934
5935 * gdb.base/default.exp: Adjust "set language test": it's now an
5936 enum command. Larger help string moved to "help set language".
5937 * gdb.base/help.exp: Adjust "help set language" expected output,
5938 now lists all known languages.
5939
0d8f9b2c
NF
59402009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5941
5942 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5943 all frame arguments.
5944 * gdb.arch/altivec-regs.exp: Likewise.
5945
bda180e0
TT
59462009-08-07 Tom Tromey <tromey@redhat.com>
5947
5948 * gdb.base/setshow.exp: Add tests for changes to set language, set
5949 check range, and set check type.
5950
48cb2d85
VP
59512009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5952
5953 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5954 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5955 Call it.
48cb2d85 5956
1ea34204
UW
59572009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5958
5959 * configure.ac: Run gdb.cell tests when appropriate.
5960 * configure: Regenerate.
5961 * lib/cell.exp: New file.
5962 * gdb.cell: New directory.
5963 * gdb.cell/configure.ac: New file.
5964 * gdb.cell/configure: New file.
5965 * gdb.cell/Makefile.in: New file.
5966 * gdb.cell/arch.exp: New file.
5967 * gdb.cell/break.c: New file.
5968 * gdb.cell/break.exp: New file.
5969 * gdb.cell/break-spu.c: New file.
5970 * gdb.cell/bt.c: New file.
5971 * gdb.cell/bt2-spu.c: New file.
5972 * gdb.cell/bt-spu.c: New file.
5973 * gdb.cell/bt.exp: New file.
5974 * gdb.cell/coremaker.c: New file.
5975 * gdb.cell/coremaker-spu.c: New file.
5976 * gdb.cell/core.exp: New file.
5977 * gdb.cell/gcore.exp: New file.
5978 * gdb.cell/data.c: New file.
5979 * gdb.cell/data.exp: New file.
5980 * gdb.cell/data-spu.c: New file.
5981 * gdb.cell/ea-cache.exp: New file.
5982 * gdb.cell/ea-cache.c: New file.
5983 * gdb.cell/ea-cache-spu.c: New file.
5984 * gdb.cell/ea-standalone.c: New file.
5985 * gdb.cell/ea-standalone.exp: New file.
5986 * gdb.cell/ea-test.c: New file.
5987 * gdb.cell/ea-test.exp: New file.
5988 * gdb.cell/f-regs.exp: New file.
5989 * gdb.cell/mem-access.c: New file.
5990 * gdb.cell/mem-access.exp: New file.
5991 * gdb.cell/mem-access-spu.c: New file.
5992 * gdb.cell/ptype.exp: New file.
5993 * gdb.cell/registers.exp: New file.
5994 * gdb.cell/size.c: New file.
5995 * gdb.cell/sizeof.exp: New file.
5996 * gdb.cell/size-spu.c: New file.
5997 * gdb.cell/solib.exp: New file.
5998 * gdb.cell/solib-symbol.exp: New file.
5999
85e747d2
UW
60002009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6001
6002 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6003
58d6951d
DJ
60042009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6005
6006 * gdb.base/float.exp: Handle VFP registers.
6007
6e0a4f15
MS
60082009-07-14 Michael Snyder <msnyder@vmware.com>
6009
dcd5da87
MS
6010 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6011 to bring gdb to the beginning of the calling line.
6012
6e0a4f15
MS
6013 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6014 confusing the i386 epilogue unwinder.
6015
782b2b07
SS
60162009-07-14 Stan Shebs <stan@codesourcery.com>
6017
6018 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6019
f662c3bc
MS
60202009-07-14 Michael Snyder <msnyder@vmware.com>
6021
6022 * gdb.reverse/step-reverse.exp (stepi into function call):
6023 Call instruction may not be first instruction in the line.
6024 (reverse stepi from a function call): Used wrong line number.
6025
8f313923
JK
60262009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6027
6028 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6029
4662c76e
JK
60302009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6031
6032 Fix gdb.base/macscp.exp when using custom inputrc.
6033 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6034 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6035 env(TERM) set.
6036 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6037 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6038
aa81e255
JK
60392009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6042 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6043 Change the compilation target to match the testcase name.
6044 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6045 testcase name.
6046 * a2-run.exp: Use for setup prepare_for_testing. Change the
6047 compilation target to match the testcase name.
6048 * gdb.base/commands.exp: Likewise.
6049 * gdb.base/finish.exp: Likewise.
6050 * gdb.base/float.exp: Likewise.
6051 * gdb.base/info-target.exp: Likewise.
6052 * gdb.base/relational.exp: Likewise.
6053 * gdb.base/term.exp: Likewise.
6054 * gdb.base/until.exp: Likewise.
6055 * gdb.base/volatile.exp: Likewise.
6056 * gdb.base/whatis-exp.exp: Likewise.
6057
4c93b1d7
HZ
60582009-07-11 Hui Zhu <teawater@gmail.com>
6059
6060 * gdb.base/help.exp (disassemble): Update expected help text.
6061
812f7342
TT
60622009-07-09 Tom Tromey <tromey@redhat.com>
6063
6064 * lib/gdb.exp: Handle TRANSCRIPT.
6065 (remote_spawn, remote_close, send_gdb): New procs.
6066
fbb8f299
PM
60672009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6068
6069 * gdb.python/python-prettyprint.c: Add counted null string
6070 structure.
6071 * gdb.python/python-prettyprint.exp: Print null string. Test for
6072 embedded nulls.
6073 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6074 * gdb.python/python-value.exp (test_value_in_inferior): Add
6075 variable length string fetch tests.
6076 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6077
c0ac0ec7
JK
60782009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6079
6080 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6081
30b66ecc
TT
60822009-07-07 Tom Tromey <tromey@redhat.com>
6083
6084 * gdb.base/call-rt-st.exp: Update for change to escape output.
6085 * gdb.base/callfuncs.exp: Likewise.
6086 * gdb.base/charset.exp: Likewise.
6087 * gdb.base/constvars.exp: Likewise.
6088 * gdb.base/long_long.exp: Likewise.
6089 * gdb.base/pointers.exp: Likewise.
6090 * gdb.base/printcmds.exp: Likewise.
6091 * gdb.base/setvar.exp: Likewise.
6092 * gdb.base/store.exp: Likewise.
6093 * gdb.cp/ref-types.exp: Likewise.
6094 * gdb.mi/mi-var-child.exp: Likewise.
6095 * gdb.mi/mi-var-display.exp: Likewise.
6096 * gdb.mi/mi2-var-display.exp: Likewise.
6097 * gdb.base/charset.exp: Test octal escape sequence length.
6098 Update for change to escape output.
6099
187c4a2b
JK
61002009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6101
6102 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6103
d80a43f9
DJ
61042009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6105
6106 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6107
047427a8
JK
61082009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6109
6110 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6111 gdbserver increasing $portnum if "Can't bind address" has been seen.
6112
8b5a0f4f
PA
61132009-07-05 Pedro Alves <pedro@codesourcery.com>
6114
6115 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6116 mingw32ce.
6117
7d93ba58
PA
61182009-07-05 Pedro Alves <pedro@codesourcery.com>
6119
6120 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6121 VFP format.
6122
2277426b
PA
61232009-07-02 Pedro Alves <pedro@codesourcery.com>
6124
6125 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6126 linux. Adjust to use "inferior", "info inferiors", "detach
6127 inferior" and "kill inferior" instead of "restart", "info fork",
6128 "detach fork" and "delete fork".
6129 * gdb.base/ending-run.exp: Spell out "info".
6130 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6131 the "kill" command.
6132
5af949e3
UW
61332009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6134
6135 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6136 change to prefix TLS offset in hex with 0x.
6137
5d3729b5
UW
61382009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6139
6140 * gdb.base/default.exp: Update test case for "x" changes.
6141
af589bd0
TG
61422009-07-01 Tristan Gingold <gingold@adacore.com>
6143
6144 * gdb.base/bigcore.exp: Make darwin untested.
6145
40974f91
JK
61462009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6147
6148 * gdb.base/completion.exp (directory completion): Create the directory.
6149 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6150 escapeuniquesub.
6151 (directory completion 2): Expect now ${escapeuniquesub}.
6152 (Glob remaining of directory test): Remove one excessive newline.
6153 Expect the real output.
6154
59dd3af6
JK
61552009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 Fix `make check//%' target after `make check' has been ran.
6158 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6159 a mkdir call.
6160 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6161 (%/.dir): Remove.
6162
f4e164aa
JK
61632009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6164
6165 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6166 the expected result record.
6167
69af2122
JK
61682009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Remove racy FAILs relying just on the timeouts.
6171 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6172 (annotation_level 2): Remove racy FAILs.
6173
2fd481e1
PP
61742009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6175
6176 gdb/10275
889bf7c5
PA
6177 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6178
c38f313d
DJ
61792009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6180
6181 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6182
8b777f02
VP
61832009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6184
6185 * gdb.mi/mi-stack.exp: Testing symbolic options
6186 to -stack-list-locals and -stack-list-arguments.
6187
00c7eacf
JK
61882009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6191
6bc80edc
TT
61922009-06-29 Tom Tromey <tromey@redhat.com>
6193
6194 * dg-extract-results.sh: New file.
6195 * Makefile.in (FORCE_PARALLEL): New variable.
6196 (CHECK_TARGET): New conditional variable.
6197 (check): Use CHECK_TARGET.
6198 (DO_RUNTEST): New variable.
6199 (check-single): New target.
6200 (TEST_DIRS): New variable.
6201 (TEST_TARGETS): Likewise.
6202 (check-parallel): New target.
6203 (check-gdb.%): New pattern.
6204 (BASE1_FILES): New variable.
6205 (BASE2_FILES): Likewise.
6206 (check-gdb.base%): New pattern.
6207 (%/.dir): New pattern.
6208 * configure: Rebuild.
6209 * aclocal.m4 (AM_CONDITIONAL): New defun.
6210 * configure.ac: Check whether user is using GNU make.
6211 (GMAKE): New conditional.
6212
794684b6
SW
62132009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6214
6215 * gdb.cp/namespace-nested-import.cc: New test.
6216 * gdb.cp/namespace-nested-import.exp: New test.
6217
edb3359d
DJ
62182009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6219
6220 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6221 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6222 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6223 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6224 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6225 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6226 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6227 gdb.opt/inline-markers.c: New files.
6228 * lib/gdb.exp (skip_inline_frame_tests): New function.
6229 (skip_inline_var_tests): New function.
6230
cf657a0c
AS
62312009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6232
6233 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6234 backtrace.
6235
28d41a99
MS
62362009-06-27 Michael Snyder <msnyder@vmware.com>
6237
6238 * gdb.reverse: New directory.
6239 * gdb.reverse/break-reverse.c: New test.
6240 * gdb.reverse/break-reverse.exp: New test.
6241 * gdb.reverse/consecutive-reverse.c: New test.
6242 * gdb.reverse/consecutive-reverse.exp: New test.
6243 * gdb.reverse/finish-reverse.c: New test.
6244 * gdb.reverse/finish-reverse.exp: New test.
6245 * gdb.reverse/machinestate.c: New test.
6246 * gdb.reverse/ms1.c: New test.
6247 * gdb.reverse/machinestate.exp: New test.
6248 * gdb.reverse/Makefile.in: New file.
6249 * gdb.reverse/shr2.c: New test.
6250 * gdb.reverse/solib-reverse.c: New test.
6251 * gdb.reverse/solib-reverse.exp: New test.
6252 * gdb.reverse/step-reverse.c: New test.
6253 * gdb.reverse/step-reverse.exp: New test.
6254 * gdb.reverse/until-reverse.c: New test.
6255 * gdb.reverse/ur1.c: New test.
6256 * gdb.reverse/until-reverse.exp: New test.
6257 * gdb.reverse/watch-reverse.c: New test.
6258 * gdb.reverse/watch-reverse.exp: New test.
6259 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6260 * configure: Regenerate.
6261
fe3c8b0d
DE
62622009-06-26 Doug Evans <dje@google.com>
6263
6264 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6265
3a72a602
PM
62662009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6267
6268 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6269 windows problem for 'file delete $binfile'.
6270
27aa8d6a
SW
62712009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6272
6273 * gdb.cp/namespace-using.exp: New test.
6274 * gdb.cp/namespace-using.cc: New test.
6275
8ac055f8
JB
62762009-05-20 Joel Brobecker <brobecker@adacore.com>
6277
6278 * gdb.ada/variant_record_packed_array: New testcase.
6279
85e306ed
TT
62802009-06-23 Tom Tromey <tromey@redhat.com>
6281
6282 * gdb.base/charset.exp (test_combination): Regression test.
6283 * gdb.base/charset.c (my_wchar_t): New typedef.
6284 (myvar): New global.
6285 (main): Set myvar.
6286
56643c5e
PM
62872009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6288
6289 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6290 target.
6291
1fac167a
UW
62922009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6293
6294 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6295
7ccb0be9
UW
62962009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6297
6298 * gdb.mi/gdb680.exp: Update test for error message.
6299
568d6575
UW
63002009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6301
6302 * gdb.base/annota1.exp: Allow multiple occurrences of the
6303 frames-invalid annotation.
6304 * gdb.cp/annota2.exp: Likewise.
6305
7cd1089b
PM
63062009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6307
6308 * gdb.cp/gdb2495.cc: New file.
6309 * gdb.cp/gdb2495.exp: New file.
6310
72c63395
JK
63112009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 Report error on GDB crash during runto.
6314 * lib/gdb.exp (runto <eof>): New.
6315
3788363d
DJ
63162009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6317
6318 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6319 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6320 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6321 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6322 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6323 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6324 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6325 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6326 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6327 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6328 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6329 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6330 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6331 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6332 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6333 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6334 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6335 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6336 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6337 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6338 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6339 gdb.trace/passcount.exp, gdb.trace/report.exp,
6340 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6341 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6342 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6343 executable.
6344
17592de3
PA
63452009-06-07 Pedro Alves <pedro@codesourcery.com>
6346
6347 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6348 defined before referencing it.
6349
701e355d
DE
63502009-06-03 Doug Evans <dje@google.com>
6351
6352 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6353 * gdb.arch/i386-see.c: Ditto.
6354
f2292c65
PM
63552009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6356
6357 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6358 (check_macro): Return 1 if undefined.
6359 If first test fails, check if macro debug information is available,
6360 and report unsupported test if no macro information is found.
6361
5a437975
DE
63622009-05-29 Doug Evans <dje@google.com>
6363
6364 * gdb.threads/hand-call-in-threads.exp: New.
6365 * gdb.threads/hand-call-in-threads.c: New.
6366
c141c696
MS
63672009-05-29 Michael Snyder <msnyder@vmware.com>
6368
6369 * gdb.base/break-always.exp: Change "1" to "on".
6370 Add confirmation check.
6371
b3444185
PA
63722009-05-28 Pedro Alves <pedro@codesourcery.com>
6373
6374 * gdb.threads/threxit-hop-specific.c: New.
6375 * gdb.threads/threxit-hop-specific.exp: New.
6376 * gdb.threads/thread-execl.c: New.
6377 * gdb.threads/thread-execl.exp: New.
6378
b6313243
TT
63792009-05-27 Tom Tromey <tromey@redhat.com>
6380 Thiago Jung Bauermann <bauerman@br.ibm.com>
6381
6382 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6383 (mi_child_regexp): Likewise.
6384 (mi_list_varobj_children_range): Likewise.
6385 (mi_get_features): Likewise.
6386 (mi_list_varobj_children): Rewrite.
6387 * gdb.python/python-mi.exp: New file.
6388
a6bac58e
TT
63892009-05-27 Tom Tromey <tromey@redhat.com>
6390 Thiago Jung Bauermann <bauerman@br.ibm.com>
6391 Phil Muldoon <pmuldoon@redhat.com>
6392 Paul Pluzhnikov <ppluzhnikov@google.com>
6393
6394 * gdb.python/python-prettyprint.exp: New file.
6395 * gdb.python/python-prettyprint.c: New file.
6396 * gdb.python/python-prettyprint.py: New file.
6397 * gdb.base/display.exp: print/r is now valid.
6398
2c74e833
TT
63992009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6400 Tom Tromey <tromey@redhat.com>
6401 Pedro Alves <pedro@codesourcery.com>
6402 Paul Pluzhnikov <ppluzhnikov@google.com>
6403
6404 * gdb.python/python-template.exp: New file.
6405 * gdb.python/python-template.cc: New file.
6406 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6407 tests.
6408 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6409 Call it.
6410 (test_value_after_death): New proc.
6411 * gdb.python/python-value.c (PTR): New typedef.
6412 (main): New variable 'x'.
6413
89c73ade
TT
64142009-05-27 Tom Tromey <tromey@redhat.com>
6415
6416 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6417 tests.
6418 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6419 Call it.
6420
a75724bc
PA
64212009-05-27 Pedro Alves <pedro@codesourcery.com>
6422
6423 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6424
e58b0e63
PA
64252009-05-24 Pedro Alves <pedro@codesourcery.com>
6426
6427 * gdb.threads/fork-thread-pending.c: New.
6428 * gdb.threads/fork-thread-pending.exp: New.
6429
4ac36638
JK
64302009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6431
6432 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6433 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6434
889bf7c5 64352009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6436
889bf7c5 6437 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6438
b242c3c2
PA
64392009-05-17 Pedro Alves <pedro@codesourcery.com>
6440
6441 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6442 `gdb_get_line_number'. Call `callee' in both parent and child.
6443 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6444 `gdb_get_line_number' instead of hardcoding line numbers.
6445 (catch_fork_unpatch_child): New procedure to test detaching
6446 breakpoints from child fork.
6447 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6448 hardcoding line numbers.
6449 (do_fork_tests): Run `catch_fork_unpatch_child'.
6450
ee342b23
VP
64512009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6452
6453 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6454 of structure type enters or leaves the scope, it
6455 is reported by -var-update.
6456
e2009e98
DE
64572009-05-11 Doug Evans <dje@sebabeach.org>
6458
6459 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6460 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6461 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6462
00903456
JK
64632009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6464
6465 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6466
dc621c35
DE
64672009-04-30 Doug Evans <dje@google.com>
6468
6469 * gdb.threads/watchthreads2.exp: New testcase.
6470 * gdb.threads/watchthreads2.c: New testcase.
6471
9ab4e744
DE
64722009-04-29 Doug Evans <dje@google.com>
6473
6474 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6475 * gdb.cp/mb-ctor.cc: Ditto.
6476 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6477 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6478 * gdb.cp/mb-inline1.cc: Call it.
6479 * gdb.cp/mb-inline2.cc: Ditto.
6480 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6481 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6482
484086b7
JK
64832009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6484
6485 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6486 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6487 Replace all uses of `decimal' by `nonzero'.
6488 (info macro FROM_COMMANDLINE): New test.
6489
379a77b5
TT
64902009-04-27 Tom Tromey <tromey@redhat.com>
6491
6492 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6493
b92b73c2
DE
64942009-04-27 Doug Evans <dje@google.com>
6495
6496 * gdb.threads/watchthreads.c (main): Initialize args before starting
6497 the threads. Plus formatting cleanup.
6498 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6499 biased scheduling of one thread.
6500
945a118d
JG
65012009-04-27 Jerome Guitton <guitton@adacore.com>
6502
6503 * gdb.cp/templates.cc (GetMax): New template.
6504 (main): Declare two instances of GetMax.
6505 * gdb.cp/templates.exp: Add new test.
6506
d389af10
JK
65072009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6510
e7f86de9
JM
65112009-04-22 Joseph Myers <joseph@codesourcery.com>
6512
6513 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6514
334cc82d
TT
65152009-04-15 Tom Tromey <tromey@redhat.com>
6516
6517 * gdb.base/charset.exp: Add regression test.
6518
d12672cc
JB
65192009-04-14 Joel Brobecker <brobecker@adacore.com>
6520
6521 * gdb.base/exe-lock.exp: New testcase.
6522
18e8c3bc
TT
65232009-04-13 Tom Tromey <tromey@redhat.com>
6524
6525 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6526 operator on Frame.
6527
5ecd5cbe
UW
65282009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6529
6530 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6531 * gdb.server/ext-attach.exp: Likewise.
6532
7309f756
VP
65332009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6534
6535 Eliminate some sleep usage.
6536
889bf7c5
PA
6537 * gdb.mi/basics.c (do_nothing): New.
6538 (main): Use do_nothing instead of printf, so that
6539 not to introduce race condition between output of
6540 inferiour and output of gdb. Do not use sleep as it
6541 is not generally available on embedded targets.
7309f756 6542
f4b95f6f
PA
65432009-04-02 Pedro Alves <pedro@codesourcery.com>
6544
6545 * gdb.server/ext-attach.exp: Expect an optional process id after
6546 "Detached from remote process".
6547
de40b933
JK
65482009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6549
6550 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6551 gdb.dwarf2/dw2-unresolved.exp: New.
6552
2ae101a4
PA
65532009-04-02 Pedro Alves <pedro@codesourcery.com>
6554
6555 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6556 mi_run_to_main.
6557
56a8e183
PA
65582009-04-02 Pedro Alves <pedro@codesourcery.com>
6559
6560 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6561 mi_run_to_main. Skip thread exit test on remote targets.
6562 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6563 mi_run_to_main.
6564 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6565 mi_run_to_main.
6566 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6567 when expecting ^connected. Detect when the target doesn't support
6568 non-stop mode.
6569 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6570 supported. Return -1 on error, 0 on success.
6571 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6572 (mi_runto): Return mi_runto_helper's result explicitly.
6573
c35fafde
PA
65742009-04-01 Pedro Alves <pedro@codesourcery.com>
6575
6576 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6577
f8a8dce6
JB
65782009-04-01 Tom Tromey <tromey@redhat.com>
6579
6580 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6581 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6582 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6583 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6584
71c25dea
TT
65852009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6586 Jan Kratochvil <jan.kratochvil@redhat.com>
6587
6588 PR gdb/931
6589 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6590 output.
6591 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6592 for gdb/931.
6593 * dw2-strp.S (DW_AT_language): Change to C++.
6594 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6595
02d9a9ce
JB
65962009-03-31 Joel Brobecker <brobecker@adacore.com>
6597
6598 * gdb.ada/tasks: New testcase.
6599
1042e4c0
SS
66002009-03-30 Stan Shebs <stan@codesourcery.com>
6601
6602 * gdb.trace/actions.exp: Update to match new info trace format.
6603 * gdb.trace/deltrace.exp: Ditto.
6604 * gdb.trace/infotrace.exp: Ditto.
6605 * gdb.trace/passcount.exp: Ditto.
6606 * gdb.trace/save-trace.exp: Ditto.
6607 * gdb.trace/while-stepping.exp: Ditto.
6608 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6609
f8f6f20b
TJB
66102009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6611
6612 * gdb.python/python-frame.c: New file.
6613 * gdb.python/python-frame.exp: New file.
6614
c0c6f777
TJB
66152009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6616
6617 * gdb.python/python-value.exp: Add tests for the address
6618 attribute.
6619
3cb51905
AS
66202009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6621
6622 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6623
88fc996f
DE
66242009-03-26 Doug Evans <dje@google.com>
6625
6626 * gdb.mi/mi-nonstop-exit.exp: New file.
6627 * gdb.mi/non-stop-exit.c: New file.
6628
56ef84b1
TT
66292009-03-26 Tom Tromey <tromey@redhat.com>
6630
6631 Update for change to prologue skipping:
6632 * gdb.mi/mi2-simplerun.exp: Update.
6633 * gdb.mi/mi2-break.exp: Update.
6634 * gdb.mi/mi-simplerun.exp: Update.
6635 * gdb.mi/mi-break.exp: Update.
6636 * gdb.base/ending-run.exp: Update.
6637
def2b000
TJB
66382009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6639
6640 * gdb.python/python-value.exp (test_value_in_inferior): Test
6641 gdb.Value.is_optimized_out attribute.
6642
442ddf59
JK
66432009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6644
6645 * gdb.dwarf2/dw2-noloc-main.c: New file.
6646 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6647 (.text): Remove.
6648 (.data): New.
6649 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6650 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6651 (DW_TAG_subprogram func_cu1, noloc): Remove.
6652 (main): New.
6653 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6654 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6655 (file_symbols): New procedure.
6656
a8df5de4
TT
66572009-03-25 Tom Tromey <tromey@redhat.com>
6658
6659 * gdb.base/charset.exp (valid_target_charset): New proc.
6660 Use it to skip tests on invalid charsets.
6661
cc1d7add
PM
66622009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6663
6664 * gdb.base/completion.exp: Add a test for directory completion.
6665
bcd5727b
JK
66662009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6667
6668 Fix a racy FAIL.
6669 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6670 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6671
cc924cad
TJB
66722009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6673
6674 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6675 * gdb.python/python-function.exp: Add test for function returning
6676 a GDB value.
6677
bc3b79fd
TJB
66782009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6679
6680 * gdb.python/python-function.exp: New file.
6681
6c7a06a3
TT
66822009-03-20 Tom Tromey <tromey@redhat.com>
6683
6684 * gdb.base/store.exp: Update for change to escape output.
6685 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6686 to escape output.
6687 * gdb.base/pointers.exp: Update for change to escape output.
6688 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6689 to escape output.
6690 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6691 escape output.
6692 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6693 to escape output.
6694 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6695 escape output.
6696 * gdb.base/setvar.exp: Update for change to escape output.
6697 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6698 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6699 to escape output.
6700 (test_print_string_constants): Likewise.
6701 * gdb.base/charset.exp (valid_host_charset): Check size of
6702 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6703 cases. Handle "auto"-related output.
6704 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6705 (uvar, Uvar): New globals.
6706
c31af87b
JG
67072009-03-19 Jerome Guitton <guitton@adacore.com>
6708
6709 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6710 deltas.
6711 * gdb.ada/fixed_points.exp: Ditto.
6712
51272cf2
PA
67132009-03-18 Pedro Alves <pedro@codesourcery.com>
6714
6715 * return-nodebug.c: Don't include stdio.h.
6716 (init): Delete.
6717 (func): Delete definition and provide extern declaration.
6718 (t): New.
6719 (main): Don't call printf. Call func and store its result in t.
6720 * return-nodebug1.c: New.
6721 * return-nodebug.exp: Don't expect stdio output. Instead, print
6722 the global variable t. Drop printf formatters and cast types from
6723 foreach loop. Don't use prepare_for_testing. Compile
6724 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6725 define FORMAT or CAST.
6726
d24948ac
PP
67272009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6728
6729 * gdb.base/solib-display.exp: Disable test for remote targers.
6730
61ff14c6
JK
67312009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6732
6733 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6734
cb4dce93
JK
67352009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6736
6737 Fix a racy FAIL.
6738 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6739 code from `follow parent, print pids'.
6740 (`follow child, print pids', `follow parent, print pids'): Call it.
6741 Replace `gdb_test "break..."' by gdb_breakpoint.
6742
f7c60c5e
VP
67432009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6744
6745 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6746 sync and async modes.
f7c60c5e 6747
383ace49
JB
67482009-03-12 Joel Brobecker <brobecker@adacore.com>
6749
6750 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6751 that was checked in by mistake. Remove loading of ada.exp, since
6752 this is not necessary in this case.
6753
4ce102af
JB
67542009-03-12 Joel Brobecker <brobecker@adacore.com>
6755
6756 * gdb.ada/ptype_arith_binop.exp: New testcase.
6757
529a2aef
JB
67582009-03-12 Joel Brobecker <brobecker@adacore.com>
6759
6760 * gdb.ada/mod_from_name: New testcase.
6761
8a38181c
JB
67622009-03-12 Joel Brobecker <brobecker@adacore.com>
6763
6764 * gdb.ada/tick_last_segv: New testcase.
6765
11436dee
VP
67662009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6767
61ff14c6 6768 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6769
1f31650a
VP
67702009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6771
61ff14c6
JK
6772 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6773 include the token in ^running and frame info in *stopped.
1f31650a 6774
a3247a22
PP
67752009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6776
6777 * solib-display.exp: New file.
6778 * solib-display-main.c: New file.
6779 * solib-display-lib.c: New file.
61ff14c6 6780
aae64587
PA
67812009-03-05 Pedro Alves <pedro@codesourcery.com>
6782
6783 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6784
44aabfbc
JK
67852009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6786
6787 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6788 (list_and_check_macro): Use more specific test name.
6789 (next to definition): Make the test names unique.
6790
c087fcd3
PM
67912009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6792
6793 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6794
c86cf029
VP
67952009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6796
6797 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6798 notifications.
6799 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6800 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6801 * lib/mi-support.exp (library_loaded_re): New.
6802 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6803
3ea85240
VP
68042009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6805
6806 * gdb.gdb/observer.exp: Use test_notification observer, not
6807 normal_stop, everywhere.
6808 (test_normal_stop_notifications): Rename to...
6809 (test_notifications): ...this.
6810 (test_observer_normal_stop): Rename to...
6811 (test_observer): ...this.
6812
1903f0e6
DE
68132009-02-16 Doug Evans <dje@google.com>
6814
6815 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6816 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6817 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6818 (test_prefixed_syscall,test_int3): New tests.
6819 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6820 (test_prefixed_syscall,test_int3): New tests.
6821
1d33d6ba
VP
68222009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6823
3cb51905
AS
6824 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6825 (mi_expect_interrupt): Likewise.
6826 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6827 response.
1d33d6ba 6828
faafb047
PM
68292009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6830
6831 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6832 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6833 Replace calls to get_valueofx by get_hexadecimal_valueof.
6834
417e16e2
PM
68352009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6836
6837 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6838 (get_integer_valueof): New procedure.
6839 (get_sizeof): Use new get_integer_value_of.
6840 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6841 by get_integer_valueof.
6842
7065b901
TT
68432009-02-13 Tom Tromey <tromey@redhat.com>
6844
6845 * gdb.base/remote.exp (get_sizeof): Remove.
6846 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6847 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6848 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6849 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6850 (get_sizeof): Likewise.
6851
5d7cb8df
JK
68522009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6853
6854 PR fortran/9806
6855 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6856
b2febfff
PP
68572009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6858
6859 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6860
4aa995e1
PA
68612009-02-06 Pedro Alves <pedro@codesourcery.com>
6862
6863 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6864
d8906c6f
TJB
68652009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6866
6867 * gdb.python/python-cmd.exp: New file.
6868
ff4ab08d
TG
68692009-02-06 Tristan Gingold <gingold@adacore.com>
6870
6871 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6872
aacd552b
TG
68732009-02-05 Tristan Gingold <gingold@adacore.com>
6874
6875 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6876 pointer is dereferenced and use this signal name in regexp.
6877 * gdb.base/signull.exp: Ditto.
6878 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6879 * gdb.base/signull.c (main): Ditto.
6880
08c637de
TJB
68812009-02-04 Tom Tromey <tromey@redhat.com>
6882 Thiago Jung Bauermann <bauerman@br.ibm.com>
6883
6884 * gdb.python/python-value.exp: Use `gdb.history' instead of
6885 `gdb.value_from_history'.
6886 (test_value_numeric_ops): Add test for conversion of enum constant.
6887 * gdb.python/python-value.c (enum e): New type.
6888 (evalue): New global.
6889 (main): Use argv.
6890
20261af8
JG
68912009-02-04 Jerome Guitton <guitton@adacore.com>
6892
6893 * gdb.ada/uninitialized_vars: New test program.
6894 * gdb.ada/uninitialized_vars.exp: New testcase.
6895
52e44b43
TT
68962009-02-02 Tom Tromey <tromey@redhat.com>
6897
6898 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6899 * gdb.cp/pr2489.cc: Rename...
6900 * gdb.cp/pr9594.cc: ... to this.
6901
1c71341a
TT
69022009-02-02 Tom Tromey <tromey@redhat.com>
6903
6904 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6905 * gdb.cp/pr2489.cc: New file.
6906 * gdb.cp/cpcompletion.exp: New file.
6907
a4295225
TT
69082009-02-02 Tom Tromey <tromey@redhat.com>
6909
6910 PR exp/9059:
6911 * gdb.cp/call-c.exp: Add regression test.
6912 * gdb.cp/call-c.cc (FooHandle): New typedef.
6913 (main): New variable 'handle'.
6914
592375cd
VP
69152009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6916
6917 * lib/mi-support.exp (et_mi_thread_list)
6918 (check_mi_and_console_threads): Adjust for current thread in
6919 -thread-list-ids output.
6920
41447f92
VP
69212009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6922
889bf7c5
PA
6923 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6924 Call it.
41447f92 6925
35669430
DE
69262009-01-28 Doug Evans <dje@google.com>
6927
6928 * gdb.arch/amd64-disp-step.S: New file.
6929 * gdb.arch/amd64-disp-step.exp: New file.
6930 * gdb.arch/i386-disp-step.S: New file.
6931 * gdb.arch/i386-disp-step.exp: New file.
6932
09f00d9a
PM
69332009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6934
6935 * gdb.base/find.exp: Set newline variable
6936 using quotes instead of braces to fix cygwin failures.
6937
1e8fb976
PA
69382009-01-23 Pedro Alves <pedro@codesourcery.com>
6939
6940 * gdb.base/radix.exp: Add tests to ensure that that set
6941 input-radix 0 and set output-radix 0 are really rejected.
6942
da061712
PA
69432009-01-23 Pedro Alves <pedro@codesourcery.com>
6944
6945 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6946 copyright years.
6947
dd7e2d2b
PA
69482009-01-23 Pedro Alves <pedro@codesourcery.com>
6949
6950 PR gdb/9664:
6951 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6952
392452f6
PA
69532009-01-22 Pedro Alves <pedro@codesourcery.com>
6954
6955 PR c++/9631:
6956 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6957
8653e71c
PM
69582009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6959
6960 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6961 binfile definition to fix Windows OS failure.
6962
a12cc160
DJ
69632009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6964
6965 PR gdb/9346
6966 * gdb.base/interrupt.c (sigint_handler): New.
6967 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6968 on error.
6969 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6970 Test "signal SIGINT".
6971
b89667eb
DE
69722009-01-19 Doug Evans <dje@google.com>
6973
6974 * gdb.base/break.exp: Update expected gdb output.
6975 * gdb.base/sepdebug.exp: Ditto.
6976 * gdb.mi/mi-syn-frame.exp: Ditto.
6977 * gdb.mi/mi2-syn-frame.exp: Ditto.
6978 * gdb.base/call-signal-resume.exp: New file.
6979 * gdb.base/call-signals.c: New file.
6980 * gdb.base/unwindonsignal.exp: New file.
6981 * gdb.base/unwindonsignal.c: New file.
6982 * gdb.threads/interrupted-hand-call.exp: New file.
6983 * gdb.threads/interrupted-hand-call.c: New file.
6984 * gdb.threads/thread-unwindonsignal.exp: New file.
6985
adb483fe
DJ
69862009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6987
6988 * gdb.base/define.exp: Test defining and hooking prefix commands.
6989 * gdb.python/python.exp: Update test for "show user" output.
6990
60023297
JK
69912009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6992
6993 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6994 now the output exactly, using less wildcards. Expect also the output
6995 of gfortran-4.3. Update for the f-valprint.c modification from
6996 2008-04-22.
6997 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6998 Remove gdb_test test names where matching the command.
6999
ccc57cf9
PA
70002009-01-01 Pedro Alves <pedro@codesourcery.com>
7001
7002 PR breakpoints/9681:
7003 * gdb.base/watchpoint.exp: Add regression test.
7004
c7a6ca08
PA
70052008-12-31 Pedro Alves <pedro@codesourcery.com>
7006
7007 * gdb.threads/attach-into-signal.exp: Don't use
7008 gdb_suppress_entire_file.
7009 * gdb.threads/attach-stopped.exp: Ditto.
7010 * gdb.threads/attachstop-mt.exp: Ditto.
7011
3a031f65
PA
70122008-12-31 Pedro Alves <pedro@codesourcery.com>
7013
7014 PR gdb/8812:
7015 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7016
09e6485f
PA
70172008-12-29 Pedro Alves <pedro@codesourcery.com>
7018
7019 PR gdb/7536:
7020 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7021 and unsupported output radices are really rejected.
7022
0cd53049
JK
70232008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7026
ba163c7e
TT
70272008-12-22 Tom Tromey <tromey@redhat.com>
7028
7029 * gdb.cp/punctuator.exp: New file.
7030
6f4de6c9
JK
70312008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7032
7033 * gdb.base/completion.exp (Completing non-existing component): New test.
7034
0f34d0b4
JK
70352008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 Fix for PR gdb/8648.
7038 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7039 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7040 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7041 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7042
db2ad4c3
JK
70432008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7046
bb5ef15e
DP
70472008-12-16 Christophe Lyon <christophe.lyon@st.com>
7048
7049 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7050 compiler actually generate code at the expected line number.
7051
90142adc
JZ
70522008-12-15 Jie Zhang <jie.zhang@analog.com>
7053
7054 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7055
fad6eecd
TT
70562008-12-12 Tom Tromey <tromey@redhat.com>
7057
7058 * gdb.base/commands.exp (redefine_hook_test): New proc.
7059 Call it.
7060
17c8aaf5
TT
70612008-12-11 Tom Tromey <tromey@redhat.com>
7062
7063 * gdb.base/macscp.exp: New regression test.
7064
7c8adf68
TT
70652008-12-11 Tom Tromey <tromey@redhat.com>
7066
7067 * gdb.base/macscp.exp: Print "address.addr".
7068 * gdb.base/macscp1.c (struct outer): New struct.
7069 (address): New global.
7070
b05dcbb7
TT
70712008-12-09 Tom Tromey <tromey@redhat.com>
7072
7073 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7074 Call it.
7075
2d476de1
DE
70762008-12-04 Doug Evans <dje@google.com>
7077
7078 * gdb.server/ext-run.exp: Relax regexp for init program.
7079
87bdc959
TG
70802008-12-03 Tristan Gingold <gingold@adacore.com>
7081
7082 * gdb.base/macscp.exp: Generate an object file during compilation
7083 to work around Darwin dsymutil limitations.
7084
e0740f77
JK
70852008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7086
7087 Test resolving external references to TLS variables.
7088 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7089 FILE2_THREAD_LOCAL.
7090 (testfile2, srcfile2): New variables.
7091 * gdb.threads/tls.c (file2_thread_local)
7092 (function_referencing_file2_thread_local): New.
7093 * gdb.threads/tls2.c: New file.
7094
67f0aac5
JB
70952008-11-28 Joel Brobecker <brobecker@adacore.com>
7096
7097 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
7098 rather than integer, as integer might not be big enough when
7099 on 64bit targets.
67f0aac5 7100
c332165e
JG
71012008-11-27 Jerome Guitton <guitton@adacore.com>
7102
7103 * gdb.cp/formatted-ref.exp: Add equality test.
7104 * gdb.ada/formatted_ref.exp: Ditto.
7105
fc9b693c
JK
71062008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7107
7108 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7109 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7110
a9c64011
AS
71112008-11-20 Andreas Schwab <schwab@suse.de>
7112
7113 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7114 matching syscall entry point.
7115 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7116 (tcatch_vfork_then_child_follow): Likewise. Finish through
7117 vfork even if we stopped at the syscall trampoline.
7118
e2fd701e
DE
71192008-11-20 Doug Evans <dje@google.com>
7120
7121 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7122
69abc51c
TJB
71232008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7124
7125 * gdb.arch/ppc-dfp.exp: New file.
7126 * gdb.arch/ppc-dfp.c: New file.
7127
c14c28ba
PP
71282008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7129
7130 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7131
2e74121d
DE
71322008-11-17 Doug Evans <dje@google.com>
7133
7134 * gdb.mi/mi-syn-frame.exp: Update expected output.
7135 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7136
66bb093b
VP
71372008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7138
7139 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7140 "thread N" results in =thread-selected.
7141 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7142 (mi_send_resuming_command_raw): Be prepared for
7143 =thread-selected.
7144
3d043ef6
VP
71452008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7146
a9c64011
AS
7147 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7148 * lib/mi-support.exp: Likewise.
3d043ef6 7149
808104c8
JB
71502008-11-16 Joel Brobecker <brobecker@adacore.com>
7151
7152 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7153 commands from the expected output for "help catch".
7154
00b22944
JB
71552008-11-15 Joel Brobecker <brobecker@adacore.com>
7156
7157 * gdb.ada/int_deref.exp: New testcase.
7158
59669435
TT
71592008-11-14 Nick Roberts <nickrob@snap.net.nz>
7160
7161 * gdb.mi/gdb2549.exp: New file.
7162
de04a248
DE
71632008-11-11 Doug Evans <dje@google.com>
7164
7165 * gdb.base/callexit.exp: New file.
7166 * gdb.base/callexit.c: New file.
7167
6b8ce727
DE
71682008-11-10 Doug Evans <dje@google.com>
7169
7170 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7171 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7172 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7173 (default_gdb_start,default_gdb_exit): Ditto.
7174 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7175 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7176 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7177 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7178 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7179 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7180
1b14b8aa
AS
71812008-11-03 Andreas Schwab <schwab@suse.de>
7182
7183 * gdb.base/hashline2.exp: Fix typo.
7184 * gdb.base/hashline3.exp: Likewise.
7185
f3134b88
TT
71862008-10-30 Tom Tromey <tromey@redhat.com>
7187
7188 * gdb.base/pointers.exp: Add test.
7189 * gdb.base/pointers.c (k, S): New typedefs.
7190 (instance): New global.
7191
c2226152
AS
71922008-10-30 Andreas Schwab <schwab@suse.de>
7193
7194 * gdb.base/args.exp: Add tests for newlines.
7195
462f405c
JB
71962008-10-30 Joel Brobecker <brobecker@adacore.com>
7197
7198 gdb.base/foll-exec.exp: Update the expected output of a couple
7199 of "info breakpoints" tests.
7200
79a45b7d
TT
72012008-10-28 Tom Tromey <tromey@redhat.com>
7202
7203 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7204
adc13a14
PA
72052008-10-24 Pedro Alves <pedro@codesourcery.com>
7206
7207 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7208 gdb_start_cmd.
7209 Use runto_main before any test that requires execution.
7210
252fbfc8
PA
72112008-10-23 Pedro Alves <pedro@codesourcery.com>
7212
7213 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7214 instead of SIGINT.
7215
28148e3d
JB
72162008-10-22 Joel Brobecker <brobecker@adacore.com>
7217
7218 * gdb.base/completion.exp: Update expected output following
7219 the addition of the "info tasks" command.
7220
c209f847
TT
72212008-10-22 Tom Tromey <tromey@redhat.com>
7222
7223 * gdb.base/exprs.exp (test_expr): Add test for string
7224 concatenation.
7225
f177e350
PA
72262008-10-19 Pedro Alves <pedro@codesourcery.com>
7227
7228 * configure.ac: Output gdb.python/Makefile.
7229 * configure: Regenerate.
7230 * gdb.python/Makefile.in: New.
7231
cce89356
JB
72322008-10-16 Joel Brobecker <brobecker@adacore.com>
7233
7234 * gdb.base/foll-fork.exp: Adjust the expected output to match
7235 the new description for fork/vfork catchpoints in the "info
7236 breakpoints" output.
7237
176d289d
TJB
72382008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7239
7240 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7241
a08702d6
TJB
72422008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7243
7244 * gdb.python/python-value.c: New file.
7245 * gdb.python/python-value.exp: New file.
7246
1c5cfe86
PA
72472008-10-15 Pedro Alves <pedro@codesourcery.com>
7248
7249 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7250
5a98ad69
DP
72512008-10-15 Denis Pilat <denis.pilat@st.com>
7252
41702f1b 7253 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7254
dcb1a1e2
TT
72552008-10-09 Tom Tromey <tromey@redhat.com>
7256
7257 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7258 'fprintf' and 'stderr'.
7259
9124fe48
JB
72602008-10-07 Joel Brobecker <brobecker@adacore.com>
7261
7262 * gdb.ada/ref_tick_size.exp: New testcase.
7263
45452591
DE
72642008-10-06 Doug Evans <dje@google.com>
7265
7266 * gdb.dwarf2/dw2-cu-size.exp: New file.
7267 * gdb.dwarf2/dw2-cu-size.S: New file.
7268
7269 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7270 .Ltype_int for clarity.
7271
4fc5b208
PP
72722008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7273
7274 PR gdb/2384:
7275 * gdb.cp/gdb2384.exp: Extended to test more cases.
7276 * gdb.cp/gdb2384.cc: Likewise.
7277 * gdb.cp/gdb2384-base.h: Likewise.
7278 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7279
d78df370
JK
72802008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7281
7282 * gdb.base/maint.exp (maint print type): Remove printing
7283 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7284
9a044a89
TT
72852008-09-30 Tom Tromey <tromey@redhat.com>
7286
7287 * gdb.base/macscp.exp: Add completion tests.
7288 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7289 (TWENTY_THREE): Likewise.
7290 (FORTY_EIGHT): Likewise.
7291
506800a9
TT
72922008-09-30 Tom Tromey <tromey@redhat.com>
7293
7294 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7295 everywhere.
7296 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7297
1a6f01b5
JK
72982008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7299
7300 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7301 testcase is derived from. Fix racy dependency on an expected PID
7302 number. No longer support the testcase on Linux kernel 2.4.x.
7303
2fae03e8
TT
73042008-09-27 Tom Tromey <tromey@redhat.com>
7305
7306 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7307 and varargs.
7308
1ad15515
PA
73092008-09-22 Pedro Alves <pedro@codesourcery.com>
7310
7311 * lib/mi-support.exp (mi_expect_interrupt): New.
7312 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7313 from gdb.mi/mi-nonstop.exp.
7314 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7315 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7316 lib/mi-support.exp.
7317 Use mi_check_thread_states throughout. Avoid ".*" and do not
7318 require an anchor after -exec-run.
7319
d0b76dc6
DJ
73202008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7321
7322 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7323 stop is pending. Avoid ".*" when two stops are pending.
7324 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7325 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7326 newlines in fullnames.
7327 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7328 (mi_expect_stop): Update comments. Only anchor in sync mode.
7329 Do not match newlines.
7330 (mi_send_resuming_command_raw): Always return status.
7331 (mi_get_stop_line): Do not match more than one line by accident.
7332 Only anchor in sync mode.
7333 (mi_run_inline_test): If -exec-next fails, give up.
7334
9990c830
UW
73352008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7336
7337 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7338 on SPU.
7339
ebcf6f00
JB
73402008-09-10 Joel Brobecker <brobecker@adacore.com>
7341
7342 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7343
b6db24e5
JB
73442008-09-10 Joel Brobecker <brobecker@adacore.com>
7345
7346 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7347 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7348 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7349 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7350 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7351 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7352 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7353 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7354 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7355 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7356 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7357 Include the "= " sequence in the expected output of print tests.
7358
2bf448e0
JB
73592008-09-10 Joel Brobecker <brobecker@adacore.com>
7360
7361 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7362 description for boolean types.
7363
d51fd4c8
PA
73642008-09-09 Pedro Alves <pedro@codesourcery.com>
7365
7366 * gdb.base/hook-stop-continue.c: New.
7367 * gdb.base/hook-stop-continue.exp: New.
7368
694182d2
DJ
73692008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7370
7371 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7372
3b8a7fc0
JG
73732008-09-08 Jerome Guitton <guitton@adacore.com>
7374
7375 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7376 (stack_check_probe_2, stack_check_probe_loop_1)
7377 (stack_check_probe_loop_2): New functions.
7378 (main): Add call to these new functions.
7379 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7380 functions, check that the breakpoint is inserted at the appropriate
7381 location.
7382 (insert_breakpoint): Slightly refine this procedure so that it can
7383 be called several times in the test.
7384
96cc0ae8
JG
73852008-09-08 Jerome Guitton <guitton@adacore.com>
7386
7387 * gdb.base/stack-checking.c: New file.
7388 * gdb.base/stack-checking.exp: New file.
7389
1f08b409
TJB
73902008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7391
7392 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7393 * gdb.arch/altivec-regs.exp: Likewise.
7394 * gdb.arch/vsx-regs.exp: Likewise.
7395
3099e1c4
TJB
73962008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7397
7398 * gdb.arch/ppc-fp.exp: New file.
7399 * gdb.arch/ppc-fp.c: New file.
7400
cc69bfc1
PP
74012008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7402
7403 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7404 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7405
b02a33db
MS
74062008-09-04 Michael Snyder <msnyder@vmware.com>
7407
7408 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7409 as "at" (for non-debug functions such as _start).
7410
2992cbe0
UW
74112008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7412
7413 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7414 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7415 software watchpoints.
7416 * gdb.base/watch_thread_num.exp: Likewise.
7417
514f746b
AR
74182008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7419
7420 * gdb.arch/i386-bp_permanent.exp: New test.
7421
876cecd0
TT
74222008-08-24 Tom Tromey <tromey@redhat.com>
7423
7424 * gdb.base/maint.exp: Update "maint print type".
7425
80f73d71
VP
74262008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7427
7428 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7429 support. Adjust the order of "*running" notifications.
7430 * gdb.mi/non-stop.c: Don't cast from int to void* and
7431 back.
7432
d9c78d7d
MK
74332008-08-20 Mark Kettenis <kettenis@gnu.org>
7434
7435 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7436 expect to find it in the "info frame" output.
7437
97a2d1d3
DJ
74382008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7439
7440 * gdb.base/interp.exp: Always consume both prompts.
7441
b96e2927
PA
74422008-08-20 Pedro Alves <pedro@codesourcery.com>
7443
7444 * gdb.base/pending.exp: Test pending breakpoints without symbols
7445 loaded.
7446
8cf6e61a
VP
74472008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7448
7449 * lib/mi-support.exp (mi_expect_stop): Produce
7450 more details on failures.
7451 * gdb.mi/mi-nonstop.exp: New.
7452 * gdb.mi/non-stop.c: New.
7453
c6ebd6cf
VP
74542008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7455
a9c64011
AS
7456 * gdb.mi/mi-async.exp: Use 'set target-async'.
7457 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7458
46a9b8ed
DJ
74592008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7460
7461 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7462
44feb3ce
TT
74632008-08-17 Tom Tromey <tromey@redhat.com>
7464
7465 * gdb.base/help.exp (help catch): Rewrite.
7466
311a4e6b
TJB
74672008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7468
7469 * gdb.base/define.exp: Test indented command documentation.
7470 * gdb.python/python.exp: Test indented multi-line command.
7471
604c2f83
LM
74722008-08-15 Luis Machado <luisgpm@br.ibm.com>
7473
7474 * testsuite/gdb.arch/vsx-regs.c: New source file.
7475 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7476 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7477
886a217c
TT
74782008-08-14 Tom Tromey <tromey@redhat.com>
7479
7480 * gdb.base/macscp.exp: Add regression test for "macro define" or
7481 "macro undef" with no arguments.
7482
c814a4f3
PP
74832008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7484
7485 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7486
12ab8a60
UW
74872008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7488
7489 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7490
d57a3c85
TJB
74912008-08-06 Tom Tromey <tromey@redhat.com>
7492
7493 * gdb.python/python.exp: New file.
7494
c7b778ff
JK
74952008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7496
7497 Fix for PR gdb/1543.
7498 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7499 $LOCATION.
7500 (location): New variable.
7501 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7502 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7503 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7504 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7505 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7506 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7507 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7508 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7509 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7510 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7511 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7512 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7513 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7514 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7515 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7516 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7517 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7518 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7519 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7520 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7521 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7522 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7523 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7524 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7525 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7526 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7527 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7528 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7529 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7530 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7531 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7532 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7533 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7534 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7535 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7536 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7537 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7538 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7539 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7540 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7541 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7542 gdb.base/type-opaque.exp, gdb.base/until.exp,
7543 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7544 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7545 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7546 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7547 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7548 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7549 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7550 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7551 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7552 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7553 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7554 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7555 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7556 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7557 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7558 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7559 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7560 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7561 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7562 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7563 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7564 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7565 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7566 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7567 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7568 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7569 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7570 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7571 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7572 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7573 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7574 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7575 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7576 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7577 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7578 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7579 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7580 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7581 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7582 to bug-gdb@prep.ai.mit.edu .
7583
5e06a3d1
VP
75842008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7585
7586 * lib/mi-support.exp (mi_load_shlibs): New.
7587 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7588
9d81d21b
VP
75892008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7590
7591 * lib/mi-support.exp (get_mi_thread_list)
7592 (check_mi_and_console_threads): New, moved from ...
7593 * gdb.mi/mi-pthread.exp: ...here.
7594 * gdb.mi/gdb669.exp (get_mi_thread_list)
7595 (check_mi_and_console_threads): Delete.
7596 * gdb.mi/mi2-pthread.exp: Likewise.
7597
bae98fe0
TT
75982008-07-28 Tom Tromey <tromey@redhat.com>
7599
7600 * Makefile.in (just-check): Remove. Move body to...
7601 (check): ... here.
7602
57380f4e
DJ
76032008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7604
7605 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7606 Add a test for duplicated SIGINTs.
7607
e09490f1
DJ
76082008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7609
7610 * gdb.threads/schedlock.exp (get_args): Update to work for any
7611 value of NUM.
7612 (Top level): Report the number of threads that did not resume.
7613
6387b45f
DJ
76142008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7615
7616 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7617
62f64ff2
DJ
76182008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7619
7620 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7621 non-MI prompt.
7622
fa8de41e
TT
76232008-07-26 Tom Tromey <tromey@redhat.com>
7624
7625 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7626 (function_struct, function_struct_ptr): New globals.
7627 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7628 function pointer in a struct.
7629
ccb3ac8a
TT
76302008-07-26 Tom Tromey <tromey@redhat.com>
7631
7632 * gdb.base/macscp.exp: Add test for macro lexing bug.
7633
d7d9f01e
TT
76342008-07-18 Tom Tromey <tromey@redhat.com>
7635
7636 * gdb.base/macscp.exp: Add macro tests.
7637
9bf07184
PP
76382008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7639
7640 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7641
becf6477
PP
76422008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7643
7644 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7645
0709f7d3
PP
76462008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7647
7648 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7649
7093c834
PP
76502008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7651
7652 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7653
b432ffe3
JK
76542008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7657
b1a268e5
VP
76582008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7659
7660 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7661
e2995f8e
KB
76622008-07-11 Kevin Buettner <kevinb@redhat.com>
7663
7664 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7665 of regexp to account for changes made to GDB in the printing of
7666 byte vectors.
7667
14032a66
TT
76682008-07-11 Tom Tromey <tromey@redhat.com>
7669
7670 * gdb.base/completion.exp: Add 'help' completion test.
7671
981505ef
JK
76722008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7675
10568435
JK
76762008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7677
7678 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7679
4487aabf
PA
76802008-07-09 Pedro Alves <pedro@codesourcery.com>
7681
7682 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7683
a4a9b1c4
PA
76842008-07-09 Pedro Alves <pedro@codesourcery.com>
7685
7686 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7687
3c3185ac
JK
76882008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7689
7690 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7691
7ebd49dc
VP
76922008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7693
7694 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7695 previous commit. Add a comment.
7696
84e46146
PA
76972008-06-28 Pedro Alves <pedro@codesourcery.com>
7698
7699 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7700
0f8d4a2f
VP
77012008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7702
7703 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7704
f747e0ce
PA
77052008-06-27 Pedro Alves <pedro@codesourcery.com>
7706
7707 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7708 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7709 compiling an executable, link in an object that forces unbuffered
7710 output.
7711 * lib/set_unbuffered_mode.c: New file.
7712
734a5c36
JK
77132008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7716
a2840c35
VP
77172008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7718
a9c64011
AS
7719 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7720 mi_expect_stop.
7721 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7722 Demand that *running is output.
7723 (detect_async): Perform checking every time.
7724 (mi_send_resuming_command): Extract everything into...
7725 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7726 (mi_expect_stop): Don't accept any output before *stopped.
7727
6ae37fef
VP
77282008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7729
7730 Robustify mi-simplerun.
a9c64011
AS
7731 * gdb.mi/basics.c (main): Add a call to sleep.
7732 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7733 * gdb.mi/mi2-cli.exp: Likewise.
7734 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7735
b4aa76f0 77362008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7737
7738 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7739
e1ac3328
VP
77402008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7741
a9c64011
AS
7742 * gdb.mi/mi-console.exp: Adjust.
7743 * gdb.mi/mi-syn-frame.exp: Adjust.
7744 * gdb.mi/mi2-console.exp: Adjust.
7745 * gdb.mi/mi2-syn-frame.exp: Adjust.
7746 * lib/mi-support.exp (mi_run_cmd): Adjust.
7747 (mi_send_resuming_command): Adjust.
e1ac3328 7748
f7f9a841
VP
77492008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7750
7751 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7752 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7753 testing of stopped.
7754 * gdb.mi/mi2-syn-frame.exp: Likewise.
7755 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7756 (async, detect_async): New.
7757 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7758 depending on if we're running in sync or async mode.
f7f9a841 7759
37cd5d19
TT
77602008-06-09 Tom Tromey <tromey@redhat.com>
7761
7762 * gdb.base/completion.exp: New tests for field name completion
7763 with spaces, and field name completion with '->'.
7764
65d12d83
TT
77652008-06-06 Tom Tromey <tromey@redhat.com>
7766
7767 * gdb.base/break1.c (struct some_struct): New struct.
7768 (values): New global.
7769 * gdb.base/completion.exp: Add field name completion test.
7770
ebfe2e3f
PP
77712008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7772
7773 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7774 to pointer.
7775 * gdb.cp/call-c.cc: Likewise.
7776
bcf6fc3a
NR
77772008-06-06 Nick Roberts <nickrob@snap.net.nz>
7778
7779 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7780 annotation.
7781
49fd4a42 77822008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7783 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7784
7785 * gdb.threads/execl.c, gdb.threads/execl1.c,
7786 gdb.threads/execl.exp: New tests.
a9c64011 7787
8a34ac3f
AR
77882008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7789 Daniel Jacobowitz <dan@codesourcery.com>
7790
7791 * gdb.cp/exception.exp: Activate test, make it work with pending
7792 catchpoints.
7793
86ae69ef
JK
77942008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7795
7796 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7797
f7f9ae2c
VP
77982008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7799
a9c64011
AS
7800 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7801 now printed.
7802 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7803
2a2d4dc3
AS
78042008-05-27 Andreas Schwab <schwab@suse.de>
7805
7806 * gdb.base/frame-args.exp: Handle arguments that are optimized
7807 out.
7808
5099e4d9
LM
78092008-05-26 Luis Machado <luisgpm@br.ibm.com>
7810
7811 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7812 quiet for ppc32 and group options into a single variable.
7813
d9c36a91
JB
78142008-05-23 Joel Brobecker <brobecker@adacore.com>
7815
7816 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7817 of zero-size elements.
7818 * gdb.ada/null_array.exp: Test printing this new array.
7819
103a8671
JK
78202008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7821
7822 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7823
07a4cc1a 78242008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7825
7826 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7827 of the "finish" command.
7828
55f996a7
NR
78292008-05-21 Nick Roberts <nickrob@snap.net.nz>
7830
7831 * gdb.base/annota1.exp: Test for new annotation.
7832
907fc202
UW
78332008-05-16 Pedro Alves <pedro@codesourcery.com>
7834
7835 * gdb.base/fixsection.exp: New file.
7836 * gdb.base/fixsection0.c: New file.
7837 * gdb.base/fixsection1.c: New file.
7838
e8f97270
UW
78392008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7840
7841 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7842 * gdb.base/annota3.exp: Likewise.
7843
ac0bb574
NF
78442008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7845
7846 * gdb.base/watch_thread_num.exp: Don't run tests that require
7847 watchpoints if the target doesn't support them.
7848
6fadd07a
DE
78492008-05-12 Doug Evans <dje@google.com>
7850
7851 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7852
6e9a4a30
JB
78532008-05-09 Joel Brobecker <brobecker@adacore.com>
7854
7855 * gdb.ada/assign_1.exp: New testcase.
7856
08388c79
DE
78572008-05-09 Doug Evans <dje@google.com>
7858
a3c83fae
DE
7859 * gdb.base/find.exp: New file.
7860 * gdb.base/find.c: New file.
08388c79 7861
bd5ddfe8
DJ
78622008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7863
7864 * gdb.base/commands.exp (watchpoint_command_test): Handle
7865 gdb,no_hardware_watchpoints.
7866 * gdb.base/float.exp: Allow ARM targets without floating point.
7867 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7868
b5dd68e2 78692008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7870 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7871
7872 * gdb.ada/lang_switch: New test program.
7873 * gdb.ada/lang_switch.exp: New testcase.
7874
382d13d1
DE
78752008-05-05 Doug Evans <dje@google.com>
7876
7877 * gdb.base/help.exp (disassemble): Update expected help text.
7878
9dd789d0
PA
78792008-05-04 Pedro Alves <pedro@codesourcery.com>
7880
7881 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7882
611c83ae
PA
78832008-05-04 Pedro Alves <pedro@codesourcery.com>
7884
7885 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7886 different times.
7887
ff013f42
JK
78882008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7889
7890 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7891 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7892 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7893 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7894
96dff6a2
VP
78952008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7896
7897 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7898 notification to appear.
7899
55cd6f92
DJ
79002008-05-04 Daniel Jacobowitz <dan@debian.org>
7901
7902 * gdb.base/fullname.c: New file.
7903 * gdb.base/fullname.exp: New file.
7904 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7905
d705c43c
PA
79062008-05-03 Pedro Alves <pedro@codesourcery.com>
7907
7908 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7909 expressions with macros.
7910
333222e1
JK
79112008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7912
7913 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7914
5ac01682
DJ
79152008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7916
7917 * gdb.base/completion.exp: Handle lack of other symbols beginning
7918 with "a".
7919
7920 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7921
237fc4c9
PA
79222008-05-02 Jim Blandy <jimb@codesourcery.com>
7923
7924 * gdb.asm/asmsrc1.s: Add scratch space.
7925
ed5e9466
DJ
79262008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7927 Daniel Jacobowitz <dan@codesourcery.com>
7928
7929 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7930 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7931 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7932
b39cc962
DJ
79332007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7934
7935 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7936
36d520f5
JB
79372008-05-01 Joel Brobecker <brobecker@adacore.com>
7938
7939 * gdb.base/info-target.exp: New testcase.
7940
8d4e3071
DJ
79412008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7942
7943 * gdb.cp/hang.exp: Use .cc instead of .C.
7944 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7945 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7946
6f3f3097
DJ
79472008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7948
7949 * gdb.base/gdb1250.exp: Remove perror.
7950 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7951
5550a914
PA
79522008-04-30 Pedro Alves <pedro@codesourcery.com>
7953
7954 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7955 .2byte.
7956
d848e687
DJ
79572008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7958
7959 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7960 (maybe_kfail): New.
7961
93b5768b
PA
79622008-04-25 Pedro Alves <pedro@codesourcery.com>
7963
7964 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7965
721c02de
VP
79662008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7967
a9c64011
AS
7968 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7969 * gdb.mi/mi2-syn-frame.exp: Likewise.
7970 * lib/mi-support.exp: Likewise.
721c02de 7971
74960c60
VP
79722008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7973
7974 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7975 to specify regexp for the location to stop at.
7976 * gdb.base/break-always.c: New.
7977 * gdb.base/break-always.exp: New.
7978
d24317b4
VP
79792008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7980
7981 * lib/mi-support.exp (mi_runto_helper): Adjust
7982 for the original-location field.
7983 (mi_create_breakpoint, mi_list_breakpoints): New.
7984 * gdb.mi/mi-break.exp: Adjust.
7985 * gdb.mi/mi2-break.exp: Adjust.
7986 * gdb.mi/mi-pending.exp: Adjust.
7987 * gdb.mi/mi-simplerun.exp: Adjust.
7988 * gdb.mi/mi2-simplerun.exp: Adjust.
7989 * gdb.mi/mi-syn-frame.exp: Adjust.
7990 * gdb.mi/mi2-syn-frame.exp: Adjust.
7991 * gdb.mi/mi-until.exp: Adjust.
7992 * gdb.mi/mi2-until.exp: Adjust.
7993 * gdb.mi/mi-var-display.exp: Adjust.
7994 * gdb.mi/mi2-var-display.exp: Adjust.
7995 * gdb.mi/mi-watch.exp: Adjust.
7996 * gdb.mi/mi2-watch.exp: Adjust.
7997
fdc59709 79982008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 7999
a9c64011
AS
8000 * aclocal.m4: Add override.m4.
8001 * configure: Regenerate.
fdc59709 8002
8e91f023
VP
80032008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8004
8005 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8006 '-var-update --all-values' reports new value even the type
8007 of a variable object has changed.
8008
233a11ab
CS
80092008-04-18 Craig Silverstein <csilvers@google.com>
8010
8011 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8012 files.
d24317b4 8013
9c1137ad
JB
80142008-04-18 Joel Brobecker <brobecker@adacore.com>
8015
8016 * gdb.ada/atomic_enum: New test program.
8017 * gdb.ada/atomic_enum.exp: New testcase.
8018
66d0bbc7
DE
80192008-04-17 Doug Evans <dje@google.com>
8020
8021 * gdb.opt/Makefile.in: Fix whitespace.
8022
100906b0
UW
80232008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8024
8025 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8026
4584e32e
DE
80272008-04-17 Doug Evans <dje@google.com>
8028
8029 * gdb.base/hashline1.exp: New testcase.
8030 * gdb.base/hashline2.exp: New testcase.
8031 * gdb.base/hashline2.exp: New testcase.
8032
0a320680
PA
80332008-04-17 Pedro Alves <pedro@codesourcery.com>
8034
8035 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8036
18ac113b
AR
80372008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8038
8039 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8040 temporary breakpoint to match "Temporary breakpoint".
8041 * gdb.base/break.exp (delete_breakpoints): Likewise.
8042 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8043 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8044 * gdb.base/display.exp: Likewise.
8045 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8046 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8047 * gdb.base/restore.exp (restore_tests): Likewise.
8048 * gdb.base/sepdebug.exp: Likewise.
8049 * gdb.base/watchpoint.exp: Likewise.
8050 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8051 * gdb.mi/mi-pending.exp: Likewise.
8052 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8053 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8054 * gdb.mi/mi-var-cmd.exp: Likewise.
8055 * gdb.mi/mi-var-display.exp: Likewise.
8056 * gdb.mi/mi2-cli.exp: Likewise.
8057 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8058 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8059 * gdb.mi/mi2-var-display.exp: Likewise.
8060 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8061 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8062 new "disp" field.
a9c64011 8063 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8064 reason. This is to support fix for PR2424.
8065
add38693
JK
80662008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8067
8068 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8069
fcacd99f
VP
80702008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8071
8072 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 8073 field. Add more floating varobj tests.
fcacd99f 8074 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
8075 field.
8076 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8077 (main): Call do_at_tests.
8078 * lib/mi-support.exp (mi_create_floating_varobj)
8079 (mi_varobj_update_with_type_change): New.
fcacd99f 8080
de051565
MK
80812008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8082
8083 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8084 option of -var-evaluate-expression.
8085 * gdb.mi/mi2-var-display.exp: Likewise.
8086
dbc52822
VP
80872008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8088
8089 Introduce test setup helpers.
a9c64011
AS
8090 * lib/gdb.exp (build_executable, clean_restart)
8091 (prepare_for_testing): New.
8092 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8093 * gdb.base/return.exp: Likewise.
8094 * gdb.base/ending-run.exp: Likewise.
dbc52822 8095
473591da
NR
80962008-04-07 Nick Roberts <nickrob@snap.net.nz>
8097
8098 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8099 Interface (MI) responses.
8100
2b2d9e11
VP
81012008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8102
a9c64011
AS
8103 * gdb.cp/breakpoint.cc: New code to test conditions involving
8104 member variables.
8105 * gdb.cp/breakpoint.exp: Test condition involving member
8106 variables.
2b2d9e11 8107
bb378428
VP
81082008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8109
8110 * lib/mi-support.exp (mi_expect_stop): New.
8111 (mi_run_cmd): Change the
8112 token. Use mi_send_resuming_command, use
8113 mi_expect_stop.
8114 (mi_execute_to_helper): Rename to mi_execute_to.
8115 (mi_send_resuming_command): Add more error patterns.
8116 (mi_wait_for_stop): Renamed to...
8117 (mi_get_stop_line): ...this.
8118 (mi_run_inline_test): Adjust.
8119
8120 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8121 * gdb.mi/mi-console.exp: Likewise.
8122 * gdb.mi/mi-pending.exp: Likewise.
8123 * gdb.mi/mi-simplerun.exp: Likewise.
8124 * gdb.mi/mi-stack.exp: Likewise.
8125 * gdb.mi/mi-stepi.exp: Likewise.
8126 * gdb.mi/mi-syn-frame.exp: Add comment.
8127 * gdb.mi/mi-until.exp: Likewise.
8128 * gdb.mi/mi-var-display.exp: Likewise.
8129 * gdb.mi/mi-watch.exp: Likewise.
8130 * gdb.mi/mi2-cli.exp: Likewise.
8131 * gdb.mi/mi2-console.exp: Likewise.
8132 * gdb.mi/mi2-simplerun.exp: Likewise.
8133 * gdb.mi/mi2-stack.exp: Likewise.
8134 * gdb.mi/mi2-stepi.exp: Likewise.
8135 * gdb.mi/mi2-until.exp: Likewise.
8136 * gdb.mi/mi2-var-display.exp: Likewise.
8137 * gdb.mi/mi2-watch.exp: Likewise.
8138
62172bb9
UW
81392008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8140
8141 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8142
8143 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8144
a13e061a
PA
81452008-04-04 Pedro Alves <pedro@codesourcery.com>
8146
8147 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8148 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8149 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8150 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8151 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8152 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8153 expect an mi error duplicated in stderr.
8154
eae06beb
JB
81552008-04-03 Joel Brobecker <brobecker@adacore.com>
8156
8157 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8158 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8159 Add a couple of tests that verify the behavior when the new setting
8160 is set to "cancel" and "all".
8161 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8162 "ask" before we start the testing.
8163
79c6ced6
AR
81642008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8165
8166 * gdb.cp/casts.cc: Add class reference variables.
8167 * gdb.cp/casts.exp: New test cases for up/down casting references.
8168
6c2d1a6b
MK
81692008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8170
8171 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8172 instead of beginning to make an extra test pass.
8173 * gdb.mi/mi2-var-display.exp: Likewise.
8174
55b411d9
MR
81752008-03-31 Maciej W. Rozycki <macro@mips.com>
8176
8177 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8178
c6140da2
MD
81792008-03-31 Markus Deuling <deuling@de.ibm.com>
8180 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8181
8182 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8183 value. Add xfail for older kernels.
8184
79732189
AR
81852008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8186
8187 Bring mi-support in line with gdb.exp.
8188 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8189 (mi_gdb_start): New function.
8190
33c3676e
MR
81912008-03-28 Maciej W. Rozycki <macro@mips.com>
8192
8193 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8194
92e28119
VP
81952008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8196
8197 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8198 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8199
9e8e3afe
VP
82002008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8201
8202 * lib/mi-support.exp (mi_create_varobj_checked): New.
8203 (mi_list_varobj_children): Allow to check for a
8204 value.
8205 (mi_list_array_varobj_children): New.
8206
8207 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8208 and mi_list_varobj_children, as opposed to hardcoding
8209 expected strings.
8210 * gdb.mi/gdb701.exp: Likewise.
8211 * gdb.mi/gdb792.exp: Likewise.
8212 * gdb.mi/mi-var-block.exp: Likewise.
8213 * gdb.mi/mi-var-cmd.exp: Likewise.
8214 * gdb.mi/mi-var-invalidate.exp: Likewise.
8215 * gdb.mi/mi2-var-block.exp: Likewise.
8216 * gdb.mi/mi2-var-child.exp: Likewise.
8217 * gdb.mi/mi2-var-cmd.exp: Likewise.
8218 * gdb.mi/mi2-var-display.exp: Likewise.
8219
9df50351
JK
82202008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8221
8222 Fix random false FAILs on i386.
8223 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8224
31e5d73a
DJ
82252008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8226
8227 PR gdb/544
8228 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8229
12f4afab
DJ
82302008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8231
8232 PR gdb/544
8233 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8234
b562a0cb
DJ
82352008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8236
8237 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8238 fixed PR gdb/544.
8239
17faa917
DJ
82402008-03-21 Pedro Alves <pedro@codesourcery.com>
8241
8242 * gdb.threads/fork-child-threads.exp: Test next over fork.
8243
6214f497
DJ
82442008-03-21 Chris Demetriou <cgd@google.com>
8245
8246 * gdb.base/break.exp (rbreak junk): New test for rbreak
8247 "Junk at end of arguments" issue.
8248
63092375
DJ
82492008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8250
8251 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8252 *& to work on created array elements.
8253 (Top level): Test print $pc with a file. Test string operations
8254 without a target.
8255 * gdb.base/ptype.exp: Do not expect *& to work on created array
8256 elements.
8257
b21991b0
DJ
82582008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8259
8260 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8261 gdb.threads/staticthreads.exp: Update exit query.
8262
c4b347c7
SL
82632008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8264
8265 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8266
fa4727a6
DJ
82672008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8268
8269 * gdb.base/watchpoint.c (global_ptr, func4): New.
8270 (main): Call func4.
8271 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8272 (test_inaccessible_watchpoint): New.
8273
2f34202f
MR
82742008-02-29 Maciej W. Rozycki <macro@mips.com>
8275
8276 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8277 select the largest.
8278
0d6ba1b1
DJ
82792008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8280
8281 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8282 frames-invalid annotations.
8283
e691325a
PM
82842008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8285
a9c64011 8286 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8287
f85b5ecc
DE
82882008-02-27 Doug Evans <dje@google.com>
8289
8290 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8291 for bug 1738.
8292 (breakpoint_to_handler_entry): Ditto.
8293
b40e7bf3
JB
82942008-02-27 Joel Brobecker <brobecker@adacore.com>
8295
8296 * gdb.base/ending-run.exp: Use the first line of code inside
8297 function body to test breakpoints.
8298 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8299 location where the breakpoint is inserted when using the line
8300 where a function is declared. Fix typo in the description of
8301 one of the tests.
8302 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8303
2faca73a
PM
83042008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8305
8306 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8307 tests.
2faca73a 8308
6f439c36
PM
83092008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8310
8311 * gdb.base/args.exp: avoid same output for tests
8312 with single quotes.
8313
54e52265
VP
83142008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8315
a9c64011
AS
8316 * gdb.base/annota1.exp: Adjust for 'info break'
8317 format changes.
8318 * gdb.base/annota3.exp: Likewise.
8319 * gdb.base/break.exp: Likewise.
8320 * gdb.base/condbreak.exp: Likewise.
8321 * gdb.base/pending.exp: Likewise.
8322 * gdb.base/sepdebug.exp: Likewise.
8323 * gdb.base/unload.exp: Likewise.
8324 * gdb.cp/ovldbreak.exp: Likewise.
8325 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8326
897b09ca
DE
83272008-02-07 Doug Evans <dje@google.com>
8328
8329 * gdb.cp/mb-inline.exp: New.
8330 * gdb.cp/mb-inline.h: New.
8331 * gdb.cp/mb-inline1.cc: New.
8332 * gdb.cp/mb-inline2.cc: New.
8333
b1c32d35
PM
83342008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8335
8336 * gdb.pascal/floats.pas: New test program.
8337 * gdb.pascal/floats.exp: New testcase.
8338
1a4ca44a
TJB
83392008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8340
8341 * gdb.base/callfuncs.c (t_float_many_args): New function.
8342 (t_double_many_args): New function.
8343 * gdb.base/callfuncs.exp: Add tests for exceeding float
8344 and double parameters passed through the stack.
8345
439048e8
JB
83462008-02-05 Joel Brobecker <brobecker@adacore.com>
8347
8348 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8349 gdb.ada/complete/foo.adb: New files.
8350 * gdb.ada/complete.exp: New testcase.
8351
81fe8080
DE
83522008-02-03 Doug Evans <dje@google.com>
8353
301f0ecf
DE
8354 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8355
81fe8080
DE
8356 * gdb.cp/gdb2384.exp: New file.
8357 * gdb.cp/gdb2384.cc: New file.
8358 * gdb.cp/gdb2384-base.h: New file.
8359 * gdb.cp/gdb2384-base.cc: New file.
8360
4b071aec
DE
83612008-02-02 Doug Evans <dje@google.com>
8362
8363 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8364
61137ba6
JB
83652007-02-01 Joel Brobecker <brobecker@adacore.com>
8366
8367 * gdb.ada/sym_print_name: New test program.
8368 * gdb.ada/sym_print_name.exp: New testcase.
8369
83702007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8371
8372 * gdb.ada/nested/hello.adb: New file.
8373 * gdb.ada/nested.exp: New testcase.
8374 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8375
98deb0da
VP
83762008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8377
8378 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8379 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8380 don't cause future evaluations of function to report
8381 creation of internal breakpoints.
98deb0da 8382
723a2275
VP
83832008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8384
8385 * gdb.mi/mi-break.exp (test_error): New.
8386 Call it.
8387
fb546a2f
LM
83882008-01-31 Luis Machado <luisgpm@br.ibm.com>
8389
8390 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8391 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8392
2d8fd90a
PM
83932008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8394
8395 * gdb.pascal/integers.pas: New test program.
8396 * gdb.pascal/integers.exp: New testcase.
8397
a7fa0ded
PM
83982008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8399
8400 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8401
5e1a1926
TJB
84022008-01-30 Luis Machado <luisgpm@br.ibm.com>
8403
8404 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8405 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8406
8d04f9f0
JB
84072008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8408
8409 * gdb.ada/formatted_ref: New test program.
8410 * gdb.ada/formatted_ref.exp: New testcase.
8411
8412 * gdb.cp/formatted-ref.cc: New file.
8413 * gdb.cp/formatted-ref.exp: New testcase.
8414
ce75a98f
JB
84152008-01-30 Joel Brobecker <brobecker@adacore.com>
8416
8417 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8418
e835f6bf
NR
84192008-01-30 Nick Roberts <nickrob@snap.net.nz>
8420
8421 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8422 (test_file_list_exec_source_file): Update to new macro-info field.
8423
d118ef87
PH
84242008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8425
8426 * gdb.ada/exprs: New test program.
8427 * gdb.ada/exprs.exp: New testcase.
8428
7d35ab09
TJB
84292008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8430
8431 * dfp-test.c (DELTA, DELTA_B): New definitions.
8432 (double_val1, double_val2, double_val3, double_val4, double_val5,
8433 double_val6, double_val7, double_val8, double_val9, double_val10,
8434 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8435 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8436 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8437 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8438 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8439 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8440 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8441 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8442 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8443 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8444 dec128_val16): New global variables.
8445 (decimal_dec128_align): New function.
8446 (decimal_mixed): Likewise.
8447 (decimal_many_args_dec32): Likewise.
8448 (decimal_many_args_dec64): Likewise.
8449 (decimal_many_args_dec128): Likewise.
8450 (decimal_many_args_mixed): Likewise.
8451 * dfp-test.exp: Add tests calling new inferior functions.
8452
2d717e4f
DJ
84532008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8454
8455 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8456 gdb.server/ext-run.exp: New files.
8457 * lib/gdbserver-support.exp (gdbserver_download): New.
8458 (gdbserver_start): New. Update gdbserver expected
8459 output.
8460 (gdbserver_spawn): Use them.
8461 (gdbserver_start_extended): New.
8462
e85a822c
DJ
84632008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8464
8465 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8466 Run on GNU/Linux.
8467 (do_exec_tests): Check for systems which do not support catchpoints.
8468 Do not match START.
8469 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8470 Run on GNU/Linux. Enable verbose output.
8471 (check_fork_catchpoints): New.
8472 (explicit_fork_child_follow, catch_fork_child_follow)
8473 (tcatch_fork_parent_follow): Update expected messages.
8474 (do_fork_tests): Use check_fork_catchpoints.
8475 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8476 Run on GNU/Linux. Enable verbose output.
8477 (check_vfork_catchpoints): New.
8478 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8479 expected messages.
8480 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8481
401ea829
JB
84822008-01-29 Jim Blandy <jimb@red-bean.com>
8483
8484 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8485 host' errors.
8486 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8487
aceaf3ad
JB
84882008-01-29 Jim Blandy <jimb@red-bean.com>
8489
8490 * gdb.threads/sigthread.c: Use barriers to ensure that
8491 child_thread and child_thread_two are always initialized before we
8492 start to use them.
8493
a5606eee
VP
84942008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8495
8496 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8497 * gdb.base/watchpoint-solib.c: New.
8498 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8499
c55a82bb
PM
85002008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8501
8502 * gdb.base/gdb1056.exp: Add unsigned integer test.
8503
0993fe05
DE
85042008-01-28 Doug Evans <dje@google.com>
8505
8506 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8507
4fe42e7f
JB
85082008-01-27 Jim Blandy <jimb@codesourcery.com>
8509
c7a69933
JB
8510 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8511
4fe42e7f
JB
8512 * gdb.base/expand-psymtabs.exp: Doc fix.
8513
5def8285
MK
85142008-01-26 Mark Kettenis <kettenis@gnu.org>
8515
8516 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8517
5313c911
NR
85182008-01-24 Nick Roberts <nickrob@snap.net.nz>
8519
a9c64011 8520 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8521 -var-set-format.
8522
93815fbf
VP
85232008-01-23 Chris Demetriou <cgd@google.com>
8524
8525 * gdb.threads/thread_events.c: New testcase source file.
8526 * gdb.threads/thread_events.exp: New testcase expect file.
8527
467a88ee
NR
85282008-01-23 Nick Roberts <nickrob@snap.net.nz>
8529
8530 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8531
8532 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8533 -var-set-format.
8534
d8f82aba
DJ
85352008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8536 Vladimir Prus <vladimir@codesourcery.com>
8537
8538 * gdb.base/float.exp: Allow missing floating point for m68k and
8539 PowerPC.
8540
60c46647
VP
85412008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8542
8543 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8544 ignore count.
8545 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8546 * gdb.mi/mi-cli.exp: Adjust.
8547 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8548
c7dd36a1
PA
85492008-01-17 Pedro Alves <pedro@codesourcery.com>
8550
8551 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8552 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8553 with dummy_ptr's address.
8554 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8555 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8556 all targets.
8557 * gdb.mi/mi2-var-child.exp: Likewise.
8558
39d5313e
JB
85592008-01-09 Joel Brobecker <brobecker@adacore.com>
8560
8561 * gdb.ada/null_array: New test program.
8562 * gdb.ada/null_array.exp: New testcase.
8563
0aea4bf3
LM
85642008-01-09 Luis Machado <luisgpm@br.ibm.com>
8565
8566 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8567 with required float modifiers.
8568
0b354900
JB
85692008-01-08 Joel Brobecker <brobecker@adacore.com>
8570
8571 * gdb.ada/funcall_param: New test program.
8572 * gdb.ada/funcall_param.exp: New testcase.
8573
cdb7f5d4
JB
85742008-01-08 Joel Brobecker <brobecker@adacore.com>
8575
8576 * gdb.ada/arrayparam: New test program.
8577 * gdb.ada/arrayparam.exp: New testcase.
8578
88e2547f
JB
85792008-01-08 Joel Brobecker <brobecker@adacore.com>
8580
8581 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8582 landed. Should also fix random failures in the test following it.
8583
f6867ce0
TJB
85842008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8585
8586 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8587 for expressions with decimal float values.
8588 (test_dfp_conversions): New function to test casts to and from
8589 decimal float types.
8590 Call test_dfp_conversions.
8591 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8592 elements.
8593 (main): Initialize ds.float4 and ds.double8 elements.
8594 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8595 string to new error message.
8596 (d64_set_tests): Likewise.
8597 (d128_set_tests): Likewise.
8598 Add tests for expressions with decimal float variables. Add tests for
8599 conversions to and from decimal float types.
8600
f9c11282
JB
86012008-01-05 Joel Brobecker <brobecker@adacore.com>
8602
8603 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8604 * gdb.ada/packed_tagged.exp: New testcase.
8605
0ecbca72
JB
86062008-01-04 Joel Brobecker <brobecker@adacore.com>
8607
8608 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8609 gdb.ada/homonym/homonym_main.adb: New files.
8610 * gdb.ada/homonym.exp: New testcase.
8611
c18d3d89
JB
86122008-01-04 Joel Brobecker <brobecker@adacore.com>
8613
8614 * gdb.ada/packed_array.exp: Add testing of references to
8615 a packed array.
8616
ecc7085b
JB
86172008-01-04 Joel Brobecker <brobecker@adacore.com>
8618
8619 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8620 New files.
8621 * gdb.ada/type_coercion.exp: New testcase.
8622
c474c922
JB
86232008-01-04 Joel Brobecker <brobecker@adacore.com>
8624
8625 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8626 gdb.ada/tagged/foo.adb: New file.
8627 * gdb.ada/tagged.exp: New testcase.
8628
9005b927
JB
86292008-01-04 Joel Brobecker <brobecker@adacore.com>
8630
8631 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8632 gdb.ada/ptype_field/foo.adb: New files.
8633 * gdb.ada/ptype_field.exp: New testcase.
8634
1a6aaad8
JB
86352008-01-03 Joel Brobecker <brobecker@adacore.com>
8636
8637 * gdb.ada/print_pc.exp: New testcase.
8638
0ef22f53
JB
86392008-01-03 Joel Brobecker <brobecker@adacore.com>
8640
8641 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8642 gdb.ada/taft_type/p.adb: New files.
8643 * gdb.ada/taft_type.exp: New testcase.
8644
1689ecf8
JB
86452008-01-03 Joel Brobecker <brobecker@adacore.com>
8646
8647 * gdb.ada/array_bounds/bar.adb: New file.
8648 * gdb.ada/array_bounds.exp: New testcase.
8649
a4d0b9c3
JB
86502008-01-03 Joel Brobecker <brobecker@adacore.com>
8651
8652 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8653 gdb.ada/arrayptr/foo.adb: New files.
8654 * gdb.ada/arrayptr.exp: New testcase.
8655
a31ace00
JB
86562008-01-03 Joel Brobecker <brobecker@adacore.com>
8657
8658 * gdb.base/set-lang-auto.exp: New testcase.
8659
a97fced3
JB
86602008-01-03 Joel Brobecker <brobecker@adacore.com>
8661
8662 * gdb.ada/fun_addr/foo.adb: New file.
8663 * gdb.ada/fun_addr.exp: New testcase.
8664
ef29ce1a
JK
86652008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8666
8667 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8668 New files
8669
0fafefe3
JB
86702008-01-02 Joel Brobecker <brobecker@adacore.com>
8671
8672 * array_subscript_addr/p.adb: New file.
a9c64011 8673 * array_subscript_addr.exp: New testcase.
0fafefe3 8674
c4359f8d
JB
86752008-01-02 Joel Brobecker <brobecker@adacore.com>
8676
a9c64011 8677 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8678 New files.
8679 * gdb.ada/str_cmp_ref.exp: New testcase.
8680
1aa1b15b
JB
86812008-01-01 Joel Brobecker <brobecker@adacore.com>
8682
8683 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8684 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8685 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8686
81c9b2cf
JB
86872008-01-01 Joel Brobecker <brobecker@adacore.com>
8688
8689 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8690 gdb.ada/ref_param/pck.ads: New files.
8691 * gdb.ada/ref_param.exp: New testcase.
8692
319e4674
JB
86932008-01-01 Joel Brobecker <brobecker@adacore.com>
8694
8695 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8696 gdb.ada/interface/foo.adb: New files.
8697 * gdb.ada/interface.exp: New testcase.
8698
ef682c56
JB
86992007-12-31 Jim Blandy <jimb@codesourcery.com>
8700
8701 * gdb.base/multi-forks.exp: Consume all output from child
8702 processes before proceeding to next test.
8703
f6f3eb6c
JB
87042007-12-29 Jim Blandy <jimb@codesourcery.com>
8705
8706 * configure: Regenerated.
8707
f652e42f
JB
87082007-12-27 Joel Brobecker <brobecker@adacore.com>
8709
8710 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8711 gdb.ada/fixed_cmp/fixed.adb: New files.
8712 * gdb.ada/fixed_cmp.exp: New testcase.
8713
6943e596
JB
87142007-12-27 Joel Brobecker <brobecker@adacore.com>
8715
8716 * gdb.ada/boolean_expr.exp: New testcase.
8717
aad9a193
JB
87182007-12-26 Jim Blandy <jimb@codesourcery.com>
8719
8720 * gdb.base/multi-forks.exp: Doc fix.
8721
fb5f3683
JB
87222007-12-26 Joel Brobecker <brobecker@adacore.com>
8723
8724 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8725 * gdb.ada/char_param.exp: Do not compile our test program with
8726 -gnata, this is unnecessary.
8727 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8728
384e4a9c
JB
87292007-12-24 Joel Brobecker <brobecker@adacore.com>
8730
8731 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8732 gdb.ada/print_chars/foo.adb: New files.
8733 * gdb.ada/print_chars.exp: New testcase.
8734
01e044f7
JB
87352007-12-24 Joel Brobecker <brobecker@adacore.com>
8736
8737 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8738 gdb.ada/char_param/foo.adb: New files.
8739 * gdb.ada/char_param.exp: New testcase.
8740
0ce17860
JB
87412007-12-22 Jim Blandy <jimb@codesourcery.com>
8742
8743 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8744 hard-coding source line numbers into the test.
8745 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8746 gdb_get_line_number to find.
8747
919809b9
JB
87482007-12-22 Joel Brobecker <brobecker@adacore.com>
8749
8750 * gdb.base/ptype.c (highest): New struct type.
8751 (the_highest): New variable of that type.
8752 (main): Add dummy assignment to a field of variable the_highest.
8753 * gdb.base/ptype.exp: Test type printing of our new variable.
8754
abc8a88d
PM
87552007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8756
8757 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8758 and record first explicitly generated thread number.
abc8a88d
PM
8759 Use that thread number for thread specific watchpoint test.
8760 Add iteration number to repetitive tests.
8761
5158f3e3
CES
87622007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8763 Jim Blandy <jimb@codesourcery.com>
8764
8765 * gdb.base/expand-psymtabs.c: New testcase
8766 source file.
8767 * gdb.base/expand-psymtabs.exp: New testcase
8768 expect file.
8769
37e4754d
LM
87702007-12-17 Luis Machado <luisgpm@br.ibm.com>
8771
8772 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8773 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8774
551e5d04
JB
87752007-12-17 Joel Brobecker <brobecker@adacore.com>
8776
8777 * gdb.ada/frame_args/foo.adb: New file.
8778 * gdb.ada/frame_args/pck.ads: New file.
8779 * gdb.ada/frame_args/pck.adb: New file.
8780 * gdb.ada/frame_args.exp: New testcase.
8781
a05ee097
JB
87822007-12-17 Joel Brobecker <brobecker@adacore.com>
8783
8784 * gdb.base/frame-args.c: New file.
8785 * gdb.base/frame-args.exp: New testcase.
8786
c162e8c9 87872007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8788 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8789
8790 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8791
afe8ab22 87922007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8793
afe8ab22
VP
8794 * gdb.mi/mi-pending.exp: New.
8795 * gdb.mi/mi-pending.c: New.
8796 * gdb.mi/mi-pendshr.c: New.
8797
dfdfb3ca
JB
87982007-12-06 Jim Blandy <jimb@codesourcery.com>
8799
8800 * gdb.base/default.exp: Update expected output for 'info catch'.
8801
b7fca990
JK
88022007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8803
8804 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8805 must be set to binary.
8806
6a1afc1e
PA
88072007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8808
8809 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8810
a6b151f1
DJ
88112007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8812
8813 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8814 gdb.mi/mi-file-transfer.exp: New.
8815
43039443
JK
88162007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8819
0ef2251b
MR
88202007-11-22 Maciej W. Rozycki <macro@mips.com>
8821
8822 * gdb.trace/backtrace.exp: Fix a typo.
8823 * gdb.trace/circ.exp: Likewise.
8824 * gdb.trace/collection.exp: Likewise.
8825 * gdb.trace/limits.exp: Likewise.
8826 * gdb.trace/report.exp: Likewise.
8827 * gdb.trace/tfind.exp: Likewise.
8828 * gdb.trace/while-dyn.exp: Likewise.
8829
5443631e
NR
88302007-11-21 Nick Roberts <nickrob@snap.net.nz>
8831
8832 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8833 objects of pointers that can't be dereferenced are now
8834 "noneditable".
8835
a4ce5b0d
UW
88362007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8837
8838 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8839 (target_cpu): Remove.
8840
d6e956e5
VP
88412007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8842
8843 * gdb.base/ending-run.exp: Expect the list of cleared
8844 breakpoint to come in natural order, not the reversed one.
a9c64011 8845
214270ab
VP
88462007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8847
8848 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8849 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8850
1a619819
LM
88512007-11-05 Luis Machado <luisgpm@br.ibm.com>
8852
8853 * gdb.base/printcmds.exp: New function
8854 test_printf_with_dfp.
8855
5b01a6fa
DE
88562007-11-02 Doug Evans <dje@google.com>
8857
8858 * gdb.disasm/t01_mov.s: Remove carriage returns.
8859 * gdb.disasm/t02_mova.s: Ditto.
8860 * gdb.disasm/t03_add.s: Ditto.
8861 * gdb.disasm/t04_sub.s: Ditto.
8862 * gdb.disasm/t05_cmp.s: Ditto.
8863 * gdb.disasm/t06_ari2.s: Ditto.
8864 * gdb.disasm/t07_ari3.s: Ditto.
8865 * gdb.disasm/t08_or.s: Ditto.
8866 * gdb.disasm/t09_xor.s: Ditto.
8867 * gdb.disasm/t10_and.s: Ditto.
8868 * gdb.disasm/t11_logs.s: Ditto.
8869 * gdb.disasm/t12_bit.s: Ditto.
8870 * gdb.disasm/t13_otr.s: Ditto.
8871
ec33ab7f
JK
88722007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8873
8874 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8875
ae0d01ff
UW
88762007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8877
8878 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8879 provide DFP support.
8880
55eddb0f
DJ
88812007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8882
8883 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8884 Test "set powerpc vector-abi". Skip auto-detection tests for old
8885 toolchains.
8886
7020f05c
PA
88872007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8888
8889 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8890 with [string compare].
8891
84bc3db9
PA
88922007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8893
8894 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8895 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8896
5876dc88
LM
88972007-10-25 Luis Machado <luisgpm@br.ibm.com>
8898
8899 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8900 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8901 * gdb.opt/Makefile.in: New makefile.
8902 * Makefile.in: Create new directory "gdb.opt".
8903 * configure.ac: Add "gdb.opt" directory.
8904 * configure: Regenerated.
a9c64011 8905
c3ea9a14
DE
89062007-10-25 Doug Evans <dje@google.com>
8907
8908 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8909 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8910
a9c64011 89112007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8912 Thiago Jung Bauermann <bauerman@br.ibm.com>
8913
8914 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8915 Floating Point expressions.
8916 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8917 Floating Point variables.
8918 * gdb.base/dfp-test.c: new file containing program with Decimal
8919 Floating variables, used by gdb.base/dfp-test.exp.
8920
62a24a2b
DJ
89212007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8922
8923 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8924
e7b1eae6
UW
89252007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8926
8927 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8928 compiling test case with GCC.
8929 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8930
c641edcc
UW
89312007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8932
8933 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8934 format changes.
8935
5e5ebfe6
MS
89362007-10-18 Michael Snyder <msnyder@specifix.com>
8937
8938 * gdb.base/dbx.exp: Add missing "-re " operator.
8939
e831e7b6
GM
89402007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8941
8942 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8943 * configure.ac: Removed trailing spaces after backslash.
8944 * gdb.modula2: New directory.
8945 * gdb.modula2/Makefile.in: New file.
8946 * gdb.modula2/unbounded-array.exp: New file.
8947 * gdb.modula2/unbounded1.c: New file.
8948
7cc46491
DJ
89492007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8950
8951 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8952
89532007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8954
8955 * gdb.base/sigstep.c (main): Add checks for
8956 return values for setitimer call.
8957 Call setitimer again with itimer = ITIMER_REAL
8958 if first call to setitimer fails.
8959
e91528f0
KH
89602007-10-11 Kazu Hirata <kazu@codesourcery.com>
8961
8962 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8963 of $timeout.
8964
2ec9a4f8
DJ
89652007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8966
8967 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8968
89692007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8970
8971 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8972 of gdb_expect call, to avoid interruption.
8973
64b2fa04
PA
89742007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8975
8976 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8977 (v_unsigned_long_long, v_long_long_array)
8978 (v_signed_long_long_array, v_unsigned_long_long_array)
8979 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8980 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8981 [!NO_LONG_LONG]: New.
8982 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8983 v_long_long_member.
8984
8985 (v_long_long_func, v_signed_long_long_func)
8986 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8987 (main) [!NO_LONG_LONG]: Initialize long long variants.
8988
8989 * gdb.base/whatis.exp: If board file requests no_long_long, build
8990 test with NO_LONG_LONG defined. Test long long, signed long long,
8991 and unsigned long long variants but only if board file doesn't
8992 disable it.
8993
a912286e 89942007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 8995 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
8996
8997 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8998 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8999 * configure: Regenerated.
9000 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9001 gdb.pascal/types.exp, lib/pascal.exp: New files.
9002
471ba8c9
DJ
90032007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9004
9005 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9006 call.
9007 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9008 to return to the call.
9009 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9010 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9011 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9012 * gdb.mi/mi-until.exp (test_until): Likewise.
9013 * gdb.mi/mi2-until.exp (test_until): Likewise.
9014
fef8a650
DJ
90152007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9016
9017 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9018 two-char array.
9019 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9020
d983da9c
DJ
90212007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9022
9023 * gdb.threads/watchthreads.c (thread_function): Sleep between
9024 iterations.
9025 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9026 at once for S/390. Generate matching fails and passes.
9027
17f62551
VP
90282007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9029
9030 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9031 the 'struct_declarations' variable to zeros.
a9c64011 9032
ed0616c6
VP
90332007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9034
9035 * gdb.cp/mb-ctor.cc: New.
9036 * gdb.cp/mb-ctor.exp: New.
9037 * gdb.cp/mb-templates.cc: New.
9038 * gdb.cp/mb-templates.exp: New.
9039
41f1b697
DJ
90402007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9041
9042 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9043
3f213f78
PA
90442007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9045
9046 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9047 targets.
9048 * configure: Regenerate.
9049
0d381245 90502007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9051
0d381245
VP
9052 * gdb.base/annota1.exp: Adjust for 'info break'
9053 format changes.
9054 * gdb.base/annota3.exp: Likewise.
9055 * gdb.base/break.exp: Likewise.
9056 * gdb.base/condbreak.exp: Likewise.
9057 * gdb.base/pending.exp: Likewise.
9058 * gdb.base/sepdebug.exp: Likewise.
9059 * gdb.base/unload.exp: Likewise.
9060 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9061
fe3f5fa8
VP
90622007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9063
9064 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9065 messages.
9066 * gdb.base/chng-syms.exp: Likewise.
9067 * gdb.base/unload.exp: Likewise.
a9c64011 9068
a75cf6c0
DJ
90692007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9070
9071 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9072
18ecae38
DJ
90732007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9074
9075 * schedlock.c (NUM): Change to 1.
9076 (main): Use args[0] for the main thread.
9077 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9078 regardless of the number of threads.
9079
5509918f
MR
90802007-09-14 Maciej W. Rozycki <macro@mips.com>
9081
4a543daf
MR
9082 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9083 type down.
9084 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9085 test.
9086 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9087 watchpoint type down.
9088 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9089 test.
9090
90912007-09-14 Maciej W. Rozycki <macro@mips.com>
9092
5509918f
MR
9093 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9094 Move all the tests here and run them twice, once using software
9095 watchpoints and once using hardware watchpoints.
9096 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9097
40b53987
DJ
90982007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9099
9100 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9101 test.
9102
695e2681
MK
91032007-09-10 Mark Kettenis <kettenis@gnu.org>
9104
8b3fc8d8
MK
9105 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9106 build-id.
9107
695e2681
MK
9108 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9109 know about $ORIGIN. Calculate output dir from $dest instead of
9110 using ${objdir}/{$subdir}.
9111
58d69f29
MK
91122007-09-09 Mark Kettenis <kettenis@gnu.org>
9113
9114 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9115 gcore, before continuing with the test.
9116
3e347599
DJ
91172007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9118
9119 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9120 * gdb.mi/mi-watch.exp: Likewise.
9121
ea37ba09
DJ
91222007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9123 Jim Blandy <jimb@codesourcery.com>
9124
9125 * gdb.arch/i386-sse.exp: Do not expect character constants.
9126 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9127 * gdb.base/display.exp: Allow print/s.
9128 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9129 and unsigned char array changes.
9130
2025a643
DJ
91312007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9132
9133 * gdb.base/display.exp: Add tests for printf %p.
9134
26669a27
PA
91352007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9136
9137 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9138 the dll name to unicode.
9139
c8f021f8
JK
91402007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 * gdb.base/default.exp (show version): Update the version text.
9143 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9144
4cf31eea
JK
91452007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9146
9147 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9148 New files.
9149
4935890f
JK
91502007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9151
9152 * lib/gdb.exp (build_id_debug_filename_get): New function.
9153 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9154 Remove the generate DEBUG file for the future testcase runs.
9155 New testcase for the NT_GNU_BUILD_ID retrieval.
9156 Move the final testing step to ...
9157 (test_different_dir): ... a new function.
9158 New parameter XFAIL to XFAIL all the tests performed.
9159 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9160 New parameter TYPE to PF_PREFIX all the tests performed.
9161
02142340
VP
91622007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9163
9164 * gdb.mi/mi-var-cp.cc (path_expression): New
9165 function.
9166 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9167
36acd84e
UW
91682007-08-27 Markus Deuling <deuling@de.ibm.com>
9169
9170 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9171 to fit into SPU Local Store memory.
9172
a896d121
JB
91732007-08-23 Joel Brobecker <brobecker@adacore.com>
9174
9175 * gdb.base/default.exp: Adjust the expected output of "info
9176 warranty" after the switch to GPLv3.
9177
7b433602
JB
91782007-08-23 Joel Brobecker <brobecker@adacore.com>
9179
9180 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9181 to 30000 (from 20000).
9182
e22f8b7c
JB
91832007-08-23 Joel Brobecker <brobecker@adacore.com>
9184
9185 Switch the license of all .exp files to GPLv3.
9186 Switch the license of all .f and .f90 files to GPLv3.
9187 Switch the license of all .s and .S files to GPLv3.
9188
5a0e3bd0
JB
91892007-08-23 Joel Brobecker <brobecker@adacore.com>
9190
9191 * configure.ac: Switch license to GPLv3.
9192
cc00619d
JB
91932007-08-23 Joel Brobecker <brobecker@adacore.com>
9194
9195 Switch the licensing to GPLv3 for all .ads and .adb files.
9196
8d26208a
DJ
91972007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9198
9199 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9200 and t_int_double.
9201 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9202
4fcb9948
JB
92032007-08-17 Joel Brobecker <brobecker@adacore.com>
9204
9205 * gdb.base/step-line.c: Switch license to GPL version 3, and
9206 update copyright year.
9207 * gdb.base/step-line.inp: Likewise.
9208
b9c34f67
JB
92092007-08-17 Joel Brobecker <brobecker@adacore.com>
9210
9211 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9212 changes inside gdb1555.c.
9213 * gdb.base/pending.exp: Likewise.
9214
2cc17678
DJ
92152007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9216
9217 * config/default.exp: New file.
9218
e48883f7
DJ
92192007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9220
9221 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9222 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9223
1ab80e5b
MR
92242007-07-30 Maciej W. Rozycki <macro@mips.com>
9225
9226 * gdb.base/dump.exp: Force the correct endianness for binary
9227 formats not carrying this information.
9228
aba471f5
DJ
92292007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9230
9231 * gdb.threads/staticthreads.exp: Match .*sem_post.
9232
d4e07204
DJ
92332007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9234
9235 * gdb.base/readline.exp (operate_and_get_next): Match the final
9236 prompt.
9237
2b97317d
KB
92382007-07-23 Kevin Buettner <kevinb@redhat.com>
9239
9240 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9241 to restarting SID.
9242
44efa07a
KB
92432007-07-18 Kevin Buettner <kevinb@redhat.com>
9244
9245 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9246 prior to `gdb_start'.
9247
7b5ebade
KB
92482007-07-18 Kevin Buettner <kevinb@redhat.com>
9249
9250 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9251 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9252 Remove call to gdb_unload.
9253
255e7678
DJ
92542007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9255 Daniel Jacobowitz <dan@codesourcery.com>
9256
9257 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9258 for __WIN32__.
9259 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9260 * gdb.base/unload.exp: Use shared library test routines.
9261
3a40aaa0
UW
92622007-07-03 Markus Deuling <deuling@de.ibm.com>
9263
9264 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9265 * gdb.base/solib-symbol-lib.c: Likewise.
9266 * gdb.base/solib-symbol-main.c: Likewise.
9267
b0f4b84b
DJ
92682007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9269
9270 * config/gdbserver.exp (gdb_reconnect): New.
9271 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9272 gdb.base/solib-disc.exp: New files.
9273 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9274 remote debugging".
9275 (gdb_compile): Add shlib_load flag.
9276 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9277 port.
9278 (gdbserver_reconnect): New.
9279
1b05479a
DJ
92802007-07-01 Nick Roberts <nickrob@snap.net.nz>
9281 Daniel Jacobowitz <dan@codesourcery.com>
9282
9283 * gdb.base/annota3.exp: Test for if construct.
9284
86f78eb2
DJ
92852007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9286
9287 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9288
6a2eb474 92892007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9290 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9291
9292 * gdb.base/display.exp: Allow a newline after display/i.
9293 * gdb.base/pc-fp.exp: Likewise.
9294 * gdb.base/sigbpt.exp: Likewise.
9295
f8b73d13
DJ
92962007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9297
9298 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9299 required features to be included.
9300
4339e69e
DJ
93012007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9302
9303 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9304 in info threads output.
9305
23d964e7
UW
93062007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9307 Markus Deuling <deuling@de.ibm.com>
9308
9309 * gdb.arch/spu-info.exp: New testcase.
9310 * gdb.arch/spu-info.c: New file.
9311
fd20f75b
DJ
93122007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9313
9314 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9315 tpcs_offset. Restore lr after the call.
9316 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9317
2226f861
DJ
93182007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9319
9320 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9321 (gdbserver_run): Kill any running gdbserver.
9322 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9323
d12371a9
MR
93242007-05-17 Maciej W. Rozycki <macro@mips.com>
9325
9326 * gdb.base/sigbpt.exp: Preset segv_addr.
9327
93f02886
DJ
93282007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9329
9330 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9331 (gdb_compile_shlib): Likewise.
9332 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9333 (default_gdb_init): Clear cleanfiles.
9334 (gdb_finish): Delete recorded cleanfiles.
9335 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9336
9337 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9338 Do not use isnative.
9339 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9340 gdb.base/so-impl-ld.exp: Likewise.
9341 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9342 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9343 gdb_compile.
9344
b04e06d7
VP
93452007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9346
9347 * config/unknown.exp: Remove.
9348
069ed931
UW
93492007-05-15 Markus Deuling <deuling@de.ibm.com>
9350
9351 * gdb.base/info-proc.exp: Check is_remote.
9352
09db0d03
UW
93532007-05-14 Markus Deuling <deuling@de.ibm.com>
9354
9355 * gdb.base/gcore.exp: Initialize variable core_supported.
9356
af2cbe8c
DJ
93572007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9358
9359 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9360
027c0295
DJ
93612007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9362
9363 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9364 * gdb.threads/print-threads.exp (test_all_threads): Allow
9365 negative and hexadecimal thread IDs.
9366
dc5000e7
DJ
93672007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9368
9369 * gdb.java/jprint.java (public): Avoid invalid call to static
9370 method.
9371
2e74ed18
DP
93722007-05-14 Denis Pilat <denis.pilat@st.com>
9373
9374 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9375 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9376 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9377 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9378 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9379
83547f02
UW
93802007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9381
9382 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9383 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9384 this mode.
9385 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9386 * gdb.base/spu.ld: New file.
9387
b18be20d
DJ
93882007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9389
9390 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9391
be444858
DJ
93922007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9393
9394 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9395
b1d53152
DJ
93962007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9397
9398 * gdb.java/jmain.exp: Handle demangled names with and without method
9399 signatures.
9400
d084b331
DJ
94012007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9402
9403 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9404 (have_a_very_merry_interrupt): Remove calls to puts.
9405 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9406 inferior output.
9407 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9408 test names.
9409
db9d7fc5
DJ
94102007-04-29 Markus Deuling <deuling@de.ibm.com>
9411 Daniel Jacobowitz <dan@codesourcery.com>
9412
9413 * gdb.base/auxv.exp (core_works): Also check is_remote.
9414 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9415
ef783a7d 94162007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9417
ef783a7d
VP
9418 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9419 message, not the undefined 'module' variable.
9420 * gdb.base/siginfo.exp: Likewise.
9421 * gdb.base/sigstep.exp: Likewise.
9422 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9423 serialport.
9424 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9425
b7b73cae
CV
94262007-04-25 Corinna Vinschen <vinschen@redhat.com>
9427
9428 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9429 target sim fails. Return 0 otherwise.
9430 (gdb_load): Return prematurely if gdb_target_sim fails.
9431
7d90fdfa
DP
94322007-04-16 Denis Pilat <denis.pilat@st.com>
9433
9434 * gdb.base/setshow.exp: Reset height after having set it to 100.
9435
5d3e9c85
DP
94362007-04-16 Denis Pilat <denis.pilat@st.com>
9437
9438 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9439
18e75969
DP
94402007-04-16 Denis Pilat <denis.pilat@st.com>
9441
9442 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9443
25d5ea92
VP
94442007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9445
9446 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9447 tests. Run the frozen varobjs test.
9448 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9449 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9450
0b49cb80
JK
94512007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9452
9453 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9454 gdb.base/type-opaque.exp: New files.
9455
a73bafbc 94562007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9457
9458 * gdb.mi/mi-var-child.c
a73bafbc
VP
9459 (do_children_tests): User char[2] instead of
9460 char so that automatic printing of pointers to char
9461 don't give unpredicable result.
9462 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9463 local variables.
9464 * gdb.mi/mi-var-child.exp: Step to right line
9465 of do_children_tests.
9466 * gdb.mi/mi2-var-child.exp: Likewise.
9467 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9468 do_locals_tests.
a73bafbc
VP
9469 (do_children_tests): User char[2] instead of
9470 char so that automatic printing of pointers to char
a9c64011 9471 don't give unpredicable result.
a73bafbc 9472 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9473 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9474 Pass test name to mi_wait_for_stop.
9475
7ce59000
DJ
94762007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9477
9478 * gdb.asm/asm-source.exp: Remove d10v case.
9479 * lib/gdb.exp (skip_cplus_tests): Likewise.
9480 * gdb.asm/d10v.inc: Deleted.
9481
20389057
DJ
94822007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9483
9484 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9485
8807d78b
DJ
94862007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9487
9488 * config/netware.exp: Delete file.
9489
aa3edb8e
JB
94902007-03-29 Joel Brobecker <brobecker@adacore.com>
9491
9492 * gdb.dwarf2/dw2-noloc.S: New file.
9493 * gdb.dwarf2/dw2-noloc.exp: New file.
9494
297561ac
PA
94952007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9496
9497 * gdb.cp/method2.cc: New test.
9498 * gdb.cp/method2.exp: New test.
9499 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9500
1f81bd39
DJ
95012007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9502
9503 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9504
9453113a
DJ
95052007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9506
9507 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9508
b741e217
DJ
95092007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9510
9511 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9512 (gdb_load): Delete, replace with...
9513 (gdb_reload): ...this.
9514 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9515 * gdb.server/server-mon.exp: Likewise.
9516 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9517 (gdb_start_cmd): New.
9518 (gdb_file_cmd): Save the last loaded file.
9519 (gdb_reload): New.
9520 (gdb_gnu_strip_debug): Use transform.
9521 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9522 support here. Use new $last_loaded_file. Check mtime.
9523 (gdb_target_cmd): Handle ObjC failure case.
9524 (infer_host_exec): Delete.
9525 (gdbserver_load): Rename to...
9526 (gdbserver_run): ...this. Simplify.
9527 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9528 (mi_gdb_load): Move most contents to a new function...
9529 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9530 (mi_run_cmd): Use mi_gdb_target_load.
9531 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9532 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9533 Use gdb_run_cmd.
9534 * gdb.base/charsign.exp: Remove incorrect comment.
9535 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9536 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9537 gdb.base/start.exp: Use gdb_start_cmd.
9538
446ab585 95392007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9540 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9541
9542 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9543 * gdb.base/signull.exp: Similarly.
9544
bbb88ebf
UW
95452007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9546
9547 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9548 messages available to test cases (like chng-sym.exp).
9549
cb8c4a99
AS
95502007-03-14 Andreas Schwab <schwab@suse.de>
9551
9552 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9553 format changes.
9554
4e463ff5
DJ
95552007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9556
9557 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9558 (optimized_1): New.
9559 (main): Call optimized_1.
9560 (gdb2029): Correct typos. Call gdb2029_marker.
9561 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9562 for gdb2029.
9563
b6db2c47
MK
95642007-03-12 Mark Kettenis <kettenis@gnu.org>
9565
9566 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9567 as tabs. Remove redundant test pattern.
9568
70ed3737
UW
95692007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9570
9571 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9572 for /a format output.
9573
47b67b60
DJ
95742007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9575
9576 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9577 collect output incrementally.
9578
b8953b0e
UW
95792007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9580
9581 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9582 for -var-create lpcharacter test.
9583 * gdb.mi/mi2-var-cmd.exp: Likewise.
9584
7acd5c40
UW
95852007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9586
9587 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9588 pass on targets where address zero is readable.
9589
9c6759c1
UW
95902007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9591
9592 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9593 just a single architecture.
9594
a2f1aeb4
UW
95952007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9596
9597 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9598 (fetch_all_registers): New function, uses gdb_test_multiple and
9599 exp_continue to fetch inferior output line-by-line.
9600 Replace all uses of do_get_all_registers by fetch_all_registers.
9601
46579ac2
UW
96022007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9603
9604 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9605 in target_info.
9606
fc133f24
MS
96072007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9608
a9c64011 9609 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9610 consistancy; add a default (timeout) case.
9611
7646a51d
MS
96122007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9613
9614 * gdb.base/watchpoint.exp: Fix truncated comment.
9615
dcfff61f
MS
96162007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9617
9618 * Makefile.in: Remove spurious single-quotes from sed command.
9619
664e3ee9
DJ
96202007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9621
9622 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9623 func.
9624 * gdb.mi/mi2-var-cmd.exp: Likewise.
9625
d7cc6f2f
JB
96262007-02-27 Joel Brobecker <brobecker@adacore.com>
9627
a9c64011
AS
9628 * gdb.dwarf2/dw2-producer.S: New file.
9629 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9630
96312007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9632
9633 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9634 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9635 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9636 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9637 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9638 Revert tests to use mi_gdb_test and include value field in output
9639 of -var-create.
9640
93d42b30
DJ
96412007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9642
9643 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9644
c499ed39
DJ
96452007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9646
9647 * gdb.base/maint.exp: Remove full paths from test names.
9648 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9649 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9650
9836f81b
JB
96512007-02-27 Joel Brobecker <brobecker@adacore.com>
9652
9653 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9654
c74d0ad8
DJ
96552007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9656
9657 * gdb.server/server-mon.exp: New test.
9658
2711e456
DJ
96592007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9660
9661 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9662
ff6f572f
DJ
96632007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9664
9665 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9666 register capitalization.
9667
fada3feb
DP
96682007-02-13 Denis Pilat <denis.pilat@st.com>
9669
9670 * gdb.mi/mi-var-invalidate.exp: New file.
9671
fb1e4ffc
DJ
96722007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9673
9674 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9675
3da939d7
DJ
96762007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9677
9678 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9679
123dc839
DJ
96802007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9681
9682 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9683 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9684
877e3645 96852007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9686
9687 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9688 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9689 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9690 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9691 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9692 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9693 Update tests to include value field in output of -var-create.
a9c64011 9694
3c0a2960
AS
96952007-02-08 Andreas Schwab <schwab@suse.de>
9696
9697 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9698
108546a0
DJ
96992007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9702 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9703
d701dcab
DP
97042007-02-02 Denis Pilat <denis.pilat@st.com>
9705
9706 * gdb.threads/threadapply.exp: check that frame is not changed by
9707 the thread apply all command.
9708
783e3e2f
AS
97092007-01-31 Andreas Schwab <schwab@suse.de>
9710
6d9c3a87
AS
9711 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9712
3c50d7b9
AS
9713 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9714 in the dwarf sections.
9715 * gdb.dwarf2/mac-fileno.S: Likewise.
9716
783e3e2f
AS
9717 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9718 bspstore register on ia64.
9719
78ff580e
AS
97202007-01-29 Andreas Schwab <schwab@suse.de>
9721
cc8e9b12
AS
9722 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9723 "frame-begin" annotation.
9724
78ff580e
AS
9725 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9726 number of "frames-invalid" annotations.
9727
704a4f78
DJ
97282007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9729
9730 * gdb.base/commands.exp: Call if_commands_test.
9731 (gdb_test_no_prompt, if_commands_test): New.
9732
e741bf94
MK
97332007-01-28 Mark Kettenis <kettenis@gnu.org>
9734
9735 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9736
474d0ad3
AS
97372007-01-27 Andreas Schwab <schwab@suse.de>
9738
9739 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9740 .short/.int/.quad in the dwarf sections.
9741 * gdb.dwarf2/dw2-intercu.S: Likewise.
9742 * gdb.dwarf2/dw2-intermix.S: Likewise.
9743
e784b426
JK
97442007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9745
9746 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9747 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9748 array.
e784b426
JK
9749 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9750 * gdb.base/setvar.exp: Likewise.
9751
37f08e04
AS
97522007-01-26 Andreas Schwab <schwab@suse.de>
9753
9a01813a
AS
9754 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9755 test.
9756
37f08e04
AS
9757 * gdb.base/multi-forks.exp ("restart $i"): Also match
9758 __kernel_syscall_via_break.
9759
6e2a9270
VP
97602007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9761
9762 * lib/mi-support.exp (mi_delete_varobj): New.
9763 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9764 testcase.
9765 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9766 (main): Call the above.
9767 (reference_update_test, base_in_reference_test)
9768 (reference_to_pointer): Delete the created varobjs.
a9c64011 9769
e515b470
DJ
97702007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9771
9772 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9773 * configure: Regenerated.
9774 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9775 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9776 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9777 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9778 * lib/gdb.exp (gdb_skip_xml_test): New function.
9779
08d8bcd7
DJ
97802007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9781
9782 * gdb.base/sigrepeat.exp: Correct error message.
9783
97842007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9785 Daniel Jacobowitz <dan@codesourcery.com>
9786
9787 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9788 gdb.arch/i386-gnu-cfi-asm.S: New files.
9789
97c3f1f3
JK
97902007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9791
9792 * lib/gdb.exp: Abort on missing `site.exp'.
9793
cb1df416
DJ
97942007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9795 Daniel Jacobowitz <dan@codesourcery.com>
9796
9797 * gdb.base/included.c, gdb.base/included.exp,
9798 gdb.base/included.h: New files.
9799
35990120
DJ
98002007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9801
9802 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9803 (maximize_rlimit): Reduce limits on 64-bit systems.
9804
6e81a116 98052007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9806
9807 From Marcus Deuling <deuling@de.ibm.com>:
9808 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9809 every case.
9810
6c3c41f3
NR
98112007-01-13 Nick Roberts <nickrob@snap.net.nz>
9812
9813 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9814 (test_path_specification): Use objdir instead of srcdir to always
9815 get an absolute filename.
9816
2f12c312
DJ
98172007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9818
9819 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9820
81121995
VP
98212007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9822
9823 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9824 Make sure the variable we're using is in scope.
9825 (reference_to_pointer): Likewise.
9826
4741b737
DJ
98272007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9828
9829 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9830 has no debug information.
9831
054410c3
DJ
98322007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9833
9834 * gdb.base/annota1.exp: Remove extra send_gdb.
9835
818f79f6
DJ
98362007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9839
f7a6bb70
DJ
98402007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9841
9842 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9843
57e66780
DJ
98442007-01-08 Nick Roberts <nickrob@snap.net.nz>
9845 Daniel Jacobowitz <dan@codesourcery.com>
9846
9847 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9848 lcharacter or linteger change. Correct duplicated test name.
9849 * gdb.mi/mi2-var-cmd.exp: Likewise.
9850
3d799a95
DJ
98512007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9852
9853 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9854
98552007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9856
a9c64011
AS
9857 * gdb.base/nofield.c: New file.
9858 * gdb.base/nofield.exp: New testcase.
51679ba9 9859
eafb94e8
NR
98602007-01-05 Nick Roberts <nickrob@snap.net.nz>
9861
9862 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9863
9864 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9865 test.
9866
5e572bb4
DJ
98672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9868
9869 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9870
74a44383
DJ
98712007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9872
9873 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9874 when continuing.
9875
1b572db9
DJ
98762007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9877
9878 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9879 Expect ".exe" extension.
9880
381bc39b
DJ
98812007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9882
9883 * gdb.base/charset.exp: Add explicit filename to break.
9884 * gdb.base/dbx.exp: Add explicit filename to breaks.
9885
2b70e4c6
DJ
98862007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9887
9888 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9889 * gdb.mi/mi2-file.exp: Likewise.
9890
303b6f5d
DJ
98912007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9892
9893 Implement specification of MI tests as comments
9894 in C and C++ sources.
9895 * lib/mi-support.exp (mi_autotest_data): New variable.
9896 (mi_autotest_source): New variable.
9897 (count_newlines, mi_prepare_inline_tests)
9898 (mi_get_inline_test, mi_continue_to_line)
9899 (mi_run_inline_test, mi_tbreak)
9900 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9901 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9902 Run inline tests.
9903 * gdb.mi/mi-var-cp.cc: Define tests here.
9904
23da0d94
VP
99052007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9906
9907 Simplify usage of mi_continue_to.
9908 * lib/mi-support.exp (mi_runto_helper): Renamed
9909 from mi_runto, added new parameter 'run_or_continue'.
9910 (mi_runto): Use mi_runto_helper.
9911 (mi_continue_to): Accept just function name as parameter.
9912 Use mi_runto_helper.
9913 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9914 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9915
f9e18282
JB
99162006-01-04 Joel Brobecker <brobecker@adacore.com>
9917
9918 Make this testcase a bit more realistic. The current code
9919 is too simplistic, and allows the compiler to optimize out
9920 some of the entities we need for this testcase.
9921 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9922 (Do_Nothing): Add extra parameter.
9923 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9924 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9925 by using a variable of type Void_Star.
9926
fd678c65
JB
99272006-01-04 Joel Brobecker <brobecker@adacore.com>
9928
9929 * gdb.ada/catch_ex/foo.adb: New file.
9930 * gdb.ada/catch_ex.exp: New testcase.
9931
05cfdb42
DJ
99322007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9933
9934 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9935 pass --image-base to linker.
9936
2e03ee74
DJ
99372007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 Daniel Jacobowitz <dan@codesourcery.com>
9939
9940 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9941 secondary prompts.
9942
0d5de010
DJ
99432007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9944
9945 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9946 output. Test the types of members and member pointers.
9947 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9948 gdb/2092.
9949 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9950 statement. Enable for GCC. Update expected output for some tests
9951 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9952 layout.
9953 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9954 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9955 (Diamond::vget_base): New.
9956 (main): Add new tests.
9957 * gdb.cp/printmethod.exp: Update expected output for member functions.
9958 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9959 print pEe->D::vg().
9960
61a771aa
DJ
99612007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9962
9963 * gdb.threads/tls.exp: Allow stops in sem_post.
9964
2fa63963
DJ
99652006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9966
9967 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9968 * gdb.base/annota3.exp: Likewise.
9969 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9970 again (instead of timing out).
9971 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9972 GCC bug 26475.
9973 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9974 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9975 test from jmisc1.exp.
9976 * gdb.java/jmisc1.exp: Delete.
9977 * gdb.java/jprint.exp: Adjust to work with method signatures including
9978 return types.
9979 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9980 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9981 * lib/java.exp (compile_java_from_source): Pass the correct type
9982 to target_compile.
9983
5eefc2b7
JB
99842006-12-31 Joel Brobecker <brobecker@adacore.com>
9985
9986 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9987 (stack_align_edx): New function.
9988 (stack_align_eax): New function.
9989 (main): Add calls to stack_align_edx and stack_align_eax.
9990 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9991 Add testing for the cases where the register used during a stack
9992 realignment is edx. Same for eax.
9993
227c54da
DJ
99942006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9995
9996 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9997 and generic PE targets.
9998
cab8ac94
JB
99992006-12-29 Joel Brobecker <brobecker@adacore.com>
10000
10001 * gdb.ada/array_return.exp: Update copyright date list.
10002
ba54f318
JB
100032006-12-27 Joel Brobecker <brobecker@adacore.com>
10004
10005 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10006 (Create_Small_Float_Vector): New function.
10007 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10008 function body.
10009 * gdb.ada/array_return/p.adb: Use new type and function from
10010 package Pck.
10011 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10012 able to print the value returned by a function returning an
10013 array of float.
10014
6b7a35dd
JB
100152006-12-20 Joel Brobecker <brobecker@adacore.com>
10016
10017 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10018 The associated tests should be PASSing.
10019
038224f6
VP
100202006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10021
10022 Test for base in references.
10023 * gdb.mi/mi-var-cp.cc: Add test code.
10024 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10025 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10026 * gdb.mi/mi2-watch.exp: Likewise.
10027 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10028 (mi_list_varobj_children): New function.
10029
b26ed50d
VP
100302006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10031
10032 * lib/mi-support.exp
10033 (mi_runto): Accept "()" after function name.
10034 (mi_create_varobj): New function.
10035 (mi_varobj_update): New function.
10036 (mi_Check_varobj_value): New function.
10037 * gdb.mi/mi-var-cp.exp: New file.
10038 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10039
08232497
DJ
100402006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10041
10042 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10043 gdb.base/weaklib2.c: New files.
10044
d394c993 100452006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10046
ac6c2fba
NS
10047 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10048 info. Adjust test names.
10049
8ec659a0 10050 * gdb.base/break.c (main): Move position of malloc.
d394c993 10051 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10052
acd65feb
VP
100532006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10054
10055 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10056 assignement of arrays and function pointers.
10057 * gdb.mi/var-cmd.c: Add declaration necessary for above
10058 tests.
10059
f556d5e5
NS
100602006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10061
10062 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10063
10064 * gdb.threads/linux-dp.exp: Read thread table before and after
10065 creating each philosopher and verify it.
10066
697bc68d
NS
100672006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10068 Paul Brook <paul@codesourcery.com>
10069 Daniel Jacobowitz <dan@codesourcery.com>
10070
10071 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 10072 main to remove duplication. Add start function of the form
697bc68d
NS
10073 '_*start[1-9]*'. Add RVDS start function.
10074
29d73ae4
DJ
100752006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10076
10077 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10078
c1d88655
UW
100792006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10080
10081 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10082 * gdb.asm/spu.inc: New file.
10083 * gdb.base/term.exp: Disable if [target_info exists noargs].
10084 * gdb.gdb/complaints.exp: Disable if ![isnative].
10085 * gdb.gdb/selftest.exp: Likewise.
10086 * gdb.gdb/observer.exp: Likewise.
10087 * gdb.gdb/xfullpath.exp: Likewise.
10088 * gdb.base/attach.exp: Disable on SPU target.
10089 * gdb.cp/bs145503.exp: Likewise.
10090 * gdb.cp/exception.exp: Likewise.
10091 * gdb.cp/userdef.exp: Likewise.
10092
32a13b1a
DJ
100932006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10094
10095 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10096
d8295fe9
VP
100972006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10098
10099 * gdb.base/completion.exp: Fix completion tests for
10100 'info' and 'info '.
10101 * gdb.base/help.exp (help_test_raw, test_class_help)
10102 (test_prefix_command_help): Move...
10103 * lib/gdb.exp: Here.
10104 * gdb.base/main.exp: Adjust.
10105 * gdb.cp/maint.exp: Adjust.
10106 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 10107
8c394015
VP
101082006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10109
10110 * gdb.stabs/weird.exp (print_weird_var): Use
10111 gdb_test_multiple instead of gdb_expect.
10112
027fc1bc
VP
101132006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10114
10115 * gdb.base/help.exp (help_test_raw): New.
10116 (test_class_help): New.
10117 (test_prefix_command_help): New.
10118 Adjust testcases.
10119
67609209
FR
101202006-11-09 Christophe Lyon <christophe.lyon@st.com>
10121
10122 * gdb.base/constvars.c (main): Write to crass and crips, so that
10123 they are allocated by the compiler.
10124
f73adfeb
AS
101252006-10-27 Andreas Schwab <schwab@suse.de>
10126
10127 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10128 "detach-fork".
10129
2f83a18e
DJ
101302006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10131
10132 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10133 of patterns.
10134
94277a38
DJ
101352006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10136
10137 * gdb.base/sepdebug.exp: Remove debug format test.
10138 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10139 Handle no-symtab.
10140 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10141
5bd2f6e2
DJ
101422006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10143
10144 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10145 int to pointer or pointer to int.
10146 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10147
8c008720
DJ
101482006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10149
10150 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10151
9e35dae4
DJ
101522006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10153
10154 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10155
d9639e13
DJ
101562006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10157
10158 PR c++/2116
10159 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10160
390a1bd0
JB
101612006-10-06 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10164 the corresponding bug has been fixed in GDB (PR/2018).
10165
dd920c33
JB
101662006-10-06 Joel Brobecker <brobecker@adacore.com>
10167
10168 * gdb.base/subst.exp: New testcase.
10169
53bbefe9
JB
101702006-10-06 Joel Brobecker <brobecker@adacore.com>
10171
10172 * gdb.ada/array_return/pck.ads: Add copyright notice.
10173 * gdb.ada/array_return/pck.adb: Likewise.
10174 * gdb.ada/array_return/p.adb: Likewise.
10175 * gdb.ada/exec_changed/first.adb: Likewise.
10176 * gdb.ada/exec_changed/second.adb: Likewise.
10177
09851417
JB
101782006-10-06 Joel Brobecker <brobecker@adacore.com>
10179
10180 * gdb.ada/watch_arg/watch.adb: New file.
10181 * gdb.ada/watch_arg.exp: New testcase.
10182
041bf30d
VP
101832006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10184
10185 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10186 via string_to_regexp.
041bf30d 10187 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10188
f286fbdd 101892006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10190
10191 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10192 Remove unused / obsolete files.
10193
7c07f349
NR
101942006-09-19 Nick Roberts <nickrob@snap.net.nz>
10195
10196 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10197
cd5ff84a
VP
101982006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10199
10200 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10201 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10202 the number of frames.
cd5ff84a 10203
ae018d1a
DJ
102042006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10205
10206 * gdb.base/args.c (main): Add breakpoint marker.
10207 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10208 really test empty arguments.
10209 (args_load): Delete.
10210 (args_test): New.
10211
b399c549
NR
102122006-09-13 Nick Roberts <nickrob@snap.net.nz>
10213
10214 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10215 check for one file.
b399c549 10216
2ab1eb7a
VP
102172006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10218
10219 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10220 HIGH_FRAME argument to -stack-list-locals can be larger than
10221 the number of frames.
a9c64011 10222
476308bf
FF
102232006-08-18 Fred Fish <fnf@specifix.com>
10224
10225 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10226 '$' in front of skip_vmx_tests_saved when setting that.
10227
8625200f
AS
102282006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10229
10230 * gdb.base/trace-commands.exp: New file.
10231
089ec8f1
DJ
102322006-08-10 Joel Brobecker <brobecker@adacore.com>
10233 Daniel Jacobowitz <dan@codesourcery.com>
10234
10235 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10236 expected output of the backtrace commands.
10237
b60f0898
JB
102382006-08-09 Joel Brobecker <brobecker@adacore.com>
10239
10240 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10241 untested followed by return combination.
10242 * gdb.arch/altivec-regs.exp: Likewise.
10243 * gdb.arch/e500-abi.exp: Likewise.
10244 * gdb.arch/e500-regs.exp: Likewise.
10245 * gdb.arch/gdb1291.exp: Likewise.
10246 * gdb.arch/gdb1431.exp: Likewise.
10247 * gdb.arch/gdb1558.exp: Likewise.
10248 * gdb.arch/i386-prologue.exp: Likewise.
10249 * gdb.arch/i386-unwind.exp: Likewise.
10250 * gdb.asm/asm-source.exp: Likewise.
10251 * gdb.base/a2-run.exp: Likewise.
10252 * gdb.base/advance.exp: Likewise.
10253 * gdb.base/all-bin.exp: Likewise.
10254 * gdb.base/annota1.exp: Likewise.
10255 * gdb.base/annota3.exp: Likewise.
10256 * gdb.base/args.exp: Likewise.
10257 * gdb.base/arithmet.exp: Likewise.
10258 * gdb.base/assign.exp: Likewise.
10259 * gdb.base/async.exp: Likewise.
10260 * gdb.base/attach.exp: Likewise.
10261 * gdb.base/bang.exp: Likewise.
10262 * gdb.base/bigcore.exp: Likewise.
10263 * gdb.base/bitfields.exp: Likewise.
10264 * gdb.base/bitfields2.exp: Likewise.
10265 * gdb.base/break.exp: Likewise.
10266 * gdb.base/call-sc.exp: Likewise.
10267 * gdb.base/call-strs.exp: Likewise.
10268 * gdb.base/callfuncs.exp: Likewise.
10269 * gdb.base/checkpoint.exp: Likewise.
10270 * gdb.base/chng-syms.exp: Likewise.
10271 * gdb.base/code-expr.exp: Likewise.
10272 * gdb.base/commands.exp: Likewise.
10273 * gdb.base/completion.exp: Likewise.
10274 * gdb.base/cond-expr.exp: Likewise.
10275 * gdb.base/condbreak.exp: Likewise.
10276 * gdb.base/consecutive.exp: Likewise.
10277 * gdb.base/constvars.exp: Likewise.
10278 * gdb.base/corefile.exp: Likewise.
10279 * gdb.base/cvexpr.exp: Likewise.
10280 * gdb.base/dbx.exp: Likewise.
10281 * gdb.base/define.exp: Likewise.
10282 * gdb.base/detach.exp: Likewise.
10283 * gdb.base/display.exp: Likewise.
10284 * gdb.base/dump.exp: Likewise.
10285 * gdb.base/ena-dis-br.exp: Likewise.
10286 * gdb.base/ending-run.exp: Likewise.
10287 * gdb.base/environ.exp: Likewise.
10288 * gdb.base/eval-skip.exp: Likewise.
10289 * gdb.base/exprs.exp: Likewise.
10290 * gdb.base/fileio.exp: Likewise.
10291 * gdb.base/finish.exp: Likewise.
10292 * gdb.base/float.exp: Likewise.
10293 * gdb.base/foll-exec.exp: Likewise.
10294 * gdb.base/foll-fork.exp: Likewise.
10295 * gdb.base/foll-vfork.exp: Likewise.
10296 * gdb.base/freebpcmd.exp: Likewise.
10297 * gdb.base/funcargs.exp: Likewise.
10298 * gdb.base/gcore.exp: Likewise.
10299 * gdb.base/gdb1090.exp: Likewise.
10300 * gdb.base/gdb1250.exp: Likewise.
10301 * gdb.base/huge.exp: Likewise.
10302 * gdb.base/info-proc.exp: Likewise.
10303 * gdb.base/interrupt.exp: Likewise.
10304 * gdb.base/jump.exp: Likewise.
10305 * gdb.base/langs.exp: Likewise.
10306 * gdb.base/lineinc.exp: Likewise.
10307 * gdb.base/list.exp: Likewise.
10308 * gdb.base/logical.exp: Likewise.
10309 * gdb.base/long_long.exp: Likewise.
10310 * gdb.base/macscp.exp: Likewise.
10311 * gdb.base/maint.exp: Likewise.
10312 * gdb.base/mips_pro.exp: Likewise.
10313 * gdb.base/miscexprs.exp: Likewise.
10314 * gdb.base/multi-forks.exp: Likewise.
10315 * gdb.base/opaque.exp: Likewise.
10316 * gdb.base/overlays.exp: Likewise.
10317 * gdb.base/pc-fp.exp: Likewise.
10318 * gdb.base/pointers.exp: Likewise.
10319 * gdb.base/printcmds.exp: Likewise.
10320 * gdb.base/psymtab.exp: Likewise.
10321 * gdb.base/ptype.exp: Likewise.
10322 * gdb.base/recurse.exp: Likewise.
10323 * gdb.base/relational.exp: Likewise.
10324 * gdb.base/relocate.exp: Likewise.
10325 * gdb.base/remote.exp: Likewise.
10326 * gdb.base/reread.exp: Likewise.
10327 * gdb.base/restore.exp: Likewise.
10328 * gdb.base/return.exp: Likewise.
10329 * gdb.base/return2.exp: Likewise.
10330 * gdb.base/scope.exp: Likewise.
10331 * gdb.base/sect-cmd.exp: Likewise.
10332 * gdb.base/sep.exp: Likewise.
10333 * gdb.base/sepdebug.exp: Likewise.
10334 * gdb.base/setshow.exp: Likewise.
10335 * gdb.base/setvar.exp: Likewise.
10336 * gdb.base/sigall.exp: Likewise.
10337 * gdb.base/sigbpt.exp: Likewise.
10338 * gdb.base/signals.exp: Likewise.
10339 * gdb.base/signull.exp: Likewise.
10340 * gdb.base/sizeof.exp: Likewise.
10341 * gdb.base/solib.exp: Likewise.
10342 * gdb.base/step-line.exp: Likewise.
10343 * gdb.base/step-test.exp: Likewise.
10344 * gdb.base/structs.exp: Likewise.
10345 * gdb.base/structs2.exp: Likewise.
10346 * gdb.base/term.exp: Likewise.
10347 * gdb.base/twice.exp: Likewise.
10348 * gdb.base/until.exp: Likewise.
10349 * gdb.base/varargs.exp: Likewise.
10350 * gdb.base/volatile.exp: Likewise.
10351 * gdb.base/watchpoint.exp: Likewise.
10352 * gdb.base/whatis-exp.exp: Likewise.
10353 * gdb.base/whatis.exp: Likewise.
10354 * gdb.cp/ambiguous.exp: Likewise.
10355 * gdb.cp/annota2.exp: Likewise.
10356 * gdb.cp/annota3.exp: Likewise.
10357 * gdb.cp/bool.exp: Likewise.
10358 * gdb.cp/breakpoint.exp: Likewise.
10359 * gdb.cp/casts.exp: Likewise.
10360 * gdb.cp/class2.exp: Likewise.
10361 * gdb.cp/classes.exp: Likewise.
10362 * gdb.cp/cplusfuncs.exp: Likewise.
10363 * gdb.cp/ctti.exp: Likewise.
10364 * gdb.cp/derivation.exp: Likewise.
10365 * gdb.cp/exception.exp: Likewise.
10366 * gdb.cp/gdb1355.exp: Likewise.
10367 * gdb.cp/hang.exp: Likewise.
10368 * gdb.cp/inherit.exp: Likewise.
10369 * gdb.cp/local.exp: Likewise.
10370 * gdb.cp/m-data.exp: Likewise.
10371 * gdb.cp/m-static.exp: Likewise.
10372 * gdb.cp/member-ptr.exp: Likewise.
10373 * gdb.cp/method.exp: Likewise.
10374 * gdb.cp/misc.exp: Likewise.
10375 * gdb.cp/namespace.exp: Likewise.
10376 * gdb.cp/overload.exp: Likewise.
10377 * gdb.cp/ovldbreak.exp: Likewise.
10378 * gdb.cp/pr-1023.exp: Likewise.
10379 * gdb.cp/pr-1210.exp: Likewise.
10380 * gdb.cp/pr-574.exp: Likewise.
10381 * gdb.cp/printmethod.exp: Likewise.
10382 * gdb.cp/psmang.exp: Likewise.
10383 * gdb.cp/ref-params.exp: Likewise.
10384 * gdb.cp/ref-types.exp: Likewise.
10385 * gdb.cp/rtti.exp: Likewise.
10386 * gdb.cp/templates.exp: Likewise.
10387 * gdb.cp/try_catch.exp: Likewise.
10388 * gdb.cp/userdef.exp: Likewise.
10389 * gdb.cp/virtfunc.exp: Likewise.
10390 * gdb.disasm/am33.exp: Likewise.
10391 * gdb.disasm/h8300s.exp: Likewise.
10392 * gdb.disasm/mn10300.exp: Likewise.
10393 * gdb.disasm/sh3.exp: Likewise.
10394 * gdb.disasm/t01_mov.exp: Likewise.
10395 * gdb.disasm/t02_mova.exp: Likewise.
10396 * gdb.disasm/t03_add.exp: Likewise.
10397 * gdb.disasm/t04_sub.exp: Likewise.
10398 * gdb.disasm/t05_cmp.exp: Likewise.
10399 * gdb.disasm/t06_ari2.exp: Likewise.
10400 * gdb.disasm/t07_ari3.exp: Likewise.
10401 * gdb.disasm/t08_or.exp: Likewise.
10402 * gdb.disasm/t09_xor.exp: Likewise.
10403 * gdb.disasm/t10_and.exp: Likewise.
10404 * gdb.disasm/t11_logs.exp: Likewise.
10405 * gdb.disasm/t12_bit.exp: Likewise.
10406 * gdb.disasm/t13_otr.exp: Likewise.
10407 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10408 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10409 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10410 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10411 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10412 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10413 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10414 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10415 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10416 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10417 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10418 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10419 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10420 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10421 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10422 * gdb.mi/gdb701.exp: Likewise.
10423 * gdb.mi/gdb792.exp: Likewise.
10424 * gdb.mi/mi-basics.exp: Likewise.
10425 * gdb.mi/mi-break.exp: Likewise.
10426 * gdb.mi/mi-cli.exp: Likewise.
10427 * gdb.mi/mi-console.exp: Likewise.
10428 * gdb.mi/mi-disassemble.exp: Likewise.
10429 * gdb.mi/mi-eval.exp: Likewise.
10430 * gdb.mi/mi-file.exp: Likewise.
10431 * gdb.mi/mi-read-memory.exp: Likewise.
10432 * gdb.mi/mi-regs.exp: Likewise.
10433 * gdb.mi/mi-return.exp: Likewise.
10434 * gdb.mi/mi-simplerun.exp: Likewise.
10435 * gdb.mi/mi-stack.exp: Likewise.
10436 * gdb.mi/mi-stepi.exp: Likewise.
10437 * gdb.mi/mi-syn-frame.exp: Likewise.
10438 * gdb.mi/mi-until.exp: Likewise.
10439 * gdb.mi/mi-var-block.exp: Likewise.
10440 * gdb.mi/mi-var-child.exp: Likewise.
10441 * gdb.mi/mi-var-cmd.exp: Likewise.
10442 * gdb.mi/mi-var-display.exp: Likewise.
10443 * gdb.mi/mi-watch.exp: Likewise.
10444 * gdb.mi/mi2-basics.exp: Likewise.
10445 * gdb.mi/mi2-break.exp: Likewise.
10446 * gdb.mi/mi2-cli.exp: Likewise.
10447 * gdb.mi/mi2-console.exp: Likewise.
10448 * gdb.mi/mi2-disassemble.exp: Likewise.
10449 * gdb.mi/mi2-eval.exp: Likewise.
10450 * gdb.mi/mi2-file.exp: Likewise.
10451 * gdb.mi/mi2-read-memory.exp: Likewise.
10452 * gdb.mi/mi2-regs.exp: Likewise.
10453 * gdb.mi/mi2-return.exp: Likewise.
10454 * gdb.mi/mi2-simplerun.exp: Likewise.
10455 * gdb.mi/mi2-stack.exp: Likewise.
10456 * gdb.mi/mi2-stepi.exp: Likewise.
10457 * gdb.mi/mi2-syn-frame.exp: Likewise.
10458 * gdb.mi/mi2-until.exp: Likewise.
10459 * gdb.mi/mi2-var-block.exp: Likewise.
10460 * gdb.mi/mi2-var-child.exp: Likewise.
10461 * gdb.mi/mi2-var-cmd.exp: Likewise.
10462 * gdb.mi/mi2-var-display.exp: Likewise.
10463 * gdb.mi/mi2-watch.exp: Likewise.
10464 * gdb.stabs/exclfwd.exp: Likewise.
10465 * gdb.stabs/weird.exp: Likewise.
10466 * gdb.threads/gcore-thread.exp: Likewise.
10467 * gdb.trace/actions.exp: Likewise.
10468 * gdb.trace/backtrace.exp: Likewise.
10469 * gdb.trace/circ.exp: Likewise.
10470 * gdb.trace/collection.exp: Likewise.
10471 * gdb.trace/deltrace.exp: Likewise.
10472 * gdb.trace/infotrace.exp: Likewise.
10473 * gdb.trace/limits.exp: Likewise.
10474 * gdb.trace/packetlen.exp: Likewise.
10475 * gdb.trace/passc-dyn.exp: Likewise.
10476 * gdb.trace/passcount.exp: Likewise.
10477 * gdb.trace/report.exp: Likewise.
10478 * gdb.trace/save-trace.exp: Likewise.
10479 * gdb.trace/tfind.exp: Likewise.
10480 * gdb.trace/tracecmd.exp: Likewise.
10481 * gdb.trace/while-dyn.exp: Likewise.
10482 * gdb.trace/while-stepping.exp: Likewise.
10483
f4b618d1
JB
104842006-08-08 Joel Brobecker <brobecker@adacore.com>
10485
10486 * gdb.base/step-bt.c: New file.
10487 * gdb.base/step-bt.exp: New testcase.
10488
3d00d119
DJ
104892006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10490
10491 * config/monitor.exp (gdb_load): Remove support for obsolete
10492 download-write-size.
10493 * gdb.base/remote.exp: Likewise. Update all callers of
10494 gdb_timed_load.
10495
017b5bd4
DJ
104962006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10497
10498 * cursal.exp: Pass binfile to gdb_load.
10499
837c599d
DJ
105002006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10501
10502 * gdb.base/cursal.exp: Add "" to gdb_load call.
10503
8dd4540b
MK
105042006-07-29 Mark Kettenis <kettenis@gnu.org>
10505
10506 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10507 NetBSD/ELF targets.
10508
ab5c9f60
DJ
105092006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10510
10511 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10512 operator*.
10513
4c42eaff
DJ
105142006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10515
10516 * gdb.base/completion.exp: Update for change in "file" behavior.
10517 * gdb.stabs/weird.exp: Likewise.
10518 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10519 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10520
0155cc76
NS
105212006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10522
10523 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10524 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10525
16026cd7
AS
105262006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10527
10528 * gdb.base/default.exp: Update source command error message.
10529 * gdb.base/help.exp: Update 'help source' message.
10530
16963cb6
DJ
105312006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10532
10533 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10534 test.
10535
6d7fd486
AS
105362006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10537
10538 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10539
29e8a844
DJ
105402006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10541
10542 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10543
6afcfa39
DJ
105442006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10545
10546 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10547
267a692b
MK
105482006-07-17 Mark Kettenis <kettenis@gnu.org>
10549
10550 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10551 *-*-openbsd* from targets for wich we expect ARM FPA floating
10552 point format.
10553
85d2fec4
NR
105542006-07-17 Nick Roberts <nickrob@snap.net.nz>
10555
10556 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10557
105582006-07-17 Mark Kettenis <kettenis@gnu.org>
10559
10560 * gdb.base/annota3.exp: Expect frame-begin annotation.
10561
85b4c6e8
JB
105622006-07-14 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.base/help.exp: Adjust "help unset" test to accept
10565 any list of unset commands.
10566
fb933624
DJ
105672006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10568 Daniel Jacobowitz <dan@codesourcery.com>
10569
10570 * gdb.cp/ref-params.exp: New test.
10571 * gdb.cp/ref-params.cc: New source file.
10572 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10573
1dff4b64
MK
105742006-07-08 Mark Kettenis <kettenis@gnu.org>
10575
10576 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10577 spaces/tabs in regular expressions since they might not be there.
10578
40d2e0e3
AS
105792006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10580
10581 * gdb.base/ifelse.exp: New file.
10582
f6c957d2
NS
105832006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10584
10585 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10586 line.
10587 * gdb.base/huge.exp: Loop over compilation to find a size that
10588 is acceptable.
10589 * gdb.base/remote.exp: Correct expected strings.
10590 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10591
b9c5a23d
DJ
105922006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10593
10594 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10595
9af2e58d
DJ
105962006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10597
10598 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10599 native.
10600
30930ca5
DJ
106012006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10602
10603 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10604 enable stabs testing.
10605
aa32fa1d
DJ
106062006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10607
bd4a4c80 10608 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10609 gdb_test_multiple does.
10610
321fef15
DJ
106112006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10612
10613 * Makefile.in (host_alias): Remove.
10614 (target_alias): Use @target_noncanonical@.
10615 (site.exp): Don't set host_alias.
10616 * aclocal.m4: Remove contents. Include acx.m4.
10617 * configure: Regenerated.
10618 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10619
e1c2defa
NS
106202006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10621
e63b55d1
NS
10622 * lib/gdb.exp (gdb_load_cmd): New.
10623
5600ea19
NS
10624 * gdb.base/fileio.c: Add system(NULL) test.
10625 * gdb.base/fileio.exp: Check it.
10626
e1c2defa
NS
10627 * gdb.base/break.c: Add 10a breakpoint at }
10628 * gdb.base/break.exp: Add test for breakpoint at }
10629 * gdb.cp/anon-union.cc: Add code at end of function.
10630 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10631 * gdb.mi/var-cmd.c: Add code at end of function.
10632 * gdb.mi/mi-var-display.exp: Adjust end of next.
10633 * gdb.mi/mi2-var-display.exp: Likewise.
10634 * gdb.base/fileio.c: Add stop function and insert calls at
10635 stopping places.
10636 * gdb.base/fileio.exp: Breakpoint stop function and remove
10637 explicit line number references.
10638
6c0112ec
JB
106392006-05-19 Joel Brobecker <brobecker@adacore.com>
10640
a9c64011
AS
10641 * gdb.base/del.exp (test_delete_alias): New function.
10642 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10643
154189a4
FF
106442006-05-18 Fred Fish <fnf@specifix.com>
10645
10646 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10647 required. Check for spurious output after program exits normally.
10648
582e64c2
FF
106492006-05-17 Fred Fish <fnf@specifix.com>
10650
10651 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10652 gdb_load, so it works in the simulator.
10653
8ef6493a
FF
106542006-05-11 Fred Fish <fnf@specifix.com>
10655
10656 * gdb.base/bang.exp: Ignore unexpected output between the
10657 "program exited normally" and the gdb prompt, as many other
10658 tests do.
10659
692b141c
MK
106602006-05-07 Mark Kettenis <kettenis@gnu.org>
10661
10662 * gdb.base/help.exp: Make "delete checkpoint" part option for
10663 "help d" and "help delete" tests.
10664
540b8a30
UW
106652006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10666
a9c64011 10667 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10668 expected output in some mi_gdb_test statements.
10669 * gdb.mi/mi2-basics.exp: Likewise.
10670
9b6462d9
JB
106712006-05-05 Joel Brobecker <brobecker@adacore.com>
10672
10673 * gdb.base/del.c: New file.
10674 * gdb.base/del.exp: New testcase.
10675
954de43b
DM
106762006-05-05 David S. Miller <davem@sunset.davemloft.net>
10677
10678 * gdb.base/break.exp: Do not assume a breakpoint on
10679 main will actually be in $srcfile when optimizing.
1303f75e
DM
10680 * gdb.base/savedregs.exp: Do not require that the dummy
10681 frame location match up to a symbol and source file location.
c3242428
DM
10682 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10683 will get printed without a mi_cmd_data_list_register_values prefix.
10684 (*-data-list-register-*): Correct regular expressions to expect the new
10685 pseudo d? floating point registers.
10686 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10687
c7e64c9a
DJ
106882006-05-05 Christophe Lyon <christophe.lyon@st.com>
10689
10690 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10691 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10692 is allocated by the compiler.
10693 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10694 anons, e, anone to force their allocation by the compiler.
10695
106962006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10697
10698 * gdb.base/help.exp: Update expected text for help d and
10699 help delete.
10700
27ce9a6d
MK
107012006-05-02 Mark Kettenis <kettenis@gnu.org>
10702
10703 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10704 NetBSD/ELF targets.
10705
8608915f
MK
107062006-04-30 Mark Kettenis <kettenis@gnu.org>
10707
10708 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10709 single-step breakpoint fails; make this a KFAIL on
10710 sparc*-*-openbsd*.
10711 * gdb.base/siginfo.exp: Likewise.
10712 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10713
b8db102d
MS
107142006-04-26 Michael Snyder <msnyder@redhat.com>
10715
10716 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10717 which may have to consume output from other forks.
10718 Add tests to make sure that "delete fork" succeeded.
10719
c702009a
MS
107202006-04-20 Michael Snyder <msnyder@redhat.com>
10721
10722 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10723 Add support for the Renesas M32C and M16C.
10724
10725 * gdb.asm/asm-source.exp: Add m32c target.
10726 * gdb.asm/m32c.inc: Support for m32c target.
10727
e28493f2
AS
107282006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10729
10730 * gdb.base/commands.exp (recursive_source_test): New test.
10731
880da185
DM
107322006-04-04 David S. Miller <davem@sunset.davemloft.net>
10733
10734 * gdb.base/float.exp: Add pattern for sparc targets.
10735
61d9b92f
DJ
107362006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10737
10738 * gdb.base/commands.exp (stray_arg0_test): New test.
10739
bd717df8
PB
107402006-03-30 Paul Brook <paul@codesourcery.com>
10741
10742 * gdb.mi/mi-until.exp: kfail broken until command.
10743 * gdb.mi/mi2-until.exp: Ditto.
10744
ec793d3c
NR
107452006-03-27 Nick Roberts <nickrob@snap.net.nz>
10746
10747 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10748
831004b7
AO
107492006-03-08 Alexandre Oliva <aoliva@redhat.com>
10750
10751 * gdb.base/prelink.exp: Anchor tested-for regular expression
10752 on gdb prompt.
10753
effe49a0
PB
107542006-03-07 Paul Brook <paul@codesourcery.com>
10755
10756 * gdb.base/assign.exp: Correct fail message.
10757
e5461016
PB
107582006-03-07 Paul Brook <paul@codesourcery.com>
10759
10760 * lib/compiler.c: Extract armcc version number.
10761 * lib/compiler.cc: Ditto.
10762
fc91c6c2
PB
107632006-03-07 Paul Brook <paul@codesourcery.com>
10764
10765 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10766 additional_flags=-w.
10767 * gdb.arch/altivec-regs.exp: Ditto.
10768 * gdb.arch/e500-abi.exp: Ditto.
10769 * gdb.arch/e500-regs.exp: Ditto.
10770 * gdb.base/all-bin.exp: Ditto.
10771 * gdb.base/annota1.exp: Ditto.
10772 * gdb.base/annota3.exp: Ditto.
10773 * gdb.base/args.exp: Ditto.
10774 * gdb.base/arithmet.exp: Ditto.
10775 * gdb.base/assign.exp: Ditto.
10776 * gdb.base/async.exp: Ditto.
10777 * gdb.base/bang.exp: Ditto.
10778 * gdb.base/break.exp: Ditto.
10779 * gdb.base/call-rt-st.exp: Ditto.
10780 * gdb.base/completion.exp: Ditto.
10781 * gdb.base/cond-expr.exp: Ditto.
10782 * gdb.base/condbreak.exp: Ditto.
10783 * gdb.base/consecutive.exp: Ditto.
10784 * gdb.base/define.exp: Ditto.
10785 * gdb.base/display.exp: Ditto.
10786 * gdb.base/ena-dis-br.exp: Ditto.
10787 * gdb.base/environ.exp: Ditto.
10788 * gdb.base/eval-skip.exp: Ditto.
10789 * gdb.base/info-proc.exp: Ditto.
10790 * gdb.base/jump.exp: Ditto.
10791 * gdb.base/logical.exp: Ditto.
10792 * gdb.base/long_long.exp: Ditto.
10793 * gdb.base/maint.exp: Ditto.
10794 * gdb.base/miscexprs.exp: Ditto.
10795 * gdb.base/pc-fp.exp: Ditto.
10796 * gdb.base/pointers.exp: Ditto.
10797 * gdb.base/relational.exp: Ditto.
10798 * gdb.base/reread.exp: Ditto.
10799 * gdb.base/sect-cmd.exp: Ditto.
10800 * gdb.base/sep.exp: Ditto.
10801 * gdb.base/sepdebug.exp: Ditto.
10802 * gdb.base/until.exp: Ditto.
10803 * gdb.base/whatis-exp.exp: Ditto.
10804 * gdb.cp/annota2.exp: Ditto.
10805 * gdb.cp/annota3.exp: Ditto.
10806 * gdb.trace/actions.exp: Ditto.
10807 * gdb.trace/backtrace.exp: Ditto.
10808 * gdb.trace/circ.exp: Ditto.
10809 * gdb.trace/collection.exp: Ditto.
10810 * gdb.trace/deltrace.exp: Ditto.
10811 * gdb.trace/infotrace.exp: Ditto.
10812 * gdb.trace/limits.exp: Ditto.
10813 * gdb.trace/packetlen.exp: Ditto.
10814 * gdb.trace/passc-dyn.exp: Ditto.
10815 * gdb.trace/passcount.exp: Ditto.
10816 * gdb.trace/report.exp: Ditto.
10817 * gdb.trace/save-trace.exp: Ditto.
10818 * gdb.trace/tfind.exp: Ditto.
10819 * gdb.trace/tracecmd.exp: Ditto.
10820 * gdb.trace/while-dyn.exp: Ditto.
10821 * gdb.trace/while-stepping.exp: Ditto.
10822 * lib/gdb.exp: Ditto.
10823 (gdb_compile): Handle nowarning option.
10824
5f4a23d9
AO
108252006-03-07 Alexandre Oliva <aoliva@redhat.com>
10826
10827 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10828 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10829 Rename executable to prelinkt. Don't re-prelink if we didn't
10830 get a core file. Test prelink -u exit status to tell whether
10831 prelinking failed. Use gdb_test_multiple.
10832
9733fc94
DJ
108332006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10834
10835 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10836 (do_tests): Call it.
10837
cc10cae3
AO
108382006-02-28 Alexandre Oliva <aoliva@redhat.com>
10839
10840 * gdb.base/prelink.exp: New test.
10841 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10842
15c46491
WZ
108432006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10844
10845 * gdb.fortran/derived-type.f90: New file.
10846 * gdb.fortran/derived-type.exp: New testcase.
10847
5c9f7ded
DJ
108482006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10849
10850 * gdb.base/default.exp: Allow ';' as a directory separator.
10851
5b96932b
AS
108522006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10853
10854 * gdb.base/help.exp (help add-symbol-file): Update.
10855
1986bccd
AS
108562006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10857
10858 * gdb.base/help.exp (help load): Update expected results.
10859
a8b7528f
FF
108602006-02-19 Fred Fish <fnf@specifix.com>
10861
10862 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10863 specifix hex value as part of results.
10864 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10865
f8261448
FF
108662006-02-16 Fred Fish <fnf@specifix.com>
10867
10868 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10869 ushort_addr, and slong_addr, so the typedefs are not optimized
10870 away.
10871 * gdb.base/whatis.exp: Add tests using type name for struct type,
10872 union type, enum type, and typedef.
a9c64011 10873
31d8bdd2
MK
108742006-02-13 Mark Kettenis <kettenis@gnu.org>
10875
10876 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10877
34e41e63
JB
108782006-02-13 Jim Blandy <jimb@redhat.com>
10879
10880 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10881 case where it takes two "next" commands to skip past the init
10882 call.
10883
ac6e4f31
FF
108842006-02-12 Fred Fish <fnf@specifix.com>
10885
10886 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10887 to handle cases where it takes two "next" commands to skip
10888 past the init call.
10889
2db2d571
JB
108902006-02-07 Joel Brobecker <brobecker@adacore.com>
10891
10892 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10893 on hppa32 targets.
10894
38fcd64c
DJ
108952006-02-06 Vladimir Prus <ghost@cs.msu.su>
10896
10897 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10898 field.
10899
1315ad46
MK
109002006-01-29 Mark Kettenis <kettenis@gnu.org>
10901
10902 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10903
5625b943
DJ
109042006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10905
10906 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10907 files.
10908
80df1bbe
DJ
109092006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10910
10911 * gdb.cp/maint.exp: Set complaints to a positive value.
10912
9078e690
DJ
109132006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10914
10915 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10916 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10917 function name.
10918
9c903399
DJ
109192006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10920
10921 * gdb.base/checkpoint.c: Update copyright notice. Include
10922 <stdlib.h>.
10923
761ae4d6
JB
109242006-01-04 Jim Blandy <jimb@redhat.com>
10925
10926 * gdb.asm/asm-source.exp: Independently provide default values for
10927 asm-flags and debug-flags. Use 'string equal' to do the
10928 comparison, not the implicit expr's '==' operator. Remove
10929 now-unneeded assignments to asm-flags. In h8300 case, place
10930 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10931
099ac3dd
MS
109322006-01-04 Michael Snyder <msnyder@redhat.com>
10933
10934 * gdb.base/checkpoint.c: New file.
10935 * gdb.base/checkpoint.exp: New file.
10936 * gdb.base/multi-fork.c: New file.
10937 * gdb.base/multi-fork.exp: New file.
10938 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10939
f4d85314
FF
109402006-01-04 Fred Fish <fnf@specifix.com>
10941
10942 * gdb.base/ptype.c (foo): Add typedef.
10943 (intfoo): Add function.
10944 * gdb.base/ptype1.c: New file.
10945 * gdb.base/ptype.exp: Handle compilation and linking with two
10946 source files. Test that proper type for "foo" is found based
10947 on source context rather than first match found in symtabs.
10948
a1b06f35
MK
109492005-12-28 Mark Kettenis <kettenis@gnu.org>
10950
10951 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10952 * gdb.asm/openbsd.inc: Indent commands.
10953
d082a1e2
MK
109542005-12-26 Mark Kettenis <kettenis@gnu.org>
10955
c65016bd
MK
10956 * gdb.base/freebpcmd.exp: Increase timeout.
10957
d082a1e2
MK
10958 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10959
d3c32a0e
DJ
109602005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10961
10962 * gdb.base/default.exp: Update check for "show version".
10963
9fdb1f50
RC
109642005-12-09 Randolph Chung <tausq@debian.org>
10965
10966 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10967 * gdb.asm/pa64.inc: New file.
10968
5f2c56f7
RC
109692005-12-09 Randolph Chung <tausq@debian.org>
10970
10971 * gdb.asm/common.inc: Indent commands.
10972 * gdb.asm/asmsrc1.s: Likewise.
10973 * gdb.asm/asmsrc2.s: Likewise.
10974
8117349c
RC
109752005-12-09 Randolph Chung <tausq@debian.org>
10976
10977 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10978 (get_addr_of_sym): Remove duplicate print.
10979 (gen_core): xfail hppa*-*-hpux*, update expected output.
10980 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10981 * gdb.arch/pa64-nullify.s: New file.
10982
8f07f25a
RC
109832005-12-09 Randolph Chung <tausq@debian.org>
10984
10985 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10986
55b39184
DJ
109872005-12-07 Christophe Lyon <christophe.lyon@st.com>
10988
10989 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10990 code generation for these functions.
10991 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10992 error message.
10993
31e2b00f
AS
109942005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10995
10996 * gdb.base/help.exp (help b, help br, help bre, help brea)
10997 (help break): Update the expected message.
10998
c3d0b56e
SC
109992005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11000
11001 * gdb.asm/m68hc11.inc: Setup the data section.
11002 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11003 script for this test.
11004 (m6812-*-*): Likewise.
11005
36ae0ea9
RC
110062005-11-09 Randolph Chung <tausq@debian.org>
11007
11008 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11009
9d6f42e9
WZ
110102005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11011
11012 * gdb.base/break.exp: Fix a comment typo.
11013
e2126a14
EZ
110142005-11-03 Jim Blandy <jimb@redhat.com>
11015
a9c64011
AS
11016 Checked in by Elena Zannoni <ezannoni@redhat.com>
11017
889bf7c5 11018 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11019
e0ac7199
CV
110202005-11-02 Corinna Vinschen <vinschen@redhat.com>
11021
11022 * gdb.arch/gdb1558.c: Include stdio.h.
11023
31d3fb18
MK
110242005-10-31 Mark Kettenis <kettenis@gnu.org>
11025
11026 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11027
e52b687c
MK
110282005-10-31 Mark Kettenis <kettenis@gnu.org>
11029
11030 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11031
f4711d79
PG
110322005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11033
a9c64011
AS
11034 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11035 vscr" tests to better match output.
f4711d79 11036
987a9106
JB
110372005-10-12 Jim Blandy <jimb@redhat.com>
11038
11039 * gdb.base/structs.exp (any): New function.
11040 (test_struct_returns): Don't make any assumptions at all about
11041 what value the function returns when GDB can't set the return
11042 value.
11043
2336bb58
JB
110442005-10-09 Joel Brobecker <brobecker@adacore.com>
11045
11046 * gdb.ada/arrayidx/p.adb: New file.
11047 * gdb.ada/arrayidx.exp: New testcase
11048
110492005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11050
11051 * gdb.ada/array_return/pck.ads: New file.
11052 * gdb.ada/array_return/pck.adb: New file.
11053 * gdb.ada/array_return/p.adb: New file.
11054 * gdb.ada/array_return.exp: New testcase.
11055
705335ea
JB
110562005-10-03 Joel Brobecker <brobecker@adacore.com>
11057
a9c64011
AS
11058 * gdb.base/arrayidx.c: New file.
11059 * gdb.base/arrayidx.exp: New testcase.
705335ea 11060
11ee9940
NR
110612005-09-29 Nick Roberts <nickrob@snap.net.nz>
11062
11063 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11064 frames-invalid and breakpoints-invalid are no longer generated
11065 with level 3 so don't expect them in the output.
11066
39fb8e9e
BR
110672005-09-27 Bob Rossi <bob@brasko.net>
11068
a9c64011 11069 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
11070 from test. Escape the | in mi_gdb_test call.
11071 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11072 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11073 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11074 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11075 expected regex's in mi_gdb_test calls.
11076 * lib/mi-support.exp: Remove arbitrary .* from tests.
11077 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11078 Fully anchor GDB/MI expected results in mi_gdb_test.
11079 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11080 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11081
2af48f68
PB
110822005-09-26 Paul Brook <paul@codesourcery.com>
11083
11084 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11085
f34502bc
WZ
110862005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11087
11088 * bfp-test.c: New file.
11089 * bfp-test.exp: New testcase.
11090
ca929517
WZ
110912005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11092
11093 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11094 of subarray and substring variable.
11095 * gdb.fortran/subarray.f: New source file for the test of subarray
11096 and substring variable evaluation.
11097 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11098 of string constant.
11099
c761af65
DJ
111002005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11101
11102 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11103 copyright dates.
11104
561d7a1d
PG
111052005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11106
11107 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11108 powerpc altivec' test with an almost identical 'info vector' test.
11109
b2b64cc9
PG
111102005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11111
a9c64011
AS
11112 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11113 vscr" tests to match output.
b2b64cc9 11114
6ac4d15a
PG
111152005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11116
a9c64011
AS
11117 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11118 output.
6ac4d15a 11119
40e55bef
BR
111202005-09-11 Bob Rossi <bob@brasko.net>
11121
889bf7c5
PA
11122 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11123 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11124 commands that return an MI output command and an asyncronous MI output
11125 command.
40e55bef
BR
11126 * gdb.mi/mi-console.exp: Ditto.
11127
3c7385ec
BR
111282005-09-11 Bob Rossi <bob@brasko.net>
11129
11130 * gdb.mi/mi-var-child.c: Include <string.h>.
11131
a6cd0eb3
DJ
111322005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11133
11134 * killed.exp: Correct gdb_expect syntax.
11135
2f168eed
CV
111362005-08-09 Corinna Vinschen <vinschen@redhat.com>
11137
11138 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11139
ecd3fd0f
BR
111402005-08-02 Bob Rossi <bob@brasko.net>
11141
11142 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11143 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11144 Change tests to inferior-tty-set/show.
11145 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11146 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11147 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11148 inferior. Use mi_gdb_test to get GDB and Inferior output.
11149 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11150 descriptor.
11151 (mi_inferior_tty_name): Add inferior PTY file name.
11152 (mi_gdb_start): Add INFERIOR_PTY parameter.
11153 (mi_gdb_test): Add IPATTERN parameter.
11154
f1ea48cb 111552005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11156
f1ea48cb
BR
11157 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11158 parameter to mi_gdb_test.
11159 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11160
6e650a67
DJ
111612005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11162
11163 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11164 struct_declarations.
11165 * gdb.mi/mi-var-child.exp: Step over the initialization of
11166 struct_declarations.
11167
8be260b6
DJ
111682005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11169
11170 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11171 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11172 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11173 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11174 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11175 file.
11176
4e660f07
NR
111772005-07-27 Nick Roberts <nickrob@snap.net.nz>
11178
11179 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11180 (do_children_tests): Assign values to the extra elements.
11181
11182 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11183 them for tests for "-var-update --no-values" and
a9c64011 11184 "-var-update --all-values".
4e660f07
NR
11185 Add test for "-var-list-children --simple-values".
11186
11187 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11188
11189 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11190 "-stack-list-locals --simple-values" Improve doc strings and
11191 comments.
11192
6bdae935
MK
111932005-07-18 Mark Kettenis <kettenis@gnu.org>
11194
598b7a6f
MK
11195 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11196 *-*-openbsd*.
11197 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11198
6bdae935
MK
11199 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11200 sigaltsatck'.
11201
1323e929 112022005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11203
1323e929
BR
11204 * gdb.base/default.exp (tty): Changed output of command.
11205 * gdb.base/help.exp (help tty): Ditto.
11206
b1a9c082
MK
112072005-07-12 Mark Kettenis <kettenis@gnu.org>
11208
11209 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11210
10a844a2
MK
112112005-07-10 Mark Kettenis <kettenis@gnu.org>
11212
11213 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11214 -stack-select-frame without arguments.
11215 (test_stack_frame_listing): Add test for newly implemented command
11216 -stack-info-frame.
11217
3cb3b8df
BR
112182005-07-06 Bob Rossi <bob@brasko.net>
11219
11220 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11221 command.
11222 (Copyright): Update copyright.
11223
a0c5fbcf
WZ
112242005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11225
11226 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11227 tests to evaluate exponentiation expression.
11228
984971d0
AS
112292005-06-29 Andreas Schwab <schwab@suse.de>
11230
11231 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11232 main to avoid warnings.
11233
11234 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11235
fe03833f
NR
112362005-06-20 Nick Roberts <nickrob@snap.net.nz>
11237
11238 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11239 -stack-select-frame without arguments.
11240 (test_stack_frame_listing): Add test for newly implemented command
11241 -stack-info-frame.
a9c64011 11242
7a55f279
WZ
112432005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11244
0ffa0ea5
DJ
11245 * gdb.fortran/array-element.f: New file.
11246 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11247
26585198
DJ
112482005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11249
11250 * gdb.base/bigcore.exp: Correct checks for systems which can
11251 not dump a large core file.
11252
c1bd25fd
DJ
112532005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11254
11255 * gdb.base/relocate.c: Add a copyright notice.
11256 (dummy): Remove.
11257 * gdb.base/relocate.exp: Test printing the values of variables
11258 from a relocatable file.
11259
589e074d
DJ
112602005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11261
11262 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11263 excess MI output after an error.
11264
0915f927
JB
112652005-05-29 Joel Brobecker <brobecker@adacore.com>
11266
11267 * gdb.arch/alpha-step.c: New file.
11268 * gdb.arch/alpha-step.exp: New testcase.
11269
76ff342d
DJ
112702005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11271 Dennis Brueni <dennis@slickedit.com>
11272
11273 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11274 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11275 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11276 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11277 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11278 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11279 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11280
96b0c7ac
DJ
112812005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11282 Wu Zhou <woodzltc@cn.ibm.com>
11283
11284 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11285 IBM's xlc compiler.
11286 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11287 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11288
f21565d2
JB
112892005-05-13 Jim Blandy <jimb@redhat.com>
11290
11291 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11292 calling gdb_suppress_entire_file.
11293 * gdb.base/charset.exp: Same.
11294 * gdb.base/call-rt-st.exp: Same.
11295
6006a3a1
BR
112962005-05-05 Bob Rossi <bob_rossi@cox.net>
11297
11298 * lib/gdb.exp (fullname_syntax): Added global regex.
11299 (fullname_syntax_POSIX): Ditto.
11300 (fullname_syntax_UNC): Ditto.
11301 (fullname_syntax_DOS_CASE): Ditto.
11302 (fullname_syntax_DOS): Ditto.
11303 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11304 fullname_syntax variable to scope and use it.
11305 (test_file_list_exec_source_files): Ditto.
11306 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11307
c3b69c04
DJ
113082005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11309
11310 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11311
3c95e6af
PG
113122004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11313
a9c64011
AS
11314 * lib/gdb.exp (skip_altivec_tests): New function, based on
11315 check_vmx_hw_available from the GCC testsuite.
11316 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11317 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11318
78df6c56
JB
113192005-05-02 Jim Blandy <jimb@redhat.com>
11320
11321 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11322 calling gdb_suppress_entire_file.
11323
1690f9cf
DJ
113242005-04-30 Randolph Chung <tausq@debian.org>
11325
11326 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11327 Slightly relax "sem_post" name checking.
11328
5ea106f7
PG
113292005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11330
11331 * gdb.base/unload.exp: Use new shared library infrastructure.
11332
bf7234cf
PG
113332005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11334
11335 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11336 infrastructure.
bf7234cf 11337
547b869a
CV
113382005-04-29 Corinna Vinschen <vinschen@redhat.com>
11339
11340 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11341 * gdb.asm/h8300.inc: New file.
11342
f07e55f0
PG
113432005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11344
11345 * gdb.base/shlib-call.exp: Change to use new shared library
11346 infrastructure.
11347
3cbba3d1
PG
113482005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11349
a9c64011
AS
11350 * gdb.base/pending.exp: Change to use new shared library
11351 infrastructure.
3cbba3d1 11352
ed6df200
PG
113532005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11354
a9c64011
AS
11355 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11356 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11357
8c8f4ebe
PG
113582005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11359
a9c64011
AS
11360 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11361 shared objects being adjusted and update copyright years.
8c8f4ebe 11362
607fbc54
DJ
113632005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11364
11365 * ChangeLog: Correct some 2003-01-13 dates.
11366 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11367 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11368 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11369 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11370 gdb.trace/tfind.exp: Update copyright years.
11371
57bf0e56
DJ
113722005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11373 Daniel Jacobowitz <dan@codesourcery.com>
11374
11375 * lib/gdb.exp (gdb_compile): Handle shlib=.
11376 (gdb_compile_shlib): New function.
11377
9b593790
PG
113782005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11379
a9c64011 11380 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11381
9494c6a5
DJ
113822005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11383
11384 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11385 gdb.server.
11386 * configure.ac: Likewise.
11387 * configure: Regenerated.
11388 * gdb.gdbserver/Makefile.in: Moved to...
11389 * gdb.server/Makefile.in: ... here.
11390 * gdb.gdbserver/server.c: Moved to...
11391 * gdb.server/server.c: ... here.
11392 * gdb.gdbserver/server-run.exp: Moved to...
11393 * gdb.server/server-run.exp: ... here.
11394
6f8eac0e
DJ
113952005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11396
11397 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11398 * configure.ac: Create gdb.gdbserver/Makefile.
11399 * configure: Regenerated.
11400 * lib/gdbserver-support.exp: New file, derived from
11401 config/gdbserver.exp.
11402 * config/gdbserver.exp: Use gdbserver-support.exp.
11403 * gdb.gdbserver/Makefile.in: New file.
11404 * gdb.gdbserver/server.c: New file.
11405 * gdb.gdbserver/server-run.exp: New file.
11406
6e87504d
PG
114072005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11408
a9c64011
AS
11409 * lib/gdb.exp (test_compiler_info): Return compiler_info
11410 if no arguments are given.
6e87504d 11411
d1779be4
PG
114122005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11413
11414 * gdb.arch/altivec-abi.exp: Check for compiler and set
11415 use altivec' flag accordingly.
11416 * gdb.arch/altivec-regs.exp: Likewise.
11417
88750304
DJ
114182005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11419
11420 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11421
f3fb768d
AS
114222005-03-27 Andreas Schwab <schwab@suse.de>
11423
11424 * gdb.base/bigcore.c (main): Add missing mode argument in open
11425 call.
11426
7e813ac5
DJ
114272005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11428
11429 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11430 downloads.
11431 * config/gdbserver.exp (gdb_load): Likewise.
11432
8e3049aa
PB
114332005-03-14 Paul Brook <paul@codesourcery.com>
11434
11435 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11436 targets.
11437
a9df7c44
JB
114382005-03-09 Joel Brobecker <brobecker@adacore.com>
11439
11440 * gdb.dwarf2/dup-psym.S: New file.
11441 * gdb.dwarf2/dup-psym.exp: New testcase.
11442
9f0d94e8
JB
114432005-03-09 Joel Brobecker <brobecker@adacore.com>
11444
11445 * gdb.ada/exec_changed/first.adb: New file.
11446 * gdb.ada/exec_changed/second.adb: New file.
11447 * gdb.ada/exec_changed.exp: New testcase.
11448
5f579bc5
NS
114492005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11450
36e9969c
NS
11451 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11452 (A2): New class.
11453 (main): Test operator+.
11454 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11455 breakpoint test.
11456
5f579bc5
NS
11457 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11458 * gdb.base/signull.exp: Disable if gdb,nosignals.
11459 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11460 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11461 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11462 * gdb.mi/mi2-console.exp: Likewise.
11463 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11464 continue output at start.
11465 (gdb_collect_locals_test): Robustify regexp.
11466 * gdb.trace/passc-dyn.exp: Fix comment typo.
11467 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11468
be46087e
CV
114692005-03-08 Corinna Vinschen <vinschen@redhat.com>
11470
11471 * gdb.asm/asm-source.exp: Add iq2000 case.
11472 * gdb.asm/iq2000.inc: New file.
11473
384e1a61 114742005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11475
384e1a61
MI
11476 * gdb.base/command.exp: Change hardcoded value to regular expression.
11477 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11478
584b6e9e
DJ
114792005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11480
11481 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11482 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11483 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11484 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11485 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11486
ab5b5d61
MK
114872005-03-05 Mark Kettenis <kettenis@gnu.org>
11488
11489 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11490 changes.
11491
ae051c1b
PG
114922004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11493
a9c64011
AS
11494 * lib/compiler.c: Add test for IBM's xlc compiler.
11495 * lib/compiler.cc: Likewise.
ae051c1b 11496
3f0f6ed2
JB
114972004-02-24 Joel Brobecker <brobecker@adacore.com>
11498
11499 * gdb.ada/fixed_points.exp: Create compilation object directory
11500 before running the test.
11501 * gdb.ada/null_record.exp: Likewise.
11502 * gdb.ada/packed_array.exp: Likewise.
11503 * gdb.ada/start.exp: Likewise.
11504
724f452b
JB
115052005-02-15 Joel Brobecker <brobecker@adacore.com>
11506
11507 * gdb.ada/packed_array/pa.adb: New file.
11508 * gdb.ada/packed_array.exp: New testcase.
11509
57f5cdfb 115102005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11511
1f393151
MK
11512 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11513 files.
11514
ebdda337
MK
11515 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11516 on *-*-openbsd*. Correctly match whitespace in regukar
11517 expressions.
11518
cf309262
DJ
115192005-02-10 Daniel Jacobowitz <dan@debian.org>
11520
11521 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11522 PR exp/1821
11523 * gdb.base/gdb1821.c: New test file.
11524 * gdb.base/gdb1821.exp: New test file.
11525
3be49e7a
JB
115262005-02-09 Joel Brobecker <brobecker@adacore.com>
11527
11528 * gdb.base/start.c: New file.
11529 * gdb.base/start.exp: New testcase.
11530
e292e67d
JB
115312005-02-09 Joel Brobecker <brobecker@adacore.com>
11532
11533 * gdb.ada/start/dummy.adb: New file.
11534 * gdb.ada/start.exp: New testcase.
11535
dbdfa66c
CV
115362005-02-09 Corinna Vinschen <vinschen@redhat.com>
11537
11538 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11539 for printing symbols and statistics.
11540 Add test for using relative pathnames in "maint print msymbols" test.
11541 Mark "maint info sections DATA" XFAIL on Cygwin.
11542 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11543 tests.
11544
d7941671
AC
115452005-02-09 Andreas Schwab <schwab@suse.de>
11546
11547 Committed by Andrew Cagney <cagney@gnu.org>
11548 * gdb.base/remotetimeout.exp: New file.
11549
74e5ef44
MK
115502005-02-07 Mark Kettenis <kettenis@gnu.org>
11551
11552 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11553
464dd14d
JB
115542005-02-03 Joel Brobecker <brobecker@adacore.com>
11555
11556 * gdb.ada/gnat_ada.gpr: New file.
11557 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11558 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11559 * configure.ac: No longer generate gnat_ada.gpr.
11560 * configure: Regenerate.
11561 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11562 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11563 * gdb.ada/null_record/bar.ads: Likewise.
11564 * gdb.ada/null_record/bar.adb: Likewise.
11565 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11566 * gdb.ada/null_record.exp (testdir): New variable.
11567 (testfile): executable is now in testdir subdirectory.
11568 (srcfile): Use full path to the main compilation unit.
11569 * gdb.ada/fixed_points.exp: Same changes as above.
11570
30d756ae
NR
115712005-02-03 Nick Roberts <nickrob@snap.net.nz>
11572
11573 * gdb.base/interp.exp: New test.
11574
9d799f85
AC
115752005-01-24 Andrew Cagney <cagney@gnu.org>
11576
11577 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11578
15656118
AC
115792005-01-19 Andrew Cagney <cagney@gnu.org>
11580
a892c31b
AC
11581 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11582 configure.ac not configure.in.
11583
15656118
AC
11584 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11585 of powerpc*-*-*.
11586 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11587 * gdb.base/list.exp (test_list_function)
15656118
AC
11588 (test_list_filename_and_function): Ditto.
11589 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11590
a7b01baf
AC
115912005-01-16 Andrew Cagney <cagney@gnu.org>
11592
17d92a02
AC
11593 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11594
a7b01baf
AC
11595 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11596
bc8332bb
AC
115972005-01-14 Andrew Cagney <cagney@gnu.org>
11598
11599 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11600 * gdb.mi/mi2-var-cmd.exp: Ditto.
11601
4d074752
CV
116022005-01-10 Corinna Vinschen <vinschen@redhat.com>
11603
11604 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11605
bec39cab
AC
116062005-01-07 Andrew Cagney <cagney@gnu.org>
11607
11608 * configure.ac: Rename configure.in, require autoconf 2.59.
11609 * configure: Re-generate.
11610 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11611 * gdb.stabs/configure: Re-generate.
11612 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11613 * gdb.hp/configure: Re-generate.
11614 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11615 autoconf 2.59.
11616 * gdb.hp/gdb.objdbg/configure: Re-generate.
11617 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11618 autoconf 2.59.
11619 * gdb.hp/gdb.defects/configure: Re-generate.
11620 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11621 autoconf 2.59.
11622 * gdb.hp/gdb.compat/configure: Re-generate.
11623 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11624 autoconf 2.59.
11625 * gdb.hp/gdb.base-hp/configure: Re-generate.
11626 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11627 autoconf 2.59.
11628 * gdb.hp/gdb.aCC/configure: Re-generate.
11629
f10b16d4
JB
116302004-12-15 Jim Blandy <jimb@redhat.com>
11631
11632 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11633 under NPTL when there is debugging info available for libpthread.
11634
fb6e1814
JG
116352004-12-13 Jerome Guitton <guitton@gnat.com>
11636
11637 * gdb.ada/fixed_points.c: New file.
11638 * gdb.ada/fixed_points.exp: New file.
11639
fe46cd3a
RC
116402004-12-03 Randolph Chung <tausq@debian.org>
11641
11642 * gdb.arch/pa-nullify.exp: New file.
11643 * gdb.arch/pa-nullify.s: New file.
11644
8de0841b
RC
116452004-11-30 Randolph Chung <tausq@debian.org>
11646
11647 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11648 instead of "tbug". Fix regexp to work properly with gdb_test.
11649
c8170782
PH
116502004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11651
11652 * gdb.base/bitfields2.exp: New test.
11653 * gdb.base/bitfields2.c: New file.
11654
954269c2
RE
116552004-11-28 Richard Earnshaw <rearnsha@arm.com>
11656
11657 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11658
0107feed
RC
116592004-11-16 Randolph Chung <tausq@debian.org>
11660
11661 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11662
f073ae8c
DJ
116632004-11-14 Daniel Jacobowitz <dan@debian.org>
11664
11665 * gdb.threads/threadapply.exp: Correct "macro details" test.
11666
19ad59e7
JJ
116672004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11668
11669 * gdb.threads/threadapply.exp: New test.
11670 * gdb.threads/threadapply.c: New file.
11671
9cf0961b
MK
116722004-11-07 Mark Kettenis <kettenis@gnu.org>
11673
11674 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11675 frames.
11676
c789492a
FL
116772004-11-05 Felix Lee <felix+log1@specifixinc.com>
11678
11679 * gdb.base/cursal.exp: New file.
11680 * gdb.base/cursal.c: New file.
11681
a1e167bb
AC
116822004-11-03 Andrew Cagney <cagney@gnu.org>
11683
11684 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11685
b7cbf173
MK
116862004-10-30 Mark Kettenis <kettenis@gnu.org>
11687
11688 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11689 NetBSD/ELF targets.
11690
88f9d34f
JB
116912004-10-29 Joel Brobecker <brobecker@gnat.com>
11692
11693 * gdb.threads/bp_in_thread.c: New file, copied from
11694 pthread_cond_wait.c.
11695 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11696 file, rather than reusing the .c file from another testcase.
11697
ca7d6a0c
JB
116982004-10-20 Joel Brobecker <brobecker@gnat.com>
11699
11700 * gdb.ada/null_record.exp: Check where we stopped after
11701 sending the start command, instead of where the associated
11702 temporary breakpoint was inserted.
11703
0d863d03
AC
117042004-10-14 Andrew Cagney <cagney@gnu.org>
11705
11706 * gdb.mi/gdb701.c (main): Return 0.
11707
d11e72cb
DJ
117082004-10-13 Daniel Jacobowitz <dan@debian.org>
11709
d40539a4 11710 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11711
e1923096
JJ
117122004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11713
11714 * gdb.threads/schedlock.c: Add comment markers to use to find
11715 line numbers.
11716 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11717 comments.
11718 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11719 breakpoint lines.
11720
ec8ba2c9
DJ
117212004-10-12 Daniel Jacobowitz <dan@debian.org>
11722
11723 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11724
0eb3658b
DJ
117252004-10-12 Daniel Jacobowitz <dan@debian.org>
11726
11727 * configure.in: Add gdb.dwarf2.
11728 * configure: Regenerated.
11729 * Makefile.in: Add gdb.dwarf2.
11730 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11731 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11732 gdb.dwarf2/file1.txt: New files.
11733
a271cc33
OF
117342004-10-11 Orjan Friberg <orjanf@axis.com>
11735
a9c64011 11736 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11737 of "run", since the latter doesn't work with remote targets. Adjust
11738 the breakpoint numbering accordingly.
11739 * gdb.threads/pthread_cond_wait.exp: Ditto.
11740
895ce074
MC
117412004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11742
11743 * gdb.base/overlays.exp: Update copyright years.
11744
6be3092d
KI
117452004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11746
11747 * gdb.base/overlays.exp: Disable if target is Linux.
11748
e05389b8
FL
117492004-10-06 Felix Lee <felix+log1@specifixinc.com>
11750
11751 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11752
73cb587d
KI
117532004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11754
11755 * gdb.asm/asm-source.exp: Add m32r-linux target.
11756 * gdb.asm/m32r-linux.inc: New file.
11757
3c0edcdc
AC
117582004-09-24 Andrew Cagney <cagney@redhat.com>
11759 David Anderson <anderson@redhat.com>
11760
11761 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11762 command fails, assume things will work.
11763 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11764 (_GNU_SOURCE): Define.
11765 (print_unsigned, print_hex): Change parameter to "long long".
11766 (print_byte_count): New function, use to print byte counts.
11767 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11768 O_LARGEFILE.
11769 (main): Compute an upper bound on a corefile in max_core_size.
11770 Limit memory chunk size to max_core_size. Limit total memory
11771 allocated to max_core_size.
11772
4bb3667f
AC
117732004-09-23 Andrew Cagney <cagney@gnu.org>
11774
11775 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11776 from a separate process with code that creates a corefile by
11777 making the inferior dump core.
11778
60fe1a51
MK
117792004-09-23 Mark Kettenis <kettenis@gnu.org>
11780
11781 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11782 block.
11783
8e937346
MC
117842004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11785
11786 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11787 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11788 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11789 Likewise.
11790
7213f6d6
JJ
117912004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11792
11793 * gdb.java/jprint.exp: New test case for java inferior call.
11794 * gdb.java/jprint.java: Ditto.
11795
eac69dca
JB
117962004-09-15 Joel Brobecker <brobecker@gnat.com>
11797
11798 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11799
22227696
MC
118002004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11801
11802 * gdb.threads/killed.c: Include <stdlib.h>.
11803 * gdb.threads/pthreads.c: Likewise.
11804
7dd403a4
MC
118052004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11806
11807 * gdb.threads/killed.c: Add copyright notice.
11808
33f2d567
JM
118092004-09-10 Jason Molenda (jmolenda@apple.com)
11810
a9c64011
AS
11811 * gdb.base/define.exp: Two new tests to verify zero space chars
11812 after 'if' and 'while' commands in a user-defined command is correctly
11813 parsed.
33f2d567 11814
e05b62ac
AC
118152004-09-08 Andrew Cagney <cagney@gnu.org>
11816
11817 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11818 delivery test with duplicate at end of file.
11819
9cbe82da
MK
118202004-09-06 Mark Kettenis <kettenis@jive.nl>
11821
11822 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11823
564803d9
MC
118242004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11825
11826 * config/hppro.exp: Removed.
11827
7c6807ce
MC
118282004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11829
11830 * config/sparclet.exp: Removed.
11831
bf7e26dd
MC
118322004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11833
11834 * config/udi.exp: Removed.
11835
714e341b
MC
118362004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11837
11838 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11839 of "exp_continue".
11840 (advancei): Likewise.
11841
1236e623
JJ
118422004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11843
11844 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11845
3bdcad15
MI
118462004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11847
228af206 11848 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11849 to check for nodebug in executable.
11850 * gdb.gdb/observer.exp (setup_test): Likewise.
11851 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11852 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11853
c72b934c
AC
118542004-09-01 Andrew Cagney <cagney@gnu.org>
11855
11856 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11857 files.
11858
edd9b715
JJ
118592004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11860
11861 * gdb.base/unload.exp: Fix expected warning message to match
11862 latest format.
11863
fb4ce06b
CV
118642004-09-01 Corinna Vinschen <vinschen@redhat.com>
11865
11866 * gdb.base/call-rt-st.exp: Fix typos.
11867
ce78e7c3
MI
118682004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11869
11870 * gdb.threads/thread_check.exp: New testcase.
11871 * gdb.threads/thread_check.c: New testcase.
11872
2dedb159
AC
118732004-08-31 Andrew Cagney <cagney@gnu.org>
11874
11875 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11876 (skip_to_handler_entry): New procedures. Test stepping into a
11877 handler when the breakpoint is at the handler's entry point.
11878
68f53502
AC
118792004-08-30 Andrew Cagney <cagney@gnu.org>
11880
11881 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11882 gdb/1757.
11883
3e3ffd2b
MC
118842004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11885
11886 With code from Manoj Iyer <manjo@austin.ibm.com>:
11887 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11888 return value. Add an arm for "no debugging symbols found".
11889 Change a stray "error" to "perror".
11890 (gdb_run_cmd): Adapt to new return value.
11891 * gdb.base/remote.exp: Adapt to new return value.
11892 * gdb.gdb/complaints.exp: Likewise.
11893 * gdb.gdb/observer.exp: Likewise.
11894 * gdb.gdb/selftest.exp: Likewise.
11895 * gdb.gdb/xfullpath.exp: Likewise.
11896
4b6f5fd2
JB
118972004-08-27 Joel Brobecker <brobecker@gnat.com>
11898
11899 * gdb.threads/bp_in_thread.exp: New testcase.
11900
e5b25496
MC
119012004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11902
11903 Fix PR testsuite/1735.
11904 * gdb.threads/schedlock.c (thread_function): Add a cast
11905 to suppress a gcc warning.
11906 * gdb.threads/thread-specific.c (thread_function): Likewise.
11907
934353d6
MC
119082004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11909
11910 * gdb.base/unload.c: Include <stdlib.h>.
11911
f98a0aef 119122004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11913
f98a0aef 11914 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11915 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11916 synchronized after the "return".
11917
5a2e8882
MC
119182004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11919
11920 * gdb.mi/basics.c: Include <stdio.h>.
11921 * gdb.mi/pthreads.c: Include <stdlib.h>.
11922 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11923
a9640423
MC
119242004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11925
11926 * gdb.threads/schedlock.c: Add copyright notice.
11927
b04e311d
AC
119282004-08-25 Andrew Cagney <cagney@gnu.org>
11929
11930 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11931 (skip_over_handler, breakpoint_over_hander): New test procedures.
11932 (advance, advancei): Add a proper prefix, do not use
11933 rerun_to_main.
11934 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11935
7c27f15b
MC
119362004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11937
11938 * gdb.mi/basics.c: Add copyright notice.
11939 * gdb.mi/var-cmd.c: Add copyright notice.
11940
fffc87ae
MC
119412004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11942
11943 * lib/gdb.exp: Remove signed_keyword_not_used.
11944 * lib/compiler.c: Likewise.
11945 * lib/compiler.cc: Likewise.
11946
d782e0bf
MC
119472004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11948
11949 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11950 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11951
96033e83
MC
119522004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11953
11954 * gdb.base/whatis.c: Add copyright notice.
11955
cf38c229
MK
119562004-08-20 Mark Kettenis <kettenis@gnu.org>
11957
11958 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11959 it to skip the breakpoints encoded in the inline assembly.
11960
f4b49756
MC
119612004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11962
11963 * Makefile.in: Add gdb.fortran.
11964
2f193b69
MC
119652004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11966
11967 * gdb.base/call-sc.exp (test_scalar_returns):
11968 Fix cut-and-paste glitch in "Make fun return now".
11969
89a237cb
MC
119702004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11971
11972 * configure.in: Add gdb.fortran.
11973 * configure: Regenerate.
11974 * gdb.fortran/Makefile.in: New file.
11975 * lib/gdb.exp (skip_fortran_tests): New procedure.
11976
469aff8e
MC
119772004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11978
11979 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11980 reference to bug-gnu@prep.ai.mit.edu.
11981 * gdb.mi/mi-var-child.exp: Likewise.
11982 * gdb.mi/mi-var-cmd.exp: Likewise.
11983 * gdb.mi/mi-var-display.exp: Likewise.
11984 * gdb.mi/mi2-var-block.exp: Likewise.
11985 * gdb.mi/mi2-var-child.exp: Likewise.
11986 * gdb.mi/mi2-var-cmd.exp: Likewise.
11987 * gdb.mi/mi2-var-display.exp: Likewise.
11988
00b51b9f
MK
119892004-08-15 Mark Kettenis <kettenis@gnu.org>
11990
11991 * gdb.base/unload.c (main): Make local variable msg const.
11992
45f07fef
MC
119932004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11994
11995 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11996 to bug-gnu@prep.ai.mit.edu.
11997 * gdb.mi/mi-disassemble.exp: Likewise.
11998 * gdb.mi/mi-eval.exp: Likewise.
11999 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12000 default line number.
12001 * gdb.mi/mi-return.exp: Likewise.
12002 * gdb.mi/mi-simplerun.exp: Likewise.
12003 * gdb.mi/mi-stack.exp: Likewise.
12004 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12005 number with explicit range test.
12006 * gdb.mi/mi-watch.exp: Likewise.
12007 * gdb.mi/mi2-break.exp: Likewise.
12008 * gdb.mi/mi2-cli.exp: Likewise.
12009 * gdb.mi/mi2-disassemble.exp: Likewise.
12010 * gdb.mi/mi2-eval.exp: Likewise.
12011 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12012 default line number.
12013 * gdb.mi/mi2-return.exp: Likewise.
12014 * gdb.mi/mi2-simplerun.exp: Likewise.
12015 * gdb.mi/mi2-stack.exp: Likewise.
12016 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12017 number with explicit range test.
12018 * gdb.mi/mi2-watch.exp: Likewise.
12019
dd8c8ee7
MC
120202004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12021
12022 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12023 * gdb.cp/m-static.exp: Likewise.
12024 * gdb.cp/rtti.exp: Likewise.
12025
4e838464
MK
120262004-08-14 Mark Kettenis <kettenis@gnu.org>
12027
12028 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12029
8d8cb839
EZ
120302004-08-14 Eli Zaretskii <eliz@gnu.org>
12031
12032 * ChangeLog: Prefix Local Variables with semi-colons and indent
12033 the reference to older ChangeLog files, to fix fontification in
12034 Emacs.
12035
deea8bb0
MC
120362004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12037
12038 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12039 * gdb.mi/mi2-break.exp: Likewise.
12040
c3297504
MC
120412004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12042
12043 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12044
25808999
MC
120452004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12046
12047 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12048
226a8d71
MC
120492004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12050
12051 * gdb.cp/classes.exp: Remove unused declarations. Just let
12052 test names default instead of providing special names. Remove
12053 extraneous demangler test.
12054
37fdf854
JJ
120552004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12056
12057 * gdb.base/unload.exp: New test for breakpoints in dynamically
12058 loaded libraries.
12059 * gdb.base/unload.c: Ditto.
12060 * gdb.base/unloadshr.c: Ditto.
12061
2d3a7986
MC
120622004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12063
12064 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12065 cp_test_ptype_class.
12066 (test_enums): Likewise.
12067
c72b934c
AC
120682004-08-10 Andrew Cagney <cagney@gnu.org>
12069
12070 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12071 files.
12072
cc503c8a
AC
120732004-08-10 Andrew Cagney <cagney@gnu.org>
12074
12075 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12076 init_malloc call.
12077
902f2ccb
MC
120782004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12079
12080 * ChangeLog: Add copyright notice. The notice is copied
12081 from emacs 21.3 top level ChangeLog.
12082
78c90502
MC
120832004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12084
12085 * lib/cp-support.exp: New file.
12086 * lib/cp-support.exp (cp_test_type_class): New function.
12087 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12088 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12089 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12090 cp_test_ptype_class.
12091
88e5ea78
MC
120922004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12093
12094 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12095 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12096 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12097 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12098 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12099 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12100 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12101 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12102 gdb.mi/mi2-watch.exp: Update copyright years.
12103
6a89fc9c
MK
121042004-08-09 Mark Kettenis <kettenis@gnu.org>
12105
12106 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12107
1482e0de
MC
121082004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12109
12110 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12111 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12112 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12113 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12114 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12115 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12116 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12117 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12118 gdb.mi/mi-watch.exp: Update copyright years.
12119
1a5ce3f3
DJ
121202004-08-08 Daniel Jacobowitz <dan@debian.org>
12121
12122 PR gdb/1738
12123 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12124 from a breakpoint with a pending signal.
12125
04f6ecf2
DJ
121262004-08-08 Daniel Jacobowitz <dan@debian.org>
12127
12128 PR gdb/1736
12129 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12130 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12131 the prompt.
12132 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12133
54d90d35
DJ
121342004-08-08 Daniel Jacobowitz <dan@debian.org>
12135
12136 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12137
d2f6abb0
DJ
121382004-08-08 Daniel Jacobowitz <dan@debian.org>
12139
12140 PR gdb/1736
12141 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12142 for i?86-*-linux*.
12143
5598c03d
DJ
121442004-08-08 Daniel Jacobowitz <dan@debian.org>
12145
12146 * gdb.arch/i386-prologue.exp: Compile without debug information.
12147
c6fee705
MC
121482004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12149
12150 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12151 rather than asking gdb to search.
12152
dd90efdb
MC
121532004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12154
12155 * gdb.base/gcore.c: Include <string.h>.
12156
1e84bec1
MC
121572004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12158
12159 * gdb.base/gcore.c: Add copyright notice.
12160
e425eb2b
MC
121612004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12162
12163 * gdb.base/freebpcmd.c: Include <stdio.h>.
12164 * gdb.base/long_long.c: Include <string.h>.
12165 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12166 * gdb.base/siginfo.c: Include <string.h>.
12167 * gdb.base/sigstep.c: Include <string.h>.
12168
cb9aaed5
MC
121692004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12170
12171 * gdb.base/complex.c: Include <stdlib.h>.
12172
55944f3d
MC
121732004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12174
12175 * gdb.base/complex.c: Add copyright notice.
12176
7b2953d9
MC
121772004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12178
12179 * gdb.base/charset.c: Include <stdlib.h>.
12180
c9133d23
MC
121812004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12182
12183 * gdb.base/auxv.c: Include <stdlib.h>.
12184
0a8490ad
MC
121852004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12186
12187 * gdb.base/auxv.c: Add copyright notice.
12188
3426d5ec
MC
121892004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12190
12191 * gdb.base/coremaker.c: Add copyright notice.
12192 * gdb.base/coremaker2.c: Add copyright notice.
12193
8da195dd
AC
121942004-08-04 Andrew Cagney <cagney@gnu.org>
12195
12196 * gdb.base/store.exp: Update copyright.
12197 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12198 names, do not import gdb_prompt.
12199
8d394f98
AC
122002004-08-01 Andrew Cagney <cagney@gnu.org>
12201
12202 Fix PR testsuite/1729.
12203 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12204 not use capture_value with value 4.
12205 (capture_value): Add optional test name parameter.
12206 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12207 the prefix, pass to capture_value.
12208
b6702b23
MK
122092004-08-01 Mark Kettenis <kettenis@gnu.org>
12210
12211 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12212 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12213 (main): Call new function.
12214
c203e0ca
MC
122152004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12216
12217 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12218
a7995a30
MC
122192004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12220
12221 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12222
9366563b
MC
122232004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12224
b6eeaf26 12225 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12226 Accept more values of vtbl pointer. Remove some messages
12227 about "obsolete gcc or gdb".
12228
2fc1f950
MC
122292004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12230
12231 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12232
c724d49b
MC
122332004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12234
12235 * gdb.base/asm-source.exp: Properly convert target board
12236 debug flags from gcc format to binutils format.
12237
736b0fce
MK
122382004-07-28 Mark Kettenis <kettenis@gnu.org>
12239
12240 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12241 gdb1718". PR backtrace/1718 partially fixed.
12242
5633ea5c
JJ
122432004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12244
12245 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12246
575eebb1
NC
122472004-07-26 Nick Clifton <nickc@redhat.com>
12248
12249 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12250 good default value for a specific architecture is available then
12251 set it to that value. Otherwise default to the -gstabs switch.
12252 Remove the -g... switches from the asm-flags variable. Allow the
12253 target board info to override the value if it wants to. Pass the
12254 switch on the assembler command line.
12255
62104619
MK
122562004-07-23 Mark Kettenis <kettenis@gnu.org>
12257
12258 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12259 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12260 (main): Call new function.
12261
4a1135b8
MC
122622004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12263
12264 Test for PR exp/1715.
12265 * gdb.base/radix.exp: Refactor common procedures. Make all
12266 test names unique. Change XFAIL to KFAIL.
12267
8a12c1f0
MC
122682004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12269
12270 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12271 * gdb.ada/gnat_ada.gin: ... to here.
12272 * configure.in: Use gnat_ada.gin.
12273 * configure: Regenerate.
12274
23b451cf
AC
122752004-07-20 Andrew Cagney <cagney@gnu.org>
12276
12277 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12278 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12279 XFAILs. Clean up test messages and comments. Check backtraces.
12280 Delete re-sync code.
12281
ab618a02
MC
122822004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12283
12284 Fix PR cli/740.
12285 * gdb.base/annota1.exp: Honor gdb,nosignals.
12286 * gdb.base/annota3.exp: Likewise.
12287
46dad340
MC
122882004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12289
12290 * lib/java.exp: Update copyright notice.
12291
756d8c70
AC
122922004-07-19 Andrew Cagney <cagney@gnu.org>
12293
12294 * gdb.base/selftest.exp: Copy file from here ...
12295 * gdb.gdb/selftest.exp: ... to here.
12296
586027e6
AC
122972004-07-16 Andrew Cagney <cagney@redhat.com>
12298
12299 * lib/insight-support.exp: Delete file.
12300 * lib/java.exp (java_init): Fix copyright.
12301
029d2200
AC
123022004-07-16 Andrew Cagney <cagney@gnu.org>
12303
12304 * gdb.base/restore.c: Append "prologue" to comments marking the a
12305 function's prologue.
12306 * gdb.base/restore.exp: Update copyright, re-indent.
12307 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12308 callerN" prefix where needed. Update patterns that match a
12309 function's prologue.
12310
653b62c5
MC
123112004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12312
12313 * gdb.base/restore.c: Add copyright notice.
12314
f7d690e5
AC
123152004-07-16 Andrew Cagney <cagney@gnu.org>
12316
12317 * gdb.base/logical.exp: Update copyright.
12318 (evaluate): New procedure. Use to re-implement tests using
12319 several tables.
12320
d629a7cb
MH
123212004-07-14 Martin Hunt <hunt@redhat.com>
12322
12323 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12324 which fixes some problems where init.tcl was not found.
12325
9c7bb332
AC
123262004-07-13 Andrew Cagney <cagney@gnu.org>
12327
6bf46641
AC
12328 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12329 (check_sizeof, check_valueof): Do not include the output in the
12330 test name. Use gdb_test.
12331 (get_valueof): Use gdb_test_multiple.
12332
c4ffd4c0
AC
12333 * gdb.base/step-test.exp: Update copyright. Use
12334 gdb_test_multiple. Ensure that test names do not include
12335 architecture dependent output.
12336
ab89363a
AC
12337 * gdb.gdb/observer.exp: Update copyright.
12338 (setup_test): Use gdb_test_multiple.
12339 (attach_first_observer, attach_second_observer)
12340 (attach_third_observer, detach_first_observer)
12341 (detach_second_observer, detach_third_observer)
12342 (reset_counters, check_counters): Make $message a prefix.
12343 (test_normal_stop_notifications): Add "args" parameter - a list of
12344 init functions to be called. Make $message a prefix,
12345 (test_observer_normal_stop): Change the message prefixes so that
12346 they are unique, pass the attach / detach procedures to
12347 test_normal_stop_notifications.
12348
ec58997a
AC
12349 * gdb.base/signull.exp (test_segv): Prefix all tests with
12350 "${name}". Clean up test messages.
12351
b475183b
AC
12352 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12353
9c7bb332
AC
12354 * gdb.base/ena-dis-br.exp: Update copyright.
12355 (break_at): New function. Replace send_gdb with gdb_test,
12356 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12357 ignore count, not stopped at bpt", with KFAIL.
12358
2dd95497
CV
123592004-07-13 Corinna Vinschen <vinschen@redhat.com>
12360
12361 * gdb.base/attach.exp: Remove cleanupfile handling.
12362
419e626b
AC
123632004-07-12 Andrew Cagney <cagney@gnu.org>
12364
12365 * gdb.base/annota1.exp: Cleanup corefile test name.
12366 * gdb.base/annota3.exp: Ditto.
12367
8b1b3228
AC
123682004-07-12 Andrew Cagney <cagney@gnu.org>
12369
78650829
AC
12370 * gdb.base/signals.exp: Clean up copyright, re-indent.
12371
8b1b3228
AC
12372 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12373 gdb_test and gdb_test_multiple.
12374
935c2760
JJ
123752004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12376
12377 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12378 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12379 provide line number info for first statement in main.
12380
1544280f
AC
123812004-07-08 Andrew Cagney <cagney@gnu.org>
12382
1279f4ff
AC
12383 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12384
1544280f
AC
12385 * gdb.base/sigbpt.exp: Make the common part of each test name a
12386 prefix instead of suffix.
12387
bcc82369
BR
123882004-07-07 Bob Rossi <bob_rossi@cox.net>
12389
12390 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12391 test from test_tbreak_creation_and_listing to
12392 test_file_list_exec_source_file
12393 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12394 Changed name of test from test_tbreak_creation_and_listing to
12395 test_file_list_exec_source_file
12396
23f4b0aa
JJ
123972004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12398
12399 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12400 the jmisc() constructor instead of <init>.
12401 * gdb.java/jmisc1.exp: Ditto.
12402
56401cd5
AC
124032004-07-07 Andrew Cagney <cagney@gnu.org>
12404
12405 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12406 corrupting the PC.
12407
44ae2f6a
MC
124082004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12409
12410 * gdb.cp/templates.exp: Accept whitespace change in demangler
12411 output.
12412
45a83408
AC
124132004-07-06 Andrew Cagney <cagney@gnu.org>
12414
12415 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12416
d205ad70
MC
124172004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12418
12419 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12420 * lib/compiler.cc: Likewise.
12421
06ea1a61
MC
124222004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12423
12424 * lib/compiler.cc: Work around string preprocessing problem
12425 with old hp c++ compiler.
12426 * lib/compiler.c: Likewise.
12427
daab1251
CV
124282004-06-29 Corinna Vinschen <vinschen@redhat.com>
12429
12430 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12431 directives to conditionalize symbol prefixing.
12432 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12433 additional_flags handling. Add underscore prefix for Cygwin.
12434 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12435 conditionalize symbol prefixing.
12436 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12437 additional_flags handling. Add underscore prefix for Cygwin.
12438
cc984116
CV
124392004-06-29 Corinna Vinschen <vinschen@redhat.com>
12440
12441 * gdb.base/bigcore.exp: Skip test on Cygwin.
12442
c279b077
MC
124432004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12444
12445 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12446 formats for "info register". Use gdb_test_multiple. Fix
12447 the "invalid register" test.
12448
0e915747
CV
124492004-06-28 Corinna Vinschen <vinschen@redhat.com>
12450
12451 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12452 PID for Cygwin. Add Cygwin specific strings to check for in some
12453 tests.
12454 (do_attach_tests): Add a test for user interaction when attaching
12455 to a process with no matching symbol table already loaded.
12456
11422c86
AC
124572004-06-26 Andrew Cagney <cagney@gnu.org>
12458
12459 Test PR java/1567 and PR java/1565.
12460 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12461 * gdb.java/jmisc2.exp: Delete file.
12462
cefbce26
MC
124632004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12464
12465 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12466
e19f872c
CV
124672004-06-25 Corinna Vinschen <vinschen@redhat.com>
12468
12469 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12470 attach process.
12471
d931ba3b
MC
124722004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12473
12474 * gdb.cp/pr-1553.exp: Remove.
12475
aef68c48
MC
124762004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12477
12478 * gdb.cp/pr-1553.cc: Remove.
12479 * gdb.cp/pr-1553.exp: Disable this test.
12480
8d5df71a
JB
124812004-06-20 Jim Blandy <jimb@redhat.com>
12482
a9c64011 12483 Fix PR testsuite/1680.
8d5df71a
JB
12484 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12485 regular expressions.
12486
4ac6f39d
MC
124872004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12488
12489 Fix PR testsuite/1679.
12490 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12491 Issue an UNSUPPORTED result instead.
12492
1b413552
JB
124932004-06-18 Jim Blandy <jimb@redhat.com>
12494
12495 * gdb.base/charset.exp: Only send a control-C if we see a new
12496 prompt and incomplete command.
12497
6daa6ebd
MC
124982004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12499
12500 * gdb.cp/pr-574.cc: Add copyright notice.
12501
51fa4ae0
JB
125022004-06-17 Jim Blandy <jimb@redhat.com>
12503
12504 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12505 cases where the regexp has no groups; this grabs random text from
12506 the previous test suite, whatever that was.
12507
8fea26c5
MC
125082004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12509
12510 * gdb.cp/printmethod.cc: Add copyright notice.
12511
1e3aeb41
MC
125122004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12513
12514 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12515
9d9030bc
AC
125162004-06-16 Andrew Cagney <cagney@gnu.org>
12517
12518 * gdb.base/signull.c: Update copyright. Include <string.h>.
12519 (bowler): Replace data_pointer with data_read
12520 and data_write cases. Add code_descriptor case.
12521 (zero, desc): New array and pointer.
12522 (data, code): Change to simple pointers.
12523 * gdb.base/signull.exp: Fix probe pattern matching a function
12524 descriptor SIGSEGV. Replace data_pointer with data_read and
12525 data_write tests.
12526
acd4ad44
AC
125272004-06-16 Andrew Cagney <cagney@gnu.org>
12528
12529 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12530
08fd625c
MC
125312004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 * gdb.base/long_long.c: Add copyright notice.
12534
1903502c
MC
125352004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12536
12537 * gdb.base/long_long.exp: Remove reference to
12538 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12539 to gdb_breakpoint and gdb_continue_to_breakpoint.
12540
83313cb1
JB
125412004-06-14 Jim Blandy <jimb@redhat.com>
12542
12543 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12544 endian case.
12545
1bf404ef
AC
125462004-06-14 Andrew Cagney <cagney@gnu.org>
12547
12548 * gdb.base/gcore.exp (capture_command_output): Delete the always
12549 passing tests containing inferior values.
12550 * gdb.base/ending-run.exp: Do not include the breakpoint address
12551 in the test message. Update copyright.
12552 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12553 size in the test name, use gdb_test_multiple. Update copyright.
12554
ef220b33
MC
125552004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12556
12557 * gdb.cp/ref-types.cc: Add copyright notice.
12558
4f70a4c9
MC
125592004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12560
12561 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12562 hp_aCC_compiler.
12563 * lib/compiler.cc: Likewise.
12564 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12565 'set' commands. Log diagnostics for other lines. Set
12566 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12567
335928ac
MC
125682004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12569
12570 * gdb.cp/try_catch.cc: Add copyright notice.
12571
2efb12e8
MC
125722004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12573
12574 * gdb.cp/userdef.cc: Add copyright notice.
12575
0bbed51a
MC
125762004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12577
12578 * gdb.cp/virtfunc.cc: Add copyright notice.
12579
e12a46c9
RC
125802004-06-11 Randolph Chung <tausq@debian.org>
12581
12582 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12583 problem.
12584
338e05af
AC
125852004-06-10 Andrew Cagney <cagney@gnu.org>
12586
12587 * lib/compiler.cc, lib/compiler.c: Append either
12588 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12589 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12590 instead of gcc-3-3.
12591
dc3f10cb
AC
125922004-06-09 Andrew Cagney <cagney@gnu.org>
12593
b4d946af
AC
12594 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12595 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12596
dc3f10cb
AC
12597 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12598 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12599 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12600 fixed.
12601
b5c0bfa2
AC
126022004-06-09 Andrew Cagney <cagney@gnu.org>
12603
12604 * gdb.base/structs.exp (test_struct_returns): Replace
12605 "return_value_unknown" and "finish_value_unknown" by
12606 "return_value_known" and "finish_value_known". Instead of
12607 "return_value_unknown" iff "finish_value_unknown", check
12608 "return_value_known" implies "finish_value_known".
12609
caeb605f
MH
126102004-06-08 Martin Hunt <hunt@redhat.com>
12611
12612 * gdb.base/float.exp: Add pattern for mips targets.
12613
c892bb64
RC
126142004-06-08 Randolph Chung <tausq@debian.org>
12615
12616 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12617 message for unknown architectures more clear.
12618
48306d3e
JB
126192004-06-08 Joel Brobecker <brobecker@gnat.com>
12620
12621 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12622 start the execution of the program.
12623
83ecb59f
JB
126242004-06-07 Jim Blandy <jimb@redhat.com>
12625
12626 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12627 * gdb.arch/i386-cpuid.h: New helper file.
12628
55264cb4
RC
126292004-06-07 Randolph Chung <tausq@debian.org>
12630
12631 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12632 has started.
12633
23cadb28
RM
126342004-06-04 Roland McGrath <roland@redhat.com>
12635
12636 Fix PR gdb/1647.
12637 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12638 differently to be robust to output buffering differences.
12639
51d01eda
MC
126402004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12641
12642 * gdb.threads/pthreads.exp: Update copyright years.
12643 (check_control_c): Change asynchronous 'after' to synchronous.
12644
f4fc3b93
RM
126452004-06-04 Roland McGrath <roland@redhat.com>
12646
12647 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12648 next gdb prompt.
12649
4013522b
MC
126502004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12651
12652 Fix PR gdb/1636.
12653 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12654 calls to synchronous.
12655
7a8f1e6b
JB
126562004-05-26 Jim Blandy <jimb@redhat.com>
12657
12658 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12659
81bb3443
RC
126602004-05-24 Randolph Chung <tausq@debian.org>
12661
12662 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12663 * gdb.asm/pa.inc: New file.
12664
8f5a3103
MK
126652004-05-22 Mark Kettenis <kettenis@gnu.org>
12666
12667 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12668
734b8fe8 126692004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12670 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12671
12672 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12673 GDB prompt.
12674
725603e1
UW
126752004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12676
f4fc3b93 12677 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12678 setjmp/longjmp. Use sigaction instead of signal.
12679
8b923272 126802004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12681 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12682
12683 * gdb.threads/pthread_cond_wait.c: New file.
12684 * gdb.threads/pthread_cond_wait.exp: New testcase.
12685
8bfabb04
AC
126862004-05-13 Andrew Cagney <cagney@redhat.com>
12687
12688 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12689 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12690
42edda50
AC
126912004-05-11 Andrew Cagney <cagney@redhat.com>
12692
12693 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12694 fixed but revealed gdb/1639.
12695
d303a6c7
AC
126962004-05-10 Andrew Cagney <cagney@redhat.com>
12697
12698 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12699 func1" and "next to 2nd alarm", kernel bug avoided.
12700
bf08c2a1
DJ
127012004-05-10 Daniel Jacobowitz <dan@debian.org>
12702
12703 PR external/1568
12704 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12705 XFAIL if it is smaller than bytes_allocated.
12706 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12707 (main): Make chunks_allocated unsigned. Correct comment.
12708
c0586a34
JB
127092004-05-07 Joel Brobecker <brobecker@gnat.com>
12710
12711 * gdb.arch/powerpc-aix-prologue.c: New file.
12712 * gdb.arch/powerpc-aix-prologue.exp: New file.
12713
f2785d12
JB
127142004-05-07 Jim Blandy <jimb@redhat.com>
12715
12716 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12717 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12718
bd7f6e30
JB
127192004-05-06 Joel Brobecker <brobecker@gnat.com>
12720
12721 * gdb.base/sep.exp: No longer setup_kfail when the program was
12722 built with dwarf2.
12723
0a5e7efe
JI
127242004-05-05 Jim Ingham <jingham@apple.com>
12725
12726 * gdb.base/pending.exp: Make sure pending breakpoints
12727 preserve the ignore count.
f4fc3b93 12728
a8958849
MK
127292004-04-27 Jerome Guitton <guitton@gnat.com>
12730
12731 * i386-prologue.exp: Add testcase for jump instruction as first
12732 instruction of the real code.
12733 * i386-prologue.c (jump_at_beginning): New function.
12734
7e103f5b
MK
127352004-04-28 Mark Kettenis <kettenis@gnu.org>
12736
12737 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12738 x86_64-*-*.
12739
5d38b224
MK
127402004-04-28 Mark Kettenis <kettenis@gnu.org>
12741
12742 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12743 i*86-*-*.
12744
0ef32fd9
MK
127452004-04-25 Mark Kettenis <kettenis@gnu.org>
12746
12747 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12748 expression that checks the return type.
12749
71d7dd7c
AC
127502004-04-23 Andrew Cagney <cagney@redhat.com>
12751
12752 * gdb.base/call-sc.exp: New test of scalar call/return values.
12753 * gdb.base/call-sc.c: Ditto.
12754
1e9f977e
JJ
127552004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12756
12757 * gdb.threads/manythreads.c: Reduce thread stack size.
12758
899d9e3a
JJ
127592004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12760
12761 * gdb.threads/manythreads.c: Add copyright notice.
12762
61bcae62
AC
127632004-04-23 Andrew Cagney <cagney@redhat.com>
12764
12765 * gdb.base/siginfo.exp: Better handle step out of signal.
12766 * gdb.base/sigstep.exp: Ditto.
12767
7339a42e 127682004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12769 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12770
12771 * gdb.threads/manythreads.c: New testcase.
12772 * gdb.threads/manythreads.exp: Ditto.
12773
5c98409b
JB
127742004-04-22 Jim Blandy <jimb@redhat.com>
12775
12776 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12777 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12778
3b611f1a
MC
127792004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12780
12781 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12782
f0fd9238
AC
127832004-04-21 Andrew Cagney <cagney@redhat.com>
12784
12785 * gdb.base/sigstep.c: New file.
12786 * gdb.base/sigstep.exp: New file.
12787
90990674
JB
127882004-04-16 Joel Brobecker <brobecker@gnat.com>
12789
12790 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12791 call to observer_notify_normal_stop.
12792
78cef34b
AC
127932004-04-15 Andrew Cagney <cagney@redhat.com>
12794
12795 * gdb.base/siginfo.c: New file.
12796 * gdb.base/siginfo.exp: New file.
12797
d2343407
JB
127982004-04-12 J. Brobecker <brobecker@gnat.com>
12799
12800 * gdb.base/sep.exp: Fix typo in comment.
12801
a2dba3c8
JB
128022004-04-12 J. Brobecker <brobecker@gnat.com>
12803
12804 * gdb.base/sep.c: New file.
12805 * gdb.base/sep-proc.c: New file.
12806 * gdb.base/sep.exp: New testcase.
12807
15f7b60e
MK
128082004-04-09 Mark Kettenis <kettenis@gnu.org>
12809
12810 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12811 support.
12812
44f4de1a
AC
128132004-04-05 Andrew Cagney <cagney@redhat.com>
12814
12815 * gdb.base/sigaltstack.c: New file.
12816 * gdb.base/sigaltstack.exp: New file.
12817
ef04f396
JB
128182004-04-04 Joel Brobecker <brobecker@gnat.com>
12819
12820 * gdb.base/foll-fork.exp: Update the expected output for
12821 "help set follow-fork-mode", to match a change that was made
12822 to the help of this variable on 2004-01-13.
12823
d40d2c92
JB
128242004-04-01 Joel Brobecker <brobecker@gnat.com>
12825
12826 * lib/ada.exp: Add copyright notice.
12827 * bar.ads: Likewise.
12828 * bar.adb: Likewise.
12829 * null_record.adb: Likewise.
12830 * null_record.exp: Likewise.
12831 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12832
f86ef5a3
JB
128332004-04-01 Joel Brobecker <brobecker@gnat.com>
12834
12835 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12836 * configure: Regenerate.
12837
414e70e3
JB
128382004-04-01 Joel Brobecker <brobecker@gnat.com>
12839
12840 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12841 to build the application. Remove the message printed when in
12842 verbose mode, redundant with the UNSUPPORTED message above.
12843
f0aaee49
JB
128442004-03-31 Joel Brobecker <brobecker@gnat.com>
12845
12846 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12847 * gdb.ada (null_record.exp): New testcase.
12848
ac81cb54
JB
128492004-03-31 Joel Brobecker <brobecker@gnat.com>
12850
12851 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12852
854af2f7
JB
128532004-03-31 Joel Brobecker <brobecker@gnat.com>
12854
12855 * gdb.ada: New subdirectory.
12856 * gdb.ada/Makefile.in: New file.
12857 * gdb.ada/gnat_ada.gpr.in: New file.
12858
034cb681
JB
128592004-03-31 Joel Brobecker <brobecker@gnat.com>
12860
12861 * lib/ada.exp: New file.
12862
78a1a894
DJ
128632004-03-24 Daniel Jacobowitz <drow@mvista.com>
12864
12865 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12866 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12867
4b2b3b3e
AC
128682004-03-22 Andrew Cagney <cagney@redhat.com>
12869
12870 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12871 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12872 Problem identified by Ulrich Weigand.
12873
23c73aa3
DC
128742004-03-17 David Carlton <carlton@kealia.com>
12875
12876 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12877 PR c++/826.
12878
d63a86f8
RM
128792004-03-16 Roland McGrath <roland@redhat.com>
12880
12881 * gdb.base/auxv.exp: New file.
12882 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12883
0e02aa50
DC
128842004-03-12 David Carlton <carlton@kealia.com>
12885
12886 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12887 * gdb.cp/pr-1553.cc: Ditto.
12888 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12889 pass branch.
12890
c20b71be
MC
128912004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12892
12893 * gdb.cp/templates.exp: Accept more template types.
12894
c7414a01
MC
128952004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12896
12897 From Corinna Vinschen with modifications.
12898 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12899 local variable obj_with_enum.
12900 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12901 results with obj_with_enum.
12902
ed69573c
MC
129032004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12904
12905 * gdb.cp/classes.cc: New file, copied from misc.cc.
12906 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12907
28301461
MC
129082004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12909
12910 * gdb.cp/misc.cc: Add copyright notice.
12911
1198ecbe
DC
129122004-03-05 David Carlton <carlton@kealia.com>
12913
12914 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12915 * gdb.cp/rtti.h: Update copyright.
12916 (namespace n2::n3): New.
12917 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12918 (n2::n3::func3): New.
12919 (main): Call n2::n3::func3.
12920 * gdb.cp/rtti2.cc: Update copyright.
12921 (n2::create3): New.
12922
9e08c470
MK
129232004-03-04 Mark Kettenis <kettenis@gnu.org>
12924
12925 * gdb.asm/openbsd.inc: Fix typo.
12926
4bebc3aa
FF
129272004-03-03 Fred Fish <fnf@redhat.com>
12928
12929 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12930 "val" instead of unused "size". Update copyright year.
12931
6ea9fb37
DJ
129322004-02-29 Daniel Jacobowitz <drow@mvista.com>
12933
12934 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12935 to use unsigned char.
12936 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12937 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12938
23b23974
DJ
129392004-02-29 Daniel Jacobowitz <drow@mvista.com>
12940
12941 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12942 line of output.
12943
7574fd53
DJ
129442004-02-28 Daniel Jacobowitz <drow@mvista.com>
12945
12946 * gdb.base/relocate.c (dummy): Initialize.
12947
a195357f
DJ
129482004-02-28 Daniel Jacobowitz <drow@mvista.com>
12949
12950 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12951 a breakpoint at exit.
12952
72fd54a9
FF
129532004-02-27 Fred Fish <fnf@redhat.com>
12954
12955 * gdb.base/chng-syms.exp: Add expect condition to match failing
12956 case that isn't a timeout.
12957
b9d23137
AC
129582004-02-27 Andrew Cagney <cagney@redhat.com>
12959
12960 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12961 support.
12962
15d208f6 129632004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12964
15d208f6
FF
12965 * gdb.arch/gdb1431.c: Remove.
12966 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12967 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12968 of "until" incorrectly.
12969
98f9cd2d
JB
129702004-02-26 J. Brobecker <brobecker@gnat.com>
12971
12972 * gdb.cp/class2.cc (empty): New class.
12973 (refer): New function.
12974 (main): Declare an object of type empty and use it.
12975 * gdb.cp/class2.exp: Print the value of an object of type empty.
12976
9b50c11b
JJ
129772004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12978
12979 * gdb.base/langs.exp: Update query string to match the
12980 new nquery format used for pending breakpoints.
12981
0dcd613f
AC
129822004-02-26 Andrew Cagney <cagney@redhat.com>
12983
12984 Fix PR i18n/1570.
12985 * gdb.base/charset.c: Update copyright notice.
12986 (main, init_string): Remove the escape character '\e' tests.
12987 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12988 * gdb.base/charset.exp (valid_host_charset): Ditto.
12989 * gdb.base/setvar.exp: Ditto.
12990
b8a56647
AC
129912004-02-24 Andrew Cagney <cagney@redhat.com>
12992
90d59e34
AC
12993 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12994 mmapped data in core file" PASS and FAIL messages consistent.
12995
b8a56647
AC
12996 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12997 setting a breakpoint. Work around PR java/1565.
12998
9f27c604
JJ
129992004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13000
13001 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13002 new nquery format.
13003 * gdb.base/pending.exp: Ditto.
13004
3224a706
MK
130052004-02-22 Mark Kettenis <kettenis@gnu.org>
13006
13007 * configure.in: Run stabs tests on *BSD.
13008 * configure: Regenerated.
13009
41e0a9ca
MK
130102004-02-21 Mark Kettenis <kettenis@gnu.org>
13011
13012 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13013
1e1b3428
FF
130142004-02-20 Fred Fish <fnf@redhat.com>
13015
13016 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13017 blank in test for "returns short", for consistency with other
13018 "returns xxx" tests. Update copyright year.
13019
f9a7572a
FF
130202004-02-19 Fred Fish <fnf@redhat.com>
13021
13022 New testcase for PR breakpoint/1558.
13023 * gdb.arch/gdb1558.exp: New file.
13024 * gdb.arch/gdb1558.c: New file.
13025
b2ce2854
EZ
130262004-02-19 Elena Zannoni <ezannoni@redhat.com>
13027
13028 * gdb.base/nodebug.exp: Fix typo.
13029
e7c9ff01
JB
130302004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13031
13032 Committed by Jim Blandy <jimb@redhat.com>.
13033
62f4b920
JB
13034 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13035
2db536a1
JB
13036 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13037
e7c9ff01
JB
13038 * gdb.base/float.exp: Support s390*-*-* targets.
13039
f3205b34
AF
130402004-02-17 Adam Fedor <fedor@gnu.org>
13041
13042 * gdb.base/gdb1555.exp: New file.
13043 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13044
9d62932d
EZ
130452004-02-17 Elena Zannoni <ezannoni@redhat.com>
13046
13047 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13048
344c9711
FF
130492004-02-16 Fred Fish <fnf@redhat.com>
13050
13051 * gdb.arch/gdb1291.c: Remove
13052 * gdb.arch/gdb1291.s: New test input file.
13053 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13054 fail. Test for correct result, known incorrect result, other
13055 failures and timeouts.
13056
2d822687
AC
130572004-02-16 Andrew Cagney <cagney@redhat.com>
13058
13059 * gdb.base/bigcore.exp: New file.
13060 * gdb.base/bigcore.c: New file.
13061
dac15b66
AC
130622004-02-13 Andrew Cagney <cagney@redhat.com>
13063
13064 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13065 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13066 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13067 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13068 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13069 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13070 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13071 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13072 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13073 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13074
6bdfc2c4
JJ
130752004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13076
13077 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13078 executed is an alloc instruction.
13079
87b3ede8
DC
130802004-02-11 David Carlton <carlton@kealia.com>
13081
13082 * gdb.cp/breakpoint.exp: New.
13083 * gdb.cp/breakpoint.cc: New.
13084
6e19e2bf
MC
130852004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13086
13087 Partial fix for PR gdb/1543.
13088 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13089 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13090 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13091 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13092 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13093 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13094 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13095 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13096 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13097 to bug-gdb@prep.ai.mit.edu .
13098 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13099 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13100 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13101 Likewise.
13102
5c5455dc
AC
131032004-02-10 Andrew Cagney <cagney@redhat.com>
13104
13105 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13106 using gdb_internal_error_resync.
13107
9cf689d7
DJ
131082004-02-09 Daniel Jacobowitz <drow@mvista.com>
13109
13110 * gdb.threads/thread-specific.exp: Stop early if no threads are
13111 found.
13112
d2dc51db
MC
131132004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13114
13115 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13116
14b1a056
DJ
131172004-02-08 Daniel Jacobowitz <drow@mvista.com>
13118
13119 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13120 breakpoints.
13121
83f66e8f
DJ
131222004-02-07 Daniel Jacobowitz <drow@mvista.com>
13123
13124 * config/sim.exp (gdb_load): Handle $arg == "".
13125 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13126 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13127
30fc0091
EZ
131282004-02-07 Elena Zannoni <ezannoni@redhat.com>
13129
a9c64011
AS
13130 * gdb.base/maint.exp: Update test to reflect
13131 obstack changes.
30fc0091 13132
4d806929
JJ
131332004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13134
13135 * gdb.base/pendshr.c (pendfunc): New function that calls
13136 pendfunc1.
13137 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13138
7bfdd688
FF
131392004-02-04 Fred Fish <fnf@redhat.com>
13140
13141 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13142 function symbols and update copyright years.
13143 * gdb.arch/gdb1291.c: Ditto.
13144
aaa08ee4
MC
131452004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13146
13147 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13148
dbad7755
MC
131492004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13150
13151 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13152
ec4646ef
MC
131532004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13154
13155 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13156
1b802196
FF
131572004-02-02 Fred Fish <fnf@redhat.com>
13158
13159 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13160 remote targets. Update copyright years.
13161
18fe2033
JJ
131622004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13163
13164 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13165 support.
13166 * gdb.base/langs.exp: Fix test which attempts to create
13167 breakpoint on non-existent function to handle new pending
13168 support.
13169 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13170 a breakpoint.
13171 * gdb.base/pending.exp: New test.
13172 * gdb.base/pending.c: New file.
13173 * gdb.base/pendshr.c: Ditto.
13174
8d577d32
DC
131752004-02-02 David Carlton <carlton@kealia.com>
13176
13177 * gdb.cp/overload.exp: Add overloadNamespace tests.
13178 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13179 (overloadNamespace, XXX): New.
13180 (main): Call XXX::marker2.
13181
3ad13771
FF
131822004-02-01 Fred Fish <fnf@redhat.com>
13183
13184 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13185 * gdb.base/finish.exp: Ditto.
13186 * gdb.base/gcore.exp: Ditto.
13187 * gdb.base/huge.exp: Ditto.
13188 * gdb.base/info-proc.exp: Ditto.
13189 * gdb.base/return2.exp: Ditto.
13190 * gdb.threads/gcore-thread.exp: Ditto.
13191
44c75849
DJ
131922004-02-01 Daniel Jacobowitz <drow@mvista.com>
13193
13194 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13195
005bc093
MK
131962004-02-01 Mark Kettenis <kettenis@gnu.org>
13197
13198 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13199 that opening the file succeeds on OpenBSD.
13200
c47cebdb
DJ
132012004-02-01 Daniel Jacobowitz <drow@mvista.com>
13202
13203 * gdb.threads/thread-specific.c: New file.
13204 * gdb.threads/threads-specific.exp: New test script.
13205 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13206 to expect_out.
13207
5a01311c
MK
132082004-02-01 Mark Kettenis <kettenis@gnu.org>
13209
13210 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13211 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13212 only on the "print_small_structs from print_long_arg_list" test.
13213
ce22a4f1
DJ
132142004-02-01 Daniel Jacobowitz <drow@mvista.com>
13215
13216 * gdb.base/completion.exp: Kill a stray backslash.
13217
13218 From Jim Ingham <jingham@apple.com>:
13219 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13220 agrees with the result from sending a tab.
13221
abbab9d3
DJ
132222004-01-31 Daniel Jacobowitz <drow@mvista.com>
13223
13224 * gdb.base/chng-syms.exp: Remove stray newline.
13225
53904d1e
MK
132262004-01-31 Mark Kettenis <kettenis@gnu.org>
13227
13228 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13229 *-*-openbsd*.
13230 * gdb.asm/openbsd.inc: New file.
13231
3a4b3aac
MK
132322004-01-30 Mark Kettenis <kettenis@gnu.org>
13233
13234 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13235 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13236 *-*solaris2*. Remove commented out default settings for
13237 asm-flags. Replace gdb_compile with target_link.
13238
ebac27b4
MC
132392004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13240
13241 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13242 for all tests. Remove old hp-ux and cygnus xfail cases.
13243
d8679d84
PH
132442004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13245
13246 * gdb.base/chng-syms.exp: New file.
13247 * gdb.base/chng-syms.c: New file.
13248
0a55bc22
MC
132492004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13250
13251 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13252 Provide arms for current output in all my configurations.
13253
94b8e876
MC
132542004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13255
13256 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13257 * lib/compiler.cc: Likewise.
13258 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13259 get the right preprocessor. Eval the output directly. Remove
13260 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13261 hp_f77_compiler and hp_f90_compiler completely.
13262 (gdb_preprocess): Delete.
13263 (get_compiler): Delete.
13264
7cf03d44
MK
132652004-01-24 Mark Kettenis <kettenis@gnu.org>
13266
13267 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13268 <string.h>.
13269
68b6dce9
NR
132702004-01-24 Nick Roberts <nick@nick.uklinux.net>
13271
13272 * gdb.mi/mi-stack.exp: Update copyright.
13273
b368761e
DC
132742004-01-23 David Carlton <carlton@kealia.com>
13275
13276 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13277 test for cp_lookup_transparent_type.
13278 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13279 call them.
13280
f2061b53
DJ
132812004-01-23 Daniel Jacobowitz <drow@mvista.com>
13282
13283 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13284 after -var-update.
13285
37fc574a
DC
132862004-01-23 David Carlton <carlton@kealia.com>
13287
13288 * gdb.cp/namespace.cc (C::ensureRefs): New.
13289 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13290
8e94b928
NR
132912004-01-20 Nick Roberts <nick@nick.uklinux.net>
13292
13293 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13294 case "-stack-list-locals 2".
13295 * gdb.mi/mi-var-child.exp: Test for case
13296 "-var-list-children --all-values NAME".
13297
997b0952
MC
132982004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13299
13300 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13301
52470da3
MK
133022004-01-18 Mark Kettenis <kettenis@gnu.org>
13303
7049b4b8
MK
13304 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13305 used with gdb_test_multiple.
13306
52470da3
MK
13307 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13308 read at address 0. This fixes PR testsuite/1504.
13309
da6012e5
DJ
133102004-01-18 Daniel Jacobowitz <drow@mvista.com>
13311
13312 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13313 Remove downloading, guessing the host executable, the calls to
13314 gdb_file_cmd and gdb_target_cmd, and "load" support.
13315 (infer_host_exec): New function broken out from gdb_load.
13316 (gdb_load): New wrapper for gdbserver_gdb_load.
13317 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13318 gdb_target_cmd. Use -target-select.
13319 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13320 Download binaries to the host. Clear last_mi_remote_file when
13321 we load a new binary.
13322 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13323 call gdbserver_gdb_load and mi_gdb_target_cmd.
13324
32c70722
MC
133252004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13326
13327 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13328 type patterns.
13329
b0cecf36
MC
133302004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13331
13332 * gdb.cp/templates.exp: Fix typo in test name of
13333 "print Foo<volatile char*>::foo".
13334
4120d7e6
MC
133352004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13336
13337 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13338
f679e530
BE
133392004-01-16 Ben Elliston <bje@wasabisystems.com>
13340
13341 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13342 (clean mostlyclean): Remove empty rm.
13343
091c48f6
MC
133442004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13345
13346 * gdb.base/setvar.exp: Add copyright years.
13347
3e5fc8d2
DC
133482004-01-14 David Carlton <carlton@bactrian.org>
13349
13350 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13351 PR c++/1511 and update coment.
13352 * gdb.cp/templates.exp: Update patterns to match current output.
13353 If changes involve something other than whitespace, KFAIL
13354 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13355
63d06c5c
DC
133562004-01-14 David Carlton <carlton@kealia.com>
13357
13358 * gdb.cp/namespace.exp: Add tests involving classes defined within
13359 namespaces.
13360 * gdb.cp/namespace.cc (C::CClass): New.
13361 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13362
a51dab88
EZ
133632004-01-14 Elena Zannoni <ezannoni@redhat.com>
13364
13365 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13366 what debug info we have. Print a better message if something goes
13367 wrong while producing the separate debug info file.
13368
a476ccc9
MC
133692004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13370
13371 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13372
f453692c
MC
133732004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13374
13375 * gdb.base/callfuncs.c: Add copyright notice.
13376
f40063a5
MC
133772004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13378
13379 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13380 inheritance. PR gdb/1498, PR gcc/13539.
13381
19ac3974
EZ
133822004-01-13 Elena Zannoni <ezannoni@redhat.com>
13383
a9c64011
AS
13384 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13385 test specific name.
13386 * gdb.mi/gdb669.exp: Ditto.
13387 * gdb.mi/mi-pthreads.exp: Ditto.
13388 * gdb.mi/mi1-pthreads.exp: Ditto.
13389 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13390
56c97c6e
MC
133912004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13392
13393 * gdb.cp/member-ptr.cc: Add copyright notice.
13394
a0644324
MC
133952004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13396
13397 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13398 some patterns for recent versions of gcc and hpacc. Delete
13399 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13400 Delete tests that access a NULL pointer-to-member-data. This
13401 script is still disabled for gcc.
13402
32fabe09
EZ
134032004-01-12 Elena Zannoni <ezannoni@redhat.com>
13404
13405 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13406 escaped correctly.
32fabe09 13407
1f8a6abb
EZ
134082004-01-12 Elena Zannoni <ezannoni@redhat.com>
13409
13410 * gdb.base/sepdebug.exp: New file.
13411 * gdb.base/sepdebug.c: New file.
13412 * lib/gdb.exp (separate_debug_filename): New procedure.
13413 (gdb_gnu_strip_debug): New procedure.
13414
48efe704
AC
134152004-01-12 Andrew Cagney <cagney@redhat.com>
13416
13417 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13418 * gdb.mi/ChangeLog-1999-2003: New file.
13419
a9415475
AC
134202004-01-12 Andrew Cagney <cagney@redhat.com>
13421
13422 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13423 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13424 or EEXIST", treat EBUSY as an XFAIL.
13425
83b8cf9d
MC
134262004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13427
13428 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13429 hp_cc_compiler.
13430
9939d2a8
MC
134312004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13432
13433 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13434 decorations.
13435
1ff8cadf
MC
134362004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13437
13438 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13439 and "(aCC)" decorations. Remove obsolete doco about old
13440 test results.
13441
6fa9022e
MC
134422004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13443
13444 * gdb.cp/exception.exp: Fix typo in doco.
13445
209721fe
MK
134462004-01-09 Mark Kettenis <kettenis@gnu.org>
13447
13448 * gdb.base/gdb1476.exp: Fix typo.
13449
ef11303e
MC
134502004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13451
13452 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13453 file.
13454
041ab88c
MC
134552004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13456
13457 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13458 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13459 Use gdb_compile. Remove restriction on gcc. Add some patterns
13460 for recent version of gdb. Delete second half, which was a copy
13461 of the first half with different build flags. This test is
13462 still disabled because it is still not ready for production.
13463
e36d075a
MC
134642004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13465
13466 * gdb.cp/exception.cc: Add copyright notice.
13467 * gdb.cp/exception.exp: Add a notice that this file is broken
13468 because of line number changes caused by addition of copyright
13469 notice.
13470
42b190ad
MC
134712004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13472
13473 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13474 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13475
8f25f06b
MC
134762004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13477
13478 * gdb.cp/classes.exp: Accept gnu abi 2.
13479 * gdb.cp/derivation.exp: Likewise.
13480 * gdb.cp/overload.exp: Likewise.
13481 * gdb.cp/virtfunc.exp: Likewise.
13482
06ded8b8
MC
134832004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13484
13485 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13486 semicolon after end of function.
13487
77c26ae3
MC
134882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13489
13490 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13491 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13492 boilerplate code for compiling and running the program under
13493 test. Add some string method tests.
13494
20757486
MC
134952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13496
13497 * gdb.cp/bs15503.cc: Add copyright notice.
13498 * gdb.cp/bs15503.exp: Adjust line number.
13499
0fd3b503
MC
135002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13501
13502 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13503 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13504
10d1bea8
MC
135052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13506
13507 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13508 hp_cc_compiler.
13509
2789202a
MC
135102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13511
13512 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13513 * gdb.cp/ctti.exp: Use the marker instead of "next".
13514 With gcc, run further before bailing.
13515
b862f14c
MC
135162004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13517
13518 * gdb.cp/cttiadd.cc: Add copyright notice.
13519 * gdb.cp/cttiadd1.cc: Likewise.
13520 * gdb.cp/cttiadd2.cc: Likewise.
13521 * gdb.cp/cttiadd3.cc: Likewise.
13522
96da2469
MC
135232004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13524
13525 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13526 Use gdb_test, gdb_test_multiple. Use floating-point values that
13527 have exact representations in IEEE-ish formats.
13528
053248ff
MC
135292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13530
13531 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13532 compilers. Delete duplicate call to get_compiler_info.
13533 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13534 * gdb.base/volatile.exp: Likewise.
13535
84acecdd
MK
135362004-01-07 Mark Kettenis <kettenis@gnu.org>
13537
13538 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13539 memory at address 0.
13540
fe11a27f
MC
135412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13542
13543 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13544 to test for hp-ux assembler. Fix copyright years.
13545
60ad077b
AC
135462004-01-07 Andrew Cagney <cagney@redhat.com>
13547
13548 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13549
1c9b8f33
AC
135502004-01-07 Andrew Cagney <cagney@redhat.com>
13551
13552 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13553 when creating the read-only file. From analysis by Roland McGrath
13554 and Elena Zannoni.
13555
753ccc7a
MC
135562004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13557
13558 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13559
eca3e36b
MC
135602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13561
13562 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13563 data pointers.
13564
f8d4bac4
MC
135652004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13566
13567 * gdb.cp/m-static.exp: Compile one source file at a time.
13568 Delete unused call to get_compiler_info.
13569
9b4e0f94
MC
135702004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13571
13572 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13573 * gdb.base/call-rt-st.exp: Likewise.
13574 * gdb.base/nodebug.exp: Likewise.
13575 * gdb.base/volatile.exp: Likewise.
13576 * gdb.cp/ref-types.exp: Likewise.
13577 * gdb.cp/templates.exp: Likewise.
13578
023c1024
MK
135792004-01-05 Mark Kettenis <kettenis@gnu.org>
13580
13581 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13582
19703c4a
MC
135832004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13584
13585 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13586 hppa*-hp-hpux*.
13587
18b67037
MK
135882004-01-04 Mark Kettenis <kettenis@gnu.org>
13589
ba6219c8
MK
13590 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13591 x86_64-*-*.
13592
18b67037
MK
13593 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13594 sparc64-*-* and sparc*-solaris2*.
13595
1bfbbb9d
MK
135962004-01-04 Mark Kettenis <kettenis@gnu.org>
13597
13598 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13599 return ${tests}" test. The ${tests} already mentions the
13600 filename.
13601
06846494
MC
136022004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13603
13604 * gdb.cp/local.exp: Accept gcc abi 2.
13605
3b0cb202
MC
136062004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13607
13608 * gdb.cp/templates.exp: Accept gcc abi 2.
13609
0643ec3f
MC
136102004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 * lib/compiler.cc: Remove supports_template_debugging.
13613 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13614
d231d0b1
MC
136152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13616
13617 * gdb.cp/namespace.exp: Accept gcc abi 2.
13618
44ffb27c
MC
136192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13620
13621 * gdb.cp/method.exp: Accept gcc abi 2.
13622
184ad485
MC
136232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * gdb.cp/classes.exp: Generate identical results as old version.
13626 * gdb.cp/derivation.exp: Likewise.
13627 * gdb.cp/overload.exp: Likewise.
13628 * gdb.cp/virtfunc.exp: Likewise.
13629
116f09e7
MC
136302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13631
13632 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13633 mysterious bug with sourceware version of expect.
13634
b1379776
MC
136352004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13636
13637 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13638 current versions of gcc, including gcc abi 2. Remove gratuitous
13639 restart of test program. Use gdb_test_multiple and gdb_test for
13640 all tests. Add patterns to xfail missing "const" in "const char *"
13641 and kfail PR gdb/1155.
13642
6b7a4c0e
MC
136432004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13644
13645 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13646 current versions of gcc, including gcc abi 2. Remove gratuitous
13647 restart of test program. Use gdb_test_multiple and gdb_test for
13648 all tests. Add patterns to kfail PR gdb/1498.
13649
51615d72
MC
136502003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13651
13652 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13653 current versions of gcc, including gcc abi 2. Use "breakpoint"
13654 and "continue" instead of restarting the target program. Use
13655 gdb_test_multiple and gdb_test for all tests.
13656
7b79a9d7
MK
136572004-01-01 Mark Kettenis <kettenis@gnu.org>
13658
13659 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13660 for *-*-solaris2*.
13661
1cd3489f
MC
136622003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13663
13664 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13665 current versions of gcc, including gcc abi 2. Use "breakpoint"
13666 and "continue" instead of restarting the target program several
13667 times. Use gdb_test_multiple and gdb_test for all tests.
13668
850742db
MC
136692003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13670
13671 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13672 source files.
13673
eb4bbda8
MC
136742003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13675
13676 * gdb.base/environ.exp: Handle compiling test case from multiple
13677 source files.
13678
e42c7771
MC
136792003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13680
13681 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13682
80e4b428
JB
136832003-12-17 Jim Blandy <jimb@redhat.com>
13684
5f06973a
JB
13685 * gdb.base/freebpcmd.c: Add copyright notice.
13686
80e4b428
JB
13687 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13688
0ab84fb7
MC
136892003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13690
13691 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13692
1b3bb3d0
JB
136932003-12-13 Jim Blandy <jimb@redhat.com>
13694
13695 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13696
3a4c9371
KB
136972003-12-12 Kevin Buettner <kevinb@redhat.com>
13698
13699 * gdb.asm/frv.inc: New file.
13700 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13701
a1dea79a
FF
137022003-12-09 Fred Fish <fnf@redhat.com>
13703
13704 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13705 functions to break1.c and leave prototypes behind. Add more
13706 "set breakpoint NN here" comments.
13707 * gdb.base/break1.c: New file.
13708
13709 * gdb.base/break.exp: Handle compiling test case from multiple
13710 source files and change source file references as needed.
13711 * gdb.base/completion.exp: Ditto.
13712 * gdb.base/condbreak.exp: Ditto.
13713 * gdb.base/define.exp: Ditto.
13714 * gdb.base/ena-dis-br.exp: Ditto.
13715 * gdb.base/info-proc.exp: Ditto.
13716 * gdb.base/maint.exp: Ditto.
13717 * gdb.base/until.exp: Ditto.
13718
13719 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13720 hardcoded line numbers.
13721 * gdb.base/define.exp: Ditto.
13722 * gdb.base/ena-dis-br.exp: Ditto.
13723 * gdb.base/maint.exp: Ditto.
13724 * gdb.base/until.exp: Ditto.
13725
13726 * gdb.base/completion.exp: Use "break1" for completion tests since
13727 "break" is no longer a unique prefix.
13728
5266b69c
AC
137292003-12-06 Andrew Cagney <cagney@redhat.com>
13730
13731 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13732 "return_value_unimplemented". When an unimplemented struct return
13733 architecture, report incorrect values as a KFAIL
13734
374451f0
MC
137352003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13736
13737 * gdb.cp/rtti.exp: Accept new wording of warning from
13738 cp_lookup_rtti_type.
13739
ba9b20a7
MC
137402003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13741
13742 Partial fix for PR testsuite/1456.
13743 * gdb.base/scope.exp (test_at_main): Replace references to
13744 gcc_compiled with calls to test_compiler_info.
13745 (test_at_foo): Likewise.
13746 (test_at_bar): Likewise.
13747
b74b6d0b
MC
137482003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13749
13750 Partial fix for PR testsuite/1456.
13751 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13752 to test_compiler_info.
13753
ccfa3402
MC
137542003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13755
13756 * gdb.base/so-impl-ld.exp: Update copyright notice.
13757
f6246aba
MC
137582003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13759
13760 Partial fix for PR testsuite/1456.
13761 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13762 to test_compiler_info.
13763
13ae734a
MC
137642003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13765
13766 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13767 from current versions of gdb. Clean up regular expressions.
13768 Delete redundant timeout case.
13769
d8e1cdee
MC
137702003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13771
13772 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13773 from current versions of gdb. Clean up regular expressions.
13774 Delete redundant timeout case.
13775
96457b64
MC
137762003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13777
13778 Partial fix for PR testsuite/1456.
13779 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13780 gcc_compiled with call to test_compiler_info.
13781
f35309fc
MC
137822003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13783
13784 Partial fix for PR testsuite/1456.
13785 * gdb.base/list.exp (test_list_function): Delete unused declaration
13786 of gcc_compiled.
13787
d7afdf9b
MC
137882003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13789
13790 Partial fix for PR testsuite/1456.
13791 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13792 call to test_compiler_info.
13793
71507b56
MK
137942003-11-29 Mark Kettenis <kettenis@gnu.org>
13795
13796 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13797 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13798 it to create the appropriate note.inc.
13799 * gdb.asm/asmsrc1.s: Include "note.inc".
13800 * gdb.asm/netbsd.inc: New file.
13801 * gdb.asm/empty.inc: New file.
13802
f81f93f7
MC
138032003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13804
13805 Partial fix for PR testsuite/1456.
13806 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13807 calls to test_compiler_info.
13808
9a77938e
MC
138092003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13810
13811 Partial fix for PR testsuite/1456.
13812 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13813 calls to test_compiler_info.
13814
e8367dc7
MK
138152003-11-27 Mark Kettenis <kettenis@gnu.org>
13816
13817 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13818 pattern for the KFAILs.
13819
526c61ee
AF
138202003-11-25 Adam Fedor <fedor@gnu.org>
13821
13822 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13823 * gdb.objc/objcdecode.m: New file.
13824
28f2d600
AF
138252003-11-25 Adam Fedor <fedor@gnu.org>
13826
13827 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13828 * gdb.objc/nondebug.m: New file.
13829
a3895cee
BE
138302003-11-26 Ben Elliston <bje@wasabisystems.com>
13831
13832 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13833 NetBSD as it does on FreeBSD. Modelled on a similar change by
13834 Mark Kettenis on 2003-05-30.
13835 (link-flags): Set to "--entry _start" regardless of target.
13836 Special linker flags are to be appended to $link-flags.
13837 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13838
c9f2c8a3
MC
138392003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13840
13841 * gdb.cp/method.exp: Accept output of new demangler.
13842
15a0587a 138432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13844
13845 * gdb/class2.exp: New file.
13846 * gdb/class2.cc: New file.
13847
3c00b570
MC
138482003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13849
13850 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13851 of new demangler.
13852
7027acc7
MK
138532003-11-23 Mark Kettenis <kettenis@gnu.org>
13854
13855 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13856 of gdb_test "run".
13857
b0e1598a
MK
138582003-11-23 Mark Kettenis <kettenis@gnu.org>
13859
13860 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13861 "continue" into "run".
13862
4d9eda44
MC
138632003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13864
13865 Partial fix for PR testsuite/1456.
13866 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13867 call to test_compiler_info.
13868 * gdb.cp/ctti.exp: Likewise.
13869 * gdb.cp/derivation.exp: Likewise.
13870 * gdb.cp/member-ptr.exp: Likewise.
13871 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13872 reference to gcc_compiled.
13873
138742003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13875
13876 Fix PR testsuite/1463.
13877 * gdb.base/structs.exp (start_structs_test): Call
13878 get_debug_format before using the debug format.
13879
d422fe19
AC
138802003-11-22 Andrew Cagney <cagney@redhat.com>
13881
13882 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13883 * gdb.base/structs.exp: Use gdb_test_multiple.
13884
039cf96d
AC
138852003-11-20 Andrew Cagney <cagney@redhat.com>
13886
6882279b
AC
13887 * gdb.base/structs.exp: Handle and recover from internal errors.
13888 Replace "foo${n}" with "foo<n>" in test messages.
13889
e53890ae
AC
13890 * gdb.base/structs.exp: Update copyright. Rewrite.
13891 * gdb.base/structs.c: Update copyright. Rewrite.
13892
2b211c59
AC
13893 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13894 resync count exceeded.
d63a86f8 13895
039cf96d
AC
13896 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13897 from the internal error.
13898 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13899 Original from Jim Blandy.
13900 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13901
eac98b22
AC
139022003-11-19 Andrew Cagney <cagney@redhat.com>
13903
13904 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13905 KFAIL.
13906
67455b2a
MK
139072003-11-17 Mark Kettenis <kettenis@gnu.org>
13908
13909 New testcase for PR backtrace/1435.
13910 * gdb.arch/i386-unwind.exp: New file.
13911 * gdb.arch/i386-unwind.c: New file.
13912
853d6e5b
AC
139132003-11-17 Andrew Cagney <cagney@redhat.com>
13914
13915 * lib/gdb.exp (compiler_info): New global.
13916 (test_compiler_info): New function.
13917 (get_compiler_info): Set compiler_info.
13918 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13919 "compiler_info" to gcc-<major>-<minor>.
13920
38cf6e11
MC
139212003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13922
13923 * gdb.trace/configure: Remove.
13924
a50d3602
EZ
139252003-11-13 Elena Zannoni <ezannoni@redhat.com>
13926
13927 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13928 breakpoints.
a50d3602
EZ
13929 * gdb.base/break.exp: Remove all references to explicit line
13930 numbers.
13931
d9407aaa
NC
139322003-11-11 Nick Clifton <nickc@redhat.com>
13933
13934 * gdb.base/shreloc.exp: Do not run for targets which do not
13935 support shared objects.
13936
db488fc1
CV
139372003-11-10 Corinna Vinschen <vinschen@redhat.com>
13938
13939 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13940 Don't run tests if nofileio flag is given.
13941
6a90a18e
EZ
139422003-11-07 Elena Zannoni <ezannoni@redhat.com>
13943
13944 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13945 as well as 'Watchpoint'.
6a90a18e 13946
0b915e9c
EZ
139472003-11-06 Elena Zannoni <ezannoni@redhat.com>
13948
13949 Reported by Jim Ingham <jingham@apple.com>:
13950 * gdb.base/annota1.exp: Match at least one occurrence of the
13951 signal handler annotation.
13952
d7e4b55f
EZ
139532003-11-06 Elena Zannoni <ezannoni@redhat.com>
13954
a9c64011
AS
13955 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13956 as well as 'Watchpoint'.
d7e4b55f 13957
2fe4e8d0
MC
139582003-11-05 Michael Chastain <mec@shout.net>
13959
13960 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13961
6ef88553
KW
139622003-11-03 Kris Warkentin <kewarken@qnx.com>
13963
13964 * gdb.arch/gdb1291.c: New test file.
13965 * gdb.arch/gdb1291.exp: New test script.
13966 * gdb.arch/gdb1431.c: New test file.
13967 * gdb.arch/gdb1431.exp: New test script.
13968
ae7dc4d8
MC
139692003-10-22 Michael Chastain <mec@shout.net>
13970
13971 * gdb.mi/pthreads.c: Add copyright notice.
13972
c39d7427
MC
139732003-10-22 Michael Chastain <mec@shout.net>
13974
13975 * gdb.threads/pthreads.c: Add copyright notice.
13976
8b7d96c1
MC
139772003-10-20 Michael Chastain <mec@shout.net>
13978
13979 * gdb.base/gdb1056.exp: New test script.
13980
d1d69fdd
DJ
139812003-10-13 Daniel Jacobowitz <drow@mvista.com>
13982
13983 * gdb.threads/killed.exp: Use gdb_run_cmd.
13984
7d605576
DJ
139852003-10-13 Daniel Jacobowitz <drow@mvista.com>
13986
13987 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13988 create a core file.
13989 * gdb.threads/gcore-thread.exp: Likewise.
13990
618ec112
CV
139912003-10-13 Corinna Vinschen <vinschen@redhat.com>
13992
13993 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13994 type, based on char type.
13995 (struct bit_flags_short_t): New bitfield type, based on short type.
13996 (init_bit_flags_char): New fuction.
13997 (init_bit_flags_short): Ditto.
13998 (print_bit_flags_char): Ditto.
13999 (print_bit_flags_short): Ditto.
14000 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14001
9367a73c
MC
140022003-10-11 Michael Chastain <mec@shout.net>
14003
14004 * gdb.base/call-rt-st.exp: Update copyright year.
14005
1decf120
KI
140062003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14007
14008 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14009 * gdb.disasm/sh3.s: Ditto.
14010
5445b2ae
DJ
140112003-10-07 Daniel Jacobowitz <drow@mvista.com>
14012
14013 * gdb.threads/switch-threads.exp: New test.
14014 * gdb.threads/switch-threads.c: New source file.
14015
aec24853
CV
140162003-10-07 Corinna Vinschen <vinschen@redhat.com>
14017
14018 * gdb.base/ending-run.exp: Add sh specific case.
14019
adc7428d
AC
140202003-10-06 Andrew Cagney <cagney@redhat.com>
14021
14022 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14023 * gdb.disasm/mn10200.exp: Delete obsolete file.
14024
c9d37158
DJ
140252003-09-29 Daniel Jacobowitz <drow@mvista.com>
14026
14027 * ChangeLog: Correct an entry command.exp -> commands.exp.
14028 * gdb.base/commands.exp (bp_deleted_in_command_test)
14029 (temporary_breakpoint_commands): Check noargs.
14030
79c2c32d
DC
140312003-09-25 David Carlton <carlton@kealia.com>
14032
14033 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14034 of some print tests, where appropriate. Add tests for C::D::cd,
14035 E::ce, F::cXfX, G::XgX.
14036 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14037
594e6d67
RE
140382003-09-25 Richard Earnshaw <rearnsha@arm.com>
14039
14040 * lib/java.exp (java_init): Import target_alias before using it.
14041
10f0d451
DC
140422003-09-25 David Carlton <carlton@kealia.com>
14043
14044 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14045
274bcba0
EZ
140462003-09-23 Elena Zannoni <ezannoni@redhat.com>
14047
d63a86f8 14048 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14049 weirdness.
274bcba0 14050
cdbf20f7
MC
140512003-09-17 Michael Chastain <mec@shout.net>
14052
14053 * gdb.cp/gdb1355.exp: New file.
14054 * gdb.cp/gdb1355.c: New file.
14055
71e06f80
CV
140562003-09-15 Corinna Vinschen <vinschen@redhat.com>
14057
14058 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14059 * gdb.asm/sh.inc: New file.
14060
5c4e30ca
DC
140612003-09-11 David Carlton <carlton@kealia.com>
14062
bd45b7af
DC
14063 * gdb.cp/namespace.exp: Add tests for namespace types.
14064 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
14065 (test_namespace): New.
14066
1c199746
EZ
140672003-09-11 Elena Zannoni <ezannoni@redhat.com>
14068
a9c64011 14069 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 14070 * gdb.stabs/weird.exp: Ditto.
1c199746 14071
04ed252f
MC
140722003-09-08 Michael Chastain <mec@shout.net>
14073
14074 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14075
d8a2d9e7
MC
140762003-09-07 Michael Chastain <mec@shout.net>
14077
14078 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14079 'parse error'.
14080
161afb24
MK
140812003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14082
14083 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14084
49f2741a
MC
140852003-08-30 Michael Chastain <mec@shout.net>
14086
14087 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14088 * gdb.gdb/observer.exp: Ditto.
14089 * gdb.gdb/xfullpath.exp: Ditto.
14090
8afa723e
MK
140912003-08-29 Mark Kettenis <kettenis@gnu.org>
14092
14093 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14094 *-*-*bsd*.
14095
f31dfe3b
JJ
140962003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14097
14098 * gdb.base/dump.exp: Skip for ia64.
14099
4630e498
JJ
141002003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14101
14102 * gdb.asm/asm-source.exp: Add ia64 support.
14103 * gdb.asm/ia64.inc: New file.
14104
1105b7ef
MC
141052003-08-22 Michael Chastain <mec@shout.net>
14106
14107 * gdb.cp: New directory.
14108 * gdb.cp/*: Copy from gdb.c++/*.
14109 * gdb.c++/*: Remove.
14110 * Makefile.in: Change gdb.c++ to gdb.cp.
14111 * configure.in: Ditto.
14112 * configure: Regnerate.
14113
c945b932
MK
141142003-08-18 Mark Kettenis <kettenis@gnu.org>
14115
14116 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14117 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14118
2b66634b
DJ
141192003-08-17 Daniel Jacobowitz <drow@mvista.com>
14120
14121 * mi-var-display.exp (-var-list-children weird): Accept function
14122 pointers with argument types.
14123 * mi1-var-display.exp (-var-list-children weird): Likewise.
14124 * mi2-var-display.exp (-var-list-children weird): Likewise.
14125
a356f73b
DJ
141262003-08-17 Daniel Jacobowitz <drow@mvista.com>
14127
14128 * gdb.base/annota3.exp: Add missing newline.
14129
483417b8
MC
141302003-08-06 Michael Chastain <mec@shout.net>
14131
14132 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14133
c99c59c3
MS
141342003-08-12 Michael Snyder <msnyder@redhat.com>
14135
14136 * gdb.base/float.exp: Add test for SH.
14137
55ed7501
MK
141382003-08-10 Mark Kettenis <kettenis@gnu.org>
14139
14140 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14141
1a371f2e
EZ
141422003-08-07 Elena Zannoni <ezannoni@redhat.com>
14143
14144 * gdb.base/completion.exp: Remove reduntant completion test
14145 on filename.
14146
e0f353ce
EZ
141472003-08-07 Elena Zannoni <ezannoni@redhat.com>
14148
a9c64011
AS
14149 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14150 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14151 gdb.trace/save-trace.exp: Make sure that full pathnames are
14152 escaped correctly.
e0f353ce 14153
5710a1af 141542003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14155
a9c64011
AS
14156 * configure.in: Don't generate config.h from config.hin.
14157 * configure: Regenerate.
14158 * config.hin: Remove file.
14159 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14160 * gdb.threads/pthreads.c: Ditto.
5710a1af 14161
dcd81ce9
DJ
141622003-08-07 Daniel Jacobowitz <drow@mvista.com>
14163
14164 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14165 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14166 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14167 Replace ld24 with seth/add3.
14168
6009d884
AC
141692003-08-02 Andrew Cagney <cagney@redhat.com>
14170
14171 * gdb.base/annota3.exp: New file.
14172 * gdb.base/annota3.c: New file.
14173 * gdb.c++/annota3.exp: New file.
14174 * gdb.c++/annota3.cc: New file.
14175
51514e06
MC
141762003-07-29 Michael Chastain <mec@shout.net>
14177
14178 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14179 actually failed.
14180 (do_pass): Likewise.
14181 * gdb.threads/tls.exp: Always initialize no_of_threads.
14182
4ee6625b
DJ
141832003-07-27 Daniel Jacobowitz <drow@mvista.com>
14184
14185 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14186 pattern.
14187 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14188 * gdb.threads/tls.exp: Recognize one case of the host library not
14189 supporting TLS.
14190
225f2bf6
AC
141912003-07-27 Andrew Cagney <cagney@redhat.com>
14192
14193 * gdb.base/fileio.exp: Use SH when running commands using
14194 remote_exec.
14195
bcb27c9f
DJ
141962003-07-24 Daniel Jacobowitz <drow@mvista.com>
14197
14198 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14199 * gdb.base/relocate.c (dummy): New padding array.
14200
3d67be83
MS
142012003-07-22 Michael Snyder <msnyder@redhat.com>
14202
d63a86f8 14203 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14204
14205 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14206 patterns to be more general, accepting old and new output.
14207 Some output chars (such as '+') also must be quoted.
d63a86f8 14208 Some addresses are displayed numerically instead of
3d67be83
MS
14209 symbolically.
14210
57ba3b85
MS
142112003-07-23 Michael Snyder <msnyder@redhat.com>
14212
686d097c
MS
14213 * gdb.base/return2.exp: Don't test long-long return.
14214
57ba3b85
MS
14215 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14216 * gdb.disasm/t01_mov.exp: Ditto.
14217 * gdb.disasm/t02_mova.s: Ditto.
14218 * gdb.disasm/t02_mova.exp: Ditto.
14219 * gdb.disasm/t03_add.s: Ditto.
14220 * gdb.disasm/t03_add.exp: Ditto.
14221 * gdb.disasm/t04_sub.s: Ditto.
14222 * gdb.disasm/t04_sub.exp: Ditto.
14223 * gdb.disasm/t05_cmp.s: Ditto.
14224 * gdb.disasm/t05_cmp.exp: Ditto.
14225 * gdb.disasm/t06_ari2.s: Ditto.
14226 * gdb.disasm/t06_ari2.exp: Ditto.
14227 * gdb.disasm/t07_ari3.s: Ditto.
14228 * gdb.disasm/t07_ari3.exp: Ditto.
14229 * gdb.disasm/t08_or.s: Ditto.
14230 * gdb.disasm/t08_or.exp: Ditto.
14231 * gdb.disasm/t09_xor.s: Ditto.
14232 * gdb.disasm/t09_xor.exp: Ditto.
14233 * gdb.disasm/t10_and.s: Ditto.
14234 * gdb.disasm/t10_and.exp: Ditto.
14235 * gdb.disasm/t11_logs.s: Ditto.
14236 * gdb.disasm/t11_logs.exp: Ditto.
14237 * gdb.disasm/t12_bit.s: Ditto.
14238 * gdb.disasm/t12_bit.exp: Ditto.
14239 * gdb.disasm/t13_otr.s: Ditto.
14240 * gdb.disasm/t13_otr.exp: Ditto.
14241
e00759ef
EZ
142422003-07-22 Elena Zannoni <ezannoni@redhat.com>
14243
14244 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14245
8bc2021f
EZ
142462003-07-22 Elena Zannoni <ezannoni@redhat.com>
14247
a9c64011
AS
14248 * gdb.threads/tls.c : New file.
14249 * gdb.threads/tls.exp : New file.
14250 * gdb.threads/tls-main.c : New file.
14251 * gdb.threads/tls-shared.c : New file.
14252 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14253
89320c4c
AS
142542003-07-22 Andreas Schwab <schwab@suse.de>
14255
14256 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14257
180dea7c
AS
142582003-07-20 Andreas Schwab <schwab@suse.de>
14259
14260 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14261 due to insn reordering.
14262
0714963c
AC
142632003-07-15 Andrew Cagney <cagney@redhat.com>
14264
14265 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14266
98a23b3f
MC
142672003-07-15 Michael Chastain <mec@shout.net>
14268
14269 * gdb.base/gdb1250.exp: New file.
14270 * gdb.base/gdb1250.c: New file.
14271
27e417a2
ML
142722003-07-09 Michal Ludvig <mludvig@suse.cz>
14273
14274 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14275 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14276
8bc2021f
EZ
142772003-07-09 Elena Zannoni <ezannoni@redhat.com>
14278
a9c64011
AS
14279 * gdb.threads/tls.c: New file.
14280 * gdb.threads/tls.exp: New file.
14281 * gdb.threads/tls-main.c: New file.
14282 * gdb.threads/tls-shared.c: New file.
14283 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14284
d99968dc
EZ
142852003-07-09 Elena Zannoni <ezannoni@redhat.com>
14286
14287 * gdb.base/annota1.exp: Make sure that we properly escape the
14288 full path of the source file. Xfail more permissive patterns,
d63a86f8 14289 due to a compiler debug info problem.
d99968dc 14290
83876b3b
AS
142912003-07-07 Andreas Schwab <schwab@suse.de>
14292
2705e972
AS
14293 * gdb.asm/m68k.inc: New file.
14294 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14295
83876b3b
AS
14296 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14297 arguments"): Also match negative number.
14298
14299 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14300
3a871b37
DJ
143012003-07-03 Daniel Jacobowitz <drow@mvista.com>
14302
14303 * gdb.base/store.c (charest): New typedef.
14304 (add_char): Rename to add_charest, update.
14305 (wack_char): Rename to wack_charest, update types. Return l + r
14306 to keep r live across the call.
14307 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14308 (wack_double, wack_doublest): Return l + r to keep r live across
14309 the call.
14310 * gdb.base/store.exp: Accomodate store.c changes.
14311
b2a7f303
DC
143122003-06-30 David Carlton <carlton@kealia.com>
14313
14314 * gdb.c++/maint.exp (test_invalid_name): New.
14315 (test_first_component): Add tests for invalid names.
14316
3c6cb4a1
MC
143172003-06-29 Michael Chastain <mec@shout.net>
14318
14319 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14320 output of '<VTT for class>' for virtual base classes.
14321
f1c2644b
DJ
143222003-06-29 Daniel Jacobowitz <drow@mvista.com>
14323
14324 * gdb.base/completion.exp: Tab-complete "complet" instead of
14325 "compl".
14326 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14327
18080350
DJ
143282003-06-29 Daniel Jacobowitz <drow@mvista.com>
14329
14330 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14331 * gdb.base/volatile.exp: Likewise.
14332
f56973f8
DJ
143332003-06-29 Daniel Jacobowitz <drow@mvista.com>
14334
14335 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14336 gdb/1265.
14337
143382003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14339 Daniel Jacobowitz <drow@mvista.com>
14340
14341 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14342 initial line count of 'captured_main' from 26 to 32.
14343 (test_with_self): Allow xmalloc call to be interleaved with the
14344 preceding two lines.
14345
e766d4d6
JB
143462003-06-24 Joel Brobecker <brobecker@gnat.com>
14347
14348 * gdb.base/bang.exp: New testcase.
14349
f125c9a4
JB
143502003-06-23 Joel Brobecker <brobecker@gnat.com>
14351
14352 * gdb.base/langs.exp: Add some tests for the "minimal" language
14353 support.
14354
6e25beaf
EZ
143552003-06-23 Elena Zannoni <ezannoni@redhat.com>
14356
14357 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14358 the testcase.
14359
2f816dda
DJ
143602003-06-22 Daniel Jacobowitz <drow@mvista.com>
14361
14362 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14363 offset.
14364
db5a5748
DJ
143652003-06-22 Daniel Jacobowitz <drow@mvista.com>
14366
14367 * gdb.c++/pr-1210.cc: New file.
14368 * gdb.c++/pr-1210.exp: New file.
14369
1df0c130
DJ
143702003-06-21 Daniel Jacobowitz <drow@mvista.com>
14371
14372 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14373 000-exec-continue.
14374
a92feac0
MK
143752003-06-15 Mark Kettenis <kettenis@gnu.org>
14376
14377 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14378 on *-*-*bsd* instead of *-*-freebsd*.
14379
81a58f5b
AC
143802003-06-14 Andrew Cagney <cagney@redhat.com>
14381
14382 * gdb.base/store.exp: Test longest and doublest. Test all
14383 parameters. Weaken return statement match.
14384 * gdb.base/store.c: Add longest and doublest - aka long long and
14385 long double functions. Put all parameters into local register
14386 variables. Use negative values.
14387
b257a0d3
AC
143882003-06-14 Andrew Cagney <cagney@redhat.com>
14389
14390 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14391 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14392 exit status.
14393 * gdb.base/fileio.exp: Disable target when nointerrupts and
14394 noinferiorio, instead of limiting it to remote. Use remote_exec
14395 instead of system.
d63a86f8 14396
21c38304
JJ
143972003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14398
14399 * gdb.base/float.exp: Add ia64 support.
14400
1bcdb424
CV
144012003-06-12 Corinna Vinschen <vinschen@redhat.com>
14402
14403 * gdb.base/fileio.exp: Run only on remote targets.
14404
6aeb981f
CV
144052003-06-10 Corinna Vinschen <vinschen@redhat.com>
14406
14407 * gdb.base/fileio.c: New file, testing File-I/O.
14408 * gdb.base/fileio.exp: Ditto.
14409
53df362e
RG
144102003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14411
14412 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14413 shared objects after relocation at load time (gdb PR/1132).
14414 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14415 as above, part of the shared object relocation test.
53df362e 14416
ffee1b46
MK
144172003-06-08 Mark Kettenis <kettenis@gnu.org>
14418
b5ca3722
MK
14419 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14420 fully filled history list.
14421 * gdb.base/gdb_history: New file.
14422
03ed860d
MK
14423 * gdb.base/signals.exp: XFAIL "continue to func1" on
14424 i*86-*-freebsd*.
14425
ffee1b46
MK
14426 * gdb.base/attach.exp: When trying to attach to a nonexistent
14427 process, make it possible to specify the PID based on the target,
14428 and do so for *-*-freebsd*.
14429
d80dbb52
RH
144302003-06-02 Richard Henderson <rth@redhat.com>
14431
14432 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14433
6dd77b81
RH
144342003-06-02 Richard Henderson <rth@redhat.com>
14435
14436 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14437
f6347e16
RH
144382003-06-02 Richard Henderson <rth@redhat.com>
14439
14440 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14441
2c161407
DJ
144422003-06-01 Daniel Jacobowitz <drow@mvista.com>
14443
14444 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14445 of globalvar.
14446
572eb746
MK
144472003-06-01 Mark Kettenis <kettenis@gnu.org>
14448
14449 * gdb.asm/asm-source.exp: Check for memory read errors in
14450 disassembler test on *BSD too.
14451
9e9617a5
RH
144522003-06-01 Richard Henderson <rth@redhat.com>
14453
14454 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14455 for .frame.
14456 (gdbasm_call): Lose ldgp.
14457 (gdbasm_startup): Add frame information.
14458 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14459
7b34ad4e
MK
144602003-05-31 Mark Kettenis <kettenis@gnu.org>
14461
14462 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14463 i?86-*-*.
14464
10059fdf
MK
144652003-05-30 Mark Kettenis <kettenis@gnu.org>
14466
14467 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14468 FreeBSD.
14469
acf4b816
RH
144702003-05-29 Richard Henderson <rth@redhat.com>
14471
14472 * gdb.asm/alpha.inc: New file.
14473 * gdb.asm/asm-source.exp: Use it.
14474
e9ecd949
JB
144752003-05-29 Jim Blandy <jimb@redhat.com>
14476
14477 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14478 'core.PID'.
14479
e3e5a4f3
JB
144802003-05-22 Jim Blandy <jimb@redhat.com>
14481
14482 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14483 backtrace.
d63a86f8 14484
72fe3d25
DC
144852003-05-20 David Carlton <carlton@math.stanford.edu>
14486
14487 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14488 this time.
14489
58da2eb2
DC
144902003-05-19 David Carlton <carlton@bactrian.org>
14491
14492 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14493 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14494
1fcb5155
DC
144952003-05-19 David Carlton <carlton@bactrian.org>
14496
14497 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14498 namespace tests.
14499 Bump copyright date.
14500 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14501 (main): Call C::D::marker2.
14502 * gdb.c++/namespace1.cc: New file.
14503
85e85163
JJ
145042003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14505
14506 Roland McGrath <roland@redhat.com>
d63a86f8 14507 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14508 there is no manager thread.
14509
a25fbfec
JJ
145102003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14511
d63a86f8
RM
14512 * gdb.threads/schedlock.exp: Remove assumption that all threads
14513 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14514 in one of the child threads rather than the main thread.
14515
be375bae
JB
145162003-05-07 Jim Blandy <jimb@redhat.com>
14517
09bf6082
JB
14518 Add support for assembly source testing on the s390x.
14519 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14520 architecture.
14521 * gdb.asm/s390x.inc: New file.
14522
be375bae
JB
14523 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14524 succession of 'if' statements.
14525
00905d52
AC
145262003-05-05 Andrew Cagney <cagney@redhat.com>
14527
14528 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14529
b1e29e33
AC
145302003-05-05 Andrew Cagney <cagney@redhat.com>
14531
14532 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14533 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14534
e33d66ec
EZ
145352003-05-02 Elena Zannoni <ezannoni@redhat.com>
14536
14537 * gdb.base/charset.exp: Update based on new behavior of set/show
14538 charset commands.
14539
2b6fd0d8
AC
145402003-05-01 Andrew Cagney <cagney@redhat.com>
14541
14542 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14543 variable do not give memory errors.
14544
130cacce
AF
145452003-04-30 Adam Fedor <fedor@gnu.org>
14546
14547 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14548 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14549 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14550 gdb.objc/basicclass.m: : New files
14551
14552 * lib/gdb.exp (gdb_compile_objc): New procedure.
14553
bea71854
DJ
145542003-04-27 Daniel Jacobowitz <drow@mvista.com>
14555
14556 * gdb.base/signals.exp: Make backtrace tests more specific.
14557
0f20eeea
DC
145582003-04-23 David Carlton <carlton@bactrian.org>
14559
14560 * gdb.c++/maint.exp (test_first_component): Add tests for
14561 'operator' in more locations.
14562
c8c4d8dc
KB
145632003-04-16 Kevin Buettner <kevinb@redhat.com>
14564
14565 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14566
3fe60e3c
EZ
145672003-04-16 Elena Zannoni <ezannoni@redhat.com>
14568
14569 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14570 func marke' instead. Update test name.
3fe60e3c 14571
9219021c
DC
145722003-04-15 David Carlton <carlton@math.stanford.edu>
14573
14574 * gdb.c++/maint.exp: New file.
14575
5dd55bdd
EZ
145762003-04-14 Elena Zannoni <ezannoni@redhat.com>
14577
14578 * gdb.threads/schedlock.c: Change type of thread function argument
14579 to long, to avoid warnings on 64-bit platforms.
14580
00890572
EZ
145812003-04-14 Elena Zannoni <ezannoni@redhat.com>
14582
a9c64011
AS
14583 * gdb.base/attach.exp: Add new message from ptrace in case of
14584 attaching to nonexistent process.
d63a86f8 14585
93201743
JB
145862003-04-11 Jim Blandy <jimb@redhat.com>
14587
14588 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14589 gdb.c++/userdef.cc: Place comments on the lines to which the
14590 marker function might return.
14591 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14592 gdb.c++/userdef.exp: Look for those comments to check that we've
14593 returned to the right place, instead of checking line numbers.
14594
2a11c64d
EZ
145952003-04-11 Elena Zannoni <ezannoni@redhat.com>
14596
a9c64011
AS
14597 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14598 match on sourcefile name, instead of directory name.
2a11c64d 14599
68ab8fc5
EZ
146002003-04-10 Elena Zannoni <ezannoni@redhat.com>
14601
d63a86f8 14602 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14603 working directory name.
14604
5624293a
JB
146052003-04-09 Jim Blandy <jimb@redhat.com>
14606
14607 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14608 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14609 after an inferior function call, report the failure, but allow the
14610 test to continue.
14611
f1f02ee4
SC
146122003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14613
14614 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14615 with -DPROTOTYPES.
14616
6eb79af0
SC
146172003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14618
14619 * gdb.base/break.exp: Revert last patch.
14620
8dfb4cf0
SC
146212003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14622
14623 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14624 with -DPROTOTYPES.
14625
ed4c619a
AC
146262003-04-02 Andrew Cagney <cagney@redhat.com>
14627
14628 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14629 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14630 matching directories by the name breakpoint.
14631 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14632 Make "continue to marker1" consistent.
14633 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14634 message consistent.
14635 * lib/gdb.exp: Put "the program is no longer running", and "the
14636 program exited" in parenthesis.
14637 * lib/mi-support.exp: Ditto.
d63a86f8 14638
4e35d5f0 146392003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14640
4e35d5f0
BR
14641 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14642
71900fe8
AC
146432003-03-29 Andrew Cagney <cagney@redhat.com>
14644
14645 * gdb.base/sizeof.c (main): Print the value of '\377'.
14646 * gdb.base/sizeof.exp: Check the sign of '\377'.
14647
c0655a16
MC
146482003-03-27 Michael Chastain <mec@shout.net>
14649
14650 * gdb.base/gdb1090.exp: New file.
14651 * gdb.base/gdb1090.cc: New file.
14652
5b2a3989
JB
146532003-03-27 J. Brobecker <brobecker@gnat.com>
14654
14655 * gdb.gdb/observer.exp: New regression test.
14656
79876890
MC
146572003-03-27 Michael Chastain <mec@shout.net>
14658
14659 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14660 * gdb.base/ptype.exp: Likewise.
14661
6eac95e3
CV
146622003-03-27 Corinna Vinschen <vinschen@redhat.com>
14663
14664 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14665
e8c71839
MC
146662003-03-26 Michael Chastain <mec@shout.net>
14667
14668 * gdb.base/ptype.exp: Actually use some typedef'd types.
14669
71b10041
SC
146702003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14671
14672 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14673 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14674
2512cf80
CV
146752003-03-20 Corinna Vinschen <vinschen@redhat.com>
14676
14677 * gdb.base/default.exp: Fix regular expression.
14678
0d195a4f
CV
146792003-03-20 Corinna Vinschen <vinschen@redhat.com>
14680
14681 * gdb.base/args.exp: Fix regular expression.
14682
8a2dbca8
CV
146832003-03-20 Corinna Vinschen <vinschen@redhat.com>
14684
14685 * gdb.base/help.exp: Allow Win32 child process.
14686
bf028682
CV
146872003-03-20 Corinna Vinschen <vinschen@redhat.com>
14688
14689 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14690 when stepping out of main().
14691
182dbe85
CV
146922003-03-20 Corinna Vinschen <vinschen@redhat.com>
14693
14694 * gdb.base/default.exp: Check for win32 specific message when calling
14695 "run" without executable.
14696
d67a6ba5
CV
146972003-03-20 Corinna Vinschen <vinschen@redhat.com>
14698
14699 * gdb.base/args.exp: Expect .exe in output.
14700
a955b5bb
CV
147012003-03-20 Corinna Vinschen <vinschen@redhat.com>
14702
14703 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14704 Cygwin native.
14705
bf6bad4b
AC
147062003-03-17 Andrew Cagney <cagney@redhat.com>
14707
14708 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14709 vector registes.
14710 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14711 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14712
293e9a31
DC
147132003-03-17 David Carlton <carlton@math.stanford.edu>
14714
14715 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14716 test, for PR breakpoints/38.
14717 Call test_watchpoint_and_breakpoint.
14718 * gdb.base/watchpoint.c (func3): New function.
14719 (main): Call func3.
14720
5330f2db
DC
147212003-03-04 David Carlton <carlton@math.stanford.edu>
14722
14723 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14724 Garply<Garply<char> >:: garply".
14725 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14726 with respect to PR c++/1111; note also PR c++/1113.
14727 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14728 respect to PR c++/1062.
14729 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14730
6ece72da
DC
147312003-03-03 David Carlton <carlton@math.stanford.edu>
14732
14733 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14734 with respect to PR c++/57.
14735 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14736 c++/826.
14737 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14738 respect to PR c++/57.
14739
85ca1584
DC
147402003-03-03 David Carlton <carlton@math.stanford.edu>
14741
14742 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14743 respect to PR c++/33 into FAILs.
14744
98e9c5b8
MC
147452003-03-03 Michael Chastain <mec@shout.net>
14746
7bedbf27
MC
14747 * configure.in: Update copyright years.
14748
147492003-03-03 Michael Chastain <mec@shout.net>
14750
14751 * Makefile.in: Update copyright years.
98e9c5b8 14752
f683e100
DC
147532003-02-28 David Carlton <carlton@math.stanford.edu>
14754
14755 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14756 print class instead of struct and/or superfluous protection
14757 specifiers, as long as the resulting output is equivalent to the
14758 source code.
14759 Delete FIXME from end of messages on tests that don't need
14760 fixing.
14761
a9e0cf2c
DC
147622003-02-28 David Carlton <carlton@math.stanford.edu>
14763
14764 * gdb.c++/templates.exp (do_tests): Allow const in the two
14765 Foo<volatile char *>::foo tests.
14766
e8d359df
MS
147672003-02-27 Michael Snyder <msnyder@redhat.com>
14768
d63a86f8 14769 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14770 will be consistant.
14771
0b71dc91
DC
147722003-02-26 David Carlton <carlton@math.stanford.edu>
14773
14774 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14775 char *>::foo" test with respect to PR c++/33. Create a new test
14776 which is identical to that one except that it doesn't put the
14777 space between the "char" and the "*"; KFAIL it, too.
14778
dd14ab43
DC
147792003-02-26 David Carlton <carlton@math.stanford.edu>
14780
14781 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14782 template types into either PASSes or KFAILs (corresponding to PR
14783 c++/57). Tweak indentation. Update copyright.
14784
1146c7f1
SC
147852003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14786
14787 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14788
74641dfb
MC
147892003-02-13 Michael Chastain <mec@shout.net>
14790
14791 * gdb.base/exprs.exp: Remove i960 remnants.
14792 * gdb.base/funcargs.exp: Likewise.
14793 * gdb.base/list.exp: Likewise.
14794 * gdb.base/ptype.exp: Likewise.
14795
559cd2d0
DC
147962003-02-14 David Carlton <carlton@math.stanford.edu>
14797
14798 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14799 pEe->D::vg()" from XFAIL to KFAIL.
14800
c4f90d87
JM
148012003-02-13 Jason Molenda (jmolenda@apple.com)
14802
14803 * gdb.base/maint.exp: Update maint print statistics regexp to include
14804 new entries.
14805
cbc4d97c
MC
148062003-02-13 Michael Chastain <mec@shout.net>
14807
14808 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14809
40f235b7
MC
148102003-02-12 Michael Chastain <mec@shout.net>
14811
14812 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14813 * gdb.c++/inherit.exp: Likewise.
14814 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14815 * gdb.c++/templates.exp: Likewise.
14816 * gdb.c++/virtfunc.exp: Likewise.
14817
c56716b0
JM
148182003-02-06 Jason Molenda (jason-cl@molenda.com)
14819
14820 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14821 why the code is written that way.
14822
070afcf8
MC
148232003-02-05 Michael Chastain <mec@shout.net>
14824
14825 * gdb.base/dump.exp: Add missing copyright line.
14826
5d0331e5
JM
148272003-02-05 Jason Molenda (jason-cl@molenda.com)
14828
f7ae6d3e 14829 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14830 at the beginning so the breakpoint doesn't get set on the loop.
14831
92851186
MC
148322003-02-05 Michael Chastain <mec@shout.net>
14833
14834 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14835 output for configurations with gcc 2.95.3.
14836
cbf1e085
AC
148372003-02-05 Keith Seitz <keiths@redhat.com>
14838 Andrew Cagney <ac131313@redhat.com>
14839
14840 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14841
29518e1e
MC
148422003-02-04 Michael Chastain <mec@shout.net>
14843
14844 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14845 Call perror and then continue.
14846
5af1d5f3
MC
148472003-02-03 Michael Chastain <mec@shout.net>
14848
14849 * gdb.c++/pr-1023.cc: New file.
14850 * gdb.c++/pr-1023.exp: New file.
14851
6b549786
JB
148522003-02-05 Jim Blandy <jimb@redhat.com>
14853
14854 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14855 it's local to foobar. Check for it there, and check that it's not
14856 present in main.
14857 * gdb.c++/local.cc (marker2): New function.
14858 (foobar): Call marker1.
14859 (main): Call marker2 instead of marker1.
14860
67f16606
AC
148612003-02-04 Andrew Cagney <ac131313@redhat.com>
14862
14863 * gdb.disasm/mn10200.exp: Obsolete file.
14864 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14865 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14866 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14867
1c5cb38e
DC
148682003-02-04 David Carlton <carlton@math.stanford.edu>
14869
14870 * gdb.c++/overload.exp: Test intToChar(1).
14871 * gdb.c++/overload.cc (intToChar): New.
14872 (main): Call intToChar.
14873
d1fe6965
DC
148742003-02-03 David Carlton <carlton@math.stanford.edu>
14875
14876 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14877 'might_kfail' arg.
14878 KFAIL some of the continue_to_bp_overloaded calls, according to
14879 PR c++/1025.
14880
9ba61c5d
MC
148812003-02-01 Michael Chastain <mec@shout.net>
14882
14883 * gdb.base/advance.c (marker1): New marker function.
14884 * gdb.base/advance.exp: When the 'advance' command lands on the
14885 return breakpoint, it can legitimately stop on either the
14886 current line or the next line. Accommodate both outcomes.
14887 * gdb.base/until.exp: Likewise.
14888
e7494ffb
AC
148892003-02-02 Andrew Cagney <ac131313@redhat.com>
14890
14891 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14892 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14893 now a list, not a tuple.
14894 * gdb.mi/mi-var-display.exp: Ditto.
14895 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14896
075559bc
AC
148972003-02-01 Andrew Cagney <ac131313@redhat.com>
14898
14899 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14900 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14901 stack backtraces.
14902 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14903
2bd4c7b1
MK
149042003-02-01 Mark Kettenis <kettenis@gnu.org>
14905
14906 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14907 gdb.mi/mi1-pthreads.exp: Return instead of calling
14908 gdb_suppress_entire_file.
14909
eabd8992
MS
149102003-02-01 Mark Salter <msalter@redhat.com>
14911
14912 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14913
71469e2f
MS
149142003-01-31 Mark Salter <msalter@redhat.com>
14915
14916 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14917 Support empty arg.
14918
38a94d44
MC
149192003-01-30 Michael Chastain <mec@shout.net>
14920
14921 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14922 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14923 has been fixed in gdb/readline on 2003-01-09.
14924
19ea9e73
MS
149252003-01-29 Michael Snyder <msnyder@redhat.com>
14926
e8d359df
MS
14927 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14928 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14929 * gdb.base/args.exp: Skip if target does not support args passing.
14930
2307bd6a
DJ
149312003-01-22 Daniel Jacobowitz <drow@mvista.com>
14932
19ea9e73 14933 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14934 gdb_test. Accept a list of expect arguments as the third
14935 parameter.
14936 (gdb_test): Use it.
14937
f2dd3617
EZ
149382003-01-20 Elena Zannoni <ezannoni@redhat.com>
14939
14940 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14941 allow for different test tree configurations. Update some
14942 tescases accordingly.
14943 * gdb.arch/altivec-regs.exp: Ditto.
14944 * gdb.asm/asm-source.exp: Ditto.
14945 * gdb.base/advance.exp: Ditto.
14946 * gdb.base/display.exp: Ditto.
d63a86f8 14947 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14948 * gdb.base/mips_pro.exp: Ditto.
14949 * gdb.base/overlays.exp: Ditto.
14950 * gdb.base/relocate.exp: Ditto.
14951 * gdb.base/setshow.exp: Ditto.
14952 * gdb.base/step-line.exp: Ditto.
14953 * gdb.base/step-test.exp: Ditto.
14954 * gdb.base/until.exp: Ditto.
14955 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14956
c71cdefd
DC
149572003-01-17 David Carlton <carlton@math.stanford.edu>
14958
14959 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14960 corresponding to PR c++/945.
14961 Update copyright.
14962
fdba05d7
DC
149632003-01-17 David Carlton <carlton@math.stanford.edu>
14964
14965 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14966 corresponding to PR c++/68.
14967
149682003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14969
14970 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14971 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14972 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14973
c362c33a
EZ
149742003-01-15 Elena Zannoni <ezannoni@redhat.com>
14975
0fbc361c
EZ
14976 * gdb.base/break.exp: Fix change of default location, because of
14977 removal of until tests.
14978 * gdb.base/help.exp: Update test for new 'until' help message.
14979 Add test for help on 'advance'.
a9c64011 14980 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14981
dabf8a35
MK
149822003-01-15 Mark Kettenis <kettenis@gnu.org>
14983
14984 * gdb.base/default.exp: Adapt "info float" test for recent changes
14985 to that command. Add test for "info vector".
14986 * gdb.base/float.exp: New file. Add test for "info float" that
14987 resembles the old test in gdb.base/default.exp.
14988
a1769aca
DC
149892003-01-15 David Carlton <carlton@math.stanford.edu>
14990
14991 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14992
82025e13
EZ
149932003-01-15 Elena Zannoni <ezannoni@redhat.com>
14994
14995 * gdb.base/break.exp: Move the tests of until command from here...
14996 * gdb.base/until.exp: ... to here. New file. Add other tests.
14997 * gdb.base/advance.c: New file.
14998 * gdb.base/advance.exp: New file.
14999
8f9ab801
EZ
150002003-01-14 Elena Zannoni <ezannoni@redhat.com>
15001
a9c64011
AS
15002 * gdb.base/args.c: New file.
15003 * gdb.base/args.exp: New file.
8f9ab801 15004
9ae66589
DJ
150052003-01-14 Daniel Jacobowitz <drow@mvista.com>
15006
15007 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15008
8d77e5c3
DJ
150092003-01-14 Daniel Jacobowitz <drow@mvista.com>
15010
15011 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15012
12d2f0a1
DJ
150132003-01-14 Daniel Jacobowitz <drow@mvista.com>
15014
15015 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15016 dates.
15017
6ca37014
DJ
150182003-01-13 Daniel Jacobowitz <drow@mvista.com>
15019
15020 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15021
b0023472
DJ
150222003-01-13 Daniel Jacobowitz <drow@mvista.com>
15023
15024 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15025 (ptype &*"foo").
15026 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15027
607fbc54 150282003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15029
15030 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15031 * gdb.mi/mi1-console.exp: Likewise.
15032
607fbc54 150332003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15034
15035 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15036 * gdb.mi/mi1-console.exp: Likewise.
15037
a1fb14a2
DJ
150382003-01-13 Daniel Jacobowitz <drow@mvista.com>
15039
15040 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15041
c4cf40b7
DJ
150422003-01-09 Daniel Jacobowitz <drow@mvista.com>
15043
15044 * gdb.base/detach.exp: New test.
15045
696d5a5b
DJ
150462003-01-09 Daniel Jacobowitz <drow@mvista.com>
15047
15048 * Makefile.in (ALL_SUBDIRS): New variable.
15049 (subdirs, clean, distclean): Use it.
15050 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15051 regenerating Makefile, since it is generated from the top level.
15052 * gdb.asm/Makefile.in: Likewise.
15053 * gdb.base/Makefile.in: Likewise.
15054 * gdb.c++/Makefile.in: Likewise.
15055 * gdb.disasm/Makefile.in: Likewise.
15056 * gdb.java/Makefile.in: Likewise.
15057 * gdb.mi/Makefile.in: Likewise.
15058 * gdb.threads/Makefile.in: Likewise.
15059 * gdb.trace/Makefile.in: Likewise.
15060
754533e4
DC
150612003-01-09 David Carlton <carlton@math.stanford.edu>
15062
15063 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15064 Add copyright year 2003.
15065
d8b3e9ee
MC
150662003-01-06 Michael Chastain <mec@shout.net>
15067
15068 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15069 When selecting a thread, 'line' and 'file' are optional.
15070 * gdb.mi/mi1-pthreads.exp: Likewise.
15071
8e9e0fe6
AS
150722003-01-06 Andreas Schwab <schwab@suse.de>
15073
15074 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15075 failures.
15076
b5ab8ff3
DJ
150772003-01-04 Daniel Jacobowitz <drow@mvista.com>
15078
15079 Fix PR gdb/844
15080 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15081 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15082
15083 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15084 instead of calling gdb_suppress_entire_file.
15085 * gdb.threads/print-threads.exp: Likewise.
15086 * gdb.threads/schedlock.exp: Likewise.
15087
15088 * gdb.threads/killed.exp: Return instead of calling
15089 gdb_suppress_entire_file.
15090 * gdb.threads/linux-dp.exp: Likewise.
15091 * gdb.threads/pthreads.exp: Likewise.
15092
1e698235
DJ
150932003-01-04 Daniel Jacobowitz <drow@mvista.com>
15094
15095 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15096 stabs.
15097 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15098 * gdb.base/whatis.exp: Always allow (void) after function names.
15099
147ff08c
DJ
151002003-01-04 Daniel Jacobowitz <drow@mvista.com>
15101
15102 * gdb.c++/casts.exp: Correct regexp.
15103
dc62bfc2
MK
151042003-01-04 Mark Kettenis <kettenis@gnu.org>
15105
15106 * configure.in: Call AC_CONFIG_HEADER. Don't call
15107 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15108 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15109 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15110 aforementioned directories in the AC_OUPUT call.
15111 * config.hin: New file.
15112 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15113 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15114 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15115 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15116 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15117 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15118 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15119 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15120 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15121 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15122 gdb.threads/configure.in, gdb.threads/configure,
15123 gdb.threads/config.in, gdb.trace/configure.in,
15124 gdb.trace/configure: Removed.
15125
77afa639
MC
151262003-01-03 Michael Chastain <mec@shout.net>
15127
15128 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15129 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15130
7634bb6e
DJ
151312003-01-03 Daniel Jacobowitz <drow@mvista.com>
15132
15133 * gdb.base/store.exp: Fix regular expressions.
15134
b39c905e
MK
151352002-12-28 Mark Kettenis <kettenis@gnu.org>
15136
15137 * configure.in: Rewrite.
15138 * configure: Regenerated.
15139
0a8551dd
DC
151402003-01-03 David Carlton <carlton@math.stanford.edu>
15141
15142 * gdb.base/psymtab.exp: New file.
15143 * gdb.base/psymtab1.c: Ditto.
15144 * gdb.base/psymtab2.c: Ditto.
15145
c60b7188
AF
151462002-12-23 Adam Fedor <fedor@gnu.org>
15147
15148 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15149
ee73db83
DC
151502002-12-23 David Carlton <carlton@math.stanford.edu>
15151
15152 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15153 and current_directory initialization.
15154
d6c1774e
JB
151552002-12-22 Jim Blandy <jimb@redhat.com>
15156
f0a847b8
JB
15157 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15158 rather than as part of the output file name.
15159
d6c1774e
JB
15160 * gdb.base/attach.exp: There's no need to copy the test program to
15161 /tmp; that was only ever necessary on HP/UX, and this test is
15162 entirely disabled there anyway.
15163
f0708dbb
JB
151642002-12-21 Jim Blandy <jimb@redhat.com>
15165
4c2acfea
JB
15166 * gdb.c++/psmang.exp: Doc fix.
15167
f0708dbb
JB
15168 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15169 test.
15170
9579e000
DC
151712002-12-20 David Carlton <carlton@math.stanford.edu>
15172
15173 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15174
d1810171
MC
151752002-12-18 Michael Chastain <mec@shout.net>
15176
15177 * gdb.c++/annota2.exp: Add copyright year 2002.
15178
76565097
DC
151792002-12-17 David Carlton <carlton@math.stanford.edu>
15180
15181 * gdb.c++/try_catch.cc: Add marker comments.
15182 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15183 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15184 * gdb.c++/m-static.cc: Ditto.
15185 * gdb.c++/m-static1.cc: Ditto.
15186 * gdb.c++/try_catch.cc: Ditto.
15187
da81390b
JJ
151882002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15189
15190 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15191 to see whether we are using the new -environment-directory
15192 command which resets via -r or the old version of the command
15193 which may prompt the user. Part of fix for gdb/741.
15194
b304d130
AC
151952002-12-13 Andrew Cagney <ac131313@redhat.com>
15196
15197 * gdb.fortran/types.exp: Update obsolete comment.
15198 * gdb.fortran/exprs.exp: Ditto.
15199 * lib/gdb.exp: Delete obsolete code.
15200 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15201 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15202 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15203 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15204 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15205 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15206 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15207 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15208 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15209 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15210 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15211 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15212 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15213 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15214 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15215 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15216 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15217 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15218 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15219 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15220 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15221 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15222 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15223 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15224 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15225 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15226 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15227 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15228 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15229 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15230 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15231 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15232 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15233 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15234 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15235 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15236 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15237
a23b6e6a
DC
152382002-12-11 David Carlton <carlton@math.stanford.edu>
15239
15240 * gdb.c++/m-data.exp: Add test for members that shadow global
15241 variables: see PR gdb/804.
15242 * gdb.c++/m-data.cc: Ditto.
15243
6604731b
DJ
152442002-12-10 Daniel Jacobowitz <drow@mvista.com>
15245
15246 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15247
de46ecd7
DC
152482002-12-06 David Carlton <carlton@math.stanford.edu>
15249
15250 * gdb.base/store.c: Don't declare functions static.
15251
27e829d0
AC
152522002-12-04 Andrew Cagney <ac131313@redhat.com>
15253
15254 * gdb.base/store.exp, gdb.base/store.c: New files.
15255
92806416
DJ
152562002-12-03 Daniel Jacobowitz <drow@mvista.com>
15257
15258 * gdb.base/selftest.exp: Update for current gdb.
15259
3bcbaac5
DJ
152602002-12-03 Daniel Jacobowitz <drow@mvista.com>
15261
15262 * gdb.base/maint.exp: Only dump symbols from one source file
15263 or objfile.
15264
f4f00b1f
DJ
152652002-12-03 Daniel Jacobowitz <drow@mvista.com>
15266
15267 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15268 function call.
15269
f1c8a949
JB
152702002-11-25 Jim Blandy <jimb@redhat.com>
15271
15272 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15273 function appearing in error message.
15274
9e297a97
DJ
152752002-11-21 Daniel Jacobowitz <drow@mvista.com>
15276
15277 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15278
1f312e79
JJ
152792002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15280
d63a86f8
RM
15281 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15282 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15283 should be in mi console format. This is part of fix for PR gdb/604.
15284
83c31e7d
FN
152852002-09-18 Fernando Nasser <fnasser@redhat.com>
15286
15287 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15288 which explicitly prints the zero offset as "+0".
15289
322b3f65
DJ
152902002-10-22 Daniel Jacobowitz <drow@mvista.com>
15291
15292 * gdb.threads/schedlock.c (args): Make unsigned.
15293
152942002-10-21 Daniel Jacobowitz <drow@mvista.com>
15295
15296 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15297 numbers. Allow "foo2|selected stack frame".
15298 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15299 * gdb.asm/asmsrc2.s: Likewise.
15300 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15301 comments.
15302 * gdb.asm/mips.inc: New file.
15303
5e2fe5b8
AF
153042002-10-18 Adam Fedor <fedor@gnu.org>
15305
15306 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15307 * gdb.base/help.exp: Likewise.
15308
abe1a5d0
KB
153092002-10-17 Kevin Buettner <kevinb@redhat.com>
15310
15311 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15312 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15313
10abb1d4
JB
153142002-10-02 Jim Blandy <jimb@redhat.com>
15315
15316 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15317
1f609b42
AC
153182002-10-01 Andrew Cagney <ac131313@redhat.com>
15319
15320 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15321 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15322 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15323 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15324 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15325 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15326 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15327
0aee02e4
AC
153282002-09-29 Andrew Cagney <ac131313@redhat.com>
15329
15330 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15331 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15332 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15333 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15334 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15335 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15336 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15337
6fde09ad
KB
153382002-09-27 Kevin Buettner <kevinb@redhat.com>
15339
15340 * gdb.base/annota1.exp (info break): Make directory components of
15341 path optional since not all compilers emit this debug information.
15342
889bf7c5
PA
15343 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15344 step ends up stepping out of the function instead of stopping on
15345 the epilogue.
6fde09ad 15346
9e8aab75
KS
153472002-09-26 Keith Seitz <keiths@redhat.com>
15348
15349 * lib/insight-support.exp (gdbtk_start): Figure out where
15350 the insight executable is based on where gdb is. Use this
15351 executable to start insight instead of gdb.
15352
e36180d7
AC
153532002-09-25 Andrew Cagney <cagney@redhat.com>
15354
15355 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15356
9dd34b2b
AC
153572002-09-24 Andrew Cagney <ac131313@redhat.com>
15358
15359 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15360 test_isolated_complaints.
15361 (test_empty_complaint): New function.
15362 (test_empty_complaints): New function. Check no output when no
15363 complaints.
d63a86f8 15364
dea97812
KB
153652002-09-19 Jim Blandy <jimb@redhat.com>
15366
a9c64011 15367 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15368
54951bd7
AC
153692002-09-19 Andrew Cagney <ac131313@redhat.com>
15370
15371 * gdb.gdb/complaints.exp: New file.
15372
dec43320
AC
153732002-09-18 Andrew Cagney <ac131313@redhat.com>
15374
15375 * gdb.base/maint.exp: Check `help maint internal-warning'.
15376
e70d6e3f
DC
153772002-09-18 David Carlton <carlton@math.stanford.edu>
15378
15379 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15380 numbers, and replace them by a single breakpoint after the
15381 constructors are all finished.
15382 Add test 4.
15383 * gdb.c++/m-static.cc: Add test 4.
15384 * gdb.c++/m-static.h: New file.
15385 * gdb.c++/m-static1.cc: New file.
15386
15387 * gdb.c++/printmethod.exp: New file.
15388 * gdb.c++/printmethod.cc: New file.
15389
15390 * gdb.c++/pr-574.exp: New file.
15391 * gdb.c++/pr-574.cc: New file.
15392
afb5c968
CV
153932002-09-18 Corinna Vinschen <vinschen@redhat.com>
15394
15395 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15396 embedded targets which never actually exit.
15397
31e45dee
FN
153982002-09-18 Fernando Nasser <fnasser@redhat.com>
15399
15400 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15401 "don't step after run" as unresolved or unsupported, instead of xfail.
15402
a283c5a1
CV
154032002-09-18 Corinna Vinschen <vinschen@redhat.com>
15404
15405 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15406 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15407 Add newline to expected string in "step out of main (status wrapper)"
15408 case.
15409
11350d2a
CV
154102002-09-18 Corinna Vinschen <vinschen@redhat.com>
15411
15412 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15413 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15414
0deec7d6
TT
154152002-09-17 Tom Tromey <tromey@redhat.com>
15416
15417 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15418 \000, not \0, in double-quoted string.
15419
b2b4a1b5
CV
154202002-09-14 Corinna Vinschen <vinschen@redhat.com>
15421
c9d37158 15422 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15423 string after running the commands execution on breakpoint tests.
15424
1c56143a
CV
154252002-09-13 Corinna Vinschen <vinschen@redhat.com>
15426
15427 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15428
37f8da45
JB
154292002-09-12 Joel Brobecker <brobecker@gnat.com>
15430
15431 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15432
08b468e0
KS
154332002-09-10 Keith Seitz <keiths@redhat.com>
15434
15435 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15436 runto proc.
15437 (mi_run_to_main): Use mi_runto.
15438 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15439
dc360f58
KS
154402002-09-10 Keith Seitz <keiths@redhat.com>
15441
15442 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15443 regexp for stopping at main. Could have multiple event notifications.
15444 Don't assume that main was declared with no parameters.
15445 (mi_next): Use mi_step_to.
15446 (mi_step): Use mi_next_to.
15447
ce3abcfb
CV
154482002-09-09 Corinna Vinschen <vinschen@redhat.com>
15449
15450 * gdb.base/default.exp: Fix expected string in `info float' test.
15451
d1f5b980
BE
154522002-09-09 Ben Elliston <bje@redhat.com>
15453
15454 * config/mips.exp: Update comments.
15455 * config/mips-idt.exp: Likewise.
15456 * config/nind.exp: Likewise.
15457 * config/slite.exp: Likewise.
15458 * config/sparclet.exp: Likewise.
15459 * config/udi.exp: Likewise.
15460 * config/vx.exp: Likewise.
15461 * config/vxworks29k.exp: Likewise.
15462
2f71430b
JB
154632002-09-05 Jim Blandy <jimb@redhat.com>
15464
15465 * gdb.threads/killed.exp: Fix test failure message.
15466
7ddebc7e
KS
154672002-09-04 Keith Seitz <keiths@redhat.com>
15468
15469 * lib/mi-support.exp: Update copyright.
15470 (mi_gdb_test): Increase the priority of the expected pattern
15471 so that it matches gdb_test.
15472
0ae67eb3
KS
154732002-09-03 Keith Seitz <keiths@redhat.com>
15474
15475 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15476 Use integer comparison instead of string comparison for testing
15477 whether binary was built.
15478
38fc42c8
JB
154792002-09-03 Jim Blandy <jimb@redhat.com>
15480
15481 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15482
b6ff0e81
JB
154832002-08-29 Jim Blandy <jimb@redhat.com>
15484
15485 * gdb.threads/pthreads.exp: Move the portable thread compilation
15486 code into a function in lib/gdb.exp, and call that from here.
15487 * lib/gdb.exp (gdb_compile_pthreads): New function.
15488
07c98896
KS
154892002-08-29 Keith Seitz <keiths@redhat.com>
15490
15491 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15492 expect_out so that callers can get at it.
15493
0312286c
DJ
154942002-08-23 Daniel Jacobowitz <drow@mvista.com>
15495
15496 * gdb.threads/print-threads.c: New file.
15497 * gdb.threads/print-threads.exp: New file.
15498 * gdb.threads/schedlock.c: New file.
15499 * gdb.threads/schedlock.exp: New file.
15500
dd039bc4
EZ
155012002-08-22 Elena Zannoni <ezannoni@redhat.com>
15502
a9c64011
AS
15503 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15504 not altivec.c.
dd039bc4 15505
1f36144c
MK
155062002-08-17 Mark Kettenis <kettenis@gnu.org>
15507
15508 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15509 targets. The problem should be fixed now.
15510
16057ec7 155112002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15512
15513 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15514 2002-07-24 change that removes final dots from error messages.
15515
3c1499ad
TT
155162002-08-13 Tom Tromey <tromey@redhat.com>
15517
15518 * gdb.base/readline.exp: New file.
15519
a20ce2c3
AC
155202002-08-01 Andrew Cagney <ac131313@redhat.com>
15521
15522 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15523 supress message.
15524
db034ac5
AC
155252002-08-01 Andrew Cagney <cagney@redhat.com>
15526
15527 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15528 CHILL_FOR_TARGET and CHILL_LIB.
15529 * configure.in (configdirs): Remove gdb.chill.
15530 * configure: Regenerate.
15531 * lib/gdb.exp: Obsolete references to chill.
15532 * gdb.fortran/types.exp: Ditto.
15533 * gdb.fortran/exprs.exp: Ditto.
15534
3e000b18
KB
155352002-07-30 Kevin Buettner <kevinb@redhat.com>
15536
15537 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15538 set Irix-specific compile and link flags.
15539
28f4966b
KB
155402002-07-29 Kevin Buettner <kevinb@redhat.com>
15541
15542 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15543 source files. The ``-o'' option doesn't work with the ``-E'' option
15544 when using the Irix compiler.
15545
46c0d5a6
DJ
155462002-07-19 Daniel Jacobowitz <drow@mvista.com>
15547
15548 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15549 Improve support for reusing an exec file. Copy exec file
15550 to target, and run gdbserver on the target instead of on the host.
15551
eecf4bed
JB
155522002-07-18 Jim Blandy <jimb@redhat.com>
15553
0f815cdf
JB
15554 * gdb.base/ending-run.exp: Don't expect to see the program end in
15555 some orderly fashion when we're running on a real stand-alone
15556 board.
15557
eecf4bed
JB
15558 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15559 targets that don't support interrupts.
15560
52d309e4
JB
155612002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15562
15563 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15564 systems.
15565 Move comments in expect statements to inside the actions, so that they
15566 don't get matched against.
15567
ff683d9e
MK
155682002-07-10 Mark Kettenis <kettenis@gnu.org>
15569
15570 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15571 function when asleep" test.
15572
b5356753
AC
155732002-07-10 Andrew Cagney <ac131313@redhat.com>
15574
15575 * gdb.base/page.exp: Rewrite to handle problems with very long
15576 `info set' output. Update copyright.
15577
6aa4d13a
AC
155782002-06-26 Andrew Cagney <ac131313@redhat.com>
15579
15580 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15581 gdb.threads-hp.
15582 * gdb.hp/configure: Regenerate.
15583 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15584 * gdb.hp/gdb.threads-hp/configure: Delete file.
15585 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15586
8cf8c2b8
AC
155872002-06-22 Andrew Cagney <ac131313@redhat.com>
15588
15589 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15590 setlocale, bindtextdomain and textdomain.
15591
6827a8f8
JB
155922002-06-11 Jim Blandy <jimb@redhat.com>
15593
919d772c
JB
15594 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15595 preprocessor macro information is present.
15596
6827a8f8
JB
15597 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15598 tests.
15599
c15b0d21
MS
156002002-06-06 Michael Snyder <msnyder@redhat.com>
15601
c5984d70
MS
15602 * gdb.base/overlays.exp: Record addresses of overlay
15603 functions in TCL variables rather than in GDB variables,
15604 to avoid having GDB convert them to pointers (with loss
15605 of information).
15606
d63a86f8 15607 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15608 default linker script changes.
c15b0d21
MS
15609 * gdb.base/long_long.exp: Add check for sizeof (long double).
15610
be26fe0d
ML
156112002-06-06 Michal Ludvig <mludvig@suse.cz>
15612
15613 * gdb.asm/asm-source.exp: Add x86-64 target.
15614 * gdb.asm/x86_64.inc: New.
d63a86f8 15615
258093ca 156162002-05-30 Michael Chastain <mec@shout.net>
258093ca 15617
4b3153f1 15618 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15619 * gdb.c++/m-static.cc: New file.
15620 * gdb.c++/m-static.exp: New file.
15621
241264c6
MS
156222002-05-28 Michael Snyder <msnyder@redhat.com>
15623
15624 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15625 precision.
15626
9bba8c8f 156272002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15628
4b3153f1 15629 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15630 * gdb.c++/m-data.cc: New file.
15631 * gdb.c++/m-data.exp: New file.
15632
156332002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15634
4b3153f1 15635 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15636 * gdb.c++/try_catch.cc: New file.
d63a86f8 15637 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15638
def1b996
MC
156392002-05-27 Michael Chastain <mec@shout.net>
15640
15641 * gdb.c++/local.exp: Accept more nested types in output.
15642
522ba268
MC
156432002-05-26 Michael Chastain <mec@shout.net>
15644
15645 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15646
277254ba
MS
156472002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15648
15649 * lib/gdb.exp (gdb_wrapper_init): Just because
15650 gdb_wrapper_file exists, this does not mean that the file
15651 should not be rebuilt. That is what gdb_wrapper_initialized
15652 is for.
15653 (default_gdb_init): Reset gdb_wrapper_initialized.
15654
b61a8733
MS
156552002-05-23 Michael Snyder <msnyder@redhat.com>
15656
d63a86f8 15657 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15658 the precision of the floating point test results.
15659 * gdb.base/call-rt-st.exp: Ditto.
15660
b61a8733
MS
15661 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15662 * gdb.base/call-rt-st.exp: Ditto.
15663
56f6e910
MC
156642002-05-19 Michael Chastain <mec@shout.net>
15665
15666 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15667
ad0b0016
EZ
156682002-05-19 Elena Zannoni <ezannoni@redhat.com>
15669
a9c64011
AS
15670 * configure.in (configdirs): Add gdb.arch.
15671 * configure: Regenerate.
ad0b0016 15672
f617d2b6
JB
156732002-05-17 Jim Blandy <jimb@redhat.com>
15674
15675 * gdb.base/completion.exp: Recognize the more detailed error
15676 messages produced by the macro expander's lexical analyzer.
15677
eac2a696
EZ
156782002-05-14 Elena Zannoni <ezannoni@redhat.com>
15679
a9c64011
AS
15680 * gdb.arch/altivec-abi.c: New file.
15681 * gdb.arch/altivec-abi.exp: New file.
15682 * gdb.arch/altivec-regs.c: New file.
15683 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15684
2fdde8f8
DJ
156852002-05-14 Daniel Jacobowitz <drow@mvista.com>
15686
15687 * gdb.base/maint.exp (maint print type): Update for new type
15688 structure.
d63a86f8 15689
e31f1a7c
EZ
156902002-05-14 Elena Zannoni <ezannoni@redhat.com>
15691
15692 * gdb.arch: New directory.
15693 * gdb.arch/configure.in: New file.
15694 * gdb.arch/configure: New file.
15695 * gdb.arch/Makefile.in: New file.
15696
db589741
CV
156972002-05-13 Corinna Vinschen <vinschen@redhat.com>
15698
15699 * gdb.asm/asm-source.exp: Add v850 as supported target.
15700 * gdb.asm/v850.inc: New file.
15701
8ce2a7dc
DJ
157022002-05-13 Daniel Jacobowitz <drow@mvista.com>
15703
15704 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15705
df763c7f
DJ
157062002-05-12 Daniel Jacobowitz <drow@mvista.com>
15707
15708 * gdb.base/break.exp: Check 'break "marker2"'.
15709
377daeed
MS
157102002-05-10 Michael Snyder <msnyder@redhat.com>
15711
15712 * gdb.base/long_long.exp: Fix typo.
15713
c4b7bc2b
JB
157142002-05-10 Jim Blandy <jimb@redhat.com>
15715
ecac9a4e
JB
15716 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15717 a bug.
15718
c4b7bc2b
JB
15719 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15720 Recognize more detailed error message produced by the macro
15721 expander's lexical analyzer.
15722 * lib/gdb.exp (test_print_reject): Same.
15723
e71019a1
MK
157242002-05-09 Mark Kettenis <kettenis@gnu.org>
15725
15726 * gdb.c++/method.exp: Fix typo.
15727
fedfc8e6
MS
157282002-05-08 Michael Snyder <msnyder@redhat.com>
15729
166a1957
MS
15730 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15731 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15732 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15733 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15734 Add iftarget clause for strongarm.
d63a86f8 15735
f1c47eb2
MS
157362002-05-06 Michael Snyder <msnyder@redhat.com>
15737
cb9a9d3e
MS
15738 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15739 (gdb_continue_to_end): Accept output from status wrapper.
15740 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15741 Clean up fail messages to match pass messages.
15742
f1c47eb2
MS
15743 Enable the "needs_status_wrapper" testsuite feature.
15744 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15745 (gdb_compile): Conditionally call gdb_wrapper_init.
15746 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15747 * gdb.c++/method.exp: Recognize output from status wrapper.
15748
6079c749
BE
157492002-05-06 Ben Elliston <bje@redhat.com>
15750From Graydon Hoare <graydon@redhat.com>
15751
15752 * config/sid.exp: Include support for "rawsid" protocol.
15753
188baff3
JB
157542002-05-03 Jim Blandy <jimb@redhat.com>
15755
15756 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15757 * gdb.c++/hang3.C: New file.
15758
b9c07f0f
AC
157592002-05-04 Andrew Cagney <ac131313@redhat.com>
15760
15761 * gdb.base/default.exp: Remove obsolete code.
15762 * gdb.c++/misc.exp: Ditto. Update copyright.
15763 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15764 * gdb.base/whatis.exp: Ditto. Update copyright.
15765 * gdb.base/scope.exp: Ditto. Update copyright.
15766 * gdb.base/ptype.exp: Ditto. Update copyright.
15767 * gdb.base/printcmds.exp: Ditto. Update copyright.
15768 * gdb.base/opaque.exp: Ditto. Update copyright.
15769 * gdb.base/list.exp: Ditto.
15770 * gdb.base/funcargs.exp: Ditto. Update copyright.
15771 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15772 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15773 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15774 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15775 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15776 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15777
5c7a0397
MS
157782002-05-02 Michael Snyder <msnyder@redhat.com>
15779
d6dcc264 15780 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15781 * gdb.base/long_long.exp: Add xscale target.
15782 * gdb.base/default.exp: Add xscale target.
15783
eb7f1c48
JB
157842002-05-01 Jim Blandy <jimb@redhat.com>
15785
15786 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15787 gdb.c++/hang.exp: New test.
15788
a6befae8
FF
157892002-05-01 Fred Fish <fnf@redhat.com>
15790
15791 * gdb.base/completion.exp: Handle completions of "./Make" for
15792 more than one completion possibility, as is the case when we
15793 build and test in the source tree.
15794
0a310277
AG
157952002-04-29 Anthony Green <green@redhat.com>
15796
15797 * gdb.java/jmisc1.exp: New file.
15798 * gdb.java/jmisc2.exp: New file.
15799
6ff9af88
DJ
158002002-04-24 Daniel Jacobowitz <drow@mvista.com>
15801
15802 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15803
96b3d632
EZ
158042002-04-23 Elena Zannoni <ezannoni@redhat.com>
15805
15806 * gdb.base/help.exp: Change 'help status' to allow for target
15807 dependent output differences.
15808
5019bb54
MC
158092002-04-22 Michael Chastain <mec@shout.net>
15810
15811 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15812
a805a116
MC
158132002-04-22 Michael Chastain <mec@shout.net>
15814
15815 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15816
a1706bfd
DM
158172002-04-17 David S. Miller <davem@redhat.com>
15818
15819 * gdb.asm/sparc64.inc: New file.
15820 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15821
a73a20a2
EZ
158222002-04-19 Elena Zannoni <ezannoni@redhat.com>
15823
15824 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15825 instruction file directly into the build tree. Clean up at end of
15826 test.
15827
ba678339
DM
158282002-04-18 David S. Miller <davem@redhat.com>
15829
15830 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15831 handle 64-bit platforms correctly.
15832 * gdb.base/maint.exp: Likewise.
15833
b03399da
KB
158342002-04-18 Kevin Buettner <kevinb@redhat.com>
15835
15836 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15837 ``-fpic'' when compiling files comprising a shared library, but
15838 it does need additional linker flags in order to find shared
15839 libraries at run time.
15840
e2004992
KB
158412002-04-18 Kevin Buettner <kevinb@redhat.com>
15842
15843 * gdb.base/cvexpr.c (use): New function.
15844 (main): Invoke use() on all global variables to prevent
15845 some linkers from deleting these otherwise unused symbols.
15846
d8937120
MC
158472002-04-17 Michael Chastain <mec@shout.net>
15848From David S. Miller <davem@redhat.com>
15849
15850 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15851 handle 64-bit platforms correctly.
15852
ffd61a58
MS
158532002-04-12 Michael Snyder <msnyder@redhat.com>
15854From Jim Blandy <jimb@redhat.com>
a9c64011 15855 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15856 script can handle this instead.
15857 * gdb.base/bar.c (barx): Same.
15858 * gdb.base/baz.c (bazx): Same.
15859 * gdb.base/grbx.c (grbxx): Same.
15860
15861 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15862 manager doesn't automatically unmap overlays unnecessarily.
15863
6b8426a6
MH
158642002-04-10 Martin M. Hunt <hunt@redhat.com>
15865
15866 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15867 stepping out of main.
15868
34af4875
MC
158692002-04-09 Michael Chastain <mec@shout.net>
15870
15871 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15872 scope so that the nested scope tests will make sense.
15873 * gdb.c++/local.exp: Write patterns that actually work with gcc
15874 (the HP patterns "were never known to work with gcc").
15875 Keep the old aCC patterns too.
15876
2d1676a0
DJ
158772002-04-09 Daniel Jacobowitz <drow@mvista.com>
15878
15879 * gdb.base/attach.exp: Correct target board test.
15880
3a63e3f9
MC
158812002-04-08 Michael Chastain <mec@shout.net>
15882
15883 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15884 in a const method. Add some xfail and fail cases for configurations
15885 that do not emit the "const ...".
15886
f18dabd2
MC
158872002-04-07 Michael Chastain <mec@shout.net>
15888
15889 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15890 Accept "A * const" and "const A * const" as type of "this".
15891 Fix spelling of getFunky throughout. Make messages uniform.
15892
0fcddd82
EZ
158932002-04-07 Elena Zannoni <ezannoni@redhat.com>
15894
a9c64011 15895 Work around for PR gdb/285:
0fcddd82
EZ
15896 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15897
16a8534a
EZ
158982002-04-07 Elena Zannoni <ezannoni@redhat.com>
15899
15900 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15901 instructions file at run time instead of configure time.
15902 Sometimes we run the test in a directory that is not the one we
15903 configured in.
15904 * gdb.asm/configure.in: Delete creation of symlink.
15905 * gdb.asm/configure: Regenerate.
15906
24181d81
JB
159072002-04-05 J. Brobecker <brobecker@gnat.com>
15908
15909 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15910 xfullpath () function.
15911
7cdb7107
DJ
159122002-04-04 Daniel Jacobowitz <drow@mvista.com>
15913
15914 * gdb.asm/Makefile.in: Correct dependencies.
15915
15916 * gdb.asm/powerpc.inc: New file.
15917 * gdb.asm/asm-source.exp: Add PowerPC.
15918 * gdb.asm/configure.in: Likewise.
15919 * gdb.asm/configure: Regenerated.
15920
a7d17088
DJ
159212002-04-04 Daniel Jacobowitz <drow@mvista.com>
15922
15923 * gdb.base/relocate.exp: New file.
15924 * gdb.base/relocate.c: New file.
15925
cd721503
FF
159262002-04-04 Fred Fish <fnf@redhat.com>
15927
15928 * gdb.base/step-test.exp: Update comment regarding stopping in
15929 memcpy/bcopy calls inserted as part of the compiler runtime.
15930
b22ad7a7
MS
159312002-04-04 Michael Snyder <msnyder@redhat.com>
15932
15933 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15934
5f279fa6
DJ
159352002-04-03 Daniel Jacobowitz <drow@mvista.com>
15936
15937 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15938 (gdb_expect): Remove $notransfer hack.
15939
dd0fd3ce
DJ
159402002-04-02 Daniel Jacobowitz <drow@mvista.com>
15941
15942 * gdb.c++/classes.exp ("calling method for small class"): Match
15943 updated register output.
15944
1e50cda1
DJ
159452002-03-30 Daniel Jacobowitz <drow@mvista.com>
15946
15947 Fix PR gdb/452
15948 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15949 when finished. Make gdb_file_cmd send "exec-file" when
15950 appropriate.
15951
24015922
DJ
159522002-03-30 Daniel Jacobowitz <drow@mvista.com>
15953
15954 * gdb.base/attach.exp: Remove extra setup_xfail.
15955
dd7dfd64
MS
159562002-03-26 Michael Snyder <msnyder@redhat.com>
15957
15958 * gdb.base/default.exp: Add tests for dump, append, and restore.
15959 * gdb.base/help.exp: Add tests for dump, append, and restore.
15960 * gdb.base/dump.exp: New file, test dump, append and restore.
15961 * gdb.base/dump.c: New file.
15962
48b2f8d7
MS
159632002-03-27 Michael Snyder <msnyder@redhat.com>
15964
d63a86f8 15965 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15966 clean-ups in help messages.
15967
05b4d525
FF
159682002-03-26 Fred Fish <fnf@redhat.com>
15969
15970 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15971 have debugging info for those functions and the compiler uses them
15972 internally to copy structs around.
15973
d7679631
FF
159742002-03-26 Fred Fish <fnf@redhat.com>
15975
15976 * gdb.base/list.exp: Revert the change made yesterday and add note
15977 about why we don't list the default lines for remote targets.
15978
523ac3f9
MS
159792002-03-25 Michael Snyder <msnyder@redhat.com>
15980
15981 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15982
754b2b8d
FF
159832002-03-25 Fred Fish <fnf@redhat.com>
15984
15985 * gdb.base/list.exp: This test works on remote targets so remove
15986 the short circuit for remote targets. Update copyright.
15987
33c3e192
FF
159882002-03-25 Fred Fish <fnf@redhat.com>
15989
15990 * gdb.base/attach.exp: Fix logic error that was suppressing this
15991 test for all non hppa*-*-hpux* targets, instead of the hp target.
15992 Move comments closer to the suppression point. Also now need to
15993 check that we are running natively.
15994
d43e73ee
MS
159952002-03-22 Michael Snyder <msnyder@redhat.com>
15996
882c8f02
MS
15997 * gdb.base/default.exp: Add test for gcore. Update copyright.
15998 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 15999
04c12f60
FF
160002002-03-06 Fred Fish <fnf@redhat.com>
16001
16002 * gdb.base/funcargs.c: Remove extraneous ';' character.
16003 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16004
b43df995
MC
160052002-03-04 Michael Chastain <mec@shout.net>
16006
16007 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16008 accommodate gcc v3 function signature.
16009 * gdb.mi/mi0-var-cmd-exp: Ditto.
16010
92362027
AC
160112002-02-24 Andrew Cagney <ac131313@redhat.com>
16012
16013 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16014 ``GNU/Linux'' or ``Linux kernel''
16015 * testsuite/gdb.threads/pthreads.c: Ditto.
16016
258ad32d
MC
160172002-02-24 Michael Chastain <mec@shout.net>
16018
16019 * gdb.threads/pthreads.c (thread1): Add a return statement.
16020 (thread2): Likewise.
16021 (foo): Likewise.
16022
04c3b3d4
MC
160232002-02-23 Michael Chastain <mec@shout.net>
16024
16025 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16026 to placate gcc.
16027
5a2a0a20
MC
160282002-02-23 Michael Chastain <mec@shout.net>
16029
16030 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16031 test "ptype bint". The test passes on all my stabs configurations.
16032
a640f7fc
JB
160332002-02-21 Jim Blandy <jimb@redhat.com>
16034
27924826
JB
16035 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16036 filename at a time, and watch for the ones we want to see.
16037
a640f7fc
JB
16038 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16039 types of pointers to prototyped functions.
16040
edcc8c75
AC
160412002-02-20 Andrew Cagney <ac131313@redhat.com>
16042
16043 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16044 signed, unsigned and straight char.
16045 (padding_char, padding_short, padding_int, padding_long,
16046 padding_long_long, padding_float, padding_double,
16047 padding_long_double): New global variables.
16048 (fill, fill_structs): New functions.
16049
16050 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16051 for correctly sized writes. Update copyright.
16052 (get_valueof): New procedure.
16053 (get_sizeof): Call get_valueof.
16054 (check_valueof): New procedure.
16055 (check_padding): New procedure.
16056
ac57ea44
MC
160572002-02-20 Michael Chastain <mec@shout.net>
16058
16059 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16060 to setup_xfail. Document some of the remaining calls.
16061
7a10c941
MC
160622002-02-18 Michael Chastain <mec@shout.net>
16063
16064 * gdb.c++/userdef.exp: Update copyright year.
16065
fb8acdcc
DJ
160662002-02-18 Daniel Jacobowitz <drow@mvista.com>
16067
16068 * gdb.c++/userdef.exp: Test overloaded operators properly.
16069 Remove xfails.
16070
fda6ae12
MS
160712002-02-14 Michael Snyder <msnyder@redhat.com>
16072
16073 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16074
676a0442
DJ
160752002-02-14 Daniel Jacobowitz <drow@mvista.com>
16076
16077 * gdb.base/a2-run.exp: Check for a remote target properly.
16078 * gdb.base/annota1.exp: Likewise.
16079 * gdb.base/list.exp: Likewise.
16080 * gdb.base/reread.exp: Likewise.
16081 * gdb.base/scope.exp: Likewise.
16082 * gdb.base/shlib-call.exp: Likewise.
16083 * gdb.base/term.exp: Likewise.
16084 * gdb.c++/annota2.exp: Likewise.
16085
78b4f468
RE
160862002-02-13 Richard Earnshaw <rearnsha@arm.com>
16087
16088 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16089
9a81ba51
MC
160902002-02-10 Michael Chastain <mec@shout.net>
16091
16092 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16093 (call_after_alloca): Ditto.
16094
004af6c7
DJ
160952002-02-10 Daniel Jacobowitz <drow@mvista.com>
16096
16097 * gdb.base/ending-run.exp: Guard "cont" test with
16098 gdb_skip_stdio_test.
16099
37225f62
JB
161002002-02-06 Jim Blandy <jimb@redhat.com>
16101
16102 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16103 from here...
16104 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16105 To here. Disable this test on non-HP platforms. Add big comment.
16106
fe6fdd96
MS
161072002-02-04 Michael Snyder <msnyder@redhat.com>
16108
16109 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16110 other than d10v and m32r.
16111
036fad3f
RE
161122002-02-02 Richard Earnshaw <rearnsha@arm.com>
16113
16114 * gdb.base/default.exp: Rewrite test patterns to reduce time
16115 taken to match them.
16116
7148ab62
DJ
161172002-01-30 Daniel Jacobowitz <drow@mvista.com>
16118
16119 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16120 Allow a start function above main.
16121 * gdb.threads/linux-dp.exp: Fix copyright date.
16122
396cc255
DJ
161232002-01-30 Daniel Jacobowitz <drow@mvista.com>
16124
a9c64011
AS
16125 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16126 (check_philosopher_stack): Check for manager thread before checking
16127 for a just-starting thread.
396cc255 16128
f038d31b
DJ
161292002-01-30 Daniel Jacobowitz <drow@mvista.com>
16130
16131 From Neil Booth <neil@daikokuya.demon.co.uk>:
16132 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16133 warnings.
16134
b3ff9d9a
FF
161352002-01-21 Fred Fish <fnf@redhat.com>
16136
16137 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16138 not caller.
16139
39ad761d
JB
161402002-01-21 Jim Blandy <jimb@redhat.com>
16141
16142 * gdb.base/reread.exp: Check that GDB properly re-reads the
16143 executable file when it changes while no inferior is running.
16144
aaf320fa
FF
161452002-01-21 Fred Fish <fnf@redhat.com>
16146
a9c64011
AS
16147 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16148 optionally accept the "shlib events" variation.
aaf320fa 16149
808a31f5
JB
161502002-01-21 Jim Blandy <jimb@redhat.com>
16151
16152 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16153 call `fflush' after every `printf', so that the output is produced
16154 at predictable points, regardless of whatever buffering does (or
16155 doesn't) take place.
16156 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16157 at different points.
16158
4420d5e2
DJ
161592002-01-20 Daniel Jacobowitz <drow@mvista.com>
16160
16161 * gdb.c++/inherit.exp: Update copyright years.
16162 * gdb.c++/method.exp: Likewise.
16163
3e36a0f4
DJ
161642002-01-20 Daniel Jacobowitz <drow@mvista.com>
16165
16166 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16167 artificial methods/arguments.
16168 * gdb.c++/derivation.exp: Likewise.
16169 * gdb.c++/inherit.exp: Likewise.
16170 * gdb.c++/method.exp: Likewise.
16171 * gdb.c++/virtfunc.exp: Likewise.
16172
b4ceaee6
AC
161732002-01-18 Andrew Cagney <ac131313@redhat.com>
16174
16175 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16176 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16177 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16178 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16179 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16180 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16181
ecace851
JB
161822002-01-17 Jim Blandy <jimb@redhat.com>
16183
16184 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16185 anchoring the pattern matching the entry point symbol's name.
16186
375fc983
AC
161872002-01-17 Andrew Cagney <ac131313@redhat.com>
16188
16189 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16190 continue/quit query. Update copyright.
16191
fe6fdd96
MS
161922002-01-14 Michael Snyder <msnyder@redhat.com>
16193
16194 * gdb.base/gcore.exp: Remove extra debugging output.
16195
e017c81f
DJ
161962002-01-13 Daniel Jacobowitz <drow@mvista.com>
16197
16198 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16199 for slightly dubious v2 mangled string.
16200
37ab3bf8
DJ
162012002-01-13 Daniel Jacobowitz <drow@mvista.com>
16202
16203 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16204
1bc05c3a 162052002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16206
1bc05c3a 16207 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16208
1bc05c3a
JM
16209 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16210 constructors.
16211 * gdb.c++/derivation.exp: Likewise.
16212 * gdb.c++/templates.exp: Likewise.
16213 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16214
1bc05c3a
JM
162152002-01-10 Michael Snyder <msnyder@redhat.com>
16216
16217 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16218
a911c360
MS
162192002-01-08 Michael Snyder <msnyder@redhat.com>
16220
16221 * gdb.base/gcore.exp: New test for generate-core-file command.
16222 * gdb.base/gcore.c: Testcase for above.
16223 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16224
ea2119ec
JM
162252002-01-08 Jason Merrill <jason@redhat.com>
16226
16227 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16228
68203136
FF
162292002-01-07 Fred Fish <fnf@redhat.com>
16230
16231 * gdb.c++/overload.exp: Remove unconditional xfails for:
16232 print foo_instance1.overloadargs(1)
16233 print foo_instance1.overloadargs(1, 2)
16234 print foo_instance1.overloadargs(1, 2, 3)
16235 print foo_instance1.overloadargs(1, 2, 3, 4)
16236 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16237 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16238 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16239 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16240 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16241 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16242 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16243 print foo_instance1.overload1arg()
16244 print foo_instance1.overload1arg((char)arg2)
16245 print foo_instance1.overload1arg((signed char)arg3)
16246 print foo_instance1.overload1arg((unsigned char)arg4)
16247 print foo_instance1.overload1arg((int)arg7)
16248 print foo_instance1.overload1arg((unsigned int)arg8)
16249 print foo_instance1.overload1arg((float)arg11)
16250 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16251
21b9b5b1
MS
162522002-01-07 Michael Snyder <msnyder@redhat.com>
16253
16254 * gdb.base/huge.exp: New test. Print a very large target data object.
16255 (skip_huge_test): New test variable. Define if you want to skip this
16256 test. The test reads an 8 megabyte data object from the target, so it
16257 might be very time consuming on remote targets with a slow connection.
16258 * gdb.base/huge.c: New file. Test case for above.
16259
725f922e
FF
162602002-01-07 Fred Fish <fnf@redhat.com>
16261
16262 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16263 g_instance.bfoo, and g_instance.cfoo.
16264
889bf7c5 162652002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16266
889bf7c5
PA
16267 * gdb.base/break.c (multi_line_if_conditional): New function.
16268 (multi_ilne_while_conditional): Likewise.
16269 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16270 IF or WHILE condition puts the breakpoint at the start of
16271 the condition.
f286b2c3 16272
634d57ec
JL
16273 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16274 hppa*-*-hpux* expected failure.
16275 * gdb.base/structs.exp (do_function_calls): Similarly.
16276
16277 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16278 watchpoints.
16279
9fbfe2dc
AC
162802002-01-06 Andrew Cagney <ac131313@redhat.com>
16281
16282 Fix PR gdb/66.
16283 * gdb.base/structs.exp: Replace skip for a29k with skip for
16284 gdb,cannot_call_functions.
16285 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16286 * gdb.base/callfuncs.exp: Ditto.
16287 * gdb.base/call-rt-st.exp: Ditto.
16288 * gdb.base/call-strs.exp: Ditto.
16289 * gdb.base/callfwmall.exp: Ditto.
16290 * gdb.base/scope.exp: Obsolete xfail a29k.
16291 * gdb.c++/misc.exp: Ditto.
16292 * gdb.c++/cplusfuncs.exp: Ditto.
16293 * gdb.base/ptype.exp: Ditto.
16294 * gdb.base/printcmds.exp: Ditto.
16295 * gdb.base/opaque.exp: Ditto.
16296 * gdb.base/list.exp: Ditto.
16297 * gdb.base/funcargs.exp: Ditto.
16298 * gdb.base/default.exp: Ditto.
16299
8ddad156
MS
163002002-01-04 Michael Snyder <msnyder@redhat.com>
16301
ca4976a6 16302 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16303 * gdb.base/maint.exp: Add tests for maint info sections options.
16304
1b074332
JL
16305Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16306
16307 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16308
7d159115
CV
163092001-12-20 Corinna Vinschen <vinschen@redhat.com>
16310
16311 * gdb.asm/arm.inc: New file.
16312 * gdb.asm/asm-source.exp: Add arm targets.
16313 * gdb.asm/configure.in: Ditto.
16314 * gdb.asm/configure: Recreated from configure.in.
16315
8fb87725
JL
16316Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16317
afabe08c
JL
16318 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16319 with HP's compiler.
16320 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16321 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16322 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16323 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16324
16325 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16326 either HP's compilers or GCC.
16327
db521deb
JL
16328 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16329 a SIGBUS or SIGSEGV.
16330
16331 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16332
16333 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16334 can be compiled with either HP's compiler or GCC.
16335
cfa88ab7
JL
16336 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16337 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16338 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16339
ca344dff
JL
16340 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16341 to match current gdb output. Update due to using auto-solib-limit
16342 for limiting instead of overloading auto-solib-add.
16343 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16344 test program.
16345
3f3c6e55 16346 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16347 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16348 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16349 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16350 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16351 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16352 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16353 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16354 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16355 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16356 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16357 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16358 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16359
8fb87725
JL
16360 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16361 a SIGTRAP to the inferior.
16362
cf599fa7
CV
163632001-12-19 Corinna Vinschen <vinschen@redhat.com>
16364
16365 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16366 Substitute call to target_link by call to gdb_compile.
16367
2cd045cd
JL
16368Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16369
a9c64011
AS
16370 * gdb.base/break.exp: Fix HP specific search string when testing
16371 backtracing in a called function.
2cd045cd 16372
a9c64011
AS
16373 * gdb.base/constvars.exp: Only set lang to C++ if we're
16374 compiling the test with HP's compilers.
16375 * gdb.base/volatile.exp: Similarly.
2cd045cd 16376
99ebe9ac
JB
163772001-12-19 Jim Blandy <jimb@redhat.com>
16378
16379 * gdb.base/printcmds.exp: Expect the null character to be printed
16380 as '\0', and the '\013' to be printed as '\v'.
16381 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16382 * gdb.base/setvar.exp: Same.
16383
b9891b29
JB
163842001-12-17 Jim Blandy <jimb@redhat.com>
16385
0eba65ab
JB
16386 * gdb.base/completion.exp: Rather than completing very long
16387 filenames, which can make the readline library produce output we
16388 don't recognize, cd to the directory first, and then complete
16389 using nice, short relative paths.
16390
6970b5b1
JB
16391 * gdb.base/completion.exp: On some systems, there is, in fact, a
16392 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16393 variables as being in scope. So use `no_var_named_this'
16394 instead of `b'.
6970b5b1 16395
b9891b29 16396 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16397 can't find the core file's registers as a failure.
b9891b29 16398
e6ccd35f
JSC
163992001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16400
a9c64011
AS
16401 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16402 test expect string more specific.
e6ccd35f 16403
105ba819
CV
164042001-12-13 Corinna Vinschen <vinschen@redhat.com>
16405
16406 * gdb.asm/asm-source.exp: Add support for xstormy16.
16407 * gdb.asm/configure.in: Ditto.
16408 * gdb.asm/configure: Rebuild.
16409 * gdb.asm/xstormy16.inc: New file.
16410
e9e79dd9
FF
164112001-12-10 Fred Fish <fnf@redhat.com>
16412
16413 * gdb.base/maint.exp: Update to match changes in type dumping code.
16414
347dc97d
JB
164152001-12-10 Jim Blandy <jimb@redhat.com>
16416
16417 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16418 matching the entry point symbol's name at the beginning of the
16419 line.
347dc97d 16420
5178b9d6
DJ
164212001-12-07 Daniel Jacobowitz <drow@mvista.com>
16422
16423 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16424 gdb.c++/inherit.exp, gdb.c++/method.exp,
16425 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16426 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16427 and class layout support.
16428
af890c52
DJ
164292001-12-07 Daniel Jacobowitz <drow@mvista.com>
16430
16431 * gdb.c++/classes.exp: Add test for static member function.
16432 * gdb.c++/misc.cc: Add class with static member function.
16433
7a345fb3
JB
164342001-12-07 Jim Blandy <jimb@redhat.com>
16435
f2e54a80 16436 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16437 those tests as `unsupported'.
16438 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16439 Rewrite subsequent tests to use it.
16440
16441 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16442 those tests as `unsupported'.
16443 * gdb.base/structs.exp (call_struct_func): New function.
16444 (do_function_calls): Use call_struct_func to call the functions
16445 returning structs.
16446
0bc69509
JB
16447 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16448 whether functions are prototyped or not, so we can't possibly pass
16449 arguments to t_float_values2 properly.
16450
7a345fb3
JB
16451 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16452 value of `timeout' for targets other than the mips*tx39-*.
16453
edb6ede1
MS
164542001-12-06 Michael Snyder <msnyder@redhat.com>
16455
d63a86f8 16456 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16457 and detect whether the start symbol has a leading underscore.
16458
2d842f13
JB
164592001-12-04 Jim Blandy <jimb@redhat.com>
16460
16461 * gdb.base/completion.exp: Clarify indentation.
16462
68550daf
JB
164632001-12-03 Jim Blandy <jimb@redhat.com>
16464
16465 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16466 variables on the S/390, not `.word'.
16467
cd5195a8
JB
164682001-11-30 Jim Blandy <jimb@redhat.com>
16469
16470 Add assembly-source tests for s390-ibm-linux.
16471 * gdb.asm/s390.inc: New file.
16472 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16473 the S/390 architecture.
a9c64011 16474 * gdb.asm/configure: Regenerated.
cd5195a8 16475
ca9efc90
MS
164762001-11-30 Michael Snyder <msnyder@redhat.com>
16477
16478 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16479 next, info source, info sources, info line, global and static
16480 variables, and static functions.
16481 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16482 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16483 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16484 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16485 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16486 (gdbasm_leave): Restore frame pointer.
16487 (gdbasm_startup): Copy stack set-up from crt0.S.
16488
d0e66976
FN
164892001-11-26 Fernando Nasser <fnasser@redhat.com>
16490
16491 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16492 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16493 to a local (non-static) variable. Copy tstruct.a to a static buffer
16494 and return a pointer to that buffer.
16495 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16496
e2334072
MK
164972001-11-24 Mark Kettenis <kettenis@gnu.org>
16498
16499 * gdb.asm/configure.in: Fix recognition of ix86 target.
16500 * gdb.asm/configure: Regenerate.
16501
756caa3d
MS
165022001-11-21 Michael Snyder <msnyder@redhat.com>
16503
16504 * gdb.asm/sparc.inc: New file.
16505 * gdb.asm/asm-source.exp: Recognize sparc target.
16506 * gdb.asm/configure.in: Recognize sparc target.
16507 * gdb.asm/configure: Regenerate.
d63a86f8 16508
9a4d72d5
MS
165092001-11-21 Michael Snyder <msnyder@redhat.com>
16510
16511 * gdb.asm/m32r.inc: New file.
16512 * gdb.asm/asm-source.exp: Recognize m32r target.
16513 * gdb.asm/configure.in: Recognize m32r target.
16514 * gdb.asm/configure: Regenerate.
16515
a773d1cd
MS
165162001-11-20 Michael Snyder <msnyder@redhat.com>
16517
017ac23d
MS
16518 * gdb.asm/i386.inc: New file.
16519 * gdb.asm/asm-source.exp: Recognize ix86 target.
16520 * gdb.asm/configure.in: Recognize ix86 target.
16521 * gdb.asm/configure: Regenerate.
16522
a773d1cd
MS
16523 * gdb.c++/namespace.exp: Fix quotes in output messages.
16524
bb632afb
MS
165252001-11-14 Michael Snyder <msnyder@redhat.com>
16526
25d559ca 16527 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16528 qualifier in a type cast expression, to designate an address
16529 in the instruction space (Harvard architecture).
16530
4749e309
MS
165312001-11-13 Michael Snyder <msnyder@redhat.com>
16532
16533 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16534 Tests for expressions using 'const' and 'volatile'.
16535
25050984
CV
165362001-11-13 Corinna Vinschen <vinschen@redhat.com>
16537
16538 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16539
1902c51f
DJ
165402001-11-12 Daniel Jacobowitz <drow@mvista.com>
16541
16542 * lib/mi-support.exp (mi_run_to_helper): Move comments
16543 outside of gdb_expect.
16544
dcf95b47
DJ
165452001-11-11 Daniel Jacobowitz <drow@mvista.com>
16546
16547 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16548 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16549 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16550 mi0_run_to): New functions.
16551 * gdb.mi/mi-simplerun.exp: Use them.
16552 * gdb.mi/mi0-simplerun.exp: Likewise.
16553 * gdb.mi/mi-var-cmd.exp: Likewise.
16554 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16555
45b074e1
AC
165562001-11-10 Andrew Cagney <ac131313@redhat.com>
16557
16558 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16559 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16560
bf50d346
AC
165612001-11-09 Andrew Cagney <ac131313@redhat.com>
16562
16563 * gdb.base/restore.exp: Include $expected value in restored test
16564 message.
16565
9383332c
AC
165662001-11-09 Andrew Cagney <ac131313@redhat.com>
16567
16568 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16569 implemented.
16570
db62520a
MS
165712001-11-08 Michael Snyder <msnyder@redhat.com>
16572
16573 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16574 Add pass/fail message for stop at breakpoint in call dummy function.
16575
b5703437
MS
165762001-11-07 Michael Snyder <msnyder@redhat.com>
16577
d63a86f8
RM
16578 * gdb.c++/templates.exp (test_template_breakpoints):
16579 If we get an overload menu, but it does not match what
760f6330 16580 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16581 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16582 making the whitespace optional. Argument for "new" may be
16583 "unsigned" as well as "unsigned int/long".
d63a86f8 16584 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16585 making the whitespace optional. Also replace "(void) with
16586 "((void|)), making the keyword "void" optional.
d63a86f8 16587 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16588 making the whitespace optional. Also replace "(void) with
16589 "((void|)), making the keyword "void" optional.
3bf40917
MS
16590 * gdb.base/callfuncs.c (t_float_values): This function must
16591 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16592 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16593 can be tested against both cases. Usually one case involves
16594 promotion of float to double, while the other does not.
16595 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16596 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16597 includes a stack frame for "start".
16598
c8ab4e6d
JB
165992001-11-05 Jim Blandy <jimb@redhat.com>
16600
16601 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16602 pointers are 32 bits long, and that offsets of relocs are always
16603 stored in the data (REL-style), and not in the reloc entry itself
16604 (RELA-style).
16605 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16606 stabs.
16607
3f08ced9
MS
166082001-11-01 Michael Snyder <msnyder@redhat.com>
16609
16610 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16611 and regular expression operators by using quoting.
16612
cbfa24cd
MS
166132001-10-31 Michael Snyder <msnyder@redhat.com>
16614
16615 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16616 depending on what the symbol table contains.
16617 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16618 the output of the ptype command. Similarly, accept both "const &"
16619 and "const&".
16620
aaa68313
CV
166212001-10-31 Corinna Vinschen <vinschen@redhat.com>
16622
16623 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16624 symbol `STORAGE' to allow to choose the storage class of
16625 the local datastructures.
16626 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16627 compiler directive.
16628
91740388
MS
166292001-10-30 Michael Snyder <msnyder@redhat.com>
16630
16631 * gdb.base/jump.exp: Allow it to run for all targets.
16632
1b7c05e7
CV
166332001-10-29 Corinna Vinschen <vinschen@redhat.com>
16634
16635 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16636 with new double_array size.
16637 (main): Change storage class of all local variables to static.
16638 Reduce size of double_array to 9.
16639 * gdb.base/call-ar-st.exp: Increase timeout value.
16640 Change expected output for double array to match new size in
16641 call-ar-st.c.
16642
36a22261
CV
166432001-10-29 Corinna Vinschen <vinschen@redhat.com>
16644
16645 * gdb.base/ending-run.exp: Create identical output when passing
16646 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16647 Stormy16 target.
36a22261 16648
92b8ae91
MK
166492001-10-28 Mark Kettenis <kettenis@gnu.org>
16650
16651 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16652 that we catch the expected failure under Linux/x86.
16653
cb135b83
OF
166542001-10-29 Orjan Friberg <orjanf@axis.com>
16655
16656 * gdb.base/setvar.exp: Escape curly braces.
16657 * gdb.stabs/weird.exp: Ditto.
16658
6884aa54
DJ
166592001-10-27 Daniel Jacobowitz <drow@mvista.com>
16660
16661 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16662 * gdm.mi/mi0-hack-cli.exp: Likewise.
16663
0398c9aa
AC
166642001-10-25 Andrew Cagney <ac131313@redhat.com>
16665
16666 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16667 messages.
16668
d20bf2e8
AC
166692001-10-21 Andrew Cagney <ac131313@redhat.com>
16670
16671 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16672 checking MI enabled.
16673
03dd63aa
CV
166742001-10-09 Corinna Vinschen <vinschen@redhat.com>
16675
16676 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16677
1d9d99f3
FCE
166782001-10-04 Frank Ch. Eigler <fche@redhat.com>
16679
16680 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16681 if gdb child process crashes, just signal an error.
16682
838ae6c4
JB
166832001-10-02 Jim Blandy <jimb@redhat.com>
16684
16685 * lib/gdb.exp (test_xfail_format): Simplify.
16686
16687 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16688 front of the variable name `format'. Simplify `if'.
16689
8f0cbc1c
DJ
166902001-10-01 Daniel Jacobowitz <drow@mvista.com>
16691
16692 * gdb.threads/pthreads.exp: Wait for output and delay
16693 before sending ^C.
16694
1f08dafd
DJ
166952001-10-01 Daniel Jacobowitz <drow@mvista.com>
16696
16697 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16698 some incorrect output instead of timing out.
16699 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16700
674f90ff
CV
167012001-09-28 Corinna Vinschen <vinschen@redhat.com>
16702
16703 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16704 check to allow additional `int'.
16705
9b284272
DJ
167062001-09-27 Daniel Jacobowitz <drow@mvista.com>
16707
16708 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16709 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16710
b55a4771
MS
167112001-09-27 Michael Snyder <msnyder@redhat.com>
16712
16713 * lib/gdb.exp (test_debug_format): New proc.
16714 (setup_xfail_format): Use new proc test_debug_format.
16715 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16716 proc; use new service proc test_debug_format.
16717 Replace all other "gcc_compiled" tests with this test.
16718 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16719 proc; use new service proc test_debug_format.
16720 Replace all other "gcc_compiled" tests with this test.
16721
167222001-09-27 Michael Snyder <msnyder@redhat.com>
16723
16724 * gdb.base/cvexpr.exp: New file.
16725 * gdb.base/cvexpr.c: New file
16726 Test for expressions using const and volatile keywords.
16727
4e6667ac
CV
167282001-09-26 Corinna Vinschen <vinschen@redhat.com>
16729
16730 * gdb.base/constvars.exp: Check for different orders of keywords
16731 and additional "int" strings in output.
16732
4f337972
AC
167332001-09-22 Andrew Cagney <ac131313@redhat.com>
16734
16735 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16736 responses from "help maint".
16737
2015650d
FCE
167382001-09-19 Frank Ch. Eigler <fche@redhat.com>
16739
16740 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16741 to localhost:NNN instead of :NNN, in case Xvfb is listening
16742 only on TCP.
16743
f3bcedc1
CV
167442001-09-19 Corinna Vinschen <vinschen@redhat.com>
16745
16746 * gdb.base/recurse.exp: When checking leaving the watchpoint
16747 scope, recognize when gdb is in function's epilogue and pass.
16748
6b819c92
KS
167492001-09-18 Keith Seitz <keiths@redhat.com>
16750
16751 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16752 support for running tests against sid targets.
16753 (gdbtk_done): Ditto.
16754
a10c9419
CV
167552001-09-18 Corinna Vinschen <vinschen@redhat.com>
16756
16757 * gdb.base/ending-run.c (main): Set stdout buffersize
16758 to the same reasonable value for any target.
16759 * gdb.base/ending-run.exp: Add a regular expression
16760 to make testsuite happy on Sanyo Stormy16 target.
16761
739d0d99
CV
167622001-09-17 Corinna Vinschen <vinschen@redhat.com>
16763
16764 * gdb.base/display.c (do_loops): Add float variable `f'.
16765 Increment f in loop.
16766 * gdb.base/display.exp: Increment timeout by 60 seconds.
16767 Change float display test to use variable `f'.
16768
1b8947f0
JB
167692001-09-17 Jim Blandy <jimb@redhat.com>
16770
16771 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16772 overflowing the limited breakpoint tables on some ROM monitors
16773 (like the ROM68K).
16774
9890ac81
FCE
167752001-09-15 Frank Ch. Eigler <fche@redhat.com>
16776
16777 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16778 the "-ac" (disable access control) flag.
16779
6db765ea
JH
167802001-08-30 Jeff Holcomb <jeffh@redhat.com>
16781
16782 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16783 ints.
16784
4c32cc04
KS
167852001-08-30 Keith Seitz <keiths@redhat.com>
16786
16787 * lib/gdb.exp: Move all insight-related functionality into
16788 separate file.
16789 * lib/insight-support.exp: New file.
16790
8d6e6f81
FCE
167912001-08-29 Frank Ch. Eigler <fche@redhat.com>
16792
16793 * config/sid.exp (sid_start): Never set sid verbosity; disable
16794 expect_background {} that consumed its stdout; tolerate </dev/null.
16795 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16796
6a90e1d0
AC
167972001-08-18 Andrew Cagney <ac131313@redhat.com>
16798
16799 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16800 CLI jump command to start it.
16801 (mi_run_to_main): Fail immediatly when unexpected output.
16802
1759b3c3
AC
168032001-08-18 Andrew Cagney <ac131313@redhat.com>
16804
16805 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16806 beginning of function. Fix PR gdb/191.
16807
61d11d80
FCE
168082001-08-16 Frank Ch. Eigler <fche@redhat.com>
16809
16810 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16811 what to force sid endianness to.
16812
942a4df2
KS
168132001-08-15 Keith Seitz <keiths@redhat.com>
16814
16815 * lib/gdb.exp (gdbtk_start): Don't set environment
16816 variables for TCL_LIBRARY and friends. Insight will
16817 now figure these out for itself.
16818
0521c418
MS
168192001-08-02 Michael Snyder <msnyder@redhat.com>
16820
16821 * gdb.base/completion.exp: Remove the symbol "a64l" from
16822 the expect string; this is target-specific, and not related
16823 to what is being tested.
16824
74a9a58a
DB
168252001-08-02 Dave Brolley <brolley@redhat.com>
16826
16827 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16828
c70819fa
MS
168292001-07-25 Michael Snyder <msnyder@redhat.com>
16830
c2b8fa57
MS
16831 * gdb.base/consecutive.exp: New file. Test stepping over
16832 breakpoints on consecutive instructions.
16833 * gdb.base/consecutive.c: New file.
16834
c70819fa
MS
16835 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16836 curly braces in regular expressions.
16837
2b1a1355
MS
168382001-07-25 Michael Snyder <msnyder@redhat.com>
16839
16840 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16841 legitimate output from stepping out of main.
16842
413eca6f
KS
168432001-07-22 Keith Seitz <keiths@redhat.com>
16844
16845 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16846 the empty string, do not run the tests.
16847
7e5a9322
SC
168482001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16849
16850 * gdb.base/long_long.exp: Detect size of pointer. Take into
16851 account 2-byte pointers when testing for p/a results.
16852
de58f10f
SC
168532001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16854
d63a86f8 16855 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16856 and defined to 1K for m68hc11.
16857 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16858 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16859 (sizeof_random_data): New variable to tell the size of the data table;
16860 don't test past this size; always run to main.
16861
d6f5fea1
SC
168622001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16863
16864 * gdb.base/return2.exp: return of long long and double fails for
16865 68HC11; don't execute these tests on that platform.
16866 * gdb.base/return.exp: Return of a double fails for 68hc11.
16867
c477543d
SC
168682001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16869
16870 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16871 tests that print a float.
16872 * call-rt-st.exp: Likewise.
16873
63cf1c79
MK
168742001-07-12 Mark Kettenis <kettenis@gnu.org>
16875
16876 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16877 running this test on Linux.
16878
112f9ab5
MC
168792001-06-24 Michael Chastain <chastain@redhat.com>
16880
16881 * gdb.base/arithmet.exp: Remove some tests to make all test names
16882 unique.
16883
4970cb0f
MS
168842001-07-03 Michael Snyder <msnyder@redhat.com>
16885
16886 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16887 the output of the ptype command.
16888
d85da69f
MS
168892001-07-02 Michael Snyder <msnyder@redhat.com>
16890
4c8a82de
MS
16891 * gdb.base/completion.exp: Don't assume that break.c is the only
16892 source file that may contain functions named "marker".
d85da69f
MS
16893 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16894
8afc772b
AC
168952001-06-28 Andrew Cagney <ac131313@redhat.com>
16896
16897 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16898 of files to delete.
16899
16900 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16901 * gdb.disasm/h8300s.exp: New file.
16902 gdb.disasm/h8300s.s: Likewise.
16903
cff22675
AC
169042001-06-27 Andrew Cagney <ac131313@redhat.com>
16905
16906 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16907 empty breakpoint tables.
16908
68c81b54
AC
169092001-06-25 Andrew Cagney <ac131313@redhat.com>
16910
16911 * lib/mi-support.exp: Update args=... part of stop-reason
16912 patterns. Accept either a list or a tuple.
16913
2dd62704
AC
169142001-06-23 Andrew Cagney <ac131313@redhat.com>
16915
16916 * lib/mi-support.exp: Remove local emacs variable defining
16917 change-log-default-name.
16918
b4127474
MC
169192001-06-22 Michael Chastain <chastain@redhat.com>
16920
16921 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16922 This is operationally compatible with the previous version.
16923
8dbfb380
JB
169242001-06-13 Jim Blandy <jimb@redhat.com>
16925
16926 * lib/gdb.exp (gdb_test): Doc fix.
16927
f2d8c86d
MC
169282001-06-10 Michael Chastain <chastain@redhat.com>
16929
16930 * gdb.base/exprs.exp: Remove a duplicate test.
16931
81564d34
JB
169322001-06-06 Jim Blandy <jimb@redhat.com>
16933
16934 * gdb.base/return2.exp (main): Use values to test float and double
16935 returns that are not NaN's, to avoid being confused by IEEE
16936 comparison rules.
16937
da55addb
MS
169382001-06-04 Michael Snyder <msnyder@redhat.com>
16939
16940 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16941 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16942 rather than wait for 12 more tests to time out.
16943
42c65987
JB
169442001-06-06 Jim Blandy <jimb@redhat.com>
16945
b18bced9 16946 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16947 Don't forget to match the GDB prompt.
b18bced9 16948
42c65987
JB
16949 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16950
5b41e5f0
JB
169512001-06-04 Jim Blandy <jimb@redhat.com>
16952
16953 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16954 command.
16955
015e046f
KB
169562001-05-31 Kevin Buettner <kevinb@redhat.com>
16957
16958 * gdb.base/annota1.exp (info break): Match four or more spaces
16959 after "Address".
16960
fb1ffbbe
MC
169612001-05-31 Michael Chastain <chastain@redhat.com>
16962
16963 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16964 (dm_type_int_star): Likewise.
16965 (dm_type_long_star): Likewise.
16966 (dm_type_void_star): Likewise.
16967
5ea2a32c
KB
169682001-05-29 Kevin Buettner <kevinb@redhat.com>
16969
16970 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16971 to a known value in order to get consistent results regardless
16972 of the setting of INPUTRC or the presence or contents of .inputrc.
16973
ae23c492
MS
169742001-05-24 Michael Snyder <msnyder@redhat.com>
16975
ac55707e
MS
16976 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16977 Don't require that the main thread and the manager thread are the
16978 first in the list.
16979
ae23c492
MS
16980 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16981 debugging. If test fails, issue an "unsupported" not a "fail".
16982
400071f1
JB
169832001-05-24 Jim Blandy <jimb@redhat.com>
16984
16985 Don't assume that short is shorter than int.
16986 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16987 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 16988 this isn't true.
400071f1
JB
16989 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16990 an int, is not equal to ~0 stored in an unsigned char. This tests
16991 the same thing that the previous test meant to, but works on
16992 16-bit machines, too.
16993 ("print unsigned char != (~0)"): Same test, complemented.
16994
0816a3e5
MS
169952001-05-24 Michael Snyder <msnyder@redhat.com>
16996
16997 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 16998 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
16999 and prevents dejagnu getting out of step.
17000
f6dc23a9
KB
170012001-05-23 Kevin Buettner <kevinb@redhat.com>
17002
17003 * gdb.base/finish.exp (finish_void): Revise pattern for
17004 stopping on the call statement to not permit stopping at
17005 the start of the instructions comprising the call sequence.
17006
7dbd117d
MC
170072001-05-19 Michael Chastain <chastain@redhat.com>
17008
17009 * gdb.base/callfuncs.exp: Make all test names unique.
17010 * gdb.base/commands.exp: Make all test names unique.
17011 * gdb.base/condbreak.exp: Make all test names unique.
17012 * gdb.base/dbx.exp: Make all test names unique.
17013 * gdb.base/default.exp: Make all test names unique.
17014 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17015 and TIMEOUT messages to their corresponding PASS message.
17016 * gdb.base/ending-run.exp: Make all test names unique.
17017 * gdb.base/long_long.exp: Remove duplicate test.
17018
6b0b0a9e
KB
170192001-05-21 Kevin Buettner <kevinb@redhat.com>
17020
17021 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17022 stop on the call statement as well as the statement after the
17023 call.
17024
2caa35cb
MS
170252001-05-21 Michael Snyder <msnyder@redhat.com>
17026
17027 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17028
40713331
EZ
170292001-05-10 Elena Zannoni <ezannoni@redhat.com>
17030
a9c64011
AS
17031 * gdb.base/completion.exp: Revamp test. Make it execute on all
17032 platforms.
40713331 17033
c2c1be8d
EZ
170342001-05-10 Elena Zannoni <ezannoni@redhat.com>
17035
a9c64011
AS
17036 * config/gdbserver.exp (gdb_load): Handle the case
17037 in which the arguments to gdbserver are given in the
17038 baseboard configuration file.
17039 Also handle the case in which the server needs to do a
17040 load.
2c9cd303 17041
9671de48
KS
170422001-05-07 Keith Seitz <keiths@cygnus.com>
17043
a9c64011
AS
17044 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17045 set up the display for testing.
17046 (gdbtk_start): Convert all paths to paths that tcl will like.
17047 Export target information to environment.
17048 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17049 necessary.
17050 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17051 (to_tcl_path): New proc to convert a given pathname into
17052 a path acceptible as an argument to a tcl command.
17053 (_gdbtk_export_target_info): New proc to export target info
17054 into the environment for gdbtk testing.
17055 (gdbtk_done): New proc to signal end-of-test.
9671de48 17056
5a360f47
JB
170572001-05-06 Jim Blandy <jimb@redhat.com>
17058
17059 * restore.c: Make the code of caller0 correspond to its comment.
17060
66c756c6
MS
170612001-05-03 Michael Snyder <msnyder@redhat.com>
17062
17063 * config/sid.exp (gdb_target_sid): Check for error messages.
17064 On error or timeout, don't make expect exit (which will terminate
17065 all subsequent tests); instead just make gdb exit.
d63a86f8 17066 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
17067 return a negative value.
17068
a966fde5
JB
170692001-04-24 Jim Blandy <jimb@redhat.com>
17070
851c18e0
JB
17071 * gdb.c++/templates.exp: If we see the prompt for the overload
17072 list, but we haven't recognized any of the longer patterns,
17073 arrange for this test to fail, not hang.
17074
a966fde5
JB
17075 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17076 variations.
17077
db144853
MC
170782001-04-22 Michael Chastain <chastain@redhat.com>
17079
17080 * gdb.c++/local.exp: Use the 'runto' library function.
17081 * gdb.c++/namespace.exp: Likewise.
17082 * gdb.c++/overload.exp: Likewise.
17083
3207ec21
KB
170842001-03-26 Kevin Buettner <kevinb@redhat.com>
17085
17086 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17087 * gdb.base/step-line.exp: New file. Test step/next in presence of
17088 #line directives.
17089 * gdb.base/step-line.c: New file. Test program for the above.
17090 * gdb.base/step-line.inp: New file. We pretend that this file has
17091 been transformed by some other tool into step-line.c.
17092
13b57657
JB
170932001-03-21 Jim Blandy <jimb@redhat.com>
17094
17095 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17096 unmangled operator names.
17097
754cbe1c
JB
170982001-03-20 Jim Blandy <jimb@redhat.com>
17099
17100 * gdb.threads/linux-dp.exp: Recognize an additional message
17101 generated by GDB when it doesn't understand how to debug threads
17102 on the target system.
17103
177495c9
AC
171042001-03-19 Andrew Cagney <ac131313@redhat.com>
17105
17106 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17107
f266096b
MC
171082001-03-12 Michael Chastain <chastain@redhat.com>
17109
17110 * gdb.c++/derivation.exp: Use the 'runto' library function.
17111
cac3c2ff
MC
171122001-03-12 Michael Chastain <chastain@redhat.com>
17113
17114 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17115
b6c11a24
MC
171162001-02-24 Michael Chastain <chastain@redhat.com>
17117
17118 * gdb.c++/ref-types.exp: Change handwritten code to library
17119 function 'runto'.
17120
6bae5bce
OF
171212001-03-16 Orjan Friberg <orjanf@axis.com>
17122
17123 * gdb.base/signals.exp: Set count to 0 explicitly.
17124
0015fd9a
MS
171252001-03-15 Mark Salter <msalter@redhat.com>
17126
17127 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17128 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
17129 (gdb_load): Add support for additional target_info: gdb_download_size
17130 and gdb_load_timeout.
0015fd9a 17131
fc33412a
DT
17132Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17133
17134 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17135 file -- to prevent failing when the compile fails but we have no
17136 intention of running the tests anyway.
fc33412a
DT
17137
17138 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17139 tests if set.
17140
17141 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17142 integers.
fc33412a
DT
17143
17144 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17145 * gdb.c++/namespace.exp: Ditto.
17146
115f06de
OF
171472001-03-07 Orjan Friberg <orjanf@axis.com>
17148
17149 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17150 * gdb.base/pointers.exp: Relax pattern match of decimals.
17151
b6ba6518
KB
171522001-03-06 Kevin Buettner <kevinb@redhat.com>
17153
17154 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17155 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17156 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17157 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17158 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17159 config/sh.exp, config/sid.exp, config/slite.exp,
17160 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17161 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17162 config/vxworks.exp, config/vxworks29k.exp,
17163 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17164 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17165 gdb.base/arithmet.exp, gdb.base/assign.exp,
17166 gdb.base/async.exp, gdb.base/attach.exp,
17167 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17168 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17169 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17170 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17171 gdb.base/commands.exp, gdb.base/completion.exp,
17172 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17173 gdb.base/constvars.exp, gdb.base/corefile.exp,
17174 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17175 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17176 gdb.base/ending-run.exp, gdb.base/environ.exp,
17177 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17178 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17179 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17180 gdb.base/funcargs.exp, gdb.base/help.exp,
17181 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17182 gdb.base/logical.exp, gdb.base/long_long.exp,
17183 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17184 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17185 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17186 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17187 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17188 gdb.base/regs.exp, gdb.base/relational.exp,
17189 gdb.base/remote.exp, gdb.base/reread.exp,
17190 gdb.base/restore.exp, gdb.base/return2.exp,
17191 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17192 gdb.base/selftest.exp, gdb.base/setshow.exp,
17193 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17194 gdb.base/sigall.exp, gdb.base/signals.exp,
17195 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17196 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17197 gdb.base/step-test.exp, gdb.base/structs.c,
17198 gdb.base/structs.exp, gdb.base/structs2.exp,
17199 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17200 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17201 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17202 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17203 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17204 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17205 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17206 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17207 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17208 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17209 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17210 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17211 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17212 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17213 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17214 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17215 gdb.trace/circ.exp, gdb.trace/collection.exp,
17216 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17217 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17218 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17219 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17220 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17221 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17222 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17223 notices.
17224
dc96c6c7 172252001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17226
17227 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17228 first arg is int not float.
17229
dc96c6c7 172302001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17231
17232 * gdb.base/reread.exp: Unsupported for non-native targets;
17233 doesn't work for remote debugging.
17234
9b0c4aeb
FN
172352001-02-19 Fernando Nasser <fnasser@redhat.com>
17236
17237 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17238 * gdb.base/ending-run.exp: Properly handle the BSP state when
17239 stepping past the end of main.
9b0c4aeb 17240
02aa71d5
MC
172412001-02-19 John Moore <jmoore@redhat.com>
17242
17243 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17244 Converted HPUX fix for non-expected items following multiple
17245 step commands into general solution for all platforms.
17246
1fa449a4
MC
172472001-02-18 Michael Chastain <chastain@redhat.com>
17248
17249 * gdb.c++/classes.exp (do_tests): Change runto statements
17250 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17251 statements demangler agnostic.
17252 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17253 (gdb_virtfunc_restart): Likewise.
17254
b2f9ec70
MC
172552001-02-14 Michael Chastain <chastain@redhat.com>
17256
17257 * gdb.c++/inherit.exp (do_tests): Change runto statements
17258 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17259 statements demangler agnostic.
17260
cf74b8ca
AC
17261Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17262
17263 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17264 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17265 before calling common_routine 15 times'' tests.
cf74b8ca 17266
99f78f56
MC
172672001-02-11 Michael Chastain <chastain@redhat.com>
17268
17269 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17270 Helps the test script figure out which demangler is in use.
17271 (dm_type_foo_ref): Ditto.
17272 (dm_type_int_star): Ditto.
17273 (dm_type_long_star): Ditto.
17274 (dm_type_unsigned_int): Ditto.
17275 (dm_type_void): Ditto.
17276 (dm_type_void_star): Ditto.
99707966 17277 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17278 Probe the gdb demangler and set variables to accommodate
17279 formatting differences.
17280 (info_func_regexp): New function. Same as info_func, but
17281 matches against a regexp.
17282 (info_func): Match against a literal string.
17283 (print_addr_2): New function. Match against a literal string,
17284 which can be different from the input to gdb.
17285 (print_addr): Simply call print_addr_2 with the same argument twice.
17286 (test_lookup_operator_functions): Use demangler formatting variables.
17287 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17288 the tests in the same order as the C++ class declaration.
17289 (test_paddr_operator_functions): Ditto.
17290 (test_paddr_overloaded_functions): Ditto.
17291 (test_paddr_hairy_functions): Use demangler formatting variables.
17292 Add reference to gdb/19 for related tests.
17293 (do_tests): Call probe_demangler.
17294
1de8f023
KB
172952001-01-30 Kevin Buettner <kevinb@redhat.com>
17296
17297 * gdb.c++/templates.cc (printf): Remove unused function definition.
17298
ca3f91ed
MS
172992001-01-26 Felix Lee <flee@redhat.com>
17300
17301 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17302
173032001-01-25 matthew green <mrg@redhat.com>
17304
17305 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17306 up sid.
17307 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17308
173092001-01-25 matthew green <mrg@redhat.com>
17310
17311 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17312 Deprecate $sid_spawn_id.
ca3f91ed
MS
17313 (sid_exit): Remove code necessary only for `spawn.'
17314
173152001-01-25 matthew green <mrg@redhat.com>
17316
17317 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17318
fb18ec4a
MC
173192001-01-28 Michael Chastain <chastain@redhat.com>
17320
17321 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17322 to call when tests fail. It takes gdb out of the overloaded
17323 function choice menu back to the main prompt, so that the test
17324 program stays synchronized.
17325 (set_bp_overloaded): New proc to collect all the common
17326 code for setting a breakpoint on an overloaded name. Calls
17327 take_gdb_out_of_choice_menu when needed.
17328 (menu_overload1arg): New variable to collect the repeated
17329 instances of the expected menu for an overloaded name. Change
17330 the regular expression to handle changes in g++ type encoding:
17331 "void" can be either "void" or "", and "unsigned int" can be
17332 either "unsigned int" or "unsigned".
17333 (continue_to_bp_overloaded): Change regular expressions to handle
17334 changes in g++ type encoding.
17335 (no proc): Call take_gdb_out_of_choice_menu when needed.
17336 Remove redundant calls to "info break". Accept either "canceled"
17337 or "cancelled". Change regular expressions in "info break"
17338 calls to handle changes in g++ type encoding. Give all tests
17339 unique strings.
17340
9c646a6e
BE
173412001-01-17 Ben Elliston <bje@redhat.com>
17342
17343 * config/sid.exp: New file.
17344
9549d9c1
AC
17345Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17346
17347 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17348
dc96c6c7 173492000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17350
17351 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17352 Add a RE to accept a non-ascii char if one is ever presented.
17353
b4df4f68
FN
173542000-12-20 Fernando Nasser <fnasser@redhat.com>
17355
297dd0fd 17356 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17357
dc96c6c7 173582000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17359
d63a86f8 17360 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17361 in regexp. One '\' does not suffice on Linux.
17362
4a7bddb6
MC
173632000-12-09 Michael Chastain <chastain@redhat.com>
17364
17365 * gdb.base/break.exp (test_clear_command): Use a marker function
17366 rather than 'main' for the test function. Also move this
17367 test to an execution point where the marker function names are
17368 guaranteed to be bound to functions. (Executing tests after a
17369 'finish' from main runs into name conflicts with local names
17370 in __libc_start_main).
17371
dc96c6c7 173722000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17373
17374 * gdb.base/finish.exp: New test for gdb's "finish" command.
17375 * gdb.base/return2.exp: New test for gdb's "return" command.
17376 * gdb.base/return2.c: New source file for above.
17377
dc96c6c7 173782000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17379
17380 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17381 * gdb.base/miscexprs.exp: Ditto.
17382 * gdb.base/pointers.exp: Ditto.
17383 * gdb.c++/derivation.exp: Ditto.
17384 * gdb.c++/local.exp: Ditto.
17385 * gdb.c++/namespace.exp: Ditto.
17386 * gdb.c++/overload.exp: Ditto.
17387 * gdb.c++/ref-types.exp: Ditto.
17388
dc96c6c7 173892000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17390
17391 * gdb.base/constvars.exp: Test result of "up" command.
17392 * gdb.base/miscexprs.exp: Ditto.
17393 * gdb.base/pointers.exp: Ditto.
17394 * gdb.base/scope.exp: Ditto.
17395 * gdb.c++/derivation.exp: Ditto.
17396 * gdb.c++/local.exp: Ditto.
17397 * gdb.c++/namespace.exp: Ditto.
17398 * gdb.c++/overload.exp: Ditto.
17399 * gdb.c++/ref-types.exp: Ditto.
17400
44097287
FN
174012000-11-22 Michael Chastain <chastain@redhat.com>
17402
17403 * mips_pro.exp: Accept either "middle -> top -> main" or
17404 "middle -> main" in the backtrace, because gcc can optimize
17405 tail calls to jumps. Remove setup_xfail for the hppa case.
17406 Add a comment with the original warning messages from PR 3016,
17407 which was filed in 1993, to preserve them for posterity.
17408
9d2e1bab
ND
174092000-11-17 Nick Duffek <nsd@redhat.com>
17410
17411 * lib/gdb.exp (gdb_test): Override timeout with board info.
17412
1aca8eb7
ND
174132000-11-17 Nick Duffek <nsd@redhat.com>
17414
17415 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17416 the second kill and detach messages.
17417
93076499
ND
174182000-11-17 Nick Duffek <nsd@redhat.com>
17419
17420 * configure.in: Add AC_EXEEXT.
17421 * configure: Regenerate.
17422 * Makefile.in (just-check): Export EXEEXT.
17423 * lib/gdb.exp ($EXEEXT): Import from environment.
17424 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17425 expect "maint dump-me" on Cygwin.
17426 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17427 $EXEEXT.
17428
30e87cd3
ND
174292000-11-17 Nick Duffek <nsd@redhat.com>
17430
17431 * gdb.base/break.exp: Test backtrace and finish from called
17432 function on all platforms, not just HP-UX.
17433
dc96c6c7 174342000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17435
17436 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17437 code from gdb_target_monitor, so it can be used independantly
17438 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17439
dc96c6c7 174402000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17441
17442 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17443 * gdb.base/corefile.exp: Expect the message "Program is being
17444 debugged already" when we send the "corefile" command, since
17445 the preceeding gdb_load may have connected gdb to a remote target.
17446 * gdb.base/display.exp: Disable hardware watchpoints if new
17447 board info variable "no_hardware_watchpoints" is true.
17448 Replace single-letter commands with more readable ones.
17449 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17450 if new board info variable "no_hardware_watchpoints" is true.
17451 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17452 to see if stdio (printf) testing is possible.
17453 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17454 board info variable "no_hardware_watchpoints" is true. Use new
17455 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17456
39124dea
FN
174572000-11-13 Fernando Nasser <fnasser@redhat.com>
17458
17459 From Orjan Friberg <orjanf@axis.com>:
17460 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17461 in array print pattern match.
17462
a9e2e984
FN
174632000-11-09 Fernando Nasser <fnasser@redhat.com>
17464
17465 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17466 spelling "cancelled" to U.S. spelling "canceled" to match changes
17467 made to gdb.
17468 * gdb.c++/ovldbreak.exp: Ditto.
17469
c7db355b
PS
174702000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17471
17472 * gdb.base/callfuncs.c (main): Moved to end of file, call
17473 t_double_values to initialize the FPU before inferior calls are made.
17474 * gdb.base/callfuncs.exp: Test for register preservation after calling
17475 inferior functions. Add tests for continuining, finishing and
17476 returning from a stop in a call dummy.
17477
dc96c6c7 174782000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17479
17480 * gdb.base/commands.exp: Break up long lines, and re-indent.
17481
dc96c6c7 174822000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17483
17484 * config/gdbserver.exp: Rewritten from the ground up, to make it
17485 compatible with the current dejagnu tree, and to make it work with
17486 the new "gdbserver" in libremote.
17487
dc96c6c7 174882000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17489
17490 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17491 * gdb.base/varargs.exp: Skip entire test if no printf support.
17492 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17493 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17494
dc96c6c7 174952000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17496
17497 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17498 no floating point support.
17499 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17500 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17501 * gdb.base/call-rt-st.exp: Ditto.
17502 * gdb.base/call-strs.exp: Ditto.
17503
bac5fc66
JG
175042000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17505
17506 * gdb.base/sizeof.c: include <stdio.h>.
17507
17508 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17509 'finish', otherwise uncaptured gdb_prompt would potentially
17510 throw remaining test points out of sync.
bac5fc66 17511
b22a6027
SB
175122000-07-26 Scott Bambrough <scottb@netwinder.org>
17513
17514 * gdb.base/recurse.exp: Run tests for all targets.
17515 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17516 gnu-oldld case on ARM.
17517 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17518 for ARM targets.
d63a86f8 17519
d8231941
AG
17520Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17521
17522 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17523 * gdb.java/configure: Rebuild.
17524
8caabe69
AG
17525Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17526
17527 * gdb.java/jv-exp.exp: New file.
17528
9d273ca3
AG
17529Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17530
17531 * configure: Rebuilt.
17532 * configure.in (configdirs): Add gdb.java.
17533 * gdb.java/jmisc.java: New file.
17534 * gdb.java/jmisc.exp: New file.
17535 * gdb.java/Makefile.in: New file.
17536 * gdb.java/configure: Rebuilt.
17537 * gdb.java/configure.in: New file.
17538 * lib/java.exp: New file.
17539
4f823a66
AC
17540Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17541
17542 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17543 underflow.
4f823a66 17544
2391e11d
AC
17545Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17546
17547 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17548 and the compilers sizes.
2391e11d 17549
54602222
ND
175502000-07-09 Nick Duffek <nsd@redhat.com>
17551
17552 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17553 (use_methods): New function.
17554 (main): Call use_methods().
17555 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17556 (do_tests): Call test_method_param_class.
17557
2bec0572
ND
175582000-07-09 Nick Duffek <nsd@redhat.com>
17559
17560 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17561 spelling.
17562 (test_enums): New procedure. Move enum tests from end of script
17563 to here. Set breakpoint on function name instead of line number.
17564 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17565 (enums2): New marker function.
17566 (enums1): New function.
17567 (main): Call enums1(). Move enum tests to enums1().
17568
78492fde
AC
17569Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17570
17571 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17572 compile/link program. Update line numbers.
78492fde
AC
17573 * gdb.asm/d10v.inc: Define ``startup''.
17574 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17575
49a2cef8
AC
17576Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17577
17578 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17579
3e6c8688
EZ
175802000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17581
17582 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17583 of 'help maint print' command.
3e6c8688 17584
9ff5cbe9
AC
17585Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17586
17587 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17588 they use gdb_expect_list.
9ff5cbe9 17589
17c579bd
AC
17590Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17591
17592 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17593 memory-read-packet-size'' instead of ``set endian big'' to test
17594 long commands.
17c579bd 17595
e6d71bf3
DB
175962000-06-03 Daniel Berlin <dan@cgsoftware.com>
17597
17598 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17599 g++, and stop skipping them.
e6d71bf3
DB
17600
17601 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17602 work under g++.
17603
d63a86f8 17604 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17605 initialization.
17606
dc96c6c7 176072000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17608
17609 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17610 the regular expression: accept an (almost) arbitrary sequence of
17611 "frames-invalid" and "breakpoints-invalid" messages both before
17612 and after the "starting" message.
17613
dc96c6c7 176142000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17615
17616 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17617
dc96c6c7 176182000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17619
17620 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17621 Relax the regular expression a little, make it pass on Solaris 8.
17622
8216cda9
KB
176232000-05-12 Kevin Buettner <kevinb@redhat.com>
17624
17625 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17626 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17627 Instead, it is permissible for gdb to stop on the line of the
17628 call itself.
17629
1a570b2f
MS
176302000-05-12 Michael Snyder <msnyder@.cygnus.com>
17631
17632 * gdb.base/break.exp (bp on small function, optimized file):
17633 Add a second pass pattern. The behavior differs here between stabs
17634 and dwarf for one-line functions. Stabs preserves two line symbols
17635 (one before the prologue and one after) with the same line number,
17636 but dwarf regards these as duplicates and discards one of them.
17637 Therefore the address after the prologue (where the breakpoint is)
17638 has no exactly matching line symbol, and GDB reports the breakpoint
17639 as if it were in the middle of a line rather than at the beginning.
17640
dc96c6c7 176412000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17642
d63a86f8 17643 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17644 rather than "send_gdb" (for consistancy).
17645
7d418785
AC
17646Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17647
17648 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17649 * gdb.c++/templates.cc: Properly check for GCC version number.
17650 * lib/compiler.cc: Likewise
17651
dc96c6c7 176522000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17653
d63a86f8 17654 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17655 gdb may not stop at the first line of main, due to code motion.
17656
dc96c6c7 176572000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17658
17659 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17660 This test depends on parsing the printf output from the target.
17661 Since the sparclet stub doesn't do stdio, this will never work.
17662 * gdb.base/call-rt-st.exp: ditto.
17663 * gdb.base/call-strs: ditto.
17664
dc96c6c7 176652000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17666
17667 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17668
17669 * gdb.base/ending-run.exp: After connecting to a remote target,
17670 but before running, the target will appear to be in a random
17671 location. Specify both a file and a line for breakpoints.
17672 Also, the function that calls main may be called 'init'
17673 rather than 'start'.
17674
a5a51225
EZ
176752000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17676
17677 * gdb.base/help.exp: Update output for add-symbol-file command.
17678
7930cc7c
FN
176792000-04-10 Fernando Nasser <fnasser@cygnus.com>
17680
17681 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17682 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17683
23e37ab1
C
176842000-04-07 J.T. Conklin <jtc@redback.com>
17685
e93c542c
C
17686 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17687
23e37ab1
C
17688 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17689
591b8fa3
PDM
17690Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17691
17692 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17693 values that can be represented exactly.
591b8fa3
PDM
17694 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17695 above change, and to not check against the directory part of the source
17696 file name.
17697 (step into print_long_arg_list): Likewise.
17698 (print print_small_structs from print_long_arg_list): Likewise.
17699 (print print_long_arg_list): Likewise.
17700
7a495180
EZ
177012000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17702
30b53638 17703 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17704
beb998c6
AC
17705Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17706
17707 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17708
1c689132
DB
177092000-03-25 Daniel Berlin <dan@cgsoftware.com>
17710
17711 * gdb.base/commands.exp (deprecated_command_test): Add test for
17712 deprecate with no arguments.
17713
c1790a9d
JL
177142000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17715
17716 * gdb.base/break.exp: Add new test for setting breakpoints on
17717 optimized code so we can test breakpoints work even when function
17718 prologues may be optimized away
17719
003ba290
FN
177202000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17721
17722 From David Whedon <dwhedon@gordian.com>
a9c64011 17723 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17724
6837a0a2
DB
177252000-03-22 Daniel Berlin <dan@cgsoftware.com>
17726
17727 * gdb.base/help.exp: Added test for new apropos command.
17728
b9593231
KB
177292000-03-21 Kevin Buettner <kevinb@redhat.com>
17730
17731 * gdb.base/pointers.c (usevar): New function.
17732 (main): Make sure that global variables v_int_pointer2, rptr,
17733 and y are all referenced someplace in the program by calling
17734 usevar() on them. [Some linkers delete symbols which are
17735 never referenced. The space remains, but there's no way to
17736 get a (symbolic) handle on the variable from the debugger.]
17737
751a959b
EZ
177382000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17739
17740 * gdb.base/printcmds.c: Add typedeffed arrays.
17741
17742 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17743 procedure to test arrays that are typedef'd.
751a959b 17744
73a93a32
JI
177452000-03-13 James Ingham <jingham@leda.cygnus.com>
17746
17747 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17748 the library directories.
73a93a32 17749
fb40c209
AC
17750Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17751
17752 * configure.in (configdirs): Add sub directory gdb.mi.
17753 * configure: Re-generate.
17754
17755 * gdb.mi: New directory.
d63a86f8 17756
ee4dd2c9
AC
177572000-02-25 Scott Bambrough <scottb@netwinder.org>
17758
17759 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17760 a long long value as a double on ARM platforms.
ee4dd2c9 17761
70f0cc22
JB
177622000-02-16 Jim Blandy <jimb@redhat.com>
17763
17764 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17765 default source file is set properly before running this test.
17766
853819b8
EZ
177672000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17768
17769 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17770 gdbtk/library directory, not in gdbtcl2.
853819b8 17771
dfcd3bfb
JM
177722000-02-04 Jim Blandy <jimb@redhat.com>
17773
17774 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17775 backslash from regexp pattern.
17776
17777 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17778 procedure. Use it to run all the "continue to bp overloaded"
17779 tests. Note that this changes the names of the tests slightly.
17780 If the breakpoint hit message includes a hex PC value, because
17781 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17782 from the real source code, still consider that a pass.
17783
17784 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17785 XFAIL here if the breakpoint message contains a hex address. Note
17786 similar change on 1999-11-02.
17787
17788 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17789
17790 * gdb.base/ptype.exp: Establish a default source file before
17791 calling get_debug_format.
17792
177932000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17794
17795 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17796
8b93c638
JM
177972000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17798
17799 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17800 of successive stepi commands -- while in the prologue we should see
17801 the function entry bracket.
17802
178032000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17804
17805 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17806 reach __change_mode() when stepping through the end of main().
17807
c5394b80
JM
178082000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17809
17810 * gdb.base/default.exp: Fix expected pattern.
17811 * gdb.base/help.exp: Same.
17812
0d06e24b
JM
178132000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17814
17815 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17816 Don't use xfail's because that affects only the following test.
d63a86f8 17817
0d06e24b 17818 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17819 solaris or linux.
0d06e24b
JM
17820
17821 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17822
dc96c6c7 178232000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17824
d63a86f8 17825 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17826 "A syntax error" rather than "A parse error". Accept both.
17827
178282000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17829
17830 * gdb.base/default.exp: Remove OS dependent string from "target
17831 remote" test.
17832 * gdb.base/help.exp: Same for "help target remote" test.
17833
c3f6f71d
JM
178342000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17835
17836 From Jim Kingdon <kingdon@redhat.com>:
17837
17838 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17839 prompt (cleanup rather than necessity, but still might keep output
17840 from spilling to next test).
c3f6f71d
JM
17841
178422000-01-02 Fred Fish <fnf@cygnus.com>
17843
17844 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17845 AIX, which defines them in <sys/types.h>.
17846
ed9a39eb 178471999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17848
ed9a39eb 17849 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17850 float" test.
ed9a39eb
JM
17851
178521999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17853
ed9a39eb 17854 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17855
17856 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17857 outermost frame disallowed".
17858
178591999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17860
17861 * gdb.base/setvar.exp: New tests for setting the value of a struct
17862 with a constant list.
17863
178641999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17865
17866 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17867 require the user to type a cast before setting the value of a struct.
17868
de57eccd
JM
178691999-12-06 Jim Blandy <jimb@cygnus.com>
17870
17871 * gdb.base/default.exp: Expect the new 'info float' command on
17872 all i386 platforms.
17873
17874 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17875 LinuxThreads libraries that don't support debugging.
17876
c2d11a7d
JM
17877Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17878
17879 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17880 Change the buffer type to ``unsigned char'' to simplify size
17881 arithmetic.
c2d11a7d
JM
17882
17883 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17884 stub only handles 400-1 byte packets. Verify that the download
17885 worked.
c2d11a7d
JM
17886
178871999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17888
17889 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17890 tests, using UNRESOLVED for the untested cases. Also, does not wait
17891 for a timeout if the prompt was received before a recognizable pattern.
17892
178931999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17894
17895 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17896
178971999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17898
17899 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17900 watchpoints.
c2d11a7d
JM
17901
179021999-11-24 Jason Merrill <jason@casey.cygnus.com>
17903
17904 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17905
17906 * gdb.c++/local.exp: Be more flexible in recognizing local class
17907 name mangling. Don't allow horribly truncated method names.
17908 * gdb.c++/derivation.exp: Expect protected inheritance.
17909 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17910 * gdb.c++/virtfunc.exp: Likewise.
17911 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17912 when printing a nested enum.
17913
179141999-11-22 Jim Blandy <jimb@cygnus.com>
17915
17916 * gdb.base/step-test.exp: Properly await GDB's response to setting
17917 a breakpoint on the call to large_struct_by_value.
17918
17919 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17920 just because we have debug info for the `start' function.
17921
179221999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17923
17924 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17925 "Unknown signal" messages, which indicate (on LinuxThreads) that
17926 GDB doesn't know how to debug threads on this system. This is
17927 better than hanging while philosopher 0 dumps chatter into gdb.log.
17928
179291999-11-18 Tom Tromey <tromey@cygnus.com>
17930
17931 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17932
179331999-11-18 Fred Fish <fnf@cygnus.com>
17934
17935 * gdb.base/coremaker2.c: Add sample program for generating
17936 cores that is more self contained than coremaker.c. Eventually
17937 I'll add more code to this and tie it into the testsuite.
17938
4ce44c66
JM
179391999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17940
17941 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17942
179431999-11-10 Jimmy Guo <guo@cup.hp.com>
17944
17945 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17946 from $srcdir/lib/.
4ce44c66 17947 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17948 and gdb.c++/.
4ce44c66
JM
17949
17950 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17951
d63a86f8 17952 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17953 'continue with watch' test point.
17954
179551999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17956
17957 Merged from p2linux-990323-branch:
d63a86f8 17958
4ce44c66
JM
17959 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17960
11cf8741
JM
17961Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17962
17963 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17964 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17965
17966Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17967
17968 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17969 gdb_expect_list.
11cf8741
JM
17970
17971Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17972
17973 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17974
179751999-11-03 Mark Salter <msalter@cygnus.com>
17976
17977 * gdb.base/break.exp: Fix "stub continue" pattern.
17978
179791999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17980
17981 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17982
179831999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17984
17985 * gdb.base/display.exp ("finish"): Add timeout clause.
17986
17987 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17988 plain prompt clause, so this doesn't have to time out in order to
17989 fail.
17990
17991 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 17992 breakpoint hit messages include an address.
11cf8741
JM
17993
17994 * gdb.base/display.exp: Don't forget to escape parens in regular
17995 expressions. Unix regexp notatation sucks.
17996
179971999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17998
17999 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18000 order for 'signalled' message.
11cf8741 18001
5c44784c
JM
180021999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18003
18004 From Jimmy Guo <guo@cup.hp.com>:
18005 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18006 * gdb.base/annota1.c: Add code for tests to work with.
18007
180081999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18009
18010 * gdb.base/remote.exp: New test for remote downloading settings.
18011 * gdb.base/remote.c: New file with large .data.
18012
917317f4
JM
180131999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18014
18015 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18016 for LinuxThreads support, merged from the Code Fusion branch.
18017
18018Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18019
18020 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18021 containing exp_continue into a while within an expect. Don't
18022 attempt a start more than three times. Check return value from
18023 gdb_load.
d63a86f8 18024
2df3850c
JM
18025Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18026
18027 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18028 a pass case.
2df3850c 18029
2acceee2
JM
180301999-10-01 Kevin Buettner <kevinb@cygnus.com>
18031
18032 * gdb.base/break.c (main): Added a statement that we can step
18033 off of.
18034 * gdb.base/break.exp: Added tests for setting a breakpoint
18035 at an offset and stepping onto a breakpoint.
18036
180371999-10-01 Fred Fish <fnf@cygnus.com>
18038
d63a86f8 18039 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18040 gdb output.
18041
c2c6d25f
JM
180421999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18043
18044 * gdb.base/break.exp: Code locations are in hex, don't forget!
18045 (For HP-UX.)
18046
180471999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18048
18049 * condbreak.exp: Use break.c as test program.
18050 * condbreak.c: Remove, redundant with break.c.
18051
180521999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18053
18054 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18055 Z-packets if the target needs it.
c2c6d25f
JM
18056
180571999-09-13 James Ingham <jingham@leda.cygnus.com>
18058
18059 * gdb.c++/overload.exp: Added tests for listing overloaded
18060 functions with function pointers in the arg, explicitly calling
18061 out the version you want.
18062
cff3e48b
JM
180631999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18064
18065 * long_long.exp: Add variations of test cases that work for
18066 targets with 16-bit ints and 32-bit doubles.
18067
d4f3574e
SS
180681999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18069
18070 * break.c (main): Compare a possibly-uninitialized argc with an
18071 unlikely value that fits in 16 bits.
18072
180731999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18074
18075 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18076 0xfeeb, don't want negative numbers if ints are 16 bits.
18077
18078 * lib/gdb.exp (skip_cplus_tests): New proc.
18079 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
18080 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18081 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18082 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18083 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18084 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18085 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18086 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
18087
18088 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18089
18090Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18091
18092 * gdb.base/corefile.exp (up): Allow a parameter to appear
18093 in the frame that we're going up to.
18094
18095 From Jim Blandy <jimb@cygnus.com>:
18096
18097 * gdb.base/default.exp (info float): Expect some output now.
18098
18099 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18100 returning floating-point values to fail on the x86.
18101 * gdb.base/callfwmall.exp (do_function_calls): Same.
18102
18103 * gdb.base/list.exp (test_listsize): Correct expectations for
18104 listing line 1 with listsize 2. Also, listing a single line
18105 works now, as does listing three lines. [Kevin's note: There
18106 were a number of other cases fixed too where the expectations
18107 differed...]
18108
181091999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18110
18111 * gdb.base/selftest.exp: Add case for when version prints as
18112 constant string instead of char pointer.
18113
104c1213
JM
181141999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18115
18116 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 18117 stepping out of main.
104c1213
JM
18118
18119 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18120 G++ used.
18121
18122 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 18123 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
18124
18125 * gdb.c++/ovldbreak.exp: Update match string in test that
18126 includes a warning of multiple breakpoints.
18127
181281999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18129
18130 * gdb.base/display.exp: Improve precision of step-after-finish
18131 added yesterday.
18132
18133 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18134 test.
104c1213
JM
18135
18136 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18137 configs when using G++, not just hppa*.
18138
181391999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18140
18141 * gdb.base/async.c: New file.
18142 * gdb.base/async.exp: New file.
18143
18144Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18145
18146 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18147 PA64.
18148
53a5351d
JM
18149Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18150
104c1213
JM
18151 * gdb.base/display.exp: "finish" can leave us mid-line on many
18152 targets, deal with it. Add a small constant to main, instead of
18153 1000 since main+1000 may not be a valid address in the target.
18154
53a5351d
JM
18155 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18156 on hpux11.
18157
18158 * gdb.base/attach.exp: Handle another hpux11 error message variant
18159 when attaching to a process that does not exist.
18160
181611999-08-19 J.T. Conklin <jtc@redback.com>
18162
18163 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18164 characters in 'continue to 1241' test.
53a5351d
JM
18165
181661999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18167
18168 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18169 stop in print_long_arg_list, define and use a whitespace
18170 variable in print_small_structs test, add an XFAIL for Solaris.
18171 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18172 interested enough to fix.
18173
7be570e7
JM
181741999-08-13 Keith Seitz <keiths@cygnus.com>
18175
18176 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18177 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18178 proc knows about targets other than the natives.
18179 (test_assign): Use "gdb_run_cmd" to "run" the target.
18180 Check that we've actually hit the breakpoint at main.
18181 When we attempt to assign a value to a local variable, check
18182 that the variable is in the current scope, i.e., don't use
18183 a test with an empty result.
18184
18185Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18186
18187 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18188 command.
7be570e7
JM
18189
181901999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18191
18192 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18193 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18194 gdb.compat, gdb.threads-hp.
18195 gdb.hp/configure, gdb.hp/configure.in: New files.
18196 gdb.hp/Makefile.in: Recurse into new subdirs.
18197 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18198 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18199 in object files.
18200 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18201
96baa820
JM
182021999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18203
18204 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18205 funky printf, remove a bogus p/a test.
96baa820
JM
18206
182071999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18208
18209 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18210 connected to the target. This is necessary when running not
18211 natively.
96baa820
JM
18212
182131999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18214
18215 * gdb.base/step-test.exp: Removed some extraneous messages.
18216
18217 * gdb.base/long_long.exp: Don't run memory examination tests
18218 on little-endian targets (they will need a different set of
18219 results to match).
18220
182211999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18222
18223 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18224 until somebody decides to fix GDB.
18225
18226 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18227 constant as "ULL".
96baa820
JM
18228 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18229 matches for a couple x/2 commands.
18230
a0b3c4fd
JM
182311999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18232
18233 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18234 by merging in ref-types2 tests.
18235 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18236
18237 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18238 * gdb.c++/Makefile.in: Add standard actions.
18239 (EXECUTABLES): Rename from PROGS, update list.
18240 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18241 from gdb.hp.
18242 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18243 foo and bar locals.
18244 * gdb.c++/anon-union.exp: Fix tests to match.
18245 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18246 expect matches to handle output variations.
18247 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18248 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18249 output, add HP alternatives for new and delete prints.
a0b3c4fd 18250 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18251 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18252 * gdb.c++/demangle.exp: Use $style when reporting failure.
18253 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18254 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18255 match alternatives.
18256 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18257 compilers.
a0b3c4fd
JM
18258 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18259 * gdb.c++/method.exp: Add match alternatives.
18260 * gdb.c++/misc.cc: Add bool types.
18261 * gdb.c++/misc.exp: Add tests for bool types.
18262 * gdb.c++/overload.exp: Add xfails.
18263 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18264 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18265 add some more template parameter tests (only for HP currently).
18266 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18267 * gdb.c++/virtfunc.cc: Add return type and value for main.
18268 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18269 match alternatives.
d63a86f8 18270
a0b3c4fd
JM
182711999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18272
18273 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18274
182751999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18276
18277 * gdb.base/signals.exp: Don't expect getting a backtrace from
18278 within a signal handler to fail on Linux.
18279
182801999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18281
18282 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18283 * lib/gdb.exp: Remove some gratuitious semicolons.
18284 (delete_breakpoints): Increase timeout.
18285 (gdb_expect): Add -notransfer option.
18286 (gdb_test): Use -notransfer option.
18287 (get_compiler_info): Add f77 case.
18288 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18289 case.
a0b3c4fd
JM
18290 (gdb_preprocess): Call get_compiler.
18291
18292 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18293 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18294 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18295 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18296 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18297 third arg to gdb_test.
a0b3c4fd
JM
18298 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18299 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18300 HP-UX xfails, add others.
a0b3c4fd
JM
18301 * gdb.base/completion.exp: Reflect name change of self-test.
18302 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18303 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18304 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18305 HP failure number.
a0b3c4fd
JM
18306 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18307 useless HP-UX 10.30 references.
18308 * gdb.base/maint.exp: Loosen matches.
18309 * gdb.base/pointers.c (main): Declare more_code.
18310 * gdb.base/pointers.exp: Match on output of a `next'.
18311 * gdb.base/structs.c: Add prototypes.
18312 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18313 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18314
183151999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18316
18317 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18318 command.
a0b3c4fd
JM
18319
183201999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18321
18322 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18323 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18324
18325 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18326 debug info. Deal with lack of signal hanlder info in stack.
18327
a9c64011 18328 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18329 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18330
5a2468f5
JM
183311999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18332
18333 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18334 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18335
adf40b2e
JM
18336Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18337
18338 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18339 a1-selftest.exp.
adf40b2e
JM
18340 * gdb.base/configure: Re-generate.
18341
183421999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18343
18344 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18345 in trying to run first and name is too long.
18346
18347 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18348 pointers2.c and pointers2.exp, respectively.
18349 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18350 doschk happier.
18351
43e526b9
JM
183521999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18353
18354 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18355 callfuncs2.c and callfuncs2.exp.
18356
18357 * gdb.base/list.exp: Remove mistaken xfails.
18358 * gdb.base/list0.h: Add optional prototypes.
18359
9846de1b
JM
18360Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18361
a9c64011 18362 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18363 calling malloc.
a9c64011
AS
18364 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18365 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18366 use.
9846de1b
JM
18367
183681999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18369
18370 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18371 * gdb.base/annota2.cc, annota2.exp: Move from here.
18372 * gdb.c++/annota2.cc, annota2.exp: To here.
18373 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18374
43ff13b4
JM
18375Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18376
18377 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18378 a consistent format.
43ff13b4 18379
085dd6e6
JM
183801999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18381
18382 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18383 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18384 HP compilers, also set the globals $true and $false.
18385
18386 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18387 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18388 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18389 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18390 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18391 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18392 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18393 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18394 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18395 whatis.c} Add C++ compatible function definitions and return
18396 types, add includes for library functions.
085dd6e6
JM
18397 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18398 * gdb.base/step-test.c (myglob): Rename from glob.
18399 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18400 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18401 files, move here from gdb.hp.
085dd6e6 18402 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18403 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18404 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18405 Adjust line numbers in regexps.
085dd6e6
JM
18406
18407 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18408 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18409 instead of 0/1.
18410
18411 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18412 foll-vfork.exp: New files, move here from gdb.hp.
18413 * gdb.base/page.exp: New file, test of pagination command.
18414
18415 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18416 recursion test.
18417 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18418
18419 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18420 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18421
18422 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18423 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18424 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18425 watchpoint test.
085dd6e6
JM
18426 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18427 them work.
18428 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18429 expressions properly.
18430 * gdb.base/corefile.exp: Loosen the match slightly.
18431 * gdb.base/default.exp: Allow "Error accessing memory" message
18432 also.
18433 * gdb.base/display.exp: Skip over x/0 j if PA64.
18434 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18435 * gdb.base/interrupt.exp: Ditto.
18436 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18437 in use.
18438 * gdb.base/list.exp: Add xfails for HP-UX.
18439 * gdb.base/long_long.exp: Refine some of the numeric matches.
18440 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18441 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18442 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18443 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18444 * gdb.base/ptype.exp: Succeed on more varieties of output.
18445 * gdb.base/scope.exp: Add xfails for HP-UX.
18446 * gdb.base/sect-cmd.exp: Add more cases.
18447 * gdb.base/setvar.exp: Add xfails for HP-UX.
18448 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18449 * gdb.base/signals.exp: Match on void symbolically.
18450 * gdb.base/step-test.exp: Add case for PA64.
18451 * gdb.base/term.exp: Add exit and restart.
18452 * gdb.base/twice.exp: Clean up after self.
18453 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18454 * gdb.base/whatis.exp: Allow more ways to pass tests.
18455
18456 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18457 no longer useful.
085dd6e6
JM
18458
18459Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18460
18461 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18462 list of patterns.
085dd6e6 18463 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18464 print_double_array(double_array)", "continuing to breakpoint
18465 1018", "print print_double_array(array_d)" and "continuing to
18466 1034" tests.
d63a86f8 18467
085dd6e6
JM
184681999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18469
a9c64011 18470 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18471
184721999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18473
18474 * config/mt-*: Remove, these haven't been used since 1996.
18475
184761999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18477
18478 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18479 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18480 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18481
9e0b60a8
JM
184821999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18483
18484 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18485 simpler match case for the ptype of the big class.
18486
184871999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18488
18489 * gdb.exp: Fix test for gdb_prompt existence.
18490
184911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18492
18493 * gdb.exp (gdb_test): Add fail after calls to perror.
18494
184951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18496
18497 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18498
184991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18500
18501 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18502
0f71a2f6
JM
18503Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18504
18505 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18506 malloc() is linked in.
0f71a2f6
JM
18507
185081999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18509
18510 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18511 step at end.
18512
18513 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18514
185151999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18516
18517 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18518
cce74817
JM
18519Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18520
18521 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18522 * gdb.base/mips_pro.exp: Likewise.
18523
185241999-06-02 Keith Seitz <keiths@cygnus.com>
18525
18526 * gdb.c++/templates.cc: Change all "new" operators to throw
18527 an exception.
18528 * gdb.c++/cplusfuncs.cc: Likewise.
18529
18530 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18531
18532Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18533
18534 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18535 * gdb.base/ending-run.exp: When stepping out of main, accept a
18536 step into an arbitrary assembler file.
cce74817 18537
392a587b
JM
185381999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18539
d63a86f8 18540 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18541 "breakpoint-invalid" to be printed.
d63a86f8 18542 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18543 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18544 * gdb.base/annota2.cc: Initialize a.x to 0.
18545
9e086581
JM
185461999-05-17 Keith Seitz <keiths@cygnus.com>
18547
18548 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18549 when "skip_float_tests" set.
18550 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18551 "print print_ten_doubles", and "step into print_long_arg_list".
18552 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18553 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18554 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18555 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18556 "skip_float_tests" is set.
18557 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18558 when "skip_float_tests" set.
d63a86f8 18559
cd0fc7c3
SS
185601999-05-06 Keith Seitz <keiths@cygnus.com>
18561
18562 * gdb.base/annota2.cc: Include stdio.h.
18563
18564Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18565
18566 * gdb.base/crossload.exp: Remove, this has been disabled ever
18567 since BFD stopped including all targets, and cross-GDB gets
18568 plenty of testing anyway.
18569 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18570 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18571 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18572 * gdb.base/README: Remove, was doc for this.
18573 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18574 needed.
cd0fc7c3 18575
b83266a0
SS
185761999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18577
18578 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18579 output.
18580
18581 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18582 * gdb.base/annota2.exp: New file. More annotation tests.
18583 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18584 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18585
185861999-04-23 Angela Marie Thomas <angela@cygnus.com>
18587
18588 * config/cfdbug.exp: New file.
18589
7a292a7a
SS
185901999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18591
18592 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18593 Marcus Daniel's and Dale Hawkins's demangler crashes.
18594
18595 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18596 test_lucid_style_demangling, test_arm_style_demangling,
18597 test_hp_style_demangling): Try Tom Tromey's core-dumping
18598 identifier under each demangling style.
7a292a7a
SS
18599
186001999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18601
18602 * gdb.c++/demangle.exp: Include the current demangling style
18603 in all test names.
18604 (current_demangling_style): New global variable.
18605 (set_demangling_style, test_demangling_core, test_demangling,
18606 test_demangling_exact): New functions.
18607 (test_gnu_style_demangling, test_lucid_style_demangling,
18608 test_arm_style_demangling, test_hp_style_demangling): Use those,
18609 instead of calling gdb_test and gdb_test_exact directly.
18610 (catch_demangling_errors): New function, which reports errors
18611 signalled by the demangling test functions in an orderly way.
18612 (do_tests): Use catch_demangling_errors.
18613
186141999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18615
18616 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18617 grouping in expressions, not {}.
7a292a7a
SS
18618
18619 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18620 initialized yet.
7a292a7a
SS
18621
186221999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18623
18624 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18625 are listed.
18626
186271999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18628
18629 * gdb.stabs/weird.exp: Test for CC being defined before
18630 looking at its value.
18631
186321999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18633
18634 * gdb.base/call-ar-st.exp: Remove stray '#'.
18635 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18636 "short int" and "long int".
18637 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18638 change, to mollify finicky HP compiler.
7a292a7a
SS
18639 * gdb.hp/reg-test.exp (testfile): Fix file name.
18640 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18641
7a292a7a
SS
18642 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18643 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18644 alternate form of enum ptype.
18645
c906108c
SS
186461999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18647
7a292a7a
SS
18648 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18649 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18650 passing skip_hp_tests, so as not to waste time on guaranteed
18651 failure.
7a292a7a 18652
c906108c
SS
18653 * gdb.c++/overload.cc: Pass string instead of char addr, always
18654 init ccpfoo.
18655 * gdb.c++/templates.cc: Fix syntax error.
18656
7a292a7a
SS
18657Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18658
18659 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18660 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18661 command.
18662
186631999-03-18 James Ingham <jingham@cygnus.com>
18664
18665 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18666
18667 * gdb.c++/method.exp: It was testing an uninitialized int on the
18668 stack and assuming it was positive.
18669
18670 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18671
18672 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18673 keep it from killing the rest of the tests.
7a292a7a
SS
18674 Use gdb_continue_to_end.
18675
18676 * gdb.base/sigall.exp: use gdb_continue_to_end.
18677
18678 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18679
18680 * gdb.base/display.exp: use runto_main, not run.
18681
d63a86f8
RM
18682 * gdb.base/default.exp: Check for the current error message in the
18683 r abbreviation test.
7a292a7a
SS
18684 Add strongarm to the targets that know info float.
18685
d63a86f8 18686 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18687 run which doesn't work with monitors.
18688
18689 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18690
18691 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18692
18693 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18694 program. Traps the case (in Cygmon) when the program never really
18695 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18696 more places, so I used my name. Sorry Mark...
18697
18698 * config/monitor.exp (gdb_target_monitor): added another
18699 target_info parameter: remotebinarydownload. This will set the
18700 remotebinarydownload flag if this is causing some boards trouble.
18701
187021999-03-18 Mark Salter <msalter@cygnus.com>
18703
18704 * lib/gdb.exp (continue_to_exit): New function.
18705
18706 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18707 * gdb.base/ending-run.exp: Ditto.
18708 * gdb.base/step-test.exp: Ditto.
18709
187101999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18711
18712 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18713 (suggested by Art Haas <ahaas@neosoft.com>).
18714
187151999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18716
889bf7c5 18717 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18718
18719Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18720
18721 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18722 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18723
187241999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18725
18726 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18727 a call to strlen; sometimes we do have sources.
18728
187291999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18730
18731 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18732 character, so GDB won't print garbage after its end.
d63a86f8 18733
c906108c
SS
18734 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18735 breakpoint there instead. Sometimes GCC emits memcpy to handle
18736 the large structures being passed by value, so we step into that
18737 instead of sum_array_print, which obscures what we're really testing.
18738 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18739 the bizarre steps into memcpy, so do that here. Add check for
18740 stepping into function calls that pass large structures by value.
18741 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18742 Remove all references to specific line numbers.
18743 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18744 New type and function.
18745 (main): Call large_struct_by_value, passing it a large struct by value.
18746 * lib/gdb.exp (gdb_get_line_number): New function.
18747
18748 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18749 more portable.
18750
7a292a7a
SS
187511999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18752
c906108c
SS
18753 * lib/gdb.exp: Doc fixes.
18754
7a292a7a
SS
187551999-03-05 Nick Clifton <nickc@cygnus.com>
18756
d63a86f8 18757 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18758
187591999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18760
c906108c 18761 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18762 commands. They're not germane to this test, and they don't work
18763 that way on remote targets.
c906108c 18764
3fc11d3e
JM
187651999-03-01 James Ingham <jingham@cygnus.com>
18766
18767 * Changelog entries merged over from gdb development branch.
18768
3fc11d3e
JM
18769 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18770
18771 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18772 for outputting results of test run.
18773
2d4a1622 18774 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18775
18776 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18777
7a292a7a
SS
187781999-02-25 Felix Lee <flee@cygnus.com>
18779
18780 * lib/gdb.exp (debug_format): initialize
18781
c906108c
SS
187821999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18783
18784 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18785 * gdb.base/call-rt-st.c: Ditto.
18786
c906108c
SS
187871999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18788
18789 * gdb.threads/pthreads.exp (horiz): New variable.
18790 (test_startup): Fix regexps that capture thread numbers.
18791
187921999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18793
18794 * gdb.base/smoke.exp: Disambiguate two test case names (both
18795 called ``print'').
18796
18797Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18798
18799 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18800 compilation.
c906108c
SS
18801
188021999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18803
18804 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18805 actual output formatting.
18806 * gdb.base/smoke.exp: GDB removes leading 0's.
18807 * gdb.base/volatile.exp: Don't check type of remuneration;
18808 that variable is no longer defined in constvars.c.
18809 * gdb.base/step-test.c (main): Exit with explicit exit code.
18810 * gdb.base/step-test.exp: Remove two nexti checks--they are
18811 not portable.
18812
188131999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18814
18815 * gdb.base/help.exp ("help delete display"): Fix test to match
18816 gdb's output.
18817
18818 * gdb.base/long_long.c (known_types): Initialize values to zero.
18819 * gdb.base/long_long.exp: Step one more line
18820 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18821 leading zeros. Explicitly ask for hex formatting. Use
18822 unique test case names.
c906108c
SS
18823
18824Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18825
d63a86f8 18826 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18827
18828 * gdb.c++/method.exp: Add missing close brace.
18829
188301999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18831
18832 * gdb.base/maint.exp: Use 'set height 0' to disable page
18833 prompting, not 'set height 400'.
18834
18835 Fix a bunch of timeouts.
18836 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18837 four separate tests, so expect doesn't take forever to match a ton
18838 of text against a regexp with lots of .* forms.
18839 ("maint print psymbols", "maint print symbols"): Make some of
18840 these greps more selective, so that expect doesn't try to wade
18841 through huge piles of output and time out.
18842
18843 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18844
18845 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18846 tests: one which doesn't expect shlib events to be reported, and
18847 another which does, but is XFAIL for all platforms other than
18848 HP/UX.
c906108c
SS
18849
18850 * gdb.base/break.exp: Teach the test suite that the `catch
18851 fork', `catch vfork', and `catch exec' commands produce error
18852 messages on platforms that don't provide these features.
18853
18854Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18855
18856 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18857 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18858 (shortening names from solib_threshold.exp etc), won't run on
18859 anything but HP-UX for the foreseeable future.
c906108c 18860 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18861 reflect move.
c906108c
SS
18862
18863Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18864
18865 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18866 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18867
18868Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18869
18870 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18871 successfully re-sets breakpoints in shared libraries.
18872 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18873
18874Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18875
d63a86f8
RM
18876 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18877 and compiled w/o GCC.
c906108c
SS
18878
18879 * gdb.hp/watch-cmd.exp: ditto.
18880
18881 * gdb.hp/watch-hp.exp: ditto.
18882
18883 * gdb.hp/xdb1.exp: ditto.
18884
18885 * gdb.hp/xdb2.exp: ditto.
18886
18887 * gdb.hp/dbx.exp: ditto.
18888
18889Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18890
18891 * constvars.c: Remove C++-isms.
18892 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18893 with GCC.
c906108c
SS
18894
18895Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18896
18897 The following changes are part of the HP merge.
18898
18899 * gdb.base/break.exp: new tests to verify that catchpoints for
18900 fork, vfork, and exec don't trigger inappropriately.
18901
18902 * gdb.base/opaque.exp: compile one file at a time, then link.
18903
18904 * gdb.base/signals.exp: be more restrictive about which hppa
18905 systems receive a setup_xfail. new tests.
18906
18907 * gdb.base/solib_threshold.build: new file.
18908 * gdb.base/solib_threshold.exp: new file.
18909 * gdb.base/solib_threshold.link_opts: new file.
18910 * gdb.base/solib_threshold.mk: new file.
18911 * gdb.base/gen_solib_threshold.c: new file.
18912
18913 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18914 tests. New tests for enums inside classes.
18915
18916 * gdb.c++/compiler.cc: indicate support of template debugging.
18917
18918 * gdb.c++/demangle.exp: run hp style demangling tests.
18919
18920 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18921 tests.
18922
18923 * gdb.c++/misc.cc: changes to support new tests.
18924
18925 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18926 to support new tests.
18927
18928 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18929 gcc, then skip these tests.
18930
18931Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18932
18933 The following files are part of the HP merge; some had longer
18934 names at HP, but have been renamed to be no more than 14
18935 characters in length.
18936
18937 * gdb.hp/ambiguous.cc: new file.
18938 * gdb.hp/ambiguous.exp: new file.
18939 * gdb.hp/attach.exp: new file.
18940 * gdb.hp/attach2.exp: new file.
18941 * gdb.hp/classes-hp.exp: new file.
18942 * gdb.hp/ctti.exp: new file.
18943 * gdb.hp/ctti-add.cc: new file.
18944 * gdb.hp/ctti-add1.cc: new file.
18945 * gdb.hp/ctti-add2.cc: new file.
18946 * gdb.hp/ctti-add3.cc: new file.
18947 * gdb.hp/dbx.exp: new file.
18948 * gdb.hp/exception.cc: new file.
18949 * gdb.hp/exception.exp: new file.
18950 * gdb.hp/foll-exec.c: new file.
18951 * gdb.hp/foll-exec.exp: new file.
18952 * gdb.hp/foll-fork.c: new file.
18953 * gdb.hp/foll-fork.exp: new file.
18954 * gdb.hp/foll-vfork.c: new file.
18955 * gdb.hp/foll-vfork.exp: new file.
18956 * gdb.hp/inherit-hp.exp: new file.
18957 * gdb.hp/more-steps.exp: new file.
18958 * gdb.hp/namespace.cc: new file.
18959 * gdb.hp/namespace.exp: new file.
18960 * gdb.hp/optimize.exp: new file.
18961 * gdb.hp/pxdb.c: new file.
18962 * gdb.hp/pxdb.exp: new file.
18963 * gdb.hp/quicksort.exp: new file.
18964 * gdb.hp/reg-test.exp: new file.
18965 * gdb.hp/reg-test.s: new file.
18966 * gdb.hp/sized-enum.c: new file.
18967 * gdb.hp/sized-enum.exp: new file.
18968 * gdb.hp/start-stop.exp: new file.
18969 * gdb.hp/templ-hp.cc: new file.
18970 * gdb.hp/templ-hp.exp: new file.
18971 * gdb.hp/thr-lib.c: new file.
18972 * gdb.hp/thr-lib.exp: new file.
18973 * gdb.hp/thr-lib.h: new file.
18974 * gdb.hp/thr-liblib.c: new file.
18975 * gdb.hp/virtfun-hp.c: new file.
18976 * gdb.hp/virtfun-hp.exp: new file.
18977 * gdb.hp/watch-cmd.exp: new file.
18978 * gdb.hp/watch-hp.exp: new file.
18979 * gdb.hp/xdb1.exp: new file.
18980 * gdb.hp/xdb2.exp: new file.
18981 * gdb.hp/xdb3.exp: new file.
18982
18983Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18984
18985 The following files are part of the HP merge; some had longer
18986 names at HP, but have been renamed to be no more than 14
18987 characters in length.
18988
18989 * gdb.base/ss.h: new file.
18990 * gdb.base/call-ar-st.c: new file.
18991 * gdb.base/call-ar-st.exp: new file.
18992 * gdb.base/call-rt-st.c: new file.
18993 * gdb.base/call-rt-st-exp: new file.
18994 * gdb.base/call-strs.exp: new file.
18995 * gdb.base/ena-dis-br.exp: new file.
18996 * gdb.base/environ.exp: new file.
18997 * gdb.base/long_long.exp: new file.
18998 * gdb.base/sect-cmd.exp: new file.
18999 * gdb.base/shlib-cl2.exp: new file.
19000 * gdb.base/smoke.exp: new file.
19001 * gdb.base/so-impl-ld.c: new file.
19002 * gdb.base/so-impl-ld.exp: new file.
19003 * gdb.base/so-indr-cl.c: new file.
19004 * gdb.base/so-indr-cl.exp: new file.
19005 * gdb.base/varargs.exp: new file.
19006 * gdb.base/volatile.exp: new file.
19007 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19008 * gdb.base/display.exp: new file.
c906108c
SS
19009 * gdb.c++/derivation.exp: new file.
19010 * gdb.c++/local.exp: new file.
19011 * gdb.c++/member-ptr.exp: new file.
19012 * gdb.c++/overload.exp: new file.
19013 * gdb.c++/ovldbreak.exp: new file.
19014 * gdb.c++/ref-types.exp: new file.
19015 * gdb.c++/ref-types2.exp: new file.
19016 * gdb.c++/userdef.exp: new file.
d63a86f8 19017
c906108c
SS
19018Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19019
19020 * gdb.base/default.exp: Reflect wording change in remote.c.
19021
dc96c6c7 19022Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19023
19024 * gdb.base/help.exp: Update to reflect current text.
19025
19026Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19027
19028 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19029 they're stack variables and contain garbage.
19030 * gdb.c++/anon-union.exp: new file.
19031
19032 The following changes were made by David Taylor
889bf7c5
PA
19033 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19034 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19035 in changes by HP.
c906108c
SS
19036
19037 * gdb.base/bitops.exp: new file.
19038 * gdb.base/default.exp: change expected messages for catch and
19039 info catch tests to reflect HP merge changes.
19040 * gdb.base/enable-disable-break.exp
19041 * gdb.base/ending-run.c: new file.
19042 * gdb.base/long_long.c: new file.
19043 * gdb.base/maint.exp: new file.
19044 * gdb.base/pointers2.exp: new file.
19045 * gdb.base/shlib-call2.exp: new file.
19046 * gdb.base/solib.exp: new file.
19047 * gdb.base/step-test.c: new file.
19048 * gdb.c++/anon-union.cc: new file.
19049 * gdb.c++/local.cc: new file.
19050 * gdb.c++/member-pointer.cc: new file.
19051 * gdb.c++/method.cc: new file.
19052 * gdb.c++/ref-types.cc: new file.
19053 * gdb.c++/ref-types2.cc: new file.
19054 * gdb.c++/userdef.cc: new file.
d63a86f8 19055
c906108c
SS
19056 * gdb.base/scope.exp: compile one file at a time, then link.
19057 * gdb.base/langs.exp: ditto.
19058 * gdb.base/list.exp: ditto.
d63a86f8 19059
c906108c
SS
19060Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19061
19062 The following changes were made by David Taylor
889bf7c5
PA
19063 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19064 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19065 in changes by HP.
d63a86f8 19066
c906108c
SS
19067 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19068 skip tests. When compiling pass c++ flag to gdb_compile.
19069 * gdb.c++/
d63a86f8 19070
c906108c
SS
19071 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19072 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19073 (skip_hp_tests): new function.
19074 (gdb_preprocess): new function.
19075
19076 * configure.in (hpdir): decide whether to configure gdb.hp.
19077 * configure: regenerated.
19078
19079 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19080 to delete on clean.
19081 (EXECUTABLES): update to reflect new additions.
19082 * gdb.base/commands.exp: update message expected.
19083 * gdb.base/default.exp: add copyright notice.
19084 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19085 * gdb.base/help.exp: update messages to reflect current text.
19086 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19087 targets for recurse tests.
19088 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19089 skip this file.
19090
19091 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19092 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19093 compilation.
19094 * gdb.c++/misc.exp: ditto.
19095 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19096 run the tests. tell gdb_compile that it's a c++ compilation.
19097
19098 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 19099
c906108c
SS
19100 * gdb.base/all-bin.exp: new file.
19101 * gdb.base/arithmet.exp: new file.
19102 * gdb.base/assign.exp: new file.
19103 * gdb.base/completion.exp: new file.
19104 * gdb.base/cond-expr.exp: new file.
19105 * gdb.base/condbreak.exp: new file.
19106 * gdb.base/define.exp: new file.
19107 * gdb.base/dollar.exp: new file.
19108 * gdb.base/environment.exp: new file.
19109 * gdb.base/eval-skip.exp: new file.
19110 * gdb.base/jump.exp: new file.
19111 * gdb.base/logical.exp: new file.
19112 * gdb.base/pointers.exp: new file.
19113 * gdb.base/relational.exp: new file.
19114 * gdb.base/section_command.exp: new file.
19115 * gdb.base/whatis-expr.exp: new file.
19116
19117 * gdb.base/all-types.c: new file.
19118 * gdb.base/call-array-struct.c: new file.
19119 * gdb.base/call-return-struct.c: new file.
19120 * gdb.base/call-strings.c: new file.
19121 * gdb.base/callfuncs2.c: new file.
19122 * gdb.base/condbreak.c: new file.
19123 * gdb.base/constvars.c: new file.
19124 * gdb.base/display.c: new file.
19125 * gdb.base/int-type.c: new file.
19126 * gdb.base/jump.c: new file.
19127 * gdb.base/miscexprs.c: new file.
19128 * gdb.base/pointers.c: new file.
19129 * gdb.base/pointers2.c: new file.
19130 * gdb.base/shmain.c: new file.
19131 * gdb.base/shr1.c: new file.
19132 * gdb.base/shr2.c: new file.
19133 * gdb.base/solib.c: new file.
19134 * gdb.base/solib1.c: new file.
19135 * gdb.base/solib2.c: new file.
19136 * gdb.base/varargs.c: new file.
19137 * gdb.c++/derivation.cc: new file.
19138 * gdb.c++/overload.cc: new file.
19139 * gdb.c++/ovldbreak.cc: new file.
19140 * gdb.hp/attach.c: new file.
19141 * gdb.hp/attach2.c: new file.
19142 * gdb.hp/average.c: new file.
19143 * gdb.hp/compiler.c: new file.
19144 * gdb.hp/compiler.cc: new file.
19145 * gdb.hp/execd-program.c: new file.
19146 * gdb.hp/follow-exec.c: new file.
19147 * gdb.hp/follow-fork.c: new file.
19148 * gdb.hp/follow-vfork-and-exec.c: new file.
19149 * gdb.hp/misc-hp.cc: new file.
19150 * gdb.hp/more-steps.c: new file.
19151 * gdb.hp/optimize.c: new file.
19152 * gdb.hp/quicksort.c: new file.
19153 * gdb.hp/run-hp.c: new file.
19154 * gdb.hp/start-stop.c: new file.
19155 * gdb.hp/sum.c: new file.
19156 * gdb.hp/templates-hp.cc: new file.
19157 * gdb.hp/thread-local-in-lib.c: new file.
19158 * gdb.hp/thread-local-in-lib.h: new file.
19159 * gdb.hp/thread-local-in-lib.lib.c: new file.
19160 * gdb.hp/vforked-program.c: new file.
19161 * gdb.hp/virtfunc-hp.cc: new file.
19162 * gdb.hp/watchpoint-hp.c: new file.
19163 * gdb.hp/xdb.c: new file.
19164 * gdb.hp/xdb0.c: new file.
19165 * gdb.hp/xdb0.h: new file.
19166 * gdb.hp/xdb1.c: new file.
19167
19168Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19169
19170 The following change was made by Edith Epstein
889bf7c5
PA
19171 <eepstein@cygnus.com> as part of a project to merge in changes
19172 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19173
19174 * gdb.c++/demangle.exp: changed the expected output for some
19175 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19176 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19177 T1<char>::~T1<char>(void)
c906108c 19178 becomes,
a9c64011
AS
19179 maint demangle __dt__11T1__pt__2_cFv
19180 T1<char>::~T1(void)
c906108c 19181
889bf7c5 19182 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19183
c906108c
SS
19184Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19185
19186 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19187 * gdb.trace/backtrace.exp: Likewise.
19188 * gdb.trace/circ.exp: Likewise.
19189 * gdb.trace/collection.exp: Likewise.
19190 * gdb.trace/deltrace.exp: Likewise.
19191 * gdb.trace/infotrace.exp: Likewise.
19192 * gdb.trace/limits.exp: Likewise.
19193 * gdb.trace/packetlen.exp: Likewise.
19194 * gdb.trace/passc-dyn.exp: Likewise.
19195 * gdb.trace/passcount.exp: Likewise.
19196 * gdb.trace/report.exp: Likewise.
19197 * gdb.trace/save-trace.exp: Likewise.
19198 * gdb.trace/tfind.exp: Likewise.
19199 * gdb.trace/tracecmd.exp: Likewise.
19200 * gdb.trace/while-dyn.exp: Likewise.
19201 * gdb.trace/while-stepping.exp: Likewise.
19202
192031998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19204
19205 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19206
19207Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19208
19209 From Brendan Kehoe:
19210 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19211 int return types.
19212
19213Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19214
19215 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19216 remote dos host testing right.
c906108c
SS
19217
19218Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19219
19220 * gdb.base/corefile.exp: remove some xfails.
19221
19222Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19223
19224 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19225 have different timestamps.
c906108c
SS
19226
19227Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19228
19229 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19230 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19231
19232Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19233
19234 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19235 delta.
c906108c
SS
19236
19237Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19238
19239 * gdb.base/default.exp: Add brace missing from previous delta.
19240
19241Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19242
19243 * gdb.base/default.exp: Support test for info float for all
19244 varieties of arm toolchain.
19245
dc96c6c7 19246Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19247
19248 * gdb.trace/*.exp: remove "remote_download" command.
19249
dc96c6c7 19250Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19251
19252 * gdb.trace/*.exp: remove -gdwarf from compile.
19253
19254Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19255
19256 * gdb.trace/configure.in(AC_INIT): typo
19257 * gdb.trace/configure: regenerated
19258
dc96c6c7 19259Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19260
19261 * config/m68k-emc.exp: New file.
19262 * lib/<emc-support.exp trace-support.exp}: New files.
19263 * configure.in: add new test directory gdb.trace.
19264 * gdb.trace/{configure configure.in Makefile.in}: New files.
19265 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19266 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19267 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19268 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19269 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19270 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19271 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19272
dc96c6c7 19273Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19274
19275 * gdb.c++/classes.exp: Change all regular expressions to match
19276 arbitrary combinations of newline/carriage-return, so that they
19277 will work equally well on Unix and Windows.
19278 * gdb.c++/inherit.exp: ditto.
19279 * gdb.c++/virtfunc.exp: ditto.
19280
192811998-08-11 Dawn Perchik <dawn@cygnus.com>
19282
19283 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19284
c2d11a7d
JM
19285Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19286
19287 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19288 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19289 to use a0-a3/d0-d3 as needed.
19290
19291Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19292
19293 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19294 * gdb.disasm/am33.exp: Corresponding changes.
19295
c906108c
SS
192961998-07-11 Felix Lee <flee@cygnus.com>
19297
19298 * gdb.base/callfuncs.exp: add cmp10 test.
19299 * gdb.base/callfuncs.c (cmp10): new function.
19300
19301Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19302
d63a86f8 19303 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19304 into two parts to get around a synchronization problem in expect.
19305
3fc11d3e
JM
19306Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19307
19308 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19309
19310 * configure.in: Add options for gdbtk testsuite.
19311
19312 * configure: Regenerate.
19313
19314 * gdb.gdbtk: New directory to hold gdbtk tests.
19315
c906108c
SS
19316Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19317
19318 * gdb.fortran/types.exp: Escape brackets in expect patterns
19319 for test_float_literal_types_accepted tests.
19320 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19321 before run test.
19322
c2d11a7d
JM
19323Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19324
19325 * am33.exp: Just compile, do not link the testcase.
19326 * am33.s: Add ".am33" pseudoop to force am33 mode.
19327
c906108c
SS
193281998-06-25 Felix Lee <flee@cygnus.com>
19329
19330 * gdb.base/setshow.exp: make sure $pc is sane.
19331
19332 * gdb.stabs/weird.exp: split expect patterns properly.
19333
c2d11a7d
JM
19334Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19335
19336 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19337 * gdb.disasm/am33.exp: Run it.
19338
dc96c6c7 19339Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19340
19341 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19342 match processing (and eliminate spurious timeouts when running).
19343
dc96c6c7 19344Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19345
19346 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19347 exception test, but conditionalize it on target [mach | gnu].
19348
dc96c6c7 19349Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19350
19351 * gdb.base/overlays.exp: fixup compile line for linker script.
19352
19353Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19354
19355 * gdb.fortran/types.exp: don't guess at float size.
19356
19357Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19358
19359 * gdb.base/exprs.exp: delete test that depends on int size.
19360
19361Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19362
19363 * config/sim.exp: Removed checks for target triplets.
19364 (gdb_target_sim): Use gdb,target_sim_options.
19365
19366Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19367
19368 * gdb.base/reread.exp: New file.
19369 * gdb.base/reread1.c: New file.
19370 * gdb.base/reread2.c: New file.
19371
19372Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19373
19374 * config/sim.exp: Use 'target sim -sparclite' when running
19375 SPARClite programs.
19376
19377Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19378
19379 * gdb.base/structs2.exp: New file.
19380 * gdb.base/structs2.c: New file.
19381
19382Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19383
19384 * gdb.asm/common.inc: New file.
19385 * gdb.asm/d10v.inc: New file.
19386 * asm-source.exp: Pass -I's to gas to find .inc files.
19387 Update line numbers in expected output.
19388 * asmsrc1.s: Rewrite.
19389 * asmsrc2.s: Rewrite.
19390 * configure.in: Create arch.inc symlink.
19391 * configure: Regenerate.
19392 * Makefile.in (distclean): Delete arch.inc.
19393
19394Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19395
19396 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19397 (t_enum_value2): ditto
19398 (t_enum_value3): ditto
19399 (main): ditto
c906108c
SS
19400Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19401
19402 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19403 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19404 change.
19405 Use gdb_test instead of send_gdb/gdb_expect sequences.
19406
19407Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19408
19409 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19410 not void.
19411
19412Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19413
19414 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19415 subroutines. Used to test gdbs ability to single step through PC
19416 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19417
19418Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19419
19420 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19421 more rigorous EGCS C++ error checking.
19422
19423Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19424
a9c64011
AS
19425 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19426 tests.
19427 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19428 function when asleep.
19429 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19430 for i*86 Linux and SVR4 signal handling problems.
19431 Remove linux xfail for `next to handler in signals_tests_1', fixed
19432 by recent infrun.c change.
19433 Limit backtrace to 10 frames to avoid timeout problems with infinite
19434 stack backtraces.
19435 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19436 target.[ch] change.
c906108c
SS
19437
19438Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19439
19440 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19441 for a newline from gdb before continuing.
19442 (default_gdb_exit): Just look for y or n.
19443 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19444 it does, fail the rests of the tests in the file.
19445
19446Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19447
19448 * config/cygmon.exp: New file.
19449
19450Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19451
19452 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19453 main" test on remote targets.
c906108c
SS
19454
19455 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19456 run test on remote targets.
19457
19458Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19459
19460 * gdb.asm: New directory.
19461 * configure.in: Configure it.
19462 * configure: Regenerate.
19463 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19464 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19465
19466Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19467
19468 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19469
dc96c6c7 19470Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19471
a9c64011
AS
19472 * gdb.base/overlays (several files): Merge the two overlay
19473 managers into one. Change variables (foox, barx, bazx, grbxx)
19474 back into ints but force them to load in their proper sections.
c906108c
SS
19475
19476Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19477
19478 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19479 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19480 (D10VCopy): Handle memory regions crossing 16k boundaries.
19481 (D10VCopy): Transfer data in 32 bit chunks.
19482
19483Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19484
19485 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19486 correct.
c906108c
SS
19487
19488 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19489 map. Include space for printf in .text segment.
c906108c
SS
19490
19491 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19492 updated d10v memory VMA/LMA map.
c906108c 19493 (D10VCopy): Call D10VTranslate.
d63a86f8 19494
c906108c
SS
19495Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19496
19497 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19498
19499 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19500 that it won't be put into the .sdata - small data -
19501 section. Update reference.
c906108c
SS
19502 * gdb.base/baz.c (bazx, baz): Ditto.
19503 * gdb.base/foo.c (foox, foo): Ditto.
19504 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19505
19506 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19507 to be arrays.
d63a86f8 19508
dc96c6c7 19509Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19510
a9c64011
AS
19511 * gdb.base/overlays.exp: fix up and get working again.
19512 Add tests for backtraces from an overlay function.
d63a86f8 19513
c906108c
SS
19514Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19515
19516 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19517 "calling function with watchpoint enabled".
19518
19519Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19520
19521 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19522 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19523 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19524 pending review of whether it is useful or not.
19525
19526Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19527
19528 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19529
19530Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19531
19532 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19533 * config/dve.exp: New file to support Densan boards.
19534
19535Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19536
19537 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19538 reads and BSD.
c906108c
SS
19539
19540Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19541
19542 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19543 response.
19544
19545 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19546
19547Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19548
19549 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19550 test.
c906108c
SS
19551
19552 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19553 target_sizeof_long and target_bigendian_p.
c906108c 19554 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19555 to targets word size and endianess.
d63a86f8 19556
c906108c
SS
19557Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19558
19559 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19560 output.
c906108c
SS
19561
19562Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19563
19564 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19565 Update test of set args help to match source change.
c906108c
SS
19566
19567Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19568
19569 * gdb.base/default.exp: Expect help system output to be in
19570 alphabetical order.
19571 * gdb.base/help.exp: Ditto.
19572
19573Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19574
19575 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19576 "i*86-pc-linux-gnu*".
19577 * gdb.base/interrupt.exp: Ditto.
19578 * gdb.base/corefile.exp: Ditto.
19579
19580 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19581 define vxworks when building the testcase.
c906108c
SS
19582
19583 * gdb.base/ptype.exp: Fix testnames to be unique.
19584 * gdb.base/radix.exp: Ditto.
19585 * gdb.base/term.exp: Ditto.
19586 * gdb.base/whatis.exp: Ditto.
19587 * gdb.c++/classes.exp: Ditto.
19588
19589Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19590
19591 * gdb.base/callfuncs.exp: Fix indentation.
19592
19593 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19594 suppress_flag has been set.
19595 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19596 target feature.
19597
19598Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19599
19600 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19601 the testcase.
19602
19603 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19604 set_debug_traps() and breakpoint().
c906108c
SS
19605 * gdb.c++/misc.cc (main): Ditto.
19606 * gdb.c++/templates.cc (main): Ditto.
19607 * gdb.c++/virtfunc.cc (main): Ditto.
19608
19609Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19610
19611 * lib/gdb.exp(gdb_step_for_stub): New function.
19612 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19613 exists, reload the executable and do a "continue" instead of
19614 doing a jump.
19615 (runto_main): Use gdb_step_for_stub.
d63a86f8 19616
c906108c 19617 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19618 tests to have unique names.
c906108c
SS
19619 * gdb.base/callfuncs.exp: Ditto.
19620 * gdb.base/commands.exp: Ditto.
19621 * gdb.base/default.exp: Ditto.
19622 * gdb.base/help.exp: Ditto.
19623 * gdb.base/list.exp: Ditto.
19624 * gdb.base/opaque.exp: Ditto.
19625 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19626 similar tests.
d63a86f8 19627
c906108c
SS
19628 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19629 * gdb.c++/cplusfuncs.cc: Ditto.
19630 * gdb.c++/virtfunc.cc: Ditto.
19631
19632 * config/monitor.exp: Keep track of the last file we saw, rather
19633 than trying to get the info from gdb.
19634
19635 * gdb.fortran/types.exp: Move comment to previous line.
19636
19637Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19638
19639 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19640 target mode.
c906108c
SS
19641
19642Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19643
19644 From Bob Manson:
19645 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19646 string from GDB when it connects.
c906108c
SS
19647
19648 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19649
19650Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19651
19652 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19653 if we can't get a debug format from GDB (we may be testing an
19654 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19655
19656 * gdb.stabs/weird.exp: Fix quoting.
19657
19658 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19659
19660Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19661
19662 * config/arm-ice.exp: New file.
19663
19664Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19665
19666 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19667 until it has been modified to work with the new testsuite.
c906108c 19668
99707966 19669 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19670 testcase won't compile, cause all of the testcases in the file to
19671 fail instead.
c906108c
SS
19672
19673 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19674 (gdb_clear_suppressed): New procedure.
19675 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19676 it contains a positive value.
19677
19678Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19679
19680 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19681
19682 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19683
19684Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19685
19686 * lib/gdb.exp (setup_xfail_format): New function.
19687 (get_debug_format): New function to get debug format.
19688 (debug_format): New global variable to hold last value set
19689 by get_debug_format.
19690 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19691 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19692 * gdb.c++/ptype.exp: Ditto.
19693 * gdb.c++/classes.exp: Ditto.
19694 * gdb.c++/cplusfuncs.exp: Ditto.
19695 * gdb.c++/inherit.exp: Ditto.
19696 * gdb.c++/templates.exp: Ditto.
19697 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19698
c906108c
SS
19699Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19700
19701 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19702 host doesn't have a currently-open connection.
19703
19704 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19705 any gdb stub target. Handle cases where gdb doesn't respond when
19706 interrupted in a sane fashion.
c906108c
SS
19707
19708 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19709 same thing in a totally different way.
c906108c
SS
19710
19711 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19712 setting "timeout".
c906108c 19713 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19714 default_gdb_init now.
c906108c
SS
19715
19716Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19717
19718 * gdb.base/printcmds.exp: Fix "check for floating addition"
19719 regexp to accept results within approx +/- .01 of exact value.
19720 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19721
19722Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19723
19724 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19725 properly.
c906108c
SS
19726 (gdb_expect): Add optional timeout parameter, and add timeout
19727 value to various calls.
19728 (gdb_suppress_tests): Only give one warning message per group.
19729
19730Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19731
19732 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19733 global variables. Handle getting a value for $timeout more
19734 gracefully.
c906108c
SS
19735
19736Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19737
19738 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19739 initialize.
c906108c 19740 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19741 by a target configuration file.
c906108c
SS
19742 (gdb_expect): Pass the timeout to remote_expect.
19743
19744 * config/monitor.exp(gdb_load): Fix typo in regexp.
19745
19746Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19747
19748 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19749
19750Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19751
19752 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19753 here. Call gdb_target_exec before rebooting the target, to make
19754 sure the connection to the target is closed.
c906108c
SS
19755 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19756 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19757 Also detect "Timeout reading from remote" error.
19758
19759 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19760 gdb_target_monitor. Don't call gdb_file_cmd here; let
19761 gdb_target_monitor do it.
c906108c
SS
19762
19763 * gdb.disasm/hppa.exp: Don't use exec_output.
19764
19765Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19766
19767 * gdb.base/list.exp: If we're debugging a non-native target,
19768 try to set the pc register to point to the start of the
19769 program before doing the first list command.
19770
19771 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19772 test_calls after restarting.
c906108c
SS
19773
19774 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19775 reloading.
c906108c
SS
19776
19777 * gdb.base/watchpoint.exp: Fix typo.
19778
19779 * gdb.base/setshow.exp: Check for use_gdb_stub.
19780
19781 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19782 stub case.
c906108c
SS
19783 * gdb.base/langs.exp: Ditto.
19784
19785 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19786 gdb_load_offset. If we weren't given a file to load, figure out
19787 what the current file is and use it.
c906108c
SS
19788
19789 * config/i386-bozo.exp: New file.
19790
19791Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19792
19793 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19794 feature.
19795
19796 * config/proelf.exp: New entry.
19797
19798Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19799
19800 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19801 of regexps.
19802
19803 * gdb.base/watchpoint.exp: Don't run the test_stepping
19804 tests if gdb can't call functions on the target.
19805
19806 * gdb.base/setshow.exp: Don't run the set prompt tests if
19807 the board has gdb_prompt set.
19808
19809Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19810
19811 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19812 * gdb.base/commands.exp: Likewise.
19813 * gdb.base/setshow.exp: Likewise.
19814
19815Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19816
19817 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19818 feature.
19819
19820 * config/i960.exp: New file.
19821
19822Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19823
19824 * gdb.base/funcargs.exp: Check for gdb,short_int target
19825 feature instead of looking for explicit target triplets.
19826
dc96c6c7 19827Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19828
d63a86f8 19829 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19830 "p 123DEADBEEF", to check parse_number.
19831 * top.c: change "to enable to enable" to "to enable" in a couple
19832 of help strings.
19833
19834Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19835
19836 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19837 on the mn10300.
d63a86f8 19838
c906108c
SS
19839Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19840
19841 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19842 where the test executable is run with explicit args.
19843 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19844
19845Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19846
19847 * gdb.base/run.c: Use FAKEARGV to build test executable that
19848 does not require a command line arg, since most simulators
19849 don't currently support passing such an arg into the simulated
19850 program.
19851 * gdb.base/commands.exp: Change tests to insert the proper
19852 value as the arg to the first recursive factorial call. Change
19853 compilation line to define FAKEARGV at compile time.
19854
19855Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19856
19857 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19858 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19859 function with watchpoint enabled" test.
19860
19861Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19862
19863 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19864 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19865
19866 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19867 "Tests restarted" messages.
c906108c
SS
19868
19869Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19870
19871 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19872
dc96c6c7 19873Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19874
19875 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19876 for INFO SYMBOL; add help tests for OVERLAY commands.
19877 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19878 add tests for OVERLAY commands
19879 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19880 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19881 * gdb.base/sigall.c: add usestubs code frag
19882 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19883
c906108c
SS
19884Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19885
19886 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19887 failures.
19888 (gdb_stop_suppressing_tests): Note that tests have restarted.
19889
19890Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19891
19892 * config/h8300.exp: New file.
19893
19894Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19895
19896 * gdb.base/setshow.exp: Check for the existence of a
19897 feature, not its value.
19898
19899Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19900
19901 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19902
19903 * gdb.base/scope.exp: It's now init0(), not init().
19904
19905 * gdb.base/scope0.c: For now, change init() to be init0().
19906
19907 * config/monitor.exp: Use gdb_serial in preference to serial
19908 or netport.
19909
19910 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19911 and it's not already set.
c906108c
SS
19912
19913Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19914
19915 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19916 isn't using a stub and if it supports argument passing.
c906108c
SS
19917
19918Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19919
19920 * config/udi.exp(gdb_start): Make sure UDICONF is set
19921 properly before starting gdb.
19922
19923Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19924
19925 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19926 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19927 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19928
19929Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19930
19931 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19932 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19933
19934 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19935
19936 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19937
19938 * config/monitor.exp: Make sure we disconnect from the target.
19939 Also, try a reboot/reload cycle instead of failing if the
19940 load fails.
19941
19942Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19943
19944 * gdb.base/default.exp: Don't set match_max.
19945 * gdb.base/help.exp: Ditto.
19946 * gdb.base/list.exp: Ditto.
19947 * gdb.base/signals.exp: Ditto.
19948
19949 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19950 set, use remote_ld to download the testcase instead of
19951 the GDB loader.
19952
19953Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19954
19955 * config/vr5000.exp: New file.
19956
19957 * config/monitor.exp(gdb_target_monitor): Add pattern for
19958 "Ending remote" to detect errors in connecting.
19959
19960 * gdb.base/setshow.exp: Add .* within auto language test.
19961
19962 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19963 target feature.
19964
19965 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19966 and reboot the board if necessary.
c906108c
SS
19967
19968 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19969 a set of tests. Remove print.* from the patterns being checked.
19970
19971Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19972
19973 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19974 refer to gdb_spawn_id.
19975
19976 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19977 longer used.
19978 * config/sparclet.exp: Ditto.
19979 * config/sparclet-old.exp: Ditto.
19980 * config/slite.exp: Ditto.
19981 * config/sim.exp: Ditto.
19982 * gdb.base/funcargs.exp: Ditto.
19983
19984 * lib/gdb.exp:Remove references to gdb_spawn_id.
19985 (gdb_expect): Move to remote.exp.
19986
19987Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19988
19989 * config/monitor.exp: Detect the "Couldn't establish connection"
19990 message from GDB.
19991
19992Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19993
19994 * gdb.base/bitfields.exp: Use runto instead of explicit
19995 gdb_run_cmd/gdb_expect sequences.
19996
19997 * gdb.base/break.exp(text_next_with_recursion): Add match for
19998 gdb_expect call.
19999
20000 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20001 We also need to handle the "A program is being debugged already"
20002 prompt from gdb. Use gdb_test to set the baud rate.
20003
20004 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20005 to 20000. Really. I mean it.
20006
20007Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20008
20009 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20010 fails. If suppress_flag is set, skip perror message about not
20011 being able to send to GDB.
c906108c 20012 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20013 GDB.
c906108c
SS
20014 (gdb_expect): If suppress_flag is set, always fail immediately.
20015 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20016 (gdb_init): Call gdb_stop_suppressing_tests.
20017 (default_gdb_exit): Ditto.
20018 (default_gdb_start): Ditto.
20019
20020 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20021 gdb_stop_suppressing_tests as appropriate.
c906108c 20022 * gdb.base/break.exp: Ditto.
889bf7c5 20023 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20024 * gdb.base/commands.exp: Ditto.
20025 * gdb.base/exprs.exp: Ditto.
889bf7c5 20026 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20027 * gdb.base/list.exp: Ditto.
20028 * gdb.base/recurse.exp: Ditto.
889bf7c5 20029 * gdb.base/scope.exp: Ditto.
c906108c
SS
20030 * gdb.base/structs.exp: Ditto.
20031 * gdb.c++/inherit.exp: Ditto.
20032
20033Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20034
20035 * config/vr4300.exp: New file.
20036
99707966 20037 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20038
99707966 20039 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20040
20041Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20042
20043 * lib/gdb.exp(gdb_init): New function.
20044
20045 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20046 for each individual variable set.
c906108c
SS
20047
20048 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20049 name.
20050
20051 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20052
20053 * gdb.base/scope.exp: Use gdb_test.
20054
20055 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20056 aborting; the testsuite driver will do that for us (see
20057 gdb_finish). Also, use gdb_test in a few more places.
20058
20059Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20060
20061 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20062
20063Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20064
20065 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20066 and "add_tests" are not at the same address.
20067
20068Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20069
20070 * gdb.base/ptype.exp: Use gdb_test.
20071
20072Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20073
20074 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20075 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20076 left in. No longer expect them to fail.
20077
20078 * gdb.stabs/*.mt; Deleted, no longer used.
20079 * gdb.stabs/configure.in: Remove references to target makefile
20080 frags.
20081 * gdb.stabs/configure: Rebuilt.
20082
20083 * gdb.disasm/*.mt: Deleted, no longer used.
20084 * gdb.disasm/configure.in: Remove references to target makefile
20085 frags. Use "sh3.s" as the unique filename for this directory.
20086 * gdb.disasm/configure: Rebuilt.
20087
20088 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20089 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20090 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20091
20092Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20093
20094 * config/udi.exp: Use mondfe,name instead of remote_host.
20095
20096Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20097
20098 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20099 a function with a watchpoint enabled on the mn10200.
20100
20101 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20102 before trying to create it!
20103
20104Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20105
20106 * config/vx.exp: Use hostname instead of netport.
20107
20108 * config/vxworks.exp: New file.
20109
20110 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20111
20112 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 20113 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
20114 occurs.
20115
20116 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20117 $gdb_spawn_id directly.
20118 (gdb_run_cmd): Try _start as well as start. Use the target feature
20119 gdb,start_symbol as the symbol to start from when jumping.
20120
20121Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20122
20123 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20124 redundant) test.
20125
20126 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20127 it doesn't lose for 16bit integer systems.
20128
20129Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20130
20131 * gdb.fortran/types.exp: If the target doesn't support "double"
20132 data types, then expect "real" types to only be 4 bytes.
20133
20134 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20135 call tests if the target doesn't support inferior function calls.
20136
20137 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20138 in printf tests.
20139
20140Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20141
20142 * gdb.base/help.exp: Disable "help set", "help show", and
20143 "help support". Simplify regexp for "help stack".
20144
20145 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20146 to 60 seconds. Temporarily set match_max to 15000 around the
20147 "info copying" test.
20148
20149 * gdb.base/nodebug.exp: Don't try to do an inferior function
20150 call if the target doesn't support them.
20151 * gdb.base/printcmds.exp: Likewise.
20152 * gdb.base/setvar.exp: Likewise.
20153 * gdb.base/structs.exp: Likewise.
20154 * gdb.c++/templates.exp: Likewise.
20155 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20156
20157 * gdb.base/recurse.exp: Enable for the mn10200.
20158
20159 * configure.in: Do configure gdb.stabs directory for *-*-elf
20160 targets.
20161 * configure: Rebuilt.
20162
20163 * gdb.base/break.exp: Check for gdb,noresults before testing
20164 exit status and/or results from the target.
20165 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20166 * lib/gdb.exp: Remove old (now bogus) initialization of
20167 noinferior, noargs, noresults and nosignals.
20168
20169Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20170
20171 * config/sh.exp: New file.
20172
20173 * config/slite.exp: Try to connect multiple times to the board
20174 before rebooting. Only send a "monitor run" if need_monitor_run
20175 is set.
20176
20177 * gdb.base/break.exp: Don't do the "stub continue" test if
20178 the target has gdb_stub set.
20179
20180 * gdb.base/callfuncs.exp: Increase the timeout.
20181
20182 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20183 if the target has gdb,noinferiorio set.
20184
20185 * gdb.base/list.exp: Increase match_max to 10000 characters.
20186
20187 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20188
20189 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20190 target.
20191
20192 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20193
20194Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20195
20196 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20197 trying to delete the copy of gdb. Catch the file delete so we
20198 don't die if the delete fails; also, the file should be copied to
20199 the host, not to the build.
c906108c
SS
20200
20201Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20202
20203 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20204 parenthesis in case it contains multiple regexps separated
c906108c
SS
20205 with |.
20206
20207 * gdb.base/watchpoint.exp: Use gdb_test.
20208 * gdb.base/default.exp: Ditto.
20209
20210Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20211
99707966 20212 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20213
c906108c
SS
20214 * gdb.base/scope.exp: Use gdb_test.
20215 * gdb.c++/classes.exp: Ditto.
20216 * gdb.c++/inherit.exp: Ditto.
20217
20218Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20219
20220 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20221 remote_exec instead.
20222 * gdb.base/corefile.exp: Don't be ridiculous.
20223 * gdb.base/*.c: Add missing stub invocations.
20224
20225Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20226
20227 * config/slite.exp: Miscellaneous fixes.
20228
20229 * lib/gdb.exp: Fix runto.
20230
20231 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20232 the target.
20233
20234 * gdb.base/watchpoint.exp: Fix regexp.
20235
20236 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20237 close and wait commands, as the descriptor may now be
20238 invalid. Always call "remote_close host".
20239
20240Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20241
20242 Major rewrite for testsuite revision.
d63a86f8 20243
c906108c
SS
20244 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20245 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20246 instead of relying on spawn_id to always contain a valid
20247 spawn id.
20248 (get_compiler_info): New procedure to build the ${binfile}.ci
20249 file, instead of replicating this in N different places.
20250 (gdb_compile): New procedure.
d63a86f8 20251
c906108c 20252 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20253 appropriate arguments) instead of compile. Use gdb_test in a lot
20254 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20255 at the start of a testcase, as this is no longer done magically.
20256
20257 config/*-gdb.exp: Rename without the -gdb suffix.
20258
20259 config/mips.exp: Use remote_close instead of exit_remote_shell.
20260 config/monitor.exp: Use target_info instead of looking at
20261 baud, timeout, etc.
20262 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20263
20264Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20265
20266 * gdb.c++/templates.exp (test_ptype_of_templates),
20267 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20268 Update expect patterns for destructors and assignment operators
20269 to match corresponding c-typeprint.c changes.
20270 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20271 to destructor breakpoint test, GDB should be able to set the
20272 destructor breakpoint without specifying arguments.
20273
20274Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20275
20276 * gdb.threads/pthreads.exp: Change result for failure to compile due
20277 to lack of pthreads runtime support from an error to simply an
20278 unsupported test, per dejagnu standards.
20279
20280Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20281
20282 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20283 where GDB exits to reduce pattern match time.
20284 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20285
20286 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20287
dc96c6c7 20288Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20289
20290 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20291 * gdb.base/default.exp: ditto.
20292 * gdb.base/nodebug.exp: ditto.
20293 * gdb.base/printcmds.exp: ditto.
20294 * gdb.base/ptype.exp: ditto.
20295 * gdb.base/setvar.exp: ditto.
20296 * gdb.base/structs.exp: ditto.
20297 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20298
20299Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20300
20301 * configure, */configure: Rebuild with autoconf 2.12.
20302
20303Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20304
20305 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20306 use new i*86-pc-linux*-gnu quads.
20307 * gdb.base/corefile.exp: Ditto.
20308 * gdb.base/signals.exp: Ditto.
20309 * gdb.base/sigall.exp: Ditto.
20310 * gdb.base/interrupt.exp: Ditto.
20311
20312 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20313 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20314 RedHat 4.0.
d63a86f8 20315
c906108c 20316 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20317 linux. This allows the test case to at least compile on latest
20318 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20319
20320Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20321
20322 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20323 directory to search gdb directory. Accept and step over conditional
20324 stack alignment code. Consume $prompt in failure cases.
20325 Reset timeout to $oldtimeout instead of some arbitrary value.
20326 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20327 timeout problems with infinite stack backtraces.
20328 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20329 Accept function parameters for linkfunc member.
20330
20331Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20332
20333 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20334 (CXXFLAGS): Remove, unreferenced.
20335 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20336 previous -B options and also add -B option to pick up cross compiled
20337 runtime.
c906108c
SS
20338 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20339 doing cross compiles.
20340 (target_alias): Declare global.
20341 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20342 to verify that gcc exists in build tree, and if so set CC to that
20343 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20344
c906108c
SS
20345Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20346
20347 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20348 ptype test for anonymous union. Fixup testcase to match
20349 current gcc debug output.
20350
20351Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20352
20353 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20354 force argument to an unsigned long type.
20355
20356Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20357
20358 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20359 tests and anonymous union print/ptype tests.
c906108c
SS
20360 * gdb.base/list.exp (test_forward-search): Increase timeout by
20361 5 minutes for the "search extremely long line" case.
20362 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20363 completely optional and that the pass/fail messages use the command as
20364 the message if that third arg is a null string.
20365 (gdb_test_exact): Arrange that a null string pattern means match a
20366 null string output rather than any output, which might include random
889bf7c5 20367 errors.
c906108c
SS
20368 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20369 backtrace test.
20370 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20371 always failing and failure is now exposed by gdb.exp changes.
20372
20373Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20374
20375 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20376 weren't being noted.
20377
20378Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20379
20380 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20381 * gdb.stabs/weird.exp: Remove v_comb xfails.
20382
dc96c6c7 20383Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20384
20385 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20386 list.exp scope.exp watchpoint.exp]
c906108c 20387 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20388
dc96c6c7 20389Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20390
20391 * config/monitor.exp: Increase download timeout to 1000 seconds.
20392
dc96c6c7 20393Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20394
20395 * config/m32r.exp: Increase timeout to 120 seconds.
20396
20397Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20398
20399 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20400 and accept older ordering as obsolescent gcc or gdb.
20401 * gdb.c++/templates.exp: Ditto.
20402 * gdb.c++/virtfunc.exp: Ditto.
20403
20404Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20405
20406 * gdb.base/coremaker.c: Add code to mmap some data so we
20407 can check that it ends up in the core file.
20408 * gdb.base/corefile.exp: Add test to read mmapped data
20409 from core file.
20410
dc96c6c7 20411Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20412
20413 * config/m32r.exp: New file.
20414
20415Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20416
20417 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20418 that cflags can contains -gstabs, and work correctly for other tests.
20419
dc96c6c7 20420Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20421
20422 * gdb.base/setshow.exp: New file, tests show and set.
20423 * gdb.base/setshow.c: New file, tests show and set.
20424 * gdb.base/help.exp: Add test for help set|show annotate.
20425 * gdb.base/default.exp: Add test for set|show annotate.
20426
20427Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20428
20429 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20430 errors unique.
20431 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20432 explicitly.
20433
20434Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20435
20436 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20437 and width commands. This is done elsewhere.
20438 * (gdb_start): Don't call gdb_start_sim here. That's already
20439 done in gdb_load. This fixes lots of failures in default.exp.
20440
20441Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20442
20443 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20444 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20445 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20446 in the same we we treat other failures (since it may be an expected
889bf7c5 20447 condition), rather than as an error.
c906108c
SS
20448 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20449 old test format.
20450
20451Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20452
20453 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20454 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20455 twice. Nuke the duplicates.
c906108c 20456 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20457 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20458 Remove config.h along with other config files.
20459
20460Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20461
20462 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20463 "p func1 ()" and note that rests of tests are skipped.
20464 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20465 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20466 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20467 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20468 affected by the previous run test.
20469 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20470 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20471 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20472 "pass int powerset tuple" and "pass modeless int powerset tuple".
20473 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20474 "real write 4" and "real write 8".
20475 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20476 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20477 "print \$i after tuple assign 2", and
20478 "print vs2 after tuple assign 2".
20479 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20480 meaningful error message and return -1 so the caller can
20481 suppress further tests and avoid a cascade of errors.
d63a86f8 20482
c906108c
SS
20483Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20484
20485 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20486 format for printing version.
20487 * gdb.base/default.exp: Ditto.
20488 * gdb.base/interrupt.exp: Fix problem with cascade of
20489 errors if child process dies while calling a function.
d63a86f8 20490
c906108c
SS
20491Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20492
20493 * Makefile.in (VPATH): Add
20494 * Makefile.in (Makefile, config.status): Fix rules so things get
20495 remade when necessary.
20496
20497Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20498
20499 * Makefile.in (just-check): Add path to sibling expect dir
20500 to environment variable specified by RPATH_ENVVAR.
20501
20502Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20503
20504 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20505 (just-check): Add shared library paths for libstdc++, tk,
20506 tcl, bfd, and opcodes to the environment variable specified
20507 in RPATH_ENVVAR.
20508 * configure.in: Add support to recognize --enable-shared flag
20509 and generate correct value for RPATH_ENVVAR.
20510 * configure: Regenerated with autoconf.
20511
20512Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20513
20514 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20515 include all osf versions.
c906108c
SS
20516 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20517 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20518 when target is linux. When failing to build pthreads test
20519 executable, give more meaningful message.
20520 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20521 arg for pthread_create.
d63a86f8 20522
c906108c
SS
20523Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20524
20525 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20526 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20527 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20528 and -lpthreads (everybody else).
c906108c
SS
20529 (test_startup): Fail gracefully if threads are not supported.
20530 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20531 "p/c array_index("abcdef",2)" when not gcc compiled.
20532 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20533 "print func2::coremaker_local" when not gcc compiled.
20534 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20535 "ptype on opaque struct tagname (statically)",
20536 "ptype on opaque struct tagname (dynamically) 1", and
20537 "ptype on opaque struct tagname (dynamically) 2"
20538 for not compiled with gcc.
20539 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20540 backtrace when compiled with gcc.
d63a86f8 20541 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20542 than always return success.
20543
20544Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20545
20546 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20547
20548Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20549
20550 * gdb.base/structs.exp: Undo last change.
20551
20552Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20553
20554 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20555 encapsulate all the steps/nexts done during self test, starting
20556 at main, and makes them less sensitive to optimization issues.
20557 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20558 signal handler" test.
20559 * gdb.threads/pthreads.exp: Only run this for native configs.
20560 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20561 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20562 tests.
20563 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20564 for "runto test_calls(void)" test.
d63a86f8 20565
c906108c
SS
20566Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20567
20568 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20569 and don't expect address info in breakpoint confirmations.
20570
20571Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20572
20573 * gdb.base/list.exp (test_forward_search): Increase timeout
20574 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20575 and then reset to old value when done. Increase expect input
c906108c
SS
20576 buffer to 10000.
20577
20578Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20579
20580 * gdb.base/list.exp (test_forward_search): Fix to handle very
20581 long source line without overflowing expect's input buffer.
20582
20583Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20584
20585 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20586 "buffer_full".
20587
20588 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20589 "buffer_full".
20590
20591 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20592 "buffer_full".
20593
20594 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20595 "buffer_full".
20596
20597Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20598
20599 * configure.in (configdirs): Add gdb.threads.
20600 * configure: Regenerated with autoconf.
20601 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20602 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20603 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20604
c906108c
SS
20605Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20606
20607 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20608
20609Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20610
20611 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20612 each signal's status in the output of "handle all print".
20613 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20614 the \r\n sequence that immediately precedes the gdb prompt.
20615 * gdb.base/a1-selftest.exp: Save original timeout and restore
20616 after test.
20617
20618Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20619
20620 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20621 symbol.
20622
20623Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20624
20625 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20626
20627Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20628
20629 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20630 timeout by 60 seconds.
20631
20632Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20633
20634 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20635 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20636 error return.
20637
20638Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20639
20640 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20641 gdb initialization, also report how long dejagnu waited. Restore
20642 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20643 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20644
20645Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20646
20647 * lib/gdb.exp: Report timeout value for verbosity level 2.
20648 * config/gdbserver.exp: Ditto.
20649 * config/hppro.exp: Ditto.
20650 * config/mips-gdb.exp: Ditto.
20651 * config/monitor.exp: Ditto.
20652 * config/netware.exp: Ditto.
20653 * config/sim-gdb.exp: Ditto.
20654 * config/slite-gdb.exp: Ditto.
20655 * config/udi-gdb.exp: Ditto.
20656 * config/unix-gdb.exp: Ditto.
20657 * config/vx-gdb.exp: Ditto.
20658 * gdb.base/a1-selftest.exp: Ditto.
20659 * gdb.base/a2-run.exp: Ditto.
20660 * gdb.base/break.exp: Ditto.
20661 * gdb.base/corefile.exp: Ditto.
20662 * gdb.base/list.exp: Ditto.
20663 * gdb.base/recurse.exp: Ditto.
20664 * gdb.base/scope.exp: Ditto.
20665 * gdb.base/signals.exp: Ditto.
20666
20667Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20668
20669 * gdb.threads/Makefile.in (docdir): Removed.
20670
20671Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20672
20673 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20674 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20675 @srcdir@.
d63a86f8 20676 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20677 autoconf 2.5 or higher.
20678 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20679
20680Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20681
20682 * configure: Regenerated.
20683 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20684 avoid name clashes with SunOS headers.
20685
20686Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20687
20688 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20689
20690Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20691
20692 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20693 prototype information ends up in the compiler info file.
20694
20695Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20696
20697 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20698 attempting to regenerate it. Eliminate use of a temporary file
20699 and just generate the info file directly. Source it immediately,
20700 for consistency of use.
20701 * gdb.base/corefile.exp: Ditto
20702 * gdb.base/exprs.exp: Ditto.
20703 * gdb.base/funcargs.exp: Ditto.
20704 * gdb.base/langs.exp: Ditto.
20705 * gdb.base/list.exp: Ditto.
20706 * gdb.base/mips_pro.exp: Ditto.
20707 * gdb.base/nodebug.exp: Ditto.
20708 * gdb.base/opaque.exp: Ditto.
20709 * gdb.base/ptype.exp: Ditto.
20710 * gdb.base/scope.exp: Ditto.
20711 * gdb.base/setvar.exp: Ditto.
20712 * gdb.base/signals.exp: Ditto.
20713 * gdb.base/whatis.exp: Ditto.
20714 * gdb.c++/templates.exp: Ditto.
20715 * gdb.c++/virtfunc.exp: Ditto.
20716 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20717 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20718
20719Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20720
20721 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20722 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20723 Increase timeout, a lot of single stepping might be needed if the
20724 target has no hardware watchpoints.
20725
20726Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20727
20728 * gdb.base/break.exp: Ignore compiler warnings when compiling
20729 break.c.
20730 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20731 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20732 from remote-sim.
20733 * gdb.base/exprs.exp: Add h8300 xfails.
20734 * gdb.base/funcargs.exp: Likewise.
20735 * gdb.base/nodebug.exp: Likewise.
20736 * gdb.base/printcmds.exp: Likewise.
20737 * gdb.base/ptype.exp: Likewise.
20738 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20739 h8300 xfails.
d63a86f8 20740 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20741 on the h8300.
20742 * gdb.base/funcargs.c: Explicitly make last constant argument to
20743 call_after_alloca_subr an unsigned long type.
20744 * gdb.base/return.c: Include stdio.h.
20745
20746Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20747
20748 * config/abug.exp: New file for the older Motorola Bug monitor
20749 that runs on the mvme13x series VME boards.
20750 * config/monitor.exp: Use the new config array for target settings
20751 if they exist.
20752
20753Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20754
20755 * sim-gdb.exp: Make the SH simulator allocate less space when
20756 it is targeted.
20757
20758Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20759
20760 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20761 test.
20762
20763Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20764
20765 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20766 "rs6000-*-*" for "list function in include file" when gcc compiled.
20767 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20768 for "p ctable1[120]".
20769 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20770 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20771 Remove setup_xfail for "rs6000-*-*" for
20772 "print 'scope0.c'::filelocal before run".
20773 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20774 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20775 since some compilers don't allow both options to be given
20776 on the same command line. Create object file and move it.
d63a86f8 20777
c906108c
SS
20778Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20779
20780 * gdb.base/corefile.exp: Always regenerate the core file, since
20781 we always regenerate the coremaker program. Detect special case
20782 where registers cannot be read from core file.
d63a86f8 20783
c906108c
SS
20784Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20785
20786 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20787 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20788 * gdb.c++/templates.exp: Only match on basename of file since
20789 some formats like xcoff don't encode directory information.
20790 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20791 and rs6000 AIX xcoff targets.
20792 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20793 * configure: Regenerate.
20794 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20795 here, rather than in distclean.
d63a86f8 20796
c906108c
SS
20797Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20798
20799 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20800 defined, and use it to compile the test case with -O2. The
20801 native compilation still uses no optimization.
20802 * gdb.base/mips_pro.c: Remove inline assembly code since
20803 it is compiled PIC by default, which results in assembler
20804 warnings that make the testsuite think the compilation
20805 was unsuccessful.
20806
20807Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20808
20809 * gdb.c++/misc.exp: Add note to message for
20810 "print s.a for foo struct" that this is a known gcc 2.7.2
20811 and earlier bug.
20812
20813Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20814
20815 * gdb.base/break.exp: Fix pattern for matching "Delete all
20816 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20817 setup_xfail for deleting all breakpoints test. Fix various
20818 timeout messages to include "(timeout)".
20819 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20820 for "p t_float_values2(3.14159,float_val2)".
20821 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20822 for "continue to call2g" when gcc compiled.
20823 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20824 "up to foo in langs.exp", "show language at foo in langs.exp",
20825 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20826 and "show language at fsub in langs.exp".
20827 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20828 "list line 1 in include file", "list message for lines past EOF",
20829 "list function in include file", "list list0.h:foo", and
20830 "list filename:function; nonexistant function".
20831 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20832 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20833 and "ptype t_char_array" to be for native cc only.
d63a86f8 20834
c906108c
SS
20835Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20836
d63a86f8 20837 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20838 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20839 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20840
20841Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20842
20843 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20844 "bt in signals.exp". This problem only appears when running
20845 the testsuite, and then only intermittently.
20846
20847Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20848
20849 * gdb.base/return.exp (return_tests): Differentiate between
20850 two tests of continuing.
20851
20852Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20853
20854 * */Makefile.in (maintainer-clean): Remove config.log.
20855 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20856 * gdb.c++/Makefile.in (PROGS): Add inherit.
20857 (clean): Remove *.ci.
20858
20859Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20860
20861 * gdb.c++/misc.cc: Add test code from Mike Stump.
20862 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20863
20864Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20865
20866 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20867 to "alpha-*-osf2*" and add comment.
20868 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20869 setup_xfail for "step over execarg initialization" and
20870 "step over corearg initialization".
c906108c
SS
20871 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20872 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20873 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20874 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20875 "print func2::coremaker_local", and "backtrace in corefile.exp".
20876 * gdb.base/signals.exp: Build and source signals.ci.
20877 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20878 to be for gcc only.
20879 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20880
c906108c
SS
20881Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20882
20883 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20884 Feb 3 procfs.c change.
20885
20886Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20887
20888 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20889
20890Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20891
20892 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20893 from dejagnu's apparent default of 10 seconds, which gives random
20894 results when running the tests over NFS on moderately loaded systems.
20895 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20896
20897Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20898
20899 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20900 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20901 result reports.
c906108c
SS
20902
20903Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20904
20905 * configure.in (CY_AC_PATH_TCLH): Remove.
20906 * configure: Regenerate.
20907
20908Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20909
20910 * gdb.c++/Makefile.in (clean): Add missing '{'.
20911
20912Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20913
20914 * lib/gdb.exp: Provide a default value for noinferior.
20915
20916 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20917 Load libgloss.exp.
20918
20919Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20920
20921 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20922 the executable, not the .o to run the tests from.
20923
20924Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20925
20926 * gdb.base/break.exp: Don't test for program exit or exit status
20927 if $noresults if nonzero.
20928 * gdb.base/langs.exp: Likewise.
20929 * gdb.base/watchpoint.exp: Likewise.
20930
20931 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20932 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20933 trying to compile the testcase.
20934
20935Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20936
20937 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20938 * gdb.base/signals.exp (continue to handler): Likewise.
20939
20940Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20941
20942 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20943
20944 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20945
20946Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20947
20948 * gdb.base/corefile.exp: Recognize "not found" as failure
20949 when trying to determine if a core file was generated.
20950 If no core file was generate the first time, try again without
20951 the ulimit -c to work around braindamaged shells.
20952
20953Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20954
20955 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20956 [] tests with "test" and enclose string in quotes.
20957 * gdb.stabs/configure: Rebuild
d63a86f8 20958
c906108c
SS
20959Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20960
20961 Changes in sync with expect:
20962 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20963 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20964 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20965 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20966 argument to AC_REQUIRE.
20967 * configure: Regenerated.
20968
20969Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20970
20971 * gdb.base/corefile.exp: When generating a core, discard any
20972 error messages about ulimit not found and the "core dumped"
20973 message from the shell that runs the coredumper.
20974
20975Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20976
20977 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20978
20979 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20980 which sed script to run. Expect failure for v_comb test
20981 on PA targets too.
d63a86f8 20982
c906108c
SS
20983Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20984
20985 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20986 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
20987
20988Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20989
20990 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20991 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 20992 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
20993 * lib/gdb.exp (default_gdb_start): Fix typo.
20994 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20995 messages to not include the full program name that caused
20996 the core dump since some systems (such as solaris) apparently
20997 truncate this path to about 80 characters.
20998 When generating a core file first try increasing the core file
20999 size limit to unlimited since some systems may default it to
21000 zero, and it is harmless to try it. Move the test for failing
21001 to generate a core file to where it will actually get executed.
21002 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21003 new gdb result from g++ debug info improvements and make old
21004 pattern obsolescent. Also account for size_t differences
21005 (may be int or long).
21006 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21007 initialization before function call is placed in the delay slot
21008 and thus appears to be skipped over by commands such as "next".
21009
21010Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21011
21012 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21013
21014Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21015
21016 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21017 input source file; fix code to compile test to deal with this
21018 convention.
21019 * gdb.c++/*.exp: Likewise.
21020
21021Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21022
21023 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21024 "bt in signals.exp".
21025
21026Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21027
21028 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21029 "step over execarg initialization" and
889bf7c5 21030 "step over corearg initialization".
c906108c
SS
21031
21032Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21033
21034 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21035 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21036
21037Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21038
21039 From Rob Savoye (rob@poseidon.cygnus.com)
21040 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21041 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21042 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21043 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21044 configure.in}: Major reworking for autoconfig.
c906108c
SS
21045 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21046 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21047 New files.
c906108c
SS
21048 * config/unix-gdb.exp: Make GDB global.
21049 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21050 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21051 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21052 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21053 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21054 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21055 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21056 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21057 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21058 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21059 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21060 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21061 to returns as necessary, arrange for test to compile own testcase
21062 executable.
c906108c 21063 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21064
c906108c
SS
21065Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21066
21067 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 21068 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
21069 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21070 "backtrace through signal handler".
21071
21072Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21073
21074 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21075 continuing from a job control stop signal.
21076 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21077
21078Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21079
21080 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21081 * gdb.base/corefile.exp: Likewise.
21082 * gdb.base/funcargs.exp: Likewise.
21083
21084Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21085
21086 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21087 * config/monitor.exp: Add support for setting baud rate.
21088
21089Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21090
21091 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21092 i*86-*-linux* xfails for "backtrace through signal handler".
21093 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21094 "print func2::coremaker_local".
21095 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 21096 alpha-dec-osf2* xfail for
c906108c
SS
21097 "delete all breakpoints when none".
21098
21099Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21100
21101 * gdb.base/break.exp: Change test that deletes all breakpoints
21102 when no user breakpoints are installed. A post 4.15 change
21103 causes gdb to no longer prompt in this case.
21104
21105Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21106
21107 * gdb.base/return.exp (return_tests): Change xfail for test
21108 "correct value returned double test" to stop xfailing at
21109 Solaris 2.5. Apparently the bug has been fixed.
21110
21111Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21112
21113 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21114 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21115
21116Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21117
21118 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21119 * gdb.disasm/hppa.s: Corresponding changes.
21120
21121Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21122
21123 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21124 makefile fragment.
21125 * config/mt-hpux: Deleted.
21126
21127Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21128
d63a86f8 21129 * Many files: When warning about suppressed tests due to a
c906108c
SS
21130 nonexistant test binary, avoid incrementing the warning count.
21131
21132Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21133
21134 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21135
c906108c
SS
21136Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21137
21138 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21139 "sparc-*-solaris2*".
21140
21141Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21142
21143 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21144 Add global and local variables and initialize them.
21145 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21146 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21147 extracts the file name and terminating signal from the core file.
21148 * TODO: Remove note about tests for correct mapping of corefile.
21149 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21150 from optimizing it away.
21151 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21152 handles common blocks.
21153
21154Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21155
21156 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21157 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21158
21159Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21160
21161 * Makefile.in (maintainer-clean): New target, synonym for
21162 realclean.
21163 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21164 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21165 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21166 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21167 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21168 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21169
21170Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21171
21172 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21173 xfails when not gcc compiled for "print foo::funclocal".
21174 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21175 "print foo::funclocal at foo",
21176 "print 'scope1.c'::foo::funclocal at foo",
21177 "print foo::funclocal_bss at foo",
21178 "print 'scope1.c'::foo::funclocal_bss at foo",
21179 "print foo::funclocal_ro at foo",
21180 "print 'scope1.c'::foo::funclocal_ro at foo",
21181 "print bar::funclocal at foo" and
21182 "print 'scope1.c'::bar::funclocal at foo".
21183 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21184 gcc compiled for "print foo::funclocal at bar".
21185 Expand all messages to ensure that they identify that
21186 the test is at bar().
21187 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21188 gcc compiled for:
21189 "ptype on opaque struct pointer (statically)",
21190 "ptype on opaque struct tagname (statically)",
21191 "ptype on opaque struct pointer (dynamically) 1",
21192 "ptype on opaque struct tagname (dynamically) 1",
21193 "ptype on opaque struct pointer (dynamically) 2" and
21194 "ptype on opaque struct tagname (dynamically) 2
21195 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21196 gcc compiled for:
21197 "p datalocal"
21198 "whatis datalocal",
21199 "ptype datalocal",
21200 "p bsslocal",
21201 "whatis bsslocal", and
21202 "ptype bsslocal".
21203 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21204 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21205 when not gcc compiled.
21206 * gdb.base/funcargs.exp (float_and_integral_args): Add
21207 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21208 compiled.
21209 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21210 "backtrace from call6a" when not gcc compiled.
21211 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21212 "backtrace from call7a" when not gcc compiled.
21213 * gdb.base/callfuncs.exp (do_function_calls):
21214 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21215 "p t_char_array_values(char_array_val2,char_array_val1)",
21216 "p t_char_array_values(char_array_val1,char_array_val2)",
21217 "p t_char_array_values("carray 1","carray 2")",
21218 "p t_char_array_values("carray 1",char_array_val2)",
21219 "p t_char_array_values(char_array_val1,"carray 2")",
21220 "p sum_args(1,{2})",
21221 "p sum_args(2,{2,3})",
21222 "p sum_args(3,{2,3,4})",
21223 "p sum_args(4,{2,3,4,5})"
21224 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21225 "backtrace in corefile.exp" when not gcc compiled.
21226
21227Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21228
21229 * gdb.base/signals.exp: Rewrite `handle all print' test as
21230 a procedure. Accept blanks or TABs as whitespace, increase
21231 timeout and expect input buffer size for the large output
21232 from the command. Remove "i*86-*-bsdi2.0" xfail.
21233
21234Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21235
21236 * gdb.base/setvar.exp: Add new testcases for truncation when
21237 assigning invalid values to bitfields.
21238
21239Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21240
d63a86f8 21241 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21242 mips-sgi-irix* xfail for
21243 "call inferior func with struct - returns char *"
21244 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21245 accepted in the result.
c906108c
SS
21246
21247Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21248
21249 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21250 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21251 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21252 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21253 that accidentally got checked in.
21254
21255Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21256
d63a86f8 21257 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21258 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21259 compiled test.
21260 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21261 Add mips-sgi-irix5* xfail for not gcc compiled.
21262 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21263 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21264 "p top", "whatis top", "p middle", and "whatis middle".
21265 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21266 "whatis signed char" for not gcc compiled.
21267 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21268 "set variable signed char=-1 (-1)" and
21269 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21270 * gdb.base/funcargs.exp (float_and_integral_args):
21271 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21272 Add mips-sgi-irix* xfail when not gcc compiled for
21273 "continue to call2b".
21274 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21275 "continue to call2g".
21276 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21277 "backtrace from call6a"
21278 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21279 "backtrace from call7k".
21280 Add mips-sgi-irix5* xfail when not gcc compiled for
21281 "backtrace from call7a".
21282 (localvars_after_alloca): Fix gdb_test cmds for
21283 "print * after runto ...".
21284 Remove rs6000-*-* xfails for
21285 "print i after runto localvars_after_alloca" and
21286 "print l after runto localvars_after_alloca"
21287 for all compilers.
21288 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21289 when not compiled with gcc, for:
c906108c
SS
21290 "print signed char == (minus)",
21291 "print signed char != (minus)",
21292 "print signed char < (minus)",
21293 "print signed char > (minus)".
21294 * gdb.base/callfuncs.exp (do_function_calls):
21295 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21296 "call inferior func with struct - returns char *".
d63a86f8 21297 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21298 "correct value returned double test" to include Solaris 2.4.
21299 * gdb.base/funcargs.exp (float_and_integral_args):
21300 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21301
c906108c
SS
21302Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21303
21304 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21305 enumeration bitfields if compiling with GNU C.
21306 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21307 to empty' prompt.
21308
21309Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21310
21311 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21312 test for PRO targets.
21313
21314 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21315 breakpoints in the inferior at any given time by making
21316 two groups of breakpoints for call2*, call6* and call7*
21317 tests.
21318
21319Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21320
21321 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21322 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21323 from optimizing it away.
21324 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21325 "call inferior func with struct".
21326
21327Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21328
21329 * configure.in: Only configure gdb.chill for particular targets.
21330
21331Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21332
21333 * gdb.base/Makefile.in: Add action to .c.o transformation
21334 rule that generates a .ci file for each .o file and remove
21335 explicit .c.o rules except for callfuncs.o.
21336 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21337 generates a .ci file for each .o file and remove explicit
21338 .cc.o rules.
21339 (clean): Remove *.tmp *.ci files.
21340 (EXECUTABLES): Remove templ-info.exp.
21341 * gdb.base/compiler.c: New file.
21342 * gdb.c++/compiler.cc: New file
21343 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21344 Change rs6000-*-* xfail for
21345 "print 'scope0.c'::filelocal_ro" and
21346 "print 'scope1.c'::filelocal" and
21347 "print 'scope1.c'::filelocal_bss" and
21348 "print 'scope1.c'::filelocal_ro" and
21349 "print 'scope1.c'::foo::funclocal" and
21350 "print 'scope1.c'::foo::funclocal_ro" and
21351 "print 'scope1.c'::bar::funclocal" and
21352 "print 'scope0.c'::filelocal_ro" and
21353 "print 'scope1.c'::filelocal at foo" and
21354 "print 'scope1.c'::filelocal_bss at foo" and
21355 "print 'scope1.c'::filelocal_ro at foo" and
21356 "print 'scope1.c'::foo::funclocal at foo" and
21357 "print 'scope1.c'::foo::funclocal_bss at foo" and
21358 "print 'scope1.c'::foo::funclocal_ro at foo" and
21359 "print 'scope1.c'::bar::funclocal at foo" and
21360 "print 'scope0.c'::filelocal_ro" and
21361 "print 'scope1.c'::filelocal" and
21362 "print 'scope1.c'::filelocal_bss" and
21363 "print 'scope1.c'::filelocal_ro" and
21364 "print 'scope1.c'::foo::funclocal" and
21365 "print 'scope1.c'::foo::funclocal_bss" and
21366 "print 'scope1.c'::foo::funclocal_ro" and
21367 "print 'scope1.c'::bar::funclocal" and
21368 "print 'scope1.c'::bar::funclocal_bss"
21369 to only be xfail'd when not compiled with gcc.
d63a86f8 21370 Add rs6000-*-* xfail for
c906108c
SS
21371 "print 'scope0.c'::filelocal_bss before run"
21372 when compiled with gcc.
21373 (test_at_main): Add rs6000-*-* xfail for
21374 "print filelocal_ro in test_at_main"
21375 when compiled with gcc.
21376 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21377 Add rs6000-*-aix* xfail for
c906108c
SS
21378 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21379 "ptype t_char_array", not compiled with gcc.
21380 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21381 xfail for "list foo (in include file)" when gcc compiled.
21382 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21383 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21384 "run to call0a" if not compiled with gcc.
21385 (unsigned_integral_args): Add rs6000-*-* xfail for
21386 "run to call1a" if not compiled with gcc.
21387 (float_and_integral_args): Add rs6000-*-* xfail for
21388 "run to call2a" if not compiled with gcc and for
21389 "continue to call2b" for any compiler.
21390 Add rs6000-*-* xfail to
21391 "print f1 after run to call2a" for gcc compiled.
21392 (discard_and_shuffle): Add rs6000-*-* xfail for
21393 "run to call6a".
21394 (shuffle_round_robin): Add rs6000-*-* xfail for
21395 "backtrace from call7a" if not compiled with gcc.
21396 Add rs6000-*-* xfail for
21397 "backtrace from call7b" if compiled with gcc.
21398 (call_after_alloca): Add rs6000-*-* xfail for
21399 "print c in call_after_alloca" and
21400 "print s in call_after_alloca" and
21401 "backtrace from call_after_alloca_subr"
21402 if not compiled with gcc.
21403 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21404 "print c in localvars_in_indirect_call" and
21405 "print c in localvars_in_indirect_call" and
21406 "backtrace in indirectly called function" and
21407 "stepping into indirectly called function"
21408 if not compiled with gcc.
21409 (localvars_after_alloca): Add rs6000-*-* xfail for
21410 "print c after runto localvars_after_alloca" and
21411 "print s after runto localvars_after_alloca" and
21412 "print i after runto localvars_after_alloca" and
21413 "print l after runto localvars_after_alloca"
21414 for all compilers.
21415 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21416 than whatis-info.exp.
21417 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21418 than opaque-info.exp.
21419 Setup rs6000-*-* xfail for
d63a86f8 21420 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21421 "ptype on opaque struct pointer (dynamically)" when
21422 not compiled with gcc.
21423 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21424 rather than callf-info.exp.
21425 (do_function_calls): Add clear_xfail for rs6000-*-* for
21426 "p t_float_values2(3.14159,float_val2)". Seems to work
21427 fine there, both with xlc and gcc. Need to find out what
21428 it is doing right and fix other platforms.
21429 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21430 "call inferior func with struct - returns int",
21431 "call inferior func with struct - returns long",
21432 "call inferior func with struct - returns float",
21433 "call inferior func with struct - returns double",
21434 "call inferior func with struct - returns char *",
21435 but only if not gcc compiled (presumes xlc compiled).
21436 Change rs6000-*-* xfails for
21437 "call inferior func with struct - returns char" and
21438 " call inferior func with struct - returns short" to only
21439 xfail if not using gcc.
21440 (clean mostlyclean): Remove *.ci and *.tmp files.
21441 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21442 than templ-info.exp.
21443 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21444 Add rs6000-*-* xfail for "up to foo in langs.exp"
21445 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21446 when not gcc compiled.
d63a86f8 21447
c906108c
SS
21448Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21449
21450 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21451 * gdb.base/corefile.exp: Likewise.
21452 * gdb.base/list.exp: Likewise.
21453 * gdb.base/scope.exp: Likewise.
21454 * gdb.base/siganls.exp: Likewise.
21455
21456 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21457 compiler output.
21458 * gdb.base/whatis.exp: Likewise.
21459
21460Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21461
21462 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21463 failure (opcode table has been fixed to match reality).
21464
21465Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21466
21467 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21468 "call inferior func with struct - returns char",
21469 "call inferior func with struct - returns short"
21470
21471 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21472 "print 'scope0.c'::filelocal at main",
21473 "print 'scope0.c'::filelocal_bss in test_at_main",
21474 "print 'scope0.c'::filelocal at foo",
21475 "print 'scope0.c'::filelocal_bss in test_at_foo",
21476 "print 'scope0.c'::filelocal at bar",
21477 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21478
c906108c
SS
21479 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21480 in source file 1". This bug seems to have been fixed with both
21481 gcc and native cc (was native assembler bug?).
21482
21483Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21484
21485 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21486 "backtrace through signal handler" to "i*86-*-sysv4*".
21487 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21488 continue" case. Add "known SVR4 bug" to fail message.
21489 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21490 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21491 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21492 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21493 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21494 "up to foo in langs.exp", "show language at foo in
21495 langs.exp", "up to cppsub_ in langs.exp", "show
21496 language at cppsub_ in langs.exp", "up to fsub in
21497 langs.exp", and "show language at fsub in langs.exp".
21498 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21499 "bactrace in corefile.exp".
21500 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21501 "call inferior function with struct - returns float" and
21502 "call inferior function with struct - returns double".
d63a86f8 21503
c906108c
SS
21504Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21505
21506 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21507 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21508 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21509 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21510
21511Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21512
21513 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21514 (or overriden) "CHILL" macro rather then bare "gcc".
21515 Also look for ../../gcc/xgcc since that is what we will
21516 actually need, not "Makefile". Remove following assignment
21517 of CHILL to CHILL_FOR_TARGET because that results in
21518 recursive definition.
21519
21520Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21521
21522 * gdb.base/corefile.exp: Change xfail for backtrace in
21523 corefile.exp from linuxaout to all linux.
21524 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21525 cases where we miss the breakpoint at the signal handler
21526 for some reason. Setup xfail for linuxoldld/linuxaout and
21527 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21528 hitting SIGURG breakpoint.
21529 * gdb.base/signals.exp: Setup xfail for "next" acting like
21530 continue to add linuxoldld. Setup xfail for all linux for
21531 "next to handler in signals_tests_1", "backtrace in
21532 signals_tests_1", "continue to func1", "pass SIGUSR1",
21533 and continue to handler".
21534
21535Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21536
21537 * Update all FSF addresses except those in COPYING* files.
21538
21539Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21540
21541 * gdb.base/a2-run.exp: Change messages to be more explicit about
21542 the status of args, and quote binfile in results.
21543
21544Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21545
21546 * gdb.base/callfuncs.exp: Add tests for passing structs to
21547 inferior functions and return various types.
21548 * gdb.base/callfuncs.c: Add functions to receive a struct
21549 and return a member of the struct, in various types.
21550
21551Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21552
21553 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21554
21555Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21556
21557 * config/vxworks29k.exp: New file, sources vxworks.exp.
21558
21559Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21560
21561 * config/gdbremote.exp: New file. Testing framework using
21562 gdbserver.
21563
21564Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21565
21566 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21567 "call function when asleep" and "send end of file".
21568 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21569 for "backtrace in corefile.exp".
21570 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21571 for "backtrace through signal handler".
21572 * gdb.base/corefile.exp: Make sure we actually generate a core file
21573 before trying the core tests. Some systems allow the user to suppress
21574 generation of core files and default to that (linux for example).
21575 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21576 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21577
21578Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21579
21580 * gdb.threads: New directory with some crude multi-threaded
21581 gdb tests (step.exp and step2.exp).
21582 * config/mt-lynx (STEP_EXECUTABLE): Define.
21583 (THREADFLAGS): Define.
21584
21585Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21586
21587 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21588
21589 * gdb.base/signals.exp: Disable whole file for lynx until
21590 further notice.
21591
21592 * gdb.base/signals.exp: xfail test where "next" acts like
21593 "continue" for lynx.
21594
21595 * gdb.base/interrupt.exp: xfail test for calling function while
21596 inferior is asleep for lynx.
21597
21598 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21599 than one cr-lf after each command.
21600
21601Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21602
21603 * configure.in: Reinstate setting of stabsdirs variable, fix
21604 typo in setting up configdirs for native builds.
21605
21606 * gdb.base/return.exp: Fix typo in return double test.
21607 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21608 compiler from optimizing them away.
21609
21610Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21611
21612 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21613 sequences to be echo'd by gdb when using gdb_test.
21614 * gdb.chill/chexp.exp: Likewise.
21615 * gdb.fortran/exprs.exp: Likewise
21616
21617Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21618
21619 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21620 after the inferior gdb has started.
21621
21622 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21623 after each command.
21624 * gdb.base/funcargs.exp: Likewise.
21625 * gdb.base/gdbvars.exp: Likewise.
21626 * gdb.base/interrupt.exp: Likewise.
21627 * gdb.base/list.exp: Likewise.
21628 * gdb.base/watchpoint.exp: Likewise.
21629 * gdb.c++/demangle.exp: Likewise.
21630 * gdb.c++/inherit.exp: Likewise.
21631 * gdb.chill/chexp.exp: Likewise.
21632 * gdb.fortran/exprs.exp: Likewise.
21633
21634 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21635 test if we can't handle IO to/from the inferior.
21636
21637 * gdb.c++/misc.exp: Always check for a program already being
21638 started after sending a "run" command to gdb.
21639
21640 * gdb.base/twice.exp: Start with a fresh gdb.
21641
21642 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21643 only depend on gdb's expression code, not the chill runtime.
21644
21645 * gdb.base/return.c: Put return values into variables so we
21646 can have gdb print them rather than depending on the program
21647 to print them.
21648 * gdb.base/return.exp: Corresponding changes.
21649
21650 * lib/gdb.exp: Provide default value for noinferiorio.
21651 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21652 the inferior.
21653
21654 * gdb.base/break.exp: Always check for a program already being
21655 started after sending a "run" command to gdb.
21656 (text_next_with_recursion): Don't check the output from the
21657 program's printf statement. Instead just make sure the program
21658 exited.
21659
21660 * gdb.base/commands.exp: Protect tests which need arguments with
21661 $noargs conditionals.
21662
21663Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21664
21665 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21666 of structure member arrays to match gdb/valops.c:value_addr change.
21667
21668Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21669
21670 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21671 cases.
21672
21673Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21674
21675 * configure.in (configdirs): Remove gdb.chill from default list
21676 of subdirs and then add it back in only if doing a native build.
21677 The current chill compiler does not yet work in any cross build.
21678 * Revert all signal changes from Jul 6.
21679 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21680 for sh-hms targets, allowing these tests to link, with no other
21681 changes. Testing is suppressed by setting "nosignals" in site.exp.
21682
21683Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21684
21685 * configure.in (signaldirs): Define and add to configdirs for all
21686 targets except some specific ones that are known to not support signals.
21687 Also clean up formatting.
21688 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21689 (signals, sigall): Remove rules to build.
21690 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21691 Moved to new gdb.signals directory.
21692 * gdb.signals: New test directory.
21693 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21694 signals.c signals.exp}: New or moved files.
21695
21696Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21697
21698 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21699
21700Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21701
21702 * gdb.base/return.exp: Xfail `return double' test failure
21703 on at least Solaris 2.3 and handle future/past versions on
21704 a case by case basis as appropriate. Also update message
21705 to include i*86 failures.
21706
21707Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21708
21709 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21710
21711 * lib/gdb.exp: Fix comment which erroneously identified
21712 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21713 gdb_file_cmd not gdb_load).
21714 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21715
21716 * gdb.base/setvar.exp: Make test names consistent between pass and
21717 fail cases. Use gdb_test more.
21718
21719Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21720
21721 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21722
21723Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21724
21725 * gdb.base/help.exp: Fix expected help string for `show commands'.
21726
21727Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21728
21729 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21730
21731 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21732 of a text section.
21733
21734Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21735
21736 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21737 that loop eventually terminates. Fix Connection refused logic so
21738 that testsuite will expire nicely.
21739
21740Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21741
21742 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21743 config/rom68k.exp: New tcl glue for the appropriate monitors.
21744 These all just end up calling monitor.exp.
21745 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21746 refused' by retrying. Cleanup some timeout issues.
21747 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21748 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21749 callers don't have to set/restore global timeout variable.
21750
21751 * The following set of changes centralizes management of the global
21752 timeout variable. This way, it can be set in one target dependent
21753 place instead of dozens of places scattered throughout the test suite.
21754 If you need to lengthen a timeout, then you should either set timeout
21755 in one of the config/{target}.exp files, or multiply it by a factor.
21756 Setting it to an absolute value is always going to lose for some
21757 targets.
21758 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21759 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21760 * gdb.base/funcargs.exp: Don't set timeout.
21761 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21762 * gdb.base/printcmds.exp (test_print_string_constants
21763 test_print_array_constants): Don't set timeout.
21764 * gdb.base/ptype.exp: Don't set timeout.
21765 * gdb.base/recurse.exp: Don't set timeout.
21766 * gdb.base/return.exp: Don't set timeout.
21767 * gdb.base/watchpoint.exp: Don't set timeout.
21768 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21769 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21770
21771Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21772
21773 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21774
21775Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21776
21777 * lib/gdb.exp: Disable chill tests for irix5.
21778
21779Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21780
21781 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21782 each test pass or fail.
21783
21784Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21785
21786 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21787 xlc not gcc.
21788
21789Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21790
21791 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21792
21793Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21794
21795 * config/est.exp: Fix copyright and comments. Remove dead code.
21796 Use targetname, serialport and baud variables instead of fixed
21797 constants.
21798 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21799 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21800
21801Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21802
21803 * gdb.base/watchpoint.exp: Don't run
21804 test_watchpoint_triggered_in_syscall for sunos.
21805
21806Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21807
21808 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21809 they don't seem to exist. Do include stdio.h.
21810
21811Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21812
21813 * gdb.base/a1-selftest.exp: Add alpha xfail.
21814
21815Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21816
21817 * gdb.base/watchpoint.c (main): Prompt before calling read().
21818 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21819 Revise accordingly. Remove cruft about sending "123" several
21820 times, until it gets noticed. Clean up the "print buf[0]" stuff
21821 so that it passes or fails, and waits for prompts in the usual way.
21822
21823Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21824
21825 * gdb.base/recurse.exp: Fix comment.
21826
21827 * TODO: Remove item about printing variables in nodebug.exp. Add
21828 item about enabling tests which are only run on some targets.
21829
21830 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21831 fail, make test names unique, use new gdb_test convention
21832 regarding pattern, use gdb_test more, etc.).
21833
21834 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21835 fail, make test names unique, etc.).
21836
21837Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21838
21839 * gdb.base/nodebug.c: Change return type of top and middle to
21840 short.
21841 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21842 are fixed by the recent mdebugread.c changes. Allow `short ()'
21843 as type for top and middle.
21844
21845Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21846
21847 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21848 nearly as I can tell, the whole thing was an accident in Stu's
21849 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21850 to replace a send/expect pair with gdb_test, but ended up only
21851 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21852 of 30 Mar 1995 took care of it, but left this vestigial comment
21853 which I am now nuking.
21854
21855Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21856
21857 * gdb.base/break.exp: Look for different line number for
21858 breakpoint at main depending on usestubs.
21859
21860Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21861
21862 * gdb.base/list.exp: Adjust some alternate expect patterns to
21863 match recent list0.c change. Add alternate expect pattern for
21864 output from `list default lines around main' for optimizing
21865 compilers.
21866
21867Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21868
21869 * lib/gdb.exp: If nosignals is not set, set it to 0.
21870
21871Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21872
21873 * config/slite-gdb.exp: Responds to load symbol table prompt.
21874 * gdb.base/break.exp: Adjust line number, fix rerun.
21875 * gdb.base/langs0.c: Add #ifdef usestubs.
21876
21877Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21878
21879 * gdb.base/list.exp: Adjust line contents after adding new lines in
21880 list0.c. Also fix a syntax error.
21881
21882 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21883 * gdb.base/break.exp: ditto.
21884 * gdb.base/list.exp: ditto.
21885 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21886 * gdb.base/run.c: ditto.
21887 * gdb.base/list0.c: ditto.
21888 * gdb.base/funcargs.c: ditto.
21889
21890Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21891
21892 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21893 $targetname, $serialport and $baud instead of hardwired variables.
21894 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21895 target doesn't support signals.
21896
21897Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21898
21899 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21900
21901Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21902
21903 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21904 Don't rely on the value of an auto variable before it has been
21905 initialized. Use gdb_test more.
21906
21907Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21908
21909 * lib/gdb.exp (default_gdb_version): A version number must start
21910 with a digit, but other than that contains all characters up to
21911 the first whitespace character.
21912
21913Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21914
21915 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21916
21917Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21918
21919 * gdb.c++/*.exp: Warn if executable does not exist. The original
21920 reason for skipping the warning was that configure.in sometimes
21921 intentionally skipped building the executables but the tcl code
21922 had no way of knowing. That (a) was always bogus with respect to
21923 error handling, (b) is no longer true (right now there is no way
21924 to skip C++ tests).
21925
21926 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21927
21928Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21929
21930 * gdb.base/list.exp: Add expect patterns for output from
21931 SunPRO compiled executables.
21932 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21933 types.
21934
21935Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21936
21937 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21938 number (we are already testing that the correct source line text
21939 gets printed).
21940
21941 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21942 that is what is intended, but something needed to be done to get
21943 sunos4 native working again.
21944
21945 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21946
21947 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21948 apparently went with a (very) old xfail.
21949
21950Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21951
21952 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21953 runto_main is a proc in gdb.exp that will do 'step' for target use
21954 stubs.
21955 * gdb.base/exprs.exp: ditto.
21956 * gdb.base/interrupt.exp: ditto.
21957 * gdb.base/opaque.exp: ditto.
21958 * gdb.base/printcmds.exp: ditto.
21959 * gdb.base/ptype.exp: ditto.
21960 * gdb.base/scope.exp: ditto.
21961 * gdb.base/setvar.exp: ditto.
21962 * gdb.base/signals.exp: ditto.
21963 * gdb.base/twice.exp: ditto.
21964 * gdb.c++/classes.exp: ditto.
21965 * gdb.c++/inherit.exp: ditto.
21966 * gdb.c++/templates.exp: ditto.
21967 * gdb.base/break.exp: no run and hit main for stubs. Change line
21968 numbers for breakpoints and info breakpoint.
21969 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21970 breakpoint().
21971 * gdb.base/callfuncs.c: ditto.
21972 * gdb.base/exprs: ditto.
21973 * gdb.base/interrupt.c: ditto.
21974 * gdb.base/opaque0.c: ditto.
21975 * gdb.base/printcmds.c: ditto.
21976 * gdb.base/ptype.c: ditto.
21977 * gdb.base/scope0.c: ditto.
21978 * gdb.base/setvar.c: ditto.
21979 * gdb.base/signals.c: ditto.
21980 * gdb.base/twice.c: ditto.
21981 * gdb.c++/misc.cc: ditto.
21982 * gdb.c++/templates.cc: ditto.
21983
21984Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21985
21986 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21987
21988 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21989 somewhere between `read' and `main.c'. I'm pretty sure the
21990 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21991 and it isn't particularly useful.
21992
21993 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21994
21995Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21996
21997 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21998
21999Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22000
22001 * config/mt-slite: add LIBS and -nostdlib.
22002 * config/slite-gdb.exp: add this new file to support sparclite target.
22003
22004Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22005
22006 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22007
22008 * gdb.base/a2-run.exp: Change argument to istarget from
22009 "*-*-vxworks" to "*-*-vxworks*".
22010 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22011
22012Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22013
22014 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22015 will not runto main but do a 'step' to step out of breakpoint().
22016 * config/mt-slite: add -Dusestubs.
22017
22018Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22019
22020 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22021 instead of just @.
22022
22023 * gdb.base/signals.exp: Add test for "handle all print".
22024 * TODO: Remove "handle all print". Also remove item about
22025 checking copyright date (I don't like the idea of a spurious FAIL
22026 based on when we run the tests).
22027
22028 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22029 for SunOS4 (reason for failure not investigated). Remove
22030 redundant test for $binfile.
22031
22032 * gdb.base/nodebug.c (array_index): Call malloc.
22033
22034 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22035
22036Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22037
22038 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22039 conventions and slightly simplify the matching regexp.
22040
22041Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22042
22043 * gdb.base/break.exp: Update gdb_test invocation to use new
22044 convention.
22045
22046 * lib/gdb.exp: If noargs is not set, set it to 0.
22047
22048 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22049 tests unique.
22050
22051 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22052
22053Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22054
22055 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22056 one argument of type "<non-float parameter>".
22057
22058Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22059
22060 * config/rom68k.exp: New file to support Motorola IDP board.
22061 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22062 * gdb.base/break.c: Change things around so that this program
22063 doesn't depend upon args. This is necessary to make remote
22064 targets work (in general, they can't take args).
22065 * gdb.base/break.exp: Don't try to send args to program. Don't
22066 expect output. Also, replace lots of code with gdb_test.
22067
22068Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22069
22070 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22071 printing of '\'' (which is what the comment says we are testing,
22072 even though we were not), not '''.
22073 (test_integer_literals_rejected): Test that printing ''' is an error.
22074
22075 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22076 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22077 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22078 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22079 Use gdb_test not test_print_accept.
22080 * lib/gdb.exp: Remove test_print_accept.
22081
22082 * gdb.base/signals.exp (signal_tests_1): Make pass message
22083 consistent with fail message.
22084
22085 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22086 unsigned char; the bug (PR 1821) is fixed.
22087
22088 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22089
22090 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22091 successful tests--makes xfailing them work right.
22092
22093Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22094
22095 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22096 only \r\n, not .*. The test can pass .* as the last thing in
22097 $pattern if that is what it wants. In addition to providing this
22098 flexibility, this change should speed up pattern matching in cases
22099 where the pattern already ended with .* (there were a number of
22100 them). This change also helps catch bad patterns--in the old
22101 scheme the typo "char \*" instead of "char \\*" would pass. Now
22102 it is caught.
22103 * Many .exp files: Update callers.
22104
22105 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22106 clearer and does not spuriously match multiple ('s. Likewise for
22107 ) and *.
22108
22109 * gdb.base/nodebug.exp: Test ability to call a function and pass
22110 it a string (even with no debugging info).
22111
22112 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22113 "p '\'", which is the same as "p ''" once tcl gets done with
22114 quoting, to "p '\\'", which I suspect is what is intended (one
22115 backslash gets sent to GDB).
22116
22117 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22118
22119Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22120
22121 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22122 1817) was fixed literally years ago.
22123
22124Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22125
22126 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22127 test, it causes stepping out of call_after_alloca_subr with
22128 optimizing compilers.
22129 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22130 fails.
22131
22132 * gdb.c++/templates.exp: Source templ-info.exp only if
22133 the templates executable exists.
22134
22135 * gdb.c++/misc.cc (class Contains_static_instance,
22136 class Contains_nested_static_instance),
22137 gdb.c++/classes.exp (test_static_members): Test printing of
22138 a class that contains a static instance of the class.
22139
22140Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22141
22142 * gdb.base/langs2.c (cppsub_): Don't prototype.
22143 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22144 only, I believe).
22145
22146Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22147
22148 * lib/gdb.exp (skip_chill_tests): New procedure.
22149
22150 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22151
22152Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22153
22154 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22155 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22156
22157Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22158
22159 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22160
22161 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22162 disassemble 8, not 16, instructions for part 4.
22163
22164 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22165 support the latter anymore.
22166
22167 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22168 -DNO_PROTOTYPES.
22169 * gdb.base/callfuncs.c: Control use of prototypes based on
22170 NO_PROTOTYPES, not __STDC__.
22171 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22172 t_float_values2 tests if prototypes in use.
22173
22174 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22175 t_double_values): When checking differences against DELTA, check
22176 that difference is within the range (-DELTA,DELTA), not just
22177 (-infinity,DELTA).
22178
22179Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22180
22181 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22182 'file' command firts, then 'target', then 'load', this is due to gdb
22183 target set up.
22184 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22185
22186Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22187
22188 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22189 FP load/store variants.
22190 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22191
22192Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22193
22194 * gdb.base/term.exp: Do not give a warning if not native, it is
22195 not an abnormal condition.
22196
22197Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22198
22199 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22200 t_char_array".
22201
22202Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22203
22204 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22205 are getting the version number.
22206
22207 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22208 if not native, it is not an abnormal condition.
22209
22210Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22211
22212 * lib/gdb.exp: Just use "file exists", rather than undocumented
22213 dejagnu procedure "findfile".
22214
22215Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22216
22217 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22218 (LDFLAGS): Set to -Xlinker -Ur.
22219
22220 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22221 Removed, these values are set by lib/gdb.exp.
22222
22223 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22224
22225Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22226
22227 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22228 of replicating gdb startup code.
22229
22230 * config/mt-vxworks (LDFLAGS): Set to -r.
22231 (CFLAGS_FOR_TARGET): Removed.
22232
22233 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22234 (gdb) and gdb for vxworks uses (vxgdb).
22235
22236 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22237 executable is not in the tree and host != target, use sed and
22238 program_transform_name to determine the gdb name used by the
22239 target.
22240
22241 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22242 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22243
22244Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22245
22246 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22247 floats, chars, and shorts where there are ANSI-style function
22248 definitions.
22249
22250 * gdb.base/langs.exp, gdb.base/langs*: New test.
22251 * gdb.base/Makefile.in: Build it.
22252 * TODO: Remove item about checking that C names don't get C++
22253 demangling applied; this test tests it.
22254
22255Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22256
22257 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22258 went with the const70 xfail. The xfail went away a year ago.
22259
22260 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22261
22262 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22263 for hp300.
22264
22265 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22266
22267 * gdb.base/a1-selftest.exp: Don't run on hp300.
22268
22269Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22270
22271 * Makefile.in (site.exp): Set host_alias and target_alias as well
22272 as host_triplet and target_triplet.
22273
22274Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22275
22276 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22277
22278 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22279 places as other ecoff systems).
22280
22281 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22282 ultrix.
22283
22284Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22285
22286 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22287 remove them.
22288 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22289 variable and "variable" in addition to "data variable".
22290 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22291
22292 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22293 2.
22294 * gdb.base/list1.c (long_line): Add additional statement at start
22295 of function.
22296 * gdb.base/list.exp (test_forward_search): Update line number to
22297 reflect new statement.
22298
22299Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22300
22301 * gdb.base/signals.exp: Reinitialize searched source directories
22302 after gdb_start call.
22303
22304Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22305
22306 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22307 * gdb.stabs/Makefile.in: Likewise.
22308
22309 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22310 change. Instead split the tests into smaller pieces.
22311 * gdb.disasm/hppa.s: Corresponding changes.
22312
22313Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22314
22315 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22316 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22317
22318 * gdb.base/funcargs.exp: Modify many tests so that every test
22319 either passes or fails. Make some test names unique.
22320
22321Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22322
22323 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22324 Call stty to set interrupt character.
22325
22326 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22327 for HP assembler versus GNU assembler based on actual behavior of
22328 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22329
22330 * TODO: Suggest a few more stepping tests.
22331
22332Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22333
22334 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22335 restart GDB for h8300 after a continue.
22336 (return): Add pattern to match a29k-udi behavior.
22337 * gdb.base/nodebug.exp: Remove obsolete comment.
22338 * gdb.base/regs.exp: New file, testing of register displays.
22339 * gdb.base/return.exp: Fix typo in reference to $objdir.
22340 * gdb.base/whatis.exp: Always start with a fresh GDB.
22341
22342Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22343
22344 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22345 higher, these tests generate a lot of output.
22346
22347Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22348
22349 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22350 code following the catch silently ignored some errors; without the
22351 catch they should be thrown like any other tcl error. Also, the
22352 catch used "" instead of {} which meant all the callers who wanted
22353 to include one of the characters "[]$ had to quote it an extra time.
22354 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22355 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22356 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22357 Remove extra quoting.
22358
22359Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22360
22361 * gdb.base/commands.exp: Make test names unique; every test either
22362 passes or fails. Update some comments.
22363
22364 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22365
22366Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22367
22368 The following fixes a FAIL caused by the fact that the alpha stabs
22369 configuration didn't use the ".if alpha" code in weird.def.
22370 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22371 bit pointer, so the 32 bit version works even on the alpha.
22372 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22373 Remove the stuff which allowed us to have separate versions for
22374 alpha and everything else.
22375
22376 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22377 regexp which "info func operator\[\](" is supposed to match. Fix
22378 string to send to GDB. Note that GDB still doesn't work right. Add a
22379 new test for "info func .perator\[\](" which GDB does handle correctly.
22380
22381 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22382
22383Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22384
22385 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22386 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22387 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22388 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22389 it makes the tests harder to understand and confuses test-o-matic.
22390 The preferred style is that each test provides a PASS or a FAIL,
22391 and has a unique message (e.g. "continue #54" not just "continue")
22392 which is the same for the pass and the fail.
22393 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22394 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22395 to lib/gdb.exp.
22396 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22397 prt_accept which was basically the same thing. Likewise for
22398 test_print_reject and prt_reject.
22399 * lib/gdb.exp (test_print_reject): Add some more error message
22400 patterns to match from the former printcmds.exp (prt_reject).
22401 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22402 One defect of the passcount stuff is that some of it failed to
22403 report XPASS where appropriate.
22404 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22405 stuff before and after arg in expected pattern.
22406 (test_paddr_operator_functions): Re-do test without print_addr_of;
22407 this is the only test which seems to want extra stuff there.
22408
22409Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22410
22411 * gdb.base/nodebug.exp: Update new tests to reflect improved
22412 wording of gdb output.
22413
22414 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22415 and "ptype" work on variables in files compiled without -g.
22416 Replaces commented out "maint print msymbol" tests.
22417
22418Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22419
22420 * gdb.base/setvar.c (dummy): Call malloc.
22421
22422 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22423 losing with the irix4 sed.
22424
22425 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22426 ALRM" on irix4.
22427
22428Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22429
22430 * TODO: Remove items about corefile.exp testing new exec-file and
22431 backtrace; both are now done. Add items about printing enums.
22432
22433Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22434
22435 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22436 "get signal $thissig" test fails.
22437
22438 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22439
22440Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22441
22442 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22443 compiler warning with dec alpha compiler.
22444
22445 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22446 extra \n from gdb_test call (this explains why the prompt test
22447 that I removed yesterday was there).
22448 (user_defined_command_test): Remove extra \n and prompt test.
22449
22450 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22451 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22452 doesn't exist.
22453 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22454 Also remove alpha workaround, which turns out to be because
22455 SIGABRT == SIGLOST.
22456
22457 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22458
22459 * gdb.base/help.exp: Don't test "help show".
22460
22461Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22462
22463 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22464 "set print address" is on.
22465 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22466 pass prompt to gdb_test; gdb_test already looks for the prompt.
22467
22468 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22469
22470 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22471 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22472 was to make sure that gdb can read a core file. But (a) the "read
22473 the corefile" part didn't make it to a1-selftest.exp, we just
22474 delete the corefile after creating it, and (b) we test reading
22475 corefiles in corefile.exp anyway. Also, this test left around a
22476 xgdb process on Solaris.
22477
22478 * gdb.base/corefile.exp: Also test backtrace.
22479
22480Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22481
22482 * gdb.base/commands.exp: Test a simple user defined command with
22483 arguments and if/while statements; verify the full user command is
22484 printed by "show user".
22485
22486 * gdb.base/commands.exp: Test if/while commands as part of a
22487 breakpoint command list; verify they appear in breakpoint
22488 information.
22489
22490Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22491
22492 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22493 than by dividing by zero.
22494
22495Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22496
22497 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22498 performing an inferior call with watchpoints enabled.
22499 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22500 call.
22501
22502Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22503
22504 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22505 of "file" command.
22506
22507 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22508 Add additional pattern for when "int operator int(void);" appears
22509 in a different order.
22510
22511Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22512
22513 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22514
22515 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22516 and "signal" with ".*".
22517
22518Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22519
22520 * TODO: Add note about "handle all nostop".
22521
22522 * gdb.base/{sigall.c, sigall.exp}: New test.
22523 * gdb.base/Makefile.in: Add it.
22524
22525Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22526
22527 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22528 when invoking GDB, suppresses any windowing interface.
22529
22530Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22531
22532 * config/sim-gdb: New file, simulator testing support.
22533
22534Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22535
22536 * gdb.base/interrupt.exp: Test calling func1 twice.
22537
22538Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22539
22540 * gdb.base/list.exp (test_forward_search): Set timeout higher
22541 when we'll be getting lots of output from gdb.
22542
22543 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22544 "init_malloc" to after the expect statement. Run it if that
22545 regexp is taken, but also for two others which happen if source
22546 cannot be found.
22547
22548Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22549
22550 * gdb.base/printcmds.exp: New test, for printing register before
22551 program is running.
22552
22553Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22554
22555 * gdb.base/list.exp: Correct some alternate expect patterns
22556 to reflect changes in list1.c.
22557
22558Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22559
22560 * TODO: Add item regarding large frames.
22561
22562 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22563
22564 * TODO: Remove item about enabling return.exp; it
22565 is enabled. Suggest a few more "return" tests.
22566
22567Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22568
22569 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22570 anonymous unions.
22571
22572Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22573
22574 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22575 and pr-5646.o, so "make" is the same as "make all", not "make
22576 pr-4975.o".
22577
22578Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22579
22580 * gdb.base/list.exp: Adjust expectations to reflect changes in
22581 list1.c.
22582 (test_forward_search): New test proc.
22583 * gdb.base/list1.c (long_line): New function, has long source line.
22584
22585Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22586
22587 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22588 additional line of code that was added.
22589
22590Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22591
22592 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22593 tests so as not to overflow expect's input buffers.
22594 * gdb.disasm/hppa.exp: Corresponding changes.
22595
22596Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22597
22598 Beginnings of template debugging tests.
22599 * gdb.c++/templ-info.cc: New file to test for template
22600 debugging capability of the compiler.
22601 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22602 templ-info.cc.
22603 * gdb.c++/templates.cc: Add explicit template instantiations
22604 to enable compiling with -fno-implicit-templates. Add destructor
22605 and 'value' method to T5 class for template tests.
22606 * gdb.c++/templates.exp: Add testcases for printing of template
22607 types, setting breakpoints on template methods and calling a
d63a86f8 22608 template method.
c906108c
SS
22609
22610Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22611
22612 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22613 branch target since some assemblers (gas-2.5) may emit a
22614 relocation for the branch instead of resolving it in the
22615 assembler.
22616
22617Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22618
22619 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22620 through signal handler.
22621
22622Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22623
22624 * configure.in (*-*-netware): Use config/mt-netware.
22625
22626 * config/mt-netware: New file.
22627 * config/mt-i386-netware: Removed, separate configs for different
22628 netware architectures are no longer needed now that we have
22629 --with-headers.
22630
22631Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22632
22633 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22634 by the recent changes to use ANSI C arithmetic conversions.
22635
22636Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22637
22638 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22639 bug involving using inferior_pid to figure out whether to select a
22640 frame.
22641
22642Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22643
22644 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22645 match the current disassembler output.
22646
22647Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22648
22649 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22650 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22651 types, expect "int" as type of integer values (for now).
22652
22653Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22654
22655 * gdb.base/commands.exp: New tests for if/while commands.
22656
22657Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22658
22659 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22660 by .*, since hex values have different syntax in Chill mode.
22661
22662Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22663
22664 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22665 linefeed from expect pattern for repeated types with indices > 9.
22666
22667Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22668
22669 First part of Fortran test suite.
22670 * gdb.fortran: New directory.
22671 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22672
22673Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22674
22675 * gdb.base/default.exp: Update expect pattern for load command
22676 without arguments.
22677
22678Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22679
22680 * configure.in: Change i386 to i[345]86.
22681 * gdb.base/configure.in: Likewise.
22682 * gdb.c++/configure.in: Likewise.
22683 * gdb.chill/configure.in: Likewise.
22684
22685Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22686
22687 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22688 patterns, since that is not a valid context for comments.
22689
22690Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22691
22692 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22693 repeated types and repeated types with indices > 9.
22694
22695Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22696
22697 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22698 2417; old bug has been fixed.
22699
22700Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22701
22702 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22703 send the newline ourselves instead of assuming gdb_test will do
22704 so when passed an empty input string.
22705
22706 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22707 stabs testcode.
22708
22709Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22710
22711 * lib/gdb.exp (gdb_test): Don't send anything if the first
22712 argument is an empty string. This makes cases where we want to
22713 match output that is already in expect's buffers (for example,
22714 matching a breakpoint after gdb_run_cmd has been called) work
22715 reliably.
22716
22717Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22718
22719 * config/netware.exp: New file.
22720
22721Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22722
22723 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22724 the -B and -L prefixes so we can find the debugging stub.
22725
22726 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22727 there and we are using the gcc from the tree.
22728
22729 * gdb.base/types.c: Removed.
22730
22731 * gdb.base/configure.in: Look for makefile fragments in ../config.
22732 Recognize i386-*-netware.
22733 * gdb.c++/configure.in: Likewise.
22734
22735Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22736
22737 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22738 the correct TCL syntax.
22739
22740Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22741
22742 * gdb.base/opaque.exp: use runto instead of messing around with
22743 breakpoints. Simplify by using gdb_test.
22744
22745 * gdb.base/bitfields.exp: restart between tests on netware targets
22746 because breakpoints aren't relocated after target death. Run
22747 processes to completion.
22748
22749 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22750
22751Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22752
22753 * Makefile.in: Remove extra tabs that confuse some versions
22754 of "make". Use the newly built gdb to test with by default,
22755 rather than the first one in the tester's search path.
22756
22757Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22758
22759 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22760
22761 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22762 condition help.
22763
22764Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22765
22766 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22767
22768 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22769 running.
22770 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22771 * gdb.base/funcargs.exp: Likewise.
22772
22773 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22774 * gdb.base/funcargs.exp: Likewise.
22775
22776 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22777 message is "".
22778
22779Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22780
22781 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22782 return,signals,twice}.exp: Handle non-existant binaries
22783 consistantly.
22784
22785 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22786 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22787 might testing a cross development system.
22788
22789Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22790
22791 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22792 runtest script is relative to ${srcdir}, not ${rootdir}.
22793
22794Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22795
22796 * gdb.base/signals.exp: Allow for optionality of breakpoint
22797 address.
22798
22799Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22800
22801 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22802
22803Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22804
22805 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22806 for size_t definition.
22807 * gdb.c++/templates.cc: Likewise
22808
22809 * config/mt-i386-netware: New file.
22810
22811 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22812 defined.
22813
22814 * gdb.base/Makefile.in: Added support for systems that name core
22815 files by appending "core" to the program name.
22816 * gdb.base/a1-selftest.exp: Likewise.
22817
22818Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22819
22820 * gdb.base/return.exp: Add comment and message for `return double'
22821 test failure on Sparc Solaris.
22822
22823Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22824
22825 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22826
22827Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22828
22829 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22830 from optimizing them away.
22831 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22832 patterns to include default constructors and assignment operators,
22833 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22834 character in the output of the virtual base pointer.
22835
22836Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22837
22838 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22839 expression match in print_addr_of to avoid unintented matches.
22840 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22841 versions up to 2.5.8.
22842
22843Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22844
22845 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22846 included file to run under newer versions of expect.
22847 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22848 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22849 Remove xfail for the virtual table of BDDHookV.
22850
22851Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22852
22853 * lib/gdb.exp (string_to_regexp): Set a default result.
22854 (default_gdb_start): Fix misleading message.
22855
22856Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22857
22858 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22859 Remove all CC, etc definitions.
22860 * config/mt-hpux: New file.
22861 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22862 (CFLAGS, LDFLAGS): Define.
22863 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22864
22865 * Makefile.in (site.exp): Don't insert host_os, etc.
22866 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22867 (distclean): Check existence of subdir.
22868 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22869 * gdb.base/Makefile.in: General cleanup and simplification.
22870 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22871 to build executables. Use default rule to build .o files.
22872 (EXPECT, RUNTEST, CC): Fix relative pathname.
22873 (site.exp): Don't insert host_os, etc.
22874 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22875 and/or SIGUSR1 defined.
22876 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22877 * gdb.c++/Makefile.in: General cleanup and simplification.
22878 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22879 (CFLAGS): Remove.
22880 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22881
22882Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22883
22884 * gdb.base/recurse.exp: Misc changes to get tests running again
22885 after Kung's changes to the watchpoint code.
22886 * gdb.base/watchpoint.exp: Likewise.
22887
22888Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22889
22890 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22891
22892Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22893
22894 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22895 * lib/gdb.exp (default_gdb_start): Define.
22896 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22897 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22898 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22899 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22900 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22901 Don't call gdb_target_udi in between tests.
22902
22903Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22904
22905 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22906 (which was basically just a local version of the same thing). In
22907 addition to avoiding duplication, gdb_test_exact is faster.
22908 * lib/gdb.exp (gdb_test_exact): Fix typo.
22909
22910 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22911 don't give an error.
22912
22913 * gdb.base/term.exp: Call delete_breakpoints before starting.
22914
22915 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22916 (t10): Add comment.
22917
22918Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22919
22920 Reorganization of the GDB Test Suite.
22921
22922 * gdb.base: New directory, contains all the basic tests.
22923 * gdb.c++: New directory, tests specific to C++.
22924 * gdb.chill: New directory, tests specific to Chill.
22925 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22926 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22927 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22928 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22929 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22930 t30-31 to chill).
22931 * */gdbme.*: Rename to match appropriate expect scripts.
22932 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22933 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22934 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22935 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22936 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22937 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22938 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22939 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22940 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22941 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22942 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22943 gdb.c++/virtfunc.cc: New names of C++ files.
22944 * gdb.chill/chillvars.ch: New name of Chill file.
22945 * gdb.base/configure.in, gdb.c++/configure.in,
22946 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22947 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22948 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22949 * configure.in (configdirs): Update to reflect directory changes.
22950 (target_abbrev): No longer define for any configuration.
22951 * Makefile.in: Cosmetic improvements to header comments.
22952
22953Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22954
22955 Various changes to gdb.t31:
22956
22957 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22958 * gdbme.ch: Make all key-words and predefineds be upper-case.
22959 * chillvars.exp: Expect key-words and predefinds in upper-case.
22960
22961 * chillvars.exp: Use gdb_test_exact many places.
22962 Change expected output for arrays (which now includes index labels).
22963
22964 * pr-5020.exp, gdme.ch (module PR_5020):
22965 New test, for PR-5020.
22966
22967Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22968
22969 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22970 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22971
22972Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22973
22974 * Makefile.in: Fix bit-rot in definitions of CHILL,
22975 CHILL_FOR_TARGET and Chill_LIB.
22976 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22977 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22978 CHILL, and CHILL_LIB.
22979
22980Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22981
22982 * Revert the previous changes. Please see Rob's directory
22983 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22984
22985Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22986
22987 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
22988 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22989 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22990 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
22991 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22992 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22993 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22994 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22995 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22996 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22997 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22998 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22999 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23000 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23001 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23002 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23003 changes from 94Q1.
23004
23005Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23006
23007 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23008 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23009 Rob's new testing fragments.
23010
23011Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23012
23013 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23014 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23015
23016Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23017
23018 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23019 version also, match on casted version strings, and match on
23020 gdb startup case where the line numbers might be messed up.
23021
23022Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23023
23024 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23025 (CFLAGS): Delete it from here.
c906108c
SS
23026
23027Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23028
23029 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23030
23031Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23032
23033 * Makefile.in (RUNTEST): Default to just "runtest".
23034
23035Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23036
23037 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23038 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23039 the code has been restructured.
23040
23041Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23042
23043 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23044 \n, not just one of each.
23045
23046 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23047 /bin/cc gives a warning if you do.
23048
23049Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23050
d63a86f8 23051 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23052 __t10ListS_link1ZUiRCUiPT0
23053
23054Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23055
23056 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23057 on local variables in recursive functions.
23058
23059 * gdb.t07/Makefile.in: Build the new test.
23060
23061Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23062
23063 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23064 directly. Instead compare the return values from actual calls.
23065
23066Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23067
23068 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23069
23070Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23071
23072 * From Peter Schauer with minor modifications.
a9c64011
AS
23073 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23074 stops in mid-line in the caller. Add xfail for returning a float
23075 value on X86 targets.
c906108c
SS
23076
23077Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23078
23079 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23080 to avoid expect lossage.
23081 (fmem_LRbug_tests): Likewise.
23082 * gdb.disasm/hppa.s: Corresponding changes.
23083
23084 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23085 conditions to work with latest dejagnu/expect.
23086
23087 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23088 expected to fail on the PA.
23089 (backtrace in call with trampolines): Explicitly require main
23090 to be frame #1 (no trampolines should show up in backtrace).
23091
23092 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23093 "continue -expect".
23094 * gdb.t06/break.exp: Likewise.
23095 * gdb.t07/watchpoint.exp: Likewise.
23096 * gdb.t13/bitfields.exp: Likewise.
23097 * gdb.t15/{funcargs,return}.exp: Likewise.
23098 * gdb.stabs/weird.exp: Likewise.
23099 * config/{mips,udi}-gdb.exp: Likewise.
23100
23101 * hppa.sed: Enclose comments within a sed command to avoid
23102 losing with the old OSF1 sed.
23103
23104Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23105
23106 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23107 sequent dynix.
23108 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23109 * gdb.t15/funcargs.exp: Conditionally step again to really
23110 finish from marker_call_with_trampolines. Handle the case where
23111 the first step from within call_with_trampolines already steps
23112 us back to main.
23113 * gdb.t15/gdbme.c: Add comment to closing brace of
23114 call_with_trampolines for funcargs.exp.
23115
23116Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23117
d63a86f8 23118 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
23119 Fix typo(s).
23120
23121Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23122
23123 * gdb.t07/gdbme.c: More code for watchpoint testing.
23124
23125 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23126 "Hardware watchpoint" throughout file.
23127 (test_watchpoint_triggered_in_syscall): New test.
23128 (test_complex_watchpoint): New test.
23129
23130Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23131
23132 * gdbme.c (call_with_trampolines): New function to try and step
23133 into. Tests trampoline problems on the PA.
23134
23135 * funcargs.exp (localvars_in_indirect_call): No longer expect
23136 stepping into indirect call to fail on PAs.
23137 (test_stepping_over_trampolines): New test.
23138
23139Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23140
23141 * TODO: Add suggestions for static member function tests, and
23142 completion tests.
23143
23144Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23145
23146 * TODO: Add suggestions for "p/a" tests.
23147
23148 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23149 (default_gdb_exit): Replace all the hair with sending "quit" to
23150 the process with a simple close.
23151
23152Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23153
23154 * TODO: Add suggestions for shared library tests.
23155
23156Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23157
23158 * TODO: Add suggestions for x/s tests.
23159
23160Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23161
23162 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23163 "enable once", and "enable breakpoints once" with ".*".
23164
23165Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23166
23167 * TODO: Add suggestions about structure passing tests.
23168
23169Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23170
23171 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23172 the primary1 test, use work around if __GNUC__ < 2.
23173 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23174 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23175 Test for bad output rather than waiting for timeout. Issue
23176 second continue only if first continue failed.
23177
23178Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23179
23180 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23181 operator[] test with gdb_test because the old code didn't seem to
23182 be getting the quoting right with the new dejagnu.
23183
23184Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23185
23186 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23187 one from the path.
23188 * Makefile.in: Use a fresh expect if there is one, use runtest
23189 from the src tree if there is one.
d63a86f8 23190
c906108c
SS
23191Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23192
23193 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23194 next over recursive call. Revise the tests from that point on
23195 (which had been skipped) to match GDB's actual (correct) output.
23196
23197 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23198 with next over a breakpoint whose condition is false.
23199
23200 * gdb.t00/help.exp: Comment out "help set print" tests just like
23201 (and for same reason as) "help set" test.
23202
23203Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23204
23205 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23206 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23207
23208Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23209
23210 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23211 necessary gdb_target_udi.
23212
23213 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23214
23215 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23216 1838 and 2417; they are fixed.
23217
23218 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23219 gdb.t03/ptype.exp (ptype structure, ptype union):
23220 Remove xfails; the test is looser than when the xfails were added.
23221
23222 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23223 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23224
23225 * gdb.t01/run.exp: Only run shell test if isnative.
23226
23227 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23228 since "run" automatically loads if necessary. Call gdb_target_udi
23229 after the "file" since "file" kills any execution target.
23230
23231 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23232 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23233 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23234 argument for UDI.
23235
23236Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23237
23238 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23239
23240 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23241
23242Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23243
23244 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23245 properly quoting regexps. This makes the second argument to
23246 demangle a fixed string, which matches the callers, instead of a
23247 shell-style pattern which is what the previous implementation
23248 used. Update some of the callers.
23249
23250Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23251
23252 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23253 (comib_nullified_tests): Fix typo.
23254 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23255 strings. No longer expected to fail.
23256
23257 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23258 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23259 strings. No longer expected to fail.
23260
23261 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23262 string. No longer expected to fail.
23263
23264Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23265
23266 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23267 No longer expected to fail.
23268
23269 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23270 string. No longer expected to fail.
23271
23272Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23273
23274 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23275 only in the names (I probably got most of them). I was even
23276 generous with some which differed in underscores in names, and
23277 probably missed a few, and I *still* was able to remove almost a
23278 third of the file with almost no impact on testsuite coverage.
23279
23280Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23281
23282 * gdb.t00/default.exp: Match udi_attach error message as well as
23283 the one from child_attach.
23284
23285 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23286
23287 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23288
23289 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23290 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23291
23292 * Move test with enums and partial symbols back to
23293 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23294 Reverts the change of 26 May 93. Per today's change to
23295 stabs.texinfo, the behavior that weird.exp was expecting was
23296 unreasonable; what is important is that the compiler+gdb get
23297 things right, which happens with a recent gcc. Also fix the test
23298 to deal with native compilers which put out the stab gdb can't
23299 deal with.
23300
23301Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23302
23303 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23304 in the names. The main thing these accomplish is to slow things down.
23305 Many more such duplicates surely remain.
23306
23307 * gdb.t00/help.exp: Comment out "help support" test just like
23308 (and for same reason as) "help set" test.
23309
23310Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23311
23312 * gdb.t06/break.exp: Remove setup_xfails for
23313 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23314 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23315 about known bug in gcc to include up through 2.5.8.
23316 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23317 well as "_vb$".
23318 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23319 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23320 with latest gcc and gdb.
23321 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23322 well as "_vb$".
23323
23324Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23325
23326 * configure.in (hppa*-*-*): Also configure and build stabs-only
23327 tests.
23328
23329Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23330
23331 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23332 * gdb.t10/configure.in (hppa*-*-*): Use it.
23333
23334Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23335
23336 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23337
23338Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23339
23340 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23341 versions prior to 1.13.5.
23342
23343Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23344
23345 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23346 the prompt is at the start of a line.
23347
23348Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23349
23350 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23351 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23352 in the copr tests now.
23353 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23354 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23355 expected to fail.
23356
23357Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23358
23359 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23360 gdb.t31/chillvars.exp, lib/gdb.exp:
23361 Tweak to run under either version of expect.
23362 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23363 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23364 * gdb.t11/list.exp: Remove extraneous whitespace.
23365
23366Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23367
23368 * gdb.t16/printcmds.exp (test_print_strings): Accept
23369 "(unsigned char *) " before the string.
23370
23371 * TODO: Add notes about printing of fancy types and GDB expressions.
23372
23373Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23374
23375 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23376 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23377 if doing mips-idt-ecoff.
c906108c
SS
23378
23379Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23380
23381 * Most .exp files: Tweak to run under either version of expect.
23382
23383Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23384
23385 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23386 xfails; I'm not sure why they are failing, but not because of PR 1806.
23387
23388Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23389
23390 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23391 defined in lib/gdb.exp.
23392
23393Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23394
23395 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23396 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23397 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23398 have to be typeless.
23399
23400Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23401
23402 * TODO: Add suggestion for copyright year test.
23403
23404Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23405
23406 * configure.in (*-*-lynxos*): Add stabs tests.
23407
23408Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23409
23410 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23411 so insert a tab before any assembler directive in column zero.
23412
23413 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23414 stores.
23415 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23416 stores.
23417 (fpu_short_memory_tests): Likewise.
23418
23419Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23420
23421 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23422 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23423 .stabs directives in comments.
23424
23425Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23426
23427 * TODO: New file, describing tests we could write.
23428 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23429
23430Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23431
23432 * gdb.t06/signals.exp: Add kludge to force re-sync.
23433
23434 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23435 to xgdb instead of gdb, get out of gdb.
23436
23437Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23438
23439 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23440 for info.
23441
23442Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23443
23444 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23445 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23446 * gdb.stabs/hppa.sed: New sed script for the PA.
23447
23448Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23449
23450 * gdb.stabs: Re-write weird.def and configuration to use sed
23451 instead of cpp. sed is portable and POSIX; cpp is neither.
23452
23453Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23454
23455 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23456
23457Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23458
23459 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23460
23461Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23462
23463 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23464 "_vb$".
23465 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23466 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23467
23468Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23469
23470 * lib/gdb.exp: Comment out code which depends on non-existent
23471 `transform' procedure.
23472
23473Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23474
23475 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23476 * lib/gdb.exp: Transform tool name.
23477 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23478 1.1's new error handling system.
23479
23480Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23481
23482 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23483
23484Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23485
23486 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23487 They made pattern matching so slow that timeouts happened on
23488 heavily loaded systems. Now any output from "show print" which
23489 gets us back to the GDB prompt is a PASS.
23490
23491Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23492
23493 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23494
23495Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23496
23497 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23498
23499 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23500 It is not from PR 3220.
23501
23502Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23503
23504 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23505 just started failing because they depended on the order the
23506 subcommands are presented, or exact docstring text. This kind of
23507 test is a pain and has minimal benefit.
23508
23509Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23510
23511 * gdb.t09/corefile.exp: At end of test, use "core" command with
23512 no arguments.
23513
23514Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23515
23516 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23517 17}/Makefile.in: Make it possible to run the testsuite with Sun
23518 make and CC = cross gcc by adding explicit build rules for .o
23519 files.
23520
23521Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23522
23523 * gdb.t15/funcargs.exp: Don't put comments on same line as
23524 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23525
c906108c
SS
23526Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23527
23528 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23529
23530Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23531
23532 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23533 * gdb.t20/inherit.exp: remove three dumplicate entries.
23534
23535Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23536
23537 * gdb.t06/break.exp: For "next over recursive call", fail on any
23538 incorrect output, not just on "factorial (value=2)".
23539
23540Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23541
23542 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23543 working now. Add an xfail if accesing a bss variable causes
23544 a memory error if the target is not yet run.
23545
23546Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23547
23548 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23549 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23550 name of __st* demangling (2 strings). Did Kung really get the
23551 more than 95 others right without testing them?
23552
23553Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23554
23555 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23556
23557Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23558
23559 * configure.in (configdirs): Add gdb.disasm
23560 * gdb.disasm: New directory for GDB disassembler tests.
23561 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23562
23563Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23564
23565 * gdb.t00/help.exp: Don't test "help set".
23566
23567 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23568 from within expect statements. None of these happen anymore and
23569 they cause regressions to be silently unnoticed.
23570
23571 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23572 messages) about known failures with gcc cygnus-2.4.5-930417.
23573
23574 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23575 comp-info.exp so it gets built if it doesn't exist.
23576
23577 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23578 it is no longer used.
23579 * gdb.t13/comp-info.c: Removed.
23580
23581Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23582
23583 * gdb.t06/signals.exp: Add xfail for sun3.
23584
23585Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23586
23587 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23588 relevant because ^C doesn't get sent but failure can be reproduced
23589 interactively).
23590
23591Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23592
23593 * gdb.stabs/alpha.mt: New configuration file for alpha.
23594 * gdb.stabs/configure.in: Use it.
23595 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23596 sharing with alpha.mt, redefine long to word via preprocessor.
23597 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23598 for alpha.
23599 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23600 native cc.
23601 * gdb.t00/teststrategy.exp: Change expect string so that we
23602 consume the `(xgdb)' from the command echo and from the gdb prompt.
23603 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23604 gdb currently compares all values as long, so this failure probably
23605 applies to any configuration where LONGEST is bigger than a target int.
23606 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23607 with gcc.
23608 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23609 to handle opaque pointers, gcc is.
23610 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23611 as first argument. Include <sys/types.h> and change all operator
23612 new definitions to use size_t.
23613 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23614 now that we use size_t.
23615
23616Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23617
a9c64011 23618 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23619 a long or float array cast all array members to the same type.
a9c64011 23620 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23621 with 64 bit longs.
a9c64011 23622 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23623 on alpha.
a9c64011 23624 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23625
23626Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23627
23628 * gdb.t24 (demangle.exp): Constructors of templates have names like
23629 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23630 section 14.6 of the ARM.
23631
23632 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23633 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23634 accomplish little and slow down the testsuite.
23635
23636 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23637 Accept spaces various places.
23638
23639Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23640
23641 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23642 with watchpoint enabled.
23643
23644 * Makefile.in: Remove definition of CC and remove the second
23645 definition of CXX (the "CXX = gcc" one remains). These definitions
23646 were causing backquotes to be expanded within backquotes, which
23647 doesn't work.
23648
23649Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23650
23651 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23652
23653Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23654
a9c64011
AS
23655 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23656 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23657 by mips cc and contains no stabs entries.
23658
23659Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23660
23661 * config/vx-gdb.exp: Use fake device to load files rather than
23662 NFS.
23663 * lib/gdb.exp: New proc to do "file" command.
23664 * config/unix-gdb.exp: Use new "file" proc.
23665
23666Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23667
23668 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23669 Rework board rebooting slightly.
23670 (gdb_exit): Don't exit from the remote shell; there isn't one.
23671 * gdb.stabs/weird.exp: If a program is being debugged already,
23672 kill it.
23673 * gdb.t04/setvar.exp: Stop and restart gdb.
23674 * gdb.t05/expr.exp: Likewise.
23675 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23676 restart gdb and reload the program.
23677 * gdb.t08/opaque.exp: Likewise.
23678 * gdb.t12/scope.exp: Likewise.
23679 * gdb.t13/bitfields.exp: Likewise.
23680 * gdb.t15/funcargs.exp: Likewise.
23681 * gdb.t20/classes.exp: Likewise.
23682 * gdb.t03/ptype.exp: Increase timeout.
23683 * gdb.t16/printcmds.exp (test_print_string_constants,
23684 test_print_array_constants): Likewise.
23685 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23686 * gdb.t20/classes.exp (do_tests): Likewise.
23687 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23688
23689Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23690
23691 * gdb.stabs: Renamed *wierd* to *weird*.
23692
23693Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23694
23695 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23696 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23697
23698Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23699
23700 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23701 (do_tests): Remove xfail for whatis on one_var and two_var.
23702
23703Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23704
23705 * Makefile.in: Made cross building work better by adding
23706 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23707
23708Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23709
23710 * gdb.t15/{return.c,return.exp,Makefile.in}:
23711 New test, currently commented out.
23712
23713Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23714
23715 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23716 still running and removes the leftover named socket so GDb can do
23717 clean restarts.
23718
23719Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23720
23721 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23722 console, not GDB.
23723 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23724 cross testing works better with "make check"
23725 * config/unix-gdb: Use default procedures for exit and version.
23726 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23727 with the newest VxWorks.
23728
23729Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23730
23731 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23732 old form.
23733
23734 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23735 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23736
23737 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23738
23739 * config/unix-gdb.exp: Remove this version of gdb_exit
23740 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23741 Rob says he'll look at it when he gets back to testing boards.
23742
23743Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23744
23745 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23746 an expected fail for certain ptype commands.
23747
23748 * gdb.t20/classes.exp: Update expected results of "ptype class
23749 Base1" to account for the constructor that now appears in the type.
23750
23751Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23752
23753 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23754 disappeared from list.
23755 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23756 "alldone" proc with call to cleanup and exit.
23757 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23758 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23759 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23760 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23761 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23762 "alldone" proc with simple returns that suppress remaining
23763 tests. The alldone proc went away many months ago.
23764
23765Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23766
23767 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23768
23769 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23770
23771Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23772
23773 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23774 as vax gdb will display them.
23775
23776Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23777
23778 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23779 optimizers.
23780
23781 * scope.exp: Change "bad value for localval" messages so each one
23782 is unique.
23783
23784 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23785 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23786
23787 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23788
23789Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23790
23791 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23792 doesn't exist (due to optimization).
23793
23794Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23795
23796 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23797 contains \r because the filename is long.
23798
23799 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23800 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23801
23802Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23803
23804 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23805 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23806 Ultrix.
23807 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23808 int tests.
23809 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23810
23811Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23812
23813 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23814
23815 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23816 to match does not match the passing case but still matches the
c906108c
SS
23817 failing case.
23818
23819Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23820
23821 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23822
23823Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23824
23825 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23826 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23827 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23828 Remove various versions of gdb_exit.
23829 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23830 gdb_exit.
23831 * config/unix-gdb.exp: gdb_exit remains here, and should override
23832 the generic version, since it's doing a lot of wierd stuff that
23833 the other versions aren't. FIXME, fold it in, or abandon this
23834 version.
23835
23836Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23837
23838 * gdb.t24/demangle.exp: Add tests for PR 3220.
23839
23840Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23841
23842 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23843
23844Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23845
23846 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23847 "i386-*-*". Works for i486 as well.
23848
23849 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23850 bug, and expand domain of xfail to all SVR4 systems, since the
23851 actual problem is likely to be in generic SVR4 /proc support.
23852
23853Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23854
23855 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23856
23857Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23858
23859 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23860 xfails for other systems. Match a missing 'Continuing.' as an
23861 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23862
23863 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23864 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23865 Only issue warning for missing executables if -all option is used.
23866
23867 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23868 file if -all option is used. It's like an unpredictable XFAIL.
23869
23870Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23871
23872 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23873 for dynamically linked binaries.
23874
23875 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23876
23877Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23878
23879 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23880 to state that this is a known bug in old versions of g++.
23881
23882Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23883
23884 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23885 while waiting for `Continuing'.
23886
23887Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23888
23889 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23890 in text, data, and bss.
23891 * gdb.t10/nodebug.c: Add local and global test variables for
23892 initialized and uninitialized data.
23893
23894Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23895
23896 * config/unix-gdb.exp (gdb_exit): Add "wait".
23897
23898Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23899
23900 * gdb.t06/signals.exp: xfail the continue from the handler for all
23901 targets.
23902
23903 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23904 function with watchpoints enabled, the i386 call dummy starts with
23905 a call.
23906
23907 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23908 386 bsd names its corefiles.
23909
23910Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23911
23912 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23913 compilers don't grok it.
23914 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23915 with small octal ints rather than character constants, which
23916 are signed and might not fit if first promoted to int.
23917
23918Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23919
23920 * gdb.t09/Makefile.in (clean): Remove corefile.
23921
23922Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23923
23924 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23925
23926Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23927 and Jim Kingdon (kingdon@cygnus.com)
23928
23929 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23930 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23931 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23932
23933Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23934
23935 * gdb.t17/interrupt.exp: Add xfail for hppa.
23936
23937Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23938
23939 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23940 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23941 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23942 to determine signed-ness of bitfields and use the result to setup
23943 the xfail.
23944 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23945 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23946 call line is reached if necessary.
23947
23948Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23949
23950 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23951
23952Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23953
23954 * gdb.t06/break.exp: Also test `clear' command.
23955
23956Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23957
23958 * gdb.t00/teststrategy.exp: Remove extra quote.
23959
23960 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23961 watchpoint enabled to be for all non-68k machines.
23962
23963 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23964
23965Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23966
23967 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23968 targets use aout.mt instead of ecoff.mt as gas understands
23969 standard aout format.
23970
23971Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23972
23973 * lib/gdb.exp (runto): Don't insist that function we are running to
23974 was compiled with -g.
23975
23976 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23977
23978 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23979 to get back into the read system call.
23980 Accept leading newline in case where we woke it up.
23981
23982Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23983
23984 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23985 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23986 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23987 enable ecoff configuration.
23988
23989Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23990
23991 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23992
23993Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23994
23995 * gdb.t16/printcmds.exp: Add another printf test.
23996
23997Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23998
23999 * configure.in: If configured -with-stabs on any target, add
24000 stabsdirs to configdirs.
24001
24002Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24005 fun" so pattern does not match the command itself.
24006
24007Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24008
24009 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24010
24011Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24012
24013 * gdb.t17/interrupt.exp: Test for more things.
24014
24015Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24016
24017 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24018 compiler arranges the code and line numbers.
24019
24020 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24021
24022Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24023
24024 * gdb.t00/help.exp: Increase expect input buffer size.
24025
24026Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24027
24028 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24029
24030 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24031
24032 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24033
24034 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24035 [0-9]*, not just [0-9].
24036
24037Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24038
24039 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24040
24041 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24042
24043Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24044
24045 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24046
24047Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24048
24049 * gdb.t06/signals.c: Add xfails for sun3.
24050
24051 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24052
24053 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24054 test_stepping tests.
24055
24056Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24057
24058 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24059
24060 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24061
24062 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24063 rather than actually putting it through cpp twice.
24064
24065 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24066
24067Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24068
24069 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24070 no longer needed.
24071
24072Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24073
24074 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24075
24076 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24077 C++ features prints as "struct", make it a pass, not an xfail.
24078
24079Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24082 Don't require VA to print as "class" rather than "struct".
24083
24084Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24085
24086 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24087
24088Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24089
24090 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24091
24092Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24093
24094 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24095 order.
24096
24097Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24098
24099 * gdb.t16/printcmds.exp: Add printf tests.
24100
24101 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24102
24103 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24104
24105Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24106
24107 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24108 pass counts, to counteract any existing or future setup_xfails.
24109
24110Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24111
24112 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24113 {BEGIN,END}_COMMON for common block instead of STAB.
24114 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24115
24116 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24117 intp_var should be N_GSYM not N_LSYM.
24118 wierd-aout.S: Use a label for the value of the N_SO.
24119 wierd.def: Remove all backslashes.
24120 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24121
24122Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24123
24124 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24125 get the expected next to inheritance3.
24126
24127Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24128
24129 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24130 now that gcc-2.4 gets it right.
24131
24132Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24133
24134 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24135
24136 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24137 generating comp-info.exp which works for cross-compilation.
24138
24139Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24140
24141 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24142 "*-*-sysv4.*".
24143
24144Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24145
24146 * gdb.t01/run.exp: Start with a fresh gdb.
24147 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24148 SVR4.x.
24149
24150Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24151
24152 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24153 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24154 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24155 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24156 things to remove.
24157
24158Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24159
24160 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24161 test cases from bug reports.
24162
24163Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24164
24165 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24166 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24167 avoid spurious xfails.
24168 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24169 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24170 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24171
24172Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24173
24174 * gdb.t00/teststrategy.exp: Rework to provide more useful
24175 description of each test, fix problem with systems that define
24176 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24177 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24178 results for "next over recursive call" so timeouts aren't taken
24179 by error.
24180
24181Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24182
24183 * gdb.t12/scope.exp: Test printing of variables before run.
24184
24185 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24186 printed in wrong order due to sorting.
24187
24188Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24189
24190 * gdb.t00/teststrategy.exp: Fix expected results for printing
24191 user entered string constant. Is array of char, prints with no
24192 address.
24193
24194 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24195 commands.
24196 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24197 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24198 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24199 of struct of char arrays.
24200 * gdb.t00/radix.exp: New tests for radix commands.
24201
24202Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24203
24204 * gdb.t16/printcmd.exp: Print a variable before running program
24205 (with xfail for AIX).
24206
24207Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24208
24209 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24210
24211 * gdb.t16/printcmd.exp: Don't print variables before running program.
24212
24213 * gdb.t06/break.exp: Don't require envp argument to main.
24214
24215 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24216
24217 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24218 Add xfails for rs6000.
24219
24220 * gdb.t02/whatis.exp: Change other tests not to re-test something
24221 we already tested.
24222
24223 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24224 each type used has a variable of that type.
24225
24226Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24227
24228 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24229
24230Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24231
24232 * configure.in: change srctrigger to be a file, not a directory
24233
24234Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24235
24236 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24237
24238 * gdb.t11/list.exp: Fixed a couple of typos.
24239
24240Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24241
24242 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24243 is fixed and PR is closed.
24244 * gdb.t16 (gdbme.c): Add simple test string variable.
24245 * gdb.t16 (printcmds.exp): Add tests with simple test string
24246 variable, primarily for boundaries on "set print elements".
24247
24248Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24249
24250 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24251 Make leading 0's optional and don't expect a tab in the middle
24252 of the number.
24253
24254 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24255
24256 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24257 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24258 don't end command passed to gdb_test with newline.
24259
24260 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24261 signed keyword away, don't expect signed bitfields to be signed.
24262
24263 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24264 printing with only as many 1's as are in the field as well as printing
24265 with 32 1's (see comment).
24266
24267Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24268
24269 * gdb.t00/default.exp: Start with a fresh gdb.
24270 * configure.in (configdirs): Remove gdb.t31 until the chill
24271 compiler works again. It no longer is able to find chillrt0
24272 since it isn't in libchill.a anymore.
24273 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24274 wierd.o, make more modular.
24275 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24276 spurious newlines that caused problems.
24277
24278Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24279
24280 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24281 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24282 gdb.stabs/wierd.{exp,def}: Many new tests.
24283
24284 * gdb.t00/default.exp: update info line for new message.
24285
24286 * gdb.t02/{whatis.exp,gdbme.c}:
24287 Test that "char *" doesn't print as "caddr_t".
24288
24289Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24290
24291 * gdb.t00/help.exp: Use .* in place of some help messages which
24292 just changed.
24293 gdb.t00/default.exp: Update "info frame" test for new message.
24294 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24295 Remove some xfails
24296
24297Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24298
24299 * gdb.t03/{gdbme.c,ptype.exp}:
24300 Add tests for typedef'd struct and union without tags.
24301 Also check "whatis" on a variable of a typedef'd enum without a tag.
24302
24303 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24304 PRMS 1823; the bug still exists but isn't reproduced by this test
24305 anymore), and remove rs6000 XFAIL (the bug is fixed).
24306
24307 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24308 duplicated from whatis.exp. For those that are left, accept
24309 "long", "long int", or "int" for long variables (whatis.exp already
24310 has an XFAIL for "int", so no need to fail it here).
24311
24312 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24313 Deal with GCC's names for types now that GDB uses the compiler's names.
24314
24315 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24316 setup_xfail's for sunos4. If we #defined the signed keyword away,
24317 don't expect GDB to know that char it is signed.
24318
24319 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24320
24321Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24322
24323 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24324 should work on any system, regardless of debugging format.
24325 * gdb.t21/demangle.exp: Move to gdb.t24.
24326 * gdb.t24/demangle.exp: Move from gdb.t21.
24327 * gdb.t24/{Makefile.in, configure.in}: New files.
24328
24329Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24330
24331 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24332 * gdb.stabs: New directory.
24333
24334Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24335
24336 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24337 not just "Quit anyway?".
24338
24339Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24340
24341 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24342 that all setup_xfails are immediately followed by clear_xfails.
24343
24344Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24345
24346 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24347 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24348 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24349 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24350 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24351 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24352 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24353 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24354 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24355 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24356 gdb.t31/chillvars.exp, lib/gdb.exp:
24357 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24358 bug-gdb@prep.ai.mit.edu.
24359
24360Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24361
24362 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24363 with 0.0, not integer 0.
24364
24365Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24366
24367 * gdb.t06/break.exp: Update for "Kill the program" message change.
24368
24369Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24370
24371 * Makefile.in (GDBFLAGS): Set to -nx.
24372 * Makefile.in (site.exp): Use GDBFLAGS.
24373
24374Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24375
24376 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24377 Makefiles.
24378 (check): depend on just-check.
24379 (just-check): added so that tests can be run without a noop
24380 build pass.
24381
24382Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24383
24384 Switch to using configure's configdirs.
24385 * Makefile.in (Makefile): add configure.in dependency.
24386 (SUBDIRS): removed redundant assignment.
24387 * configure.in: switch subdirs assignment to configdirs.
24388 * gdb.t*/configure.in: new files.
24389
24390Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24391
24392 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24393 works.
24394
24395Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24396
24397 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24398 in explicit rules. Apparently this is not supported by some makes.
24399
24400Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24401
24402 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24403
24404Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24405
24406 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24407 disappeared.
24408
24409Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24410
24411 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24412
24413Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24414
24415 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24416 watchpoint problem that is now fixed.
24417 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24418 uninitialized convenience variables.
24419 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24420 structures.
24421
24422Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24423
24424 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24425 which causes expect to get out of sync with gdb on long output
24426 from help set.
24427 * gdb.t09/corefile.exp: Make expected pattern for core file
24428 failing signal and frame output format less sun specific.
24429
24430Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24431
24432 * gdb.t31/chillvars.exp: Add and remove initial dummy
24433 breakpoint, so that symbol table is forced in.
24434 (Needed at least on Sunos4, though it seems not SVR4.)
24435 * gdb.t31/chillvars.exp: Update for changed output format.
24436
24437Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24438
a9c64011 24439 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24440
24441Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24442
24443 * Makefile.in: Added --srcdir when invoking runtest, removed the
24444 need for a local config file. (optional now)
24445
24446Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24447
24448 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24449 failure count used to force early termination. Add some more
24450 expected failures for gnu style demangling.
24451
24452Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24453
24454 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24455 pmi variable from gdb.t20/gdbme to get optimized away.
24456 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24457 Check for written corefile upon timeout _and_ eof.
24458
24459Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24460
24461 * config/unix-gdb.exp: Add missing return 0.
24462
24463Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24464
24465 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24466 test termination.
24467
24468Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24469
24470 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24471 disappeared.
24472
24473Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24474
24475 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24476 time as i860 support works.
24477
d63a86f8 24478 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24479 "backtrace 100\r" rather than just "backtrace\r", to match last
24480 change.
24481
24482Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24483
24484 * config/udi-gdb.exp (gdb_exit): Remove close command.
24485 (gdb_target_udi): New procedure to set the UDI target.
24486 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24487 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24488 Added waits for prompts after several question responses. Added
24489 some more responses used by a29k-amd-udi-gdb.
24490 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24491 pass different arguments, restart UDI connection after program
24492 completion.
24493 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24494 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24495 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24496 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24497 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24498 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24499 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24500 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24501 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24502 after program completion.
24503 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24504 compiled with a SELECT_VECS setting.
24505 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24506 infinite recursion.
24507
24508 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24509 Added checks for COFF results, and made them expected failures for
24510 all targets. It would be better to make them expected failures
24511 for COFF targets only.
24512
24513Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24514
24515 * Makefile.in: add null dvi target, don't bother to recurse
24516 through test directories for info and install-info; rename
24517 $(datadir) to be dejagnu instead of deja-gnu
24518
24519Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24520
24521 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24522 compiler to coredump.
24523 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24524 code.
24525
24526Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24527
24528 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24529 coredump.
24530 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24531 code.
24532
24533Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24534
24535 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24536 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24537 which in a shell. Deletes xgdb when done.
24538 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24539 Tests the return from the "set height" or "set width" commands.
24540 Added a few return codes where needed.
24541
24542Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24543
24544 * Makefile.in (SUBDIRS): Add gdb.t17.
24545 * configure.in (subdirs): Add gdb.t17.
24546 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24547 files to test gdb's calling of functions in the inferior with
24548 the correct arguments and gdb's ability to retrieve any
24549 result returned.
24550
24551Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24552
24553 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24554 may be called after gdb goes away. Previous versions of expect
24555 needed these to avoid file descriptor leaks, but they cause
24556 errors with the current revision of expect.
24557 * gdb.t00/gdbvars.exp: Use -re on expected output after
24558 setting sevenbit-strings.
24559 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24560 to set sevenbit-strings consistent across tests.
24561 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24562 set sevenbit-strings consistent across tests.
24563
24564Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24565
24566 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24567 expected output to match current "expect" expectations.
24568
24569Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24570
24571 * gdb.t00/default.exp: Change expected output for default "source"
24572 command, to match new gdb behavior which requires a filename to
24573 source.
24574
24575Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24576
24577 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24578 expected fail for i486-*-* that misses the marker2 function.
24579 * gdb.t10/crossload.exp (bfddefault): Allow successful
24580 recognition of a format to pass even if no symbols are found.
24581 Explicitly catch failures where the format is not recognized
24582 or is ambiguous, and add the reason to the fail message.
24583 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24584 the cause is and invalid target and add reason to failure message.
24585 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24586 elf32-i386, elf32-sparc, and elf32-i860.
24587 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24588 Set up expected failure for 'filename'::variable scope resolution,
24589 which is now apparently broken on all targets.
24590 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24591 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24592 gdb.t23/templates.exp: Change failure for missing binfile into
24593 just a warning.
24594 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24595 references.
24596
24597Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24598
24599 * gdb.t00/default.exp: Add expected output for default "source"
24600 command, to match new gdb behavior.
24601 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24602
24603Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24604
24605 * config/*-gdb.exp: returns an error, rather than exiting on
24606 internal errors.
24607
24608Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24609
24610 * gdb.t03/gdbme.c: Add pointer to struct variable.
24611 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24612 referencing struct members.
24613
24614Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24615
24616 * configure.in (mips-idt-ecoff): New target.
24617 * config/mips-gdb.exp: New file for remote board using MIPS remote
24618 debugging protocol.
24619
24620 * Redid configuration scheme. Removed gdb.t*/configure.in.
24621 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24622 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24623 distclean targets. Built executables via .o files. Adjusted
24624 tests to account for source files in $(srcdir) rather than
24625 $(objdir).
24626 * lib/gdb.exp (runto): Don't expect () after the function name,
24627 because it may have arguments.
24628
24629Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24630
24631 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24632 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24633 expected failures for mips-idt-* and mips-sgi-*.
24634 * gdb.t00/default.exp (attach): Kill process if requested.
24635 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24636 that does not read core files.
24637 * gdb.t01/run.exp: Removed checks for exit status code.
24638 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24639 it is linked in.
24640 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24641 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24642 appropriate, rather than doing it by hand.
24643 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24644 execution.
24645 * gdb.t10/crossload.exp: Kill existing program if needed.
24646 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24647 appropriate, rather than doing it by hand. Always increase
24648 timeout for this test, not just for VxWorks.
24649
24650Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24651
24652 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24653 of Chill STRUCT types and STRUCT values.
24654 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24655 than "char".
24656 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24657 struct2): New struct definitions and initializations to test
c906108c
SS
24658 simple Chill STRUCT types.
24659
24660Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24661
24662 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24663 the null byte at the end of strings.
24664 * gdb.t00/default.exp: Make show version insensitive to copyright
24665 date.
24666 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24667 to avoid dependencies on target char signedness.
24668 * gdb.t16/printcmds.exp: Update expected results for explicitly
24669 unsigned char.
24670 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24671 now work.
24672 * gdb.t21/demangle.exp: Add many more patterns for template
24673 demangling, most of them being expected failures.
24674 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24675 string we are matching for, to match on the whole string.
24676 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24677 and fix a whole bunch that had incorrect expected output but were
24678 passing anyway because of the bug in "proc demangle".
24679 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24680 type.
24681 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24682
24683Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24684
a9c64011
AS
24685 * gdb/testsuite: made modifications to testcases, etc., to allow
24686 them to work properly given the reorganization of deja-gnu and the
24687 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24688
24689Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24690
24691 * gdb/testsuite: Initial creation of gdb/testsuite.
24692 Migrated dejagnu testcases and support files for testing nm to
24693 gdb/testsuite from deja-gnu. These files were moved "as is"
24694 with no modifications. This migration is part of a major overhaul
24695 of dejagnu. The modifications to these testcases, etc., which
24696 will allow them to work with the new version of dejagnu will be
24697 made in a future update.
48efe704 24698
8d8cb839 24699 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24700\f
8d8cb839
EZ
24701;; Local Variables:
24702;; mode: change-log
24703;; left-margin: 8
24704;; fill-column: 74
24705;; version-control: never
24706;; End:
902f2ccb
MC
24707
24708 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24709 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24710 Copying and distribution of this file, with or without modification,
24711 are permitted provided the copyright notice and this notice are preserved.